"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)([0xc12, ]);
/*

 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.io/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.io/license
*/
/*

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

 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.io/license
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var g,aa=function(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a},aaa=function(a){return aa(function(b){for(var c in a)if(b===a[c]&&!/^[0-9]+$/.test(c))return!0;return!1})},caa=function(a){return aa(function(b){return baa(b)?b.every(function(c){return a(c)}):!1})},daa=function(a,b){return Object.defineProperty(b,"type",{value:a,writable:!1})},eaa=function(a,b,c,d,e){var f=Zone.__symbol__(d);if(!b[f]){var h=b[f]=b[d];b[d]=function(k,q,t){q&&q.prototype&&e.forEach(function(w){var y=c+"."+d+"::"+
w,D=q.prototype;try{if(D.hasOwnProperty(w)){var G=a.ObjectGetOwnPropertyDescriptor(D,w);G&&G.value?(G.value=a.wrapWithCurrentZone(G.value,y),a._redefineProperty(q.prototype,w,G)):D[w]&&(D[w]=a.wrapWithCurrentZone(D[w],y))}else D[w]&&(D[w]=a.wrapWithCurrentZone(D[w],y))}catch(I){}});return h.call(b,k,q,t)};a.attachOriginToPatched(b[d],h)}},ca=function(a){return(ba.__Zone_symbol_prefix||"__zone_symbol__")+a},faa=function(){function a(ha){h&&h.mark&&h.mark(ha)}function b(ha,xa){h&&h.measure&&h.measure(ha,
xa)}function c(ha){S||ba[D]&&(S=ba[D].resolve(0));if(S){var xa=S[G];xa||(xa=S.then);xa.call(S,ha)}else ba[y](ha,0)}function d(ha){Ua===0&&I.length===0&&c(e);ha&&I.push(ha)}function e(){if(!N){for(N=!0;I.length;){var ha=I;I=[];for(var xa=0;xa<ha.length;xa++){var sa=ha[xa];try{sa.zone.runTask(sa,null,null)}catch(Ma){fa.onUnhandledError(Ma)}}}fa.microtaskDrainDone();N=!1}}function f(){}var h=ba.performance;a("Zone");var k=function(ha,xa){this._parent=ha;this._name=xa?xa.name||"unnamed":"<root>";this._properties=
xa&&xa.properties||{};this._zoneDelegate=new t(this,this._parent&&this._parent._zoneDelegate,xa)};k.assertZonePatched=function(){if(ba.Promise!==Z.ZoneAwarePromise)throw Error("x");};k.__load_patch=function(ha,xa,sa){sa=sa===void 0?!1:sa;if(Z.hasOwnProperty(ha)){if(xa=ba[ca("forceDuplicateZoneCheck")]===!0,!sa&&xa)throw Error("y`"+ha);}else ba["__Zone_disable_"+ha]||(sa="Zone:"+ha,a(sa),Z[ha]=xa(ba,k,fa),b(sa,sa))};k.prototype.get=function(ha){var xa=this.getZoneWith(ha);if(xa)return xa._properties[ha]};
k.prototype.getZoneWith=function(ha){for(var xa=this;xa;){if(xa._properties.hasOwnProperty(ha))return xa;xa=xa._parent}return null};k.prototype.fork=function(ha){if(!ha)throw Error("z");return this._zoneDelegate.fork(this,ha)};k.prototype.wrap=function(ha,xa){if(typeof ha!=="function")throw Error("A`"+ha);var sa=this._zoneDelegate.intercept(this,ha,xa),Ma=this;return function(){return Ma.runGuarded(sa,this,arguments,xa)}};k.prototype.run=function(ha,xa,sa,Ma){ma={parent:ma,zone:this};try{return this._zoneDelegate.invoke(this,
ha,xa,sa,Ma)}finally{ma=ma.parent}};k.prototype.runGuarded=function(ha,xa,sa,Ma){ma={parent:ma,zone:this};try{try{return this._zoneDelegate.invoke(this,ha,xa===void 0?null:xa,sa,Ma)}catch(Aa){if(this._zoneDelegate.handleError(this,Aa))throw Aa;}}finally{ma=ma.parent}};k.prototype.runTask=function(ha,xa,sa){if(ha.zone!=this)throw Error("B`"+(ha.zone||W).name+"`"+this.name);var Ma=ha.type,Aa=ha.data===void 0?{}:ha.data,wb=Aa.isPeriodic===void 0?!1:Aa.isPeriodic;Aa=Aa.isRefreshable===void 0?!1:Aa.isRefreshable;
if(ha.state!=="notScheduled"||Ma!=="eventTask"&&Ma!=="macroTask"){var Pb=ha.state!="running";Pb&&ha._transitionTo("running","scheduled");var Vb=ua;ua=ha;ma={parent:ma,zone:this};try{Ma!="macroTask"||!ha.data||wb||Aa||(ha.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,ha,xa,sa)}catch(xb){if(this._zoneDelegate.handleError(this,xb))throw xb;}}finally{xa=ha.state,xa!=="notScheduled"&&xa!=="unknown"&&(Ma=="eventTask"||wb||Aa&&xa==="scheduling"?Pb&&ha._transitionTo("scheduled","running",
"scheduling"):(Ma=ha._zoneDelegates,this._updateTaskCount(ha,-1),Pb&&ha._transitionTo("notScheduled","running","notScheduled"),Aa&&(ha._zoneDelegates=Ma))),ma=ma.parent,ua=Vb}}};k.prototype.scheduleTask=function(ha){if(ha.zone&&ha.zone!==this)for(var xa=this;xa;){if(xa===ha.zone)throw Error("C`"+this.name+"`"+ha.zone.name);xa=xa.parent}ha._transitionTo("scheduling","notScheduled");xa=[];ha._zoneDelegates=xa;ha._zone=this;try{ha=this._zoneDelegate.scheduleTask(this,ha)}catch(sa){throw ha._transitionTo("unknown",
"scheduling","notScheduled"),this._zoneDelegate.handleError(this,sa),sa;}ha._zoneDelegates===xa&&this._updateTaskCount(ha,1);ha.state=="scheduling"&&ha._transitionTo("scheduled","scheduling");return ha};k.prototype.scheduleMicroTask=function(ha,xa,sa,Ma){return this.scheduleTask(new w("microTask",ha,xa,sa,Ma,void 0))};k.prototype.scheduleMacroTask=function(ha,xa,sa,Ma,Aa){return this.scheduleTask(new w("macroTask",ha,xa,sa,Ma,Aa))};k.prototype.scheduleEventTask=function(ha,xa,sa,Ma,Aa){return this.scheduleTask(new w("eventTask",
ha,xa,sa,Ma,Aa))};k.prototype.cancelTask=function(ha){if(ha.zone!=this)throw Error("D`"+(ha.zone||W).name+"`"+this.name);if(ha.state==="scheduled"||ha.state==="running"){ha._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,ha)}catch(xa){throw ha._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,xa),xa;}this._updateTaskCount(ha,-1);ha._transitionTo("notScheduled","canceling");ha.runCount=-1;return ha}};k.prototype._updateTaskCount=function(ha,
xa){var sa=ha._zoneDelegates;xa==-1&&(ha._zoneDelegates=null);for(var Ma=0;Ma<sa.length;Ma++)sa[Ma]._updateTaskCount(ha.type,xa)};da.Object.defineProperties(k.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});da.Object.defineProperties(k,{root:{configurable:!0,enumerable:!0,get:function(){for(var ha=k.current;ha.parent;)ha=ha.parent;return ha}},current:{configurable:!0,enumerable:!0,get:function(){return ma.zone}},
currentTask:{configurable:!0,enumerable:!0,get:function(){return ua}}});k.__symbol__=ca;var q={name:"",onHasTask:function(ha,xa,sa,Ma){return ha.hasTask(sa,Ma)},onScheduleTask:function(ha,xa,sa,Ma){return ha.scheduleTask(sa,Ma)},onInvokeTask:function(ha,xa,sa,Ma,Aa,wb){return ha.invokeTask(sa,Ma,Aa,wb)},onCancelTask:function(ha,xa,sa,Ma){return ha.cancelTask(sa,Ma)}},t=function(ha,xa,sa){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this._zone=ha;this._parentDelegate=xa;this._forkZS=sa&&
(sa&&sa.onFork?sa:xa._forkZS);this._forkDlgt=sa&&(sa.onFork?xa:xa._forkDlgt);this._forkCurrZone=sa&&(sa.onFork?this._zone:xa._forkCurrZone);this._interceptZS=sa&&(sa.onIntercept?sa:xa._interceptZS);this._interceptDlgt=sa&&(sa.onIntercept?xa:xa._interceptDlgt);this._interceptCurrZone=sa&&(sa.onIntercept?this._zone:xa._interceptCurrZone);this._invokeZS=sa&&(sa.onInvoke?sa:xa._invokeZS);this._invokeDlgt=sa&&(sa.onInvoke?xa:xa._invokeDlgt);this._invokeCurrZone=sa&&(sa.onInvoke?this._zone:xa._invokeCurrZone);
this._handleErrorZS=sa&&(sa.onHandleError?sa:xa._handleErrorZS);this._handleErrorDlgt=sa&&(sa.onHandleError?xa:xa._handleErrorDlgt);this._handleErrorCurrZone=sa&&(sa.onHandleError?this._zone:xa._handleErrorCurrZone);this._scheduleTaskZS=sa&&(sa.onScheduleTask?sa:xa._scheduleTaskZS);this._scheduleTaskDlgt=sa&&(sa.onScheduleTask?xa:xa._scheduleTaskDlgt);this._scheduleTaskCurrZone=sa&&(sa.onScheduleTask?this._zone:xa._scheduleTaskCurrZone);this._invokeTaskZS=sa&&(sa.onInvokeTask?sa:xa._invokeTaskZS);
this._invokeTaskDlgt=sa&&(sa.onInvokeTask?xa:xa._invokeTaskDlgt);this._invokeTaskCurrZone=sa&&(sa.onInvokeTask?this._zone:xa._invokeTaskCurrZone);this._cancelTaskZS=sa&&(sa.onCancelTask?sa:xa._cancelTaskZS);this._cancelTaskDlgt=sa&&(sa.onCancelTask?xa:xa._cancelTaskDlgt);this._cancelTaskCurrZone=sa&&(sa.onCancelTask?this._zone:xa._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=this._hasTaskDlgt=this._hasTaskZS=null;ha=sa&&sa.onHasTask;var Ma=xa&&xa._hasTaskZS;if(ha||Ma)this._hasTaskZS=
ha?sa:q,this._hasTaskDlgt=xa,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,sa.onScheduleTask||(this._scheduleTaskZS=q,this._scheduleTaskDlgt=xa,this._scheduleTaskCurrZone=this._zone),sa.onInvokeTask||(this._invokeTaskZS=q,this._invokeTaskDlgt=xa,this._invokeTaskCurrZone=this._zone),sa.onCancelTask||(this._cancelTaskZS=q,this._cancelTaskDlgt=xa,this._cancelTaskCurrZone=this._zone)};t.prototype.fork=function(ha,xa){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,ha,xa):
new k(ha,xa)};t.prototype.intercept=function(ha,xa,sa){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,ha,xa,sa):xa};t.prototype.invoke=function(ha,xa,sa,Ma,Aa){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,ha,xa,sa,Ma,Aa):xa.apply(sa,Ma)};t.prototype.handleError=function(ha,xa){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,ha,xa):!0};t.prototype.scheduleTask=
function(ha,xa){var sa=xa;if(this._scheduleTaskZS)this._hasTaskZS&&sa._zoneDelegates.push(this._hasTaskDlgtOwner),(sa=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,ha,xa))||(sa=xa);else if(xa.scheduleFn)xa.scheduleFn(xa);else if(xa.type=="microTask")d(xa);else throw Error("E");return sa};t.prototype.invokeTask=function(ha,xa,sa,Ma){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,ha,xa,sa,Ma):xa.callback.apply(sa,
Ma)};t.prototype.cancelTask=function(ha,xa){if(this._cancelTaskZS)ha=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,ha,xa);else{if(!xa.cancelFn)throw Error("F");ha=xa.cancelFn(xa)}return ha};t.prototype.hasTask=function(ha,xa){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,ha,xa)}catch(sa){this.handleError(ha,sa)}};t.prototype._updateTaskCount=function(ha,xa){var sa=this._taskCounts,Ma=sa[ha];xa=sa[ha]=Ma+xa;if(xa<0)throw Error("G");
Ma!=0&&xa!=0||this.hasTask(this._zone,{microTask:sa.microTask>0,macroTask:sa.macroTask>0,eventTask:sa.eventTask>0,change:ha})};da.Object.defineProperties(t.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}}});var w=function(ha,xa,sa,Ma,Aa,wb){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=ha;this.source=xa;this.data=Ma;this.scheduleFn=Aa;this.cancelFn=wb;if(!sa)throw Error("H");this.callback=sa;var Pb=this;this.invoke=ha===
"eventTask"&&Ma&&Ma.useG?w.invokeTask:function(){return w.invokeTask.call(ba,Pb,this,arguments)}};w.invokeTask=function(ha,xa,sa){ha||(ha=this);Ua++;try{return ha.runCount++,ha.zone.runTask(ha,xa,sa)}finally{Ua==1&&e(),Ua--}};w.prototype.cancelScheduleRequest=function(){this._transitionTo("notScheduled","scheduling")};w.prototype._transitionTo=function(ha,xa,sa){if(this._state===xa||this._state===sa)this._state=ha,ha=="notScheduled"&&(this._zoneDelegates=null);else throw Error("I`"+this.type+"`"+
this.source+"`"+ha+"`"+xa+"`"+(sa?" or '"+sa+"'":"")+"`"+this._state);};w.prototype.toString=function(){return this.data&&typeof this.data.handleId!=="undefined"?this.data.handleId.toString():Object.prototype.toString.call(this)};w.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};da.Object.defineProperties(w.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,
get:function(){return this._state}}});var y=ca("setTimeout"),D=ca("Promise"),G=ca("then"),I=[],N=!1,S,W={name:"NO ZONE"},Z={},fa={symbol:ca,currentZoneFrame:function(){return ma},onUnhandledError:f,microtaskDrainDone:f,scheduleMicroTask:d,showUncaughtError:function(){return!k[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},
ma={parent:null,zone:new k(null,null)},ua=null,Ua=0;b("Zone","Zone");return k},gaa=function(a,b){return Zone.current.wrap(a,b)},haa=function(a,b){for(var c=a.length-1;c>=0;c--)typeof a[c]==="function"&&(a[c]=gaa(a[c],b+"_"+c));return a},jaa=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={name$jscomp$125:void 0},e++){d.name$jscomp$125=b[e];var f=a[d.name$jscomp$125];if(f){var h=ea(a,d.name$jscomp$125);iaa(h)&&(a[d.name$jscomp$125]=function(k){return function(q){var t=
function(){return q.apply(this,haa(arguments,c+"."+k.name$jscomp$125))};ia(t,q);return t}}(d)(f))}}},iaa=function(a){return a?a.writable===!1?!1:!(typeof a.get==="function"&&typeof a.set==="undefined"):!0},naa=function(a,b,c){var d=ea(a,b);!d&&c&&ea(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),k=kaa[h];k||(k=kaa[h]=ca("ON_PROPERTY"+h));d.set=function(q){var t=
this;t||a!==ja||(t=ja);t&&(typeof t[k]==="function"&&t.removeEventListener(h,laa),f&&f.call(t,null),t[k]=q,typeof q==="function"&&t.addEventListener(h,laa,!1))};d.get=function(){var q=this;q||a!==ja||(q=ja);if(!q)return null;var t=q[k];return t?t:e&&(t=e.call(this))?(d.set.call(this,t),typeof q.removeAttribute==="function"&&q.removeAttribute(b),t):null};maa(a,b,d);a[c]=!0}},oaa=function(a,b,c){if(b)for(var d=0;d<b.length;d++)naa(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++)naa(a,b[d],c)}},la=function(a){var b=ja[a];if(b){ja[ca(a)]=b;ja[a]=function(){var e=haa(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");}};ia(ja[a],b);var c=new b(function(){}),d;for(d in c)a==="XMLHttpRequest"&&d==="responseBlob"||function(e){typeof c[e]==="function"?ja[a].prototype[e]=
function(){return this[ka][e].apply(this[ka],arguments)}:maa(ja[a].prototype,e,{set:function(f){typeof f==="function"?(this[ka][e]=gaa(f,a+"."+e),ia(this[ka][e],f)):this[ka][e]=f},get:function(){return this[ka][e]}})}(d);for(d in b)d!=="prototype"&&b.hasOwnProperty(d)&&(ja[a][d]=b[d])}},na=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=paa(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&&ea(d,b);if(iaa(f)){var h=c(e,a,b);d[b]=function(){return h(this,
arguments)};ia(d[b],e)}}return e},qaa=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=na(a,b,function(f){return function(h,k){var q=c(h,k);return q.cbIdx>=0&&typeof k[q.cbIdx]==="function"?Zone.current.scheduleMacroTask(q.name,k[q.cbIdx],q,d,void 0):f.apply(h,k)}})},ia=function(a,b){a[ca("OriginalDelegate")]=b},taa=function(){if(raa)return saa;raa=!0;try{var a=oa.navigator.userAgent;if(a.indexOf("MSIE ")!==
-1||a.indexOf("Trident/")!==-1||a.indexOf("Edge/")!==-1)saa=!0}catch(b){}return saa},uaa=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})},vaa=function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&b.length>2}).map(function(b){return b.substring(2)})},waa=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+
"true";c=pa+c;b=pa+b;qa[a]={};qa[a]["false"]=c;qa[a]["true"]=b},Daa=function(a,b,c,d){function e(W,Z,fa){if(Z=Z||a.event){W=W||Z.target||a;var ma=W[qa[Z.type][fa?"true":"false"]];if(ma){fa=[];if(ma.length===1)(Z=D(ma[0],W,Z))&&fa.push(Z);else{ma=ma.slice();for(var ua=0;ua<ma.length&&(!Z||Z[xaa]!==!0);ua++){var Ua=D(ma[ua],W,Z);Ua&&fa.push(Ua)}}if(fa.length===1)throw fa[0];Z={};for(W=0;W<fa.length;Z={err$jscomp$16:void 0},W++)Z.err$jscomp$16=fa[W],b.nativeScheduleMicroTask(function(ha){return function(){throw ha.err$jscomp$16;
}}(Z))}}}function f(W,Z){function fa(Ab,dc){return!ra&&typeof Ab==="object"&&Ab?!!Ab.capture:ra&&dc?typeof Ab==="boolean"?{capture:Ab,passive:!0}:Ab?typeof Ab==="object"&&Ab.passive!==!1?Object.assign({},Ab,{passive:!0}):Ab:{passive:!0}:Ab}function ma(Ab){if(typeof Ab==="object"&&Ab!==null){var dc=Object.assign({},Ab);Ab.signal&&(dc.signal=Ab.signal);return dc}return Ab}if(!W)return!1;var ua=!0;Z&&Z.useG!==void 0&&(ua=Z.useG);var Ua=Z&&Z.vh,ha=!0;Z&&Z.chkDup!==void 0&&(ha=Z.chkDup);var xa=!1;Z&&Z.rt!==
void 0&&(xa=Z.rt);for(var sa=W;sa&&!sa.hasOwnProperty(h);)sa=paa(sa);!sa&&W[h]&&(sa=W);if(!sa||sa[w])return!1;var Ma=Z&&Z.eventNameToString,Aa={},wb=sa[w]=sa[h],Pb=sa[ca(k)]=sa[k];W=sa[ca(q)]=sa[q];var Vb=sa[ca(t)]=sa[t],xb;Z&&Z.prepend&&(xb=sa[ca(Z.prepend)]=sa[Z.prepend]);var Uc=function(Ab){if(!Ab.isRemoved){var dc=qa[Ab.eventName],Xb;dc&&(Xb=dc[Ab.capture?"true":"false"]);if(dc=Xb&&Ab.target[Xb])for(var vd=0;vd<dc.length;vd++)if(dc[vd]===Ab){dc.splice(vd,1);Ab.isRemoved=!0;Ab.removeAbortListener&&
(Ab.removeAbortListener(),Ab.removeAbortListener=null);dc.length===0&&(Ab.allRemoved=!0,Ab.target[Xb]=null);break}}if(Ab.allRemoved)return Pb.call(Ab.target,Ab.eventName,Ab.capture?I:G,Ab.options)},Sa=function(Ab){return wb.call(Aa.target,Aa.eventName,Ab.invoke,Aa.options)},nb=function(Ab){return xb.call(Aa.target,Aa.eventName,Ab.invoke,Aa.options)},Za=function(Ab){return Pb.call(Ab.target,Ab.eventName,Ab.invoke,Ab.options)};Uc=ua?Uc:Za;Za=function(Ab,dc){var Xb=typeof dc;return Xb==="function"&&
Ab.callback===dc||Xb==="object"&&Ab.originalDelegate===dc};var Yb=Z&&Z.diff?Z.diff:Za,ic=Zone[ca("UNPATCHED_EVENTS")],Rc=a[ca("PASSIVE_EVENTS")];Za=function(Ab,dc,Xb,vd,Id,of){Id=Id===void 0?!1:Id;of=of===void 0?!1:of;return function(){var Lg=this||a,$g=arguments[0];Z&&Z.transferEventName&&($g=Z.transferEventName($g));var Ro=arguments[1];if(!Ro||yaa&&$g==="uncaughtException")return Ab.apply(this,arguments);var wKa=!1;if(typeof Ro!=="function"){if(!Ro.handleEvent)return Ab.apply(this,arguments);wKa=
!0}if(!Ua||Ua(Ab,Ro,Lg,arguments)){var kR=ra&&!!Rc&&Rc.indexOf($g)!==-1,Uq=ma(fa(arguments[2],kR)),tI=Uq==null?void 0:Uq.signal;if(tI==null||!tI.aborted){if(ic)for(var lR=0;lR<ic.length;lR++)if($g===ic[lR])return kR?Ab.call(Lg,$g,Ro,Uq):Ab.apply(this,arguments);kR=Uq?typeof Uq==="boolean"?!0:Uq.capture:!1;lR=Uq&&typeof Uq==="object"?Uq.once:!1;var wkb=Zone.current,Et=qa[$g];Et||(waa($g,Ma),Et=qa[$g]);var sx=Et[kR?"true":"false"];Et=Lg[sx];var uI=!1;if(Et){if(uI=!0,ha)for(sx=0;sx<Et.length;sx++)if(Yb(Et[sx],
Ro))return}else Et=Lg[sx]=[];var fda;sx=Lg.constructor.name;var yKa=zaa[sx];yKa&&(fda=yKa[$g]);fda||(fda=sx+dc+(Ma?Ma($g):$g));Aa.options=Uq;lR&&(Aa.options.once=!1);Aa.target=Lg;Aa.capture=kR;Aa.eventName=$g;Aa.isExisting=uI;if(uI=ua?Aaa:void 0)uI.taskData=Aa;tI&&(Aa.options.signal=void 0);var Vq=wkb.scheduleEventTask(fda,Ro,uI,Xb,vd);if(tI){Aa.options.signal=tI;var zKa=function(){return Vq.zone.cancelTask(Vq)};Ab.call(tI,"abort",zKa,{once:!0});Vq.removeAbortListener=function(){return tI.removeEventListener("abort",
zKa)}}Aa.target=null;uI&&(uI.taskData=null);lR&&(Aa.options.once=!0);if(ra||typeof Vq.options!=="boolean")Vq.options=Uq;Vq.target=Lg;Vq.capture=kR;Vq.eventName=$g;wKa&&(Vq.originalDelegate=Ro);of?Et.unshift(Vq):Et.push(Vq);if(Id)return Lg}}}};sa[h]=Za(wb,y,ua?function(){if(!Aa.isExisting)return wb.call(Aa.target,Aa.eventName,Aa.capture?I:G,Aa.options)}:Sa,Uc,xa);xb&&(sa.prependListener=Za(xb,".prependListener:",nb,Uc,xa,!0));sa[k]=function(){var Ab=this||a,dc=arguments[0];Z&&Z.transferEventName&&
(dc=Z.transferEventName(dc));var Xb=arguments[2];Xb=Xb?typeof Xb==="boolean"?!0:Xb.capture:!1;var vd=arguments[1];if(!vd)return Pb.apply(this,arguments);if(!Ua||Ua(Pb,vd,Ab,arguments)){var Id=qa[dc],of;Id&&(of=Id[Xb?"true":"false"]);if(Id=of&&Ab[of])for(var Lg=0;Lg<Id.length;Lg++){var $g=Id[Lg];if(Yb($g,vd)){Id.splice(Lg,1);$g.isRemoved=!0;Id.length===0&&($g.allRemoved=!0,Ab[of]=null,Xb||typeof dc!=="string"||(Ab[pa+"ON_PROPERTY"+dc]=null));$g.zone.cancelTask($g);if(xa)return Ab;return}}return Pb.apply(this,
arguments)}};sa[q]=function(){var Ab=this||a,dc=arguments[0];Z&&Z.transferEventName&&(dc=Z.transferEventName(dc));var Xb=[];Ab=Baa(Ab,Ma?Ma(dc):dc);for(dc=0;dc<Ab.length;dc++){var vd=Ab[dc];Xb.push(vd.originalDelegate?vd.originalDelegate:vd.callback)}return Xb};sa[t]=function(){var Ab=this||a,dc=arguments[0];if(dc){Z&&Z.transferEventName&&(dc=Z.transferEventName(dc));var Xb=qa[dc];if(Xb){var vd=Ab[Xb["false"]];Ab=Ab[Xb["true"]];if(vd)for(vd=vd.slice(),Xb=0;Xb<vd.length;Xb++){var Id=vd[Xb];this[k].call(this,
dc,Id.originalDelegate?Id.originalDelegate:Id.callback,Id.options)}if(Ab)for(Ab=Ab.slice(),vd=0;vd<Ab.length;vd++)Xb=Ab[vd],this[k].call(this,dc,Xb.originalDelegate?Xb.originalDelegate:Xb.callback,Xb.options)}}else{dc=Object.keys(Ab);for(Ab=0;Ab<dc.length;Ab++)(vd=(vd=Caa.exec(dc[Ab]))&&vd[1])&&vd!=="removeListener"&&this[t].call(this,vd);this[t].call(this,"removeListener")}if(xa)return this};ia(sa[h],wb);ia(sa[k],Pb);Vb&&ia(sa[t],Vb);W&&ia(sa[q],W);return!0}for(var h=d&&d.add||"addEventListener",
k=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",t=d&&d.rmAll||"removeAllListeners",w=ca(h),y="."+h+":",D=function(W,Z,fa){if(!W.isRemoved){var ma=W.callback;typeof ma==="object"&&ma.handleEvent&&(W.callback=function(ha){return ma.handleEvent(ha)},W.originalDelegate=ma);try{W.invoke(W,Z,[fa])}catch(ha){var ua=ha}var Ua=W.options;Ua&&typeof Ua==="object"&&Ua.once&&Z[k].call(Z,fa.type,W.originalDelegate?W.originalDelegate:W.callback,Ua);return ua}},G=function(W){return e(this,W,!1)},
I=function(W){return e(this,W,!0)},N=[],S=0;S<c.length;S++)N[S]=f(c[S],d);return N},Baa=function(a,b){if(!b){var c=[],d;for(d in a){var e=Caa.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=qa[b];c||(waa(b),c=qa[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():[]},Eaa=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[xaa]=!0;c&&c.apply(d,e)}})},
Jaa=function(){ta.__load_patch("util",function(a,b,c){var d=vaa(a);c.patchOnProperties=oaa;c.patchMethod=na;c.bindArguments=haa;c.patchMacroTask=qaa;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=Eaa;c.patchEventTarget=Daa;c.isIEOrEdge=taa;c.ObjectDefineProperty=maa;c.ObjectGetOwnPropertyDescriptor=ea;c.ObjectCreate=Faa;c.ArraySlice=Gaa;c.patchClass=la;c.wrapWithCurrentZone=gaa;c.filterProperties=uaa;c.attachOriginToPatched=
ia;c._redefineProperty=Object.defineProperty;c.patchCallbacks=eaa;c.getGlobalObjects=function(){return{globalSources:zaa,zoneSymbolEventNames:qa,eventNames:d,isBrowser:Haa,isMix:Iaa,isNode:yaa,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:pa,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})},Qaa=function(){Kaa=Zone.__symbol__;Laa=Object[Kaa("defineProperty")]=Object.defineProperty;Maa=Object[Kaa("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;
Naa=Object.create;va=Kaa("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[va]&&a[va][b])throw new TypeError("K`"+b+"`"+a);var d=c.configurable;b!=="prototype"&&(c=Oaa(a,b,c));return Paa(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(f){Object.defineProperty(a,f,b[f])});for(var c=l(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]=Oaa(a,c,b[c])});return Naa(a,b)};Object.getOwnPropertyDescriptor=function(a,b){var c=Maa(a,b);c&&a&&a[va]&&a[va][b]&&(c.configurable=!1);return c}},Raa=function(a,b,c){var d=c.configurable;c=Oaa(a,b,c);return Paa(a,b,c,d)},Oaa=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[va]||Object.isFrozen(a)||Laa(a,va,{writable:!0,value:{}}),a[va]&&(a[va][b]=
!0));return c},Paa=function(a,b,c,d){try{return Laa(a,b,c)}catch(e){if(c.configurable){typeof d=="undefined"?delete c.configurable:c.configurable=d;try{return Laa(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;}},Saa=
function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,f=c.zoneSymbolEventNames,h=c.TRUE_STR,k=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,t="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 w="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=w.map(function(Z){return"HTML"+Z+"Element"}).concat(t):
a.EventTarget?c.push("EventTarget"):c=t;var y=a.__Zone_disable_IE_check||!1,D=a.__Zone_enable_cross_context_check||!1,G=b.isIEOrEdge(),I={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(t=0;t<d.length;t++){var N=d[t],S=q+(N+k),W=q+(N+h);f[N]={};f[N][k]=S;f[N][h]=W}for(f=0;f<w.length;f++)for(h=
w[f],k=e[h]={},q=0;q<d.length;q++)t=d[q],k[t]=h+".addEventListener:"+t;d=[];for(e=0;e<c.length;e++)w=a[c[e]],d.push(w&&w.prototype);b.patchEventTarget(a,b,d,{vh:function(Z,fa,ma,ua){if(!y&&G)if(D)try{var Ua=fa.toString();if(Ua==="[object FunctionWrapper]"||Ua=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return Z.apply(ma,ua),!1}catch(ha){return Z.apply(ma,ua),!1}else{if(fa=fa.toString(),fa==="[object FunctionWrapper]"||fa=="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }")return Z.apply(ma,
ua),!1}else if(D)try{fa.toString()}catch(ha){return Z.apply(ma,ua),!1}return!0},transferEventName:function(Z){return I[Z]||Z}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Taa=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(k,q){var t=arguments.length>1?new f(k,q):new f(k),w=a.ObjectGetOwnPropertyDescriptor(t,"onmessage");if(w&&w.configurable===!1){var y=
a.ObjectCreate(t);var D=t;[d,e,"send","close"].forEach(function(G){y[G]=function(){var I=a.ArraySlice.call(arguments);if(G===d||G===e){var N=I.length>0?I[0]:void 0;N&&(N=Zone.__symbol__("ON_PROPERTY"+N),t[N]=y[N])}return t[G].apply(t,I)}})}else y=t;a.patchOnProperties(y,["close","error","message","open"],D);return y};c=b.WebSocket;for(var h in f)c[h]=f[h]},Uaa=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},Waa=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Vaa.length;c={onproperty:void 0},d++){var e=Vaa[d];
c.onproperty="on"+e;self.addEventListener(e,function(f){return function(h){h=h.target;var k;for(k=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],k);q[b]=h[f.onproperty];h[f.onproperty]=q}h=h.parentElement}}}(c),!0)}},Xaa=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=Raa;Qaa()});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){Saa(c,e);d=e.getGlobalObjects();var f=d.isMix;d.isNode&&!f||Uaa(e,
c)||(d=typeof WebSocket!=="undefined",Waa(e),e.patchClass("XMLHttpRequest"),d&&Taa(e,c),Zone[e.symbol("patchEvents")]=!0)})}},Yaa=function(a,b){b.patchMethod(a,"queueMicrotask",function(){return function(c,d){Zone.current.scheduleMicroTask("queueMicrotask",d[0])}})},wa=function(a,b,c,d){function e(t){var w=t.data;w.args[0]=function(){return t.invoke.apply(this,arguments)};var y=h.apply(a,w.args);typeof y==="number"?w.handleId=y:(w.handle=y,w.isRefreshable=typeof y.refresh==="function");return t}function f(t){t=
t.data;var w=t.handleId,y;return k.call(a,(y=t.handle)!=null?y:w)}var h=null,k=null;b+=d;c+=d;var q={};h=na(a,b,function(t){return function(w,y){if(typeof y[0]==="function"){var D={isRefreshable:!1,isPeriodic:d==="Interval",delay:d==="Timeout"||d==="Interval"?y[1]||0:void 0,args:y},G=y[0];y[0]=function(){try{return G.apply(this,arguments)}finally{var fa=D.handle,ma=D.handleId,ua=D.isRefreshable;D.isPeriodic||ua||(ma?delete q[ma]:fa&&(fa[Zaa]=null))}};var I=Zone.current.scheduleMacroTask(b,y[0],D,
e,f);if(!I)return I;var N=I.data;w=N.handleId;y=N.handle;var S=N.isRefreshable;N=N.isPeriodic;if(w)q[w]=I;else if(y&&(y[Zaa]=I,S&&!N)){var W=y.refresh;y.refresh=function(){var fa=I.zone,ma=I.state;ma==="notScheduled"?(I._state="scheduled",fa._updateTaskCount(I,1)):ma==="running"&&(I._state="scheduling");return W.call(this)}}var Z;return(Z=y!=null?y:w)!=null?Z:I}return t.apply(a,y)}});k=na(a,c,function(t){return function(w,y){w=y[0];if(typeof w==="number"){var D=q[w];delete q[w]}else(D=w==null?void 0:
w[Zaa])?w[Zaa]=null:D=w;var G;((G=D)==null?0:G.type)?D.cancelFn&&D.zone.cancelTask(D):t.apply(a,y)}})},bba=function(){var a=ta;a.__load_patch("legacy",function(b){(b=b[a.__symbol__("legacyPatch")])&&b()});a.__load_patch("timers",function(b){wa(b,"set","clear","Timeout");wa(b,"set","clear","Interval");wa(b,"set","clear","Immediate")});a.__load_patch("requestAnimationFrame",function(b){wa(b,"request","cancel","AnimationFrame");wa(b,"mozRequest","mozCancel","AnimationFrame");wa(b,"webkitRequest","webkitCancel",
"AnimationFrame")});a.__load_patch("blocking",function(b,c){for(var d=["alert","prompt","confirm"],e=0;e<d.length;e++)na(b,d[e],function(f,h,k){return function(q,t){return c.current.run(f,b,t,k)}})});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,k=e.FALSE_STR;e=e.ZONE_SYMBOL_PREFIX;for(var q=0;q<c.length;q++){var t=c[q],w=e+(t+k),y=e+(t+h);f[t]={};f[t][k]=
w;f[t][h]=y}(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((!yaa||Iaa)&&!Zone[d.symbol("patchEvents")]){c=
b.__Zone_ignore_on_properties;d=[];if(Haa){var e=window;d=d.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var f=oa.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=vaa(e);var k=c?c.concat(f):c;f=paa(e);e&&(h=uaa(e,h,k),oaa(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=vaa(f.prototype),h&&(f=uaa(h,f,c),oaa(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(t){function w(ua){var Ua=ua.data,ha=Ua.target;ha[h]=!1;ha[q]=!1;var xa=ha[f];I||(I=ha[$aa],N=ha[aba]);xa&&N.call(ha,"readystatechange",xa);xa=ha[f]=function(){if(ha.readyState===ha.DONE)if(!Ua.aborted&&ha[h]&&ua.state==="scheduled"){var sa=ha[c.__symbol__("loadfalse")];if(ha.status!==0&&sa&&sa.length>0){var Ma=ua.invoke;ua.invoke=function(){for(var Aa=ha[c.__symbol__("loadfalse")],wb=0;wb<Aa.length;wb++)Aa[wb]===ua&&Aa.splice(wb,1);Ua.aborted||ua.state!==
"scheduled"||Ma.call(ua)};sa.push(ua)}else ua.invoke()}else Ua.aborted||ha[h]!==!1||(ha[q]=!0)};I.call(ha,"readystatechange",xa);ha[d]||(ha[d]=ua);fa.apply(ha,Ua.args);ha[h]=!0;return ua}function y(){}function D(ua){ua=ua.data;ua.aborted=!0;return ma.apply(ua.target,ua.args)}var G=t.XMLHttpRequest;if(G){G=G.prototype;var I=G[$aa],N=G[aba];!I&&(t=t.XMLHttpRequestEventTarget)&&(t=t.prototype,I=t[$aa],N=t[aba]);var S=na(G,"open",function(){return function(ua,Ua){ua[e]=Ua[2]==0;ua[k]=Ua[1];return S.apply(ua,
Ua)}}),W=ca("fetchTaskAborting"),Z=ca("fetchTaskScheduling"),fa=na(G,"send",function(){return function(ua,Ua){if(c.current[Z]===!0||ua[e])return fa.apply(ua,Ua);Ua={target:ua,url:ua[k],isPeriodic:!1,args:Ua,aborted:!1};var ha=Zone.current.scheduleMacroTask("XMLHttpRequest.send",y,Ua,w,D);ua&&ua[q]===!0&&!Ua.aborted&&ha.state==="scheduled"&&ha.invoke()}}),ma=na(G,"abort",function(){return function(ua,Ua){var ha=ua[d];if(ha&&typeof ha.type=="string")ha.cancelFn==null||ha.data&&ha.data.aborted||ha.zone.cancelTask(ha);
else if(c.current[W]===!0)return ma.apply(ua,Ua)}})}})(b);var d=ca("xhrTask"),e=ca("xhrSync"),f=ca("xhrListener"),h=ca("xhrScheduled"),k=ca("xhrURL"),q=ca("xhrErrorBeforeScheduled")});a.__load_patch("geolocation",function(b){b.navigator&&b.navigator.geolocation&&jaa(b.navigator.geolocation)});a.__load_patch("PromiseRejectionEvent",function(b,c){function d(e){return function(f){Baa(b,e).forEach(function(h){var k=b.PromiseRejectionEvent;k&&(k=new k(e,{promise:f.promise,reason:f.rejection}),h.invoke(k))})}}
b.PromiseRejectionEvent&&(c[ca("unhandledPromiseRejectionHandler")]=d("unhandledrejection"),c[ca("rejectionHandledHandler")]=d("rejectionhandled"))});a.__load_patch("queueMicrotask",function(b,c,d){Yaa(b,d)})},cba=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}})})},ya=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,
ya);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.reportErrorToServer=!0},dba=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");ya.call(this,c+a[d])},za=function(a,b){if(a)throw Error("L");b.push(65533)},eba=function(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b},fba=function(a,b,c,d){c=b+c;for(var e=[],f=null,h,k,q,t;b<c;)h=a[b++],h<128?e.push(h):h<224?b>=c?za(d,e):(k=a[b++],
h<194||(k&192)!==128?(b--,za(d,e)):e.push((h&31)<<6|k&63)):h<240?b>=c-1?za(d,e):(k=a[b++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((q=a[b++])&192)!==128?(b--,za(d,e)):e.push((h&15)<<12|(k&63)<<6|q&63)):h<=244?b>=c-2?za(d,e):(k=a[b++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((q=a[b++])&192)!==128||((t=a[b++])&192)!==128?(b--,za(d,e)):(h=(h&7)<<18|(k&63)<<12|(q&63)<<6|t&63,h-=65536,e.push((h>>10&1023)+55296,(h&1023)+56320))):za(d,e),e.length>=8192&&(f=eba(f,e),e.length=0);return eba(f,e)},jba=
function(a,b,c,d){var e;d?(e=gba)||(e=gba=new TextDecoder("utf-8",{fatal:!0})):(e=hba)||(e=hba=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(iba===void 0){try{e.decode(new Uint8Array([128]))}catch(h){}try{e.decode(new Uint8Array([97])),iba=!0}catch(h){iba=!1}}b=!iba}b&&(gba=void 0);throw f;}},nba=function(a,b){b=b===void 0?!1:b;if(kba){if(b&&(lba?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("M");
a=(mba||(mba=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},Ca=function(a){Ba.setTimeout(function(){throw a;},0)},Da=function(){var a=Ba.navigator;return a&&(a=a.userAgent)?a:""},oba=function(a){return Ea?Fa?Fa.brands.some(function(b){return(b=b.brand)&&Ga(b,a)}):!1:!1},Ha=function(a){return Ga(Da(),a)},Ia=function(){return Ea?!!Fa&&Fa.brands.length>0:!1},pba=function(){return Ia()?!1:Ha("Opera")},qba=function(){return Ia()?!1:Ha("Trident")||Ha("MSIE")},rba=function(){return Ha("Firefox")||Ha("FxiOS")},tba=function(){return Ha("Safari")&&!(sba()||
(Ia()?0:Ha("Coast"))||pba()||(Ia()?0:Ha("Edge"))||(Ia()?oba("Microsoft Edge"):Ha("Edg/"))||(Ia()?oba("Opera"):Ha("OPR"))||rba()||Ha("Silk")||Ha("Android"))},sba=function(){return Ia()?oba("Chromium"):(Ha("Chrome")||Ha("CriOS"))&&!(Ia()?0:Ha("Edge"))||Ha("Silk")},uba=function(){return Ha("Android")&&!(sba()||rba()||pba()||Ha("Silk"))},vba=function(){var a=Da();if(qba()){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},wba=function(){if(Ia()){var a=Fa.brands.find(function(b){return b.brand==="Internet Explorer"});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=vba();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])},Ja=function(){return Ea?!!Fa&&!!Fa.platform:!1},xba=function(){return Ja()?Fa.platform===
"Android":Ha("Android")},yba=function(){return Ha("iPhone")&&!Ha("iPod")&&!Ha("iPad")},Ka=function(){return yba()||Ha("iPad")||Ha("iPod")},zba=function(){return Ja()?Fa.platform==="macOS":Ha("Macintosh")},La=function(a){return a[a.length-1]},Aba=function(a,b){var c=0;Na(a,function(d,e,f){b.call(void 0,d,e,f)&&++c});return c},Bba=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 Cba(a,b)>=0},
Dba=function(a){if(!Array.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0},Qa=function(a,b){b=Cba(a,b);var c;(c=b>=0)&&Pa(a,b);return c},Pa=function(a,b){Array.prototype.splice.call(a,b,1)},Ra=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&&Pa(a,b)},Ta=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[]},Eba=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)}},Gba=function(a,b,c,d){return Array.prototype.splice.apply(a,Fba(arguments,1))},Fba=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Hba=function(a,b,c){b=b||a;var d=function(q){return Wa(q)?"o"+Xa(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,f={};e<a.length;){var h=a[e++],k=c(h);Object.prototype.hasOwnProperty.call(f,k)||
(f[k]=!0,b[d++]=h)}b.length=d},Jba=function(a,b){a.sort(b||Iba)},Kba=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||Iba;Jba(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},Iba=function(a,b){return a>b?1:a<b?-1:0},Lba=function(){for(var a=[],b=0;b<5;b+=1)a.push(b);return a},Mba=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Nba=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)},Pba=function(a){return Oba[a]||""},Rba=function(a){Qba.test(a)&&(a=a.replace(Qba,Pba));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},Ya=function(a){return a!=null&&a instanceof Uint8Array},Sba=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},
Tba=function(){return typeof BigInt==="function"},$a=function(a){return Array.prototype.slice.call(a)},bb=function(a){return!!(ab(a)&2)},db=function(a){a[cb]|=34;return a},Uba=function(a){a[cb]|=32;return a},Vba=function(a,b){b[cb]=(a|0)&-14591},Wba=function(a,b){b[cb]=(a|34)&-14557},eb=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(Ya(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=ab(a);if(d&1)return!0;if(!aca(b,c))return!1;
a[cb]=d|1;return!0},mb=function(a){if(a&2)throw Error();},ob=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();},dca=function(a){if(!cca)return a.constructor.repeatedFields_},eca=function(a,b){(b=pb?b[pb]:void 0)&&(a[pb]=$a(b))},qb=function(){return fca||(fca=Symbol())},gca=function(a){return a},hca=function(a){return a},lca=function(a,b,c,d){return ica(a,b,c,d,jca,kca)},oca=function(a,b,c,d){return ica(a,
b,c,d,mca,nca)},ica=function(a,b,c,d,e,f){if(!c.length&&!d)return 0;for(var h=0,k=0,q=0,t=0,w=0,y=c.length-1;y>=0;y--){var D=c[y];d&&y===c.length-1&&D===d||(t++,D!=null&&q++)}if(d)for(var G in d)y=+G,isNaN(y)||(w+=pca(y),k++,y>h&&(h=y));t=e(t,q)+f(k,h,w);G=q;y=k;D=h;for(var I=w,N=c.length-1;N>=0;N--){var S=c[N];if(!(S==null||d&&N===c.length-1&&S===d)){S=N-b;var W=e(S,G)+f(y,D,I);W<t&&(a=1+S,t=W);y++;G--;I+=pca(S);D=Math.max(D,S)}}b=e(0,0)+f(y,D,I);b<t&&(a=0,t=b);if(d){y=k;D=h;I=w;G=q;for(var Z in d)d=
+Z,isNaN(d)||d>=1024||(y--,G++,I-=Z.length,h=e(d,G)+f(y,D,I),h<t&&(a=1+d,t=h))}return a},nca=function(a,b,c){return c+a*3+(a>1?a-1:0)},mca=function(a,b){return(a>1?a-1:0)+(a-b)*4},kca=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},jca=function(a){return 40+4*a},pca=function(a){return a>=100?a>=1E4?Math.ceil(Math.log10(1+a)):a<1E3?3:4:a<10?1:2},rca=function(){var a=
Error();qca(a,"incident");Ca(a)},rb=function(a){a=Error(a);qca(a,"warning");return a},sca=function(a){var b=a>>>0;sb=b;tb=(a-b)/4294967296>>>0},ub=function(a){if(a<0){sca(-a);var b=l(tca(sb,tb));a=b.next().value;b=b.next().value;sb=a>>>0;tb=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},vb=function(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Tba()?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=sb,b=tb;b&2147483648?Tba()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=l(tca(a,b)),a=b.next().value,b=b.next().value,a="-"+vb(a,b)):a=vb(a,b);return a},xca=function(a){if(a.length<16)ub(Number(a));else if(Tba())a=BigInt(a),sb=Number(a&
BigInt(4294967295))>>>0,tb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");tb=sb=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)),tb*=1E6,sb=sb*1E6+d,sb>=4294967296&&(tb+=Math.trunc(sb/4294967296),tb>>>=0,sb>>>=0);b&&(b=l(tca(sb,tb)),a=b.next().value,b=b.next().value,sb=a,tb=b)}},tca=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},yca=function(a){if(typeof a!=="number")throw Error("R`"+typeof a+"`"+a);return a},yb=function(a){return a==null?a:yca(a)},zca=function(a){if(a==
null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)},Aca=function(a){if(typeof a!=="boolean")throw Error("S`"+zb(a)+"`"+a);return a},Bb=function(a){return a==null?a:Aca(a)},Bca=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a},Cb=function(a){var b=typeof a;return b==="number"?Number.isFinite(a):b!=="string"?!1:Cca.test(a)},Db=function(a){if(!Number.isFinite(a))throw rb("enum");return a|0},Dca=function(a){return a==
null?a:Db(a)},Eca=function(a){return a==null?a:Number.isFinite(a)?a|0:void 0},Eb=function(a){if(typeof a!=="number")throw rb("int32");if(!Number.isFinite(a))throw rb("int32");return a|0},Fb=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},Fca=function(){if(!Number.isFinite(0))throw rb("uint32");return 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},Gb=function(a,b){b=!!b;if(!Cb(a))throw rb("int64");return typeof a==="string"?Hca(a):b?Ica(a):Jca(a)},Hb=function(a){return a==null?a:Gb(a)},Kca=function(a){return a[0]==="-"?!1:a.length<20?!0:a.length===20&&Number(a.substring(0,6))<184467},Lca=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},Mca=function(a){if(a<0){ub(a);var b=vb(sb,tb);a=Number(b);return Number.isSafeInteger(a)?
a:b}if(Kca(String(a)))return a;ub(a);return tb*4294967296+(sb>>>0)},Jca=function(a){a=Math.trunc(a);Number.isSafeInteger(a)||(ub(a),a=uca(sb,tb));return a},Nca=function(a){a=Math.trunc(a);return a>=0&&Number.isSafeInteger(a)?a:Mca(a)},Ica=function(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Lca(b)?a=b:(ub(a),a=wca())}return a},Oca=function(a){a=Math.trunc(a);if(a>=0&&Number.isSafeInteger(a))a=String(a);else{var b=String(a);Kca(b)?a=b:(ub(a),a=vb(sb,tb))}return a},
Hca=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));Lca(a)||(xca(a),a=wca());return a},Pca=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));Kca(a)||(xca(a),a=vb(sb,tb));return a},Qca=function(a){if(a==null)return a;if(Cb(a)){var b;typeof a==="number"?b=Jca(a):b=Hca(a);return b}},Ib=function(a,b){b=b===void 0?!1:b;if(a==null)return a;
if(Cb(a))return typeof a==="string"?Hca(a):b?Ica(a):Jca(a)},Rca=function(a){var b=!!b;if(!Cb(a))throw rb("uint64");return typeof a==="string"?Pca(a):b?Oca(a):Nca(a)},Jb=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},Kb=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=ab(a);e===
0&&(e|=d&32);e|=d&2;e!==c&&(a[cb]=e);return new b(a)},Uca=function(a){var b=a[Vca];if(b)return b;b=new a;db(b.internalArray_);return a[Vca]=b},Lb=function(a,b,c){if(b)return Aca(a);var d;return(d=Bca(a))!=null?d:c?!1:void 0},Wca=function(a,b,c){a=b?Gb(a):Qca(a);b=a==null?c?0:void 0:a;return typeof b==="string"&&(c=+b,Number.isSafeInteger(c))?c:b},Mb=function(a,b,c){if(b)return Jb(a);var d;return(d=Tca(a))!=null?d:c?"":void 0},Xca=function(a,b,c){a=b?Db(a):Eca(a);return a==null?c?0:void 0:a},Yca=function(a){return a},
Zca=function(a,b,c,d,e,f){a=Kb(a,d,c,f);e&&(a=Nb(a));return a},$ca=function(a){return a},bda=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){Ob(e,b.get(f),c==null?void 0:ada(c,2))||(d=!1)});return d},cda=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},dda=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(cda);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 k=h[0];if(k!==e){e=void 0;if(!Ob(a.get(k),h[1],(e=c)==null?void 0:ada(e,2)))return!1;e=k;d++}}return d===a.size},eda=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(cda);b.sort(cda);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,k=a[e];if(!Array.isArray(k))return!1;for(var q=k[0];e<c-1&&(h=a[e+1])[0]===
q;)e++,k=h;var t=void 0;h=b[f];if(!Array.isArray(h))return!1;for(var w=h[0];f<d-1&&(t=b[f+1])[0]===w;)f++,h=t;if(!Ob(q,w))return!1;q=void 0;if(!Ob(k[1],h[1],(q=void 0)==null?void 0:ada(q,2)))return!1;e++;f++}return e>=c&&f>=d},gda=function(a){return[a,this.get(a)]},jda=function(){return hda||(hda=new Qb(db([]),void 0,void 0,void 0,ida))},kda=function(a,b){if(typeof b==="string")try{b=Rba(b)}catch(c){return!1}return Ya(b)&&Sba(a,b)},nda=function(a,b){var c=qb(),d;if(ib(a)){var e=a.internalArray_;d!=
null||(d=e[c]);var f=dca(a)}else if(Array.isArray(a))e=a;else return!1;if(ib(b))a=b.internalArray_,d!=null||(d=a[c]),f=f||dca(b);else if(Array.isArray(b))a=b;else return!1;var h;return lda(e,a,(h=f)!=null?h:mda,d,2)},Ob=function(a,b,c){return lda(a,b,void 0,c,0)},lda=function(a,b,c,d,e){Rb!=null&&Array.isArray(a)&&Array.isArray(b)&&Rb.push(d?"cc":"cn");if(a===b||a==null&&b==null)return!0;if(a instanceof Qb)return oda(a,b,d);if(b instanceof Qb)return oda(b,a,d);if(a==null||b==null)return!1;if(a instanceof
gb)return pda(a,b);if(b instanceof gb)return pda(b,a);if(Ya(a))return kda(a,b);if(Ya(b))return kda(b,a);var f=typeof a,h=typeof b;if(f!=="object"||h!=="object")return Number.isNaN(a)||Number.isNaN(b)?String(a)===String(b):f==="string"&&h==="number"||f==="number"&&h==="string"?+a===+b:f==="boolean"&&h==="number"||f==="number"&&h==="boolean"?!a===!b:!1;if(ib(a)||ib(b))return nda(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){h=ab(a);var k=ab(b),q=a.length,t=b.length,w=Math.max(q,
t);f=eb(h|k);(h=e===1||!!((h|k)&1))&&(e=1);if(!h){h=qb();var y;d!=null||(d=(y=a[h])!=null?y:b[h]);if(d!=null){c=(c=d.repeatedFields)?c:qda||(qda=new Set);var D=(D=d.mapFields)?D:qda||(qda=new Set)}}y=q&&a[q-1];h=t&&b[t-1];jb(y)||(y=null);jb(h)||(h=null);q=q-f-+!!y;t=t-f-+!!h;for(k=0;k<w;k++)if(!rda(k-f,a,y,q,b,h,t,f,c,D,d,e))return Rb!=null&&Rb.push("f"),!1;if(y)for(var G in y){e=a;w=y;k=q;var I=b,N=h,S=t,W=f,Z=c,fa=D,ma=d,ua=+G;e=!Number.isFinite(ua)||ua<k||ua<S?!0:rda(ua,e,w,k,I,N,S,W,Z,fa,ma,2);
if(!e)return Rb!=null&&Rb.push("f"),!1}if(h)for(var Ua in h)if((G=y&&Ua in y)||(G=a,e=y,w=q,k=b,I=h,N=t,S=f,W=c,Z=D,fa=d,ma=+Ua,G=!Number.isFinite(ma)||ma<w||ma<N?!0:rda(ma,G,e,w,k,I,N,S,W,Z,fa,2)),!G)return Rb!=null&&Rb.push("f"),!1;Rb!=null&&Rb.push("t");return!0}if(a.constructor===Object)return Ob([a],[b]);throw Error();},rda=function(a,b,c,d,e,f,h,k,q,t,w,y){b=sda(a,b,c,d,k);e=sda(a,e,f,h,k);y=y===1;Rb!=null&&Rb.push(a);if(e==null){if(lb(b,q,a))return!0;y||Sb||q||!Array.isArray(b)||b.length||
ab(b)&64||b[qb()]||Sb++}if(b==null){if(lb(e,q,a))return!0;y||Sb||q||!Array.isArray(e)||e.length||ab(e)&64||e[qb()]||Sb++}w=y?w:w==null?void 0:ada(w,a);if(t=t==null?void 0:t.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 eda(b,e)}return lda(b,e,void 0,w,t||aca(q,a)?1:0)},sda=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]},Tb=function(a,b){tda=b;a=new a(b);tda=void 0;
return a},wda=function(a){switch(typeof a){case "boolean":return uda||(uda=[0,void 0,!0]);case "number":return a>0?void 0:a===0?vda||(vda=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},m=function(a,b,c){a==null&&(a=tda);tda=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("U");d=ab(a);if(d&2048)throw Error("V");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("W");a:{c=a;var e=c.length;if(e){var f=
e-1;if(jb(c[f])){d|=256;b=f-eb(d);if(b>=1024)throw Error("X");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-eb(d));if(b>1024)throw Error("Y");d=d&-16760833|(b&1023)<<14}}}a[cb]=d;return a},yda=function(a,b){return xda(b)},xda=function(a){switch(typeof a){case "number":return isFinite(a)?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(Ya(a))return Nba(a);if(a instanceof gb)return zda(a);if(a instanceof Qb)return Ada(a)}}return a},
Bda=function(a,b,c){var d=$a(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])}eca(d,a);return d},Dda=function(a,b,c,d,e){if(a!=null){if(Array.isArray(a))a=lb(a,void 0,0)?void 0:e&&ab(a)&2?a:Cda(a,b,c,d!==void 0,e);else if(jb(a)){var f={},h;for(h in a)f[h]=Dda(a[h],b,c,d,e);a=f}else a=b(a,d);return a}},Cda=function(a,b,c,d,e){var f=d||c?ab(a):0;d=d?!!(f&32):void 0;for(var h=$a(a),k=0;k<h.length;k++)h[k]=Dda(h[k],b,c,d,e);
c&&(eca(h,a),c(f,h));return h},Fda=function(a){return Dda(a,Eda,void 0,void 0,!1)},Eda=function(a){return ib(a)?a.toJSON():a instanceof Qb?Ada(a,Fda):xda(a)},Gda=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=ab(a);if(d&2)return a;b&&(b=d===0||!!(d&32)&&!(d&64||!(d&16)));return b?(a[cb]=(d|34)&-12293,a):Cda(a,Gda,d&4?Wba:c,!0,!0)}ib(a)?(c=a.internalArray_,d=c[cb],a=d&2?a:Tb(a.constructor,Ub(c,d,!0))):a instanceof Qb&&
!(a.arrayState&2)&&(c=db(Hda(a,Gda)),a=new Qb(c,a.valueCtor,a.keyToApi,a.valueToApi));return a}},Ub=function(a,b,c){var d=c||b&2?Wba:Vba,e=!!(b&32);a=Bda(a,b,function(f){return Gda(f,e,d)});a[cb]=a[cb]|32|(c?2:0);return a},Nb=function(a){var b=a.internalArray_,c=b[cb];return c&2?Tb(a.constructor,Ub(b,c,!1)):a},Ida=function(){rca()},Lda=function(a,b){(Jda||(Jda=new WeakMap)).set(a,b);(Kda||(Kda=new WeakMap)).set(b,a)},Nda=function(a,b,c,d){if(!(4&b))return!0;if(c==null)return!1;!d&&c===0&&(4096&b||
8192&b)&&(a.constructor[Mda]=(a.constructor[Mda]|0)+1)<5&&rca();return c===0?!1:!(c&b)},Oda=function(a,b,c,d){b=d+eb(b);if(!(b<0||b>=a.length||b>=c))return a[b]},Wb=function(a,b,c,d,e){var f=b>>14&1023||536870912;if(c>=f||e&&!Pda){var h=b;if(b&256)e=a[a.length-1];else{if(d==null)return h;e=a[f+eb(b)]={};h|=256}e[c]=d;c<f&&(a[c+eb(b)]=void 0);h!==b&&(a[cb]=h);return h}a[c+eb(b)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b},Qda=function(a,b,c,d){var e=b&2,f=Zb(a,b,c,d);Array.isArray(f)||
(f=mda);var h=!!(b&32),k=ab(f);k===0&&h&&!e?(k|=33,f[cb]=k):k&1||(k|=1,f[cb]=k);if(e)k&2||db(f),Object.freeze(f);else if(2&k||2048&k)f=$a(f),e=1,h&&(e|=32),f[cb]=e,Wb(a,b,c,f,d);return f},cc=function(a,b,c,d,e,f,h){var k=a.internalArray_,q=k[cb],t=2&q?1:d;f=!!f;d=Rda(k,q,b,e);var w=ab(d);if(Nda(a,w,h,f)){if(4&w||Object.isFrozen(d))d=$a(d),w=$b(w,q),q=Wb(k,q,b,d,e);for(var y=a=0;a<d.length;a++){var D=c(d[a]);D!=null&&(d[y++]=D)}y<a&&(d.length=y);w=Sda(w,q);w=(w|20)&-4097;w&=-8193;h&&(w|=h);d[cb]=w;
2&w&&Object.freeze(d)}var G;t===1||t===4&&32&w?ac(w)||(f=w,w|=2,w!==f&&(d[cb]=w),Object.freeze(d)):(h=t!==5?!1:!!(32&w)||ac(w)||!!Tda(d),(t===2||h)&&ac(w)&&(d=$a(d),w=$b(w,q),w=bc(w,q,f),d[cb]=w,q=Wb(k,q,b,d,e)),ac(w)||(b=w,w=bc(w,q,f),w!==b&&(d[cb]=w)),h&&(G=Uda(d)));return G||d},Rda=function(a,b,c,d){a=Zb(a,b,c,d);return Array.isArray(a)?a:mda},Sda=function(a,b){a===0&&(a=$b(a,b));return a|1},ac=function(a){return!!(2&a)&&!!(4&a)||!!(2048&a)},Vda=function(a,b,c,d,e,f,h){var k=b&2;a:{var q=c,t=b&
2;c=!1;if(q==null){if(t){a=jda();break a}q=[]}else if(q.constructor===Qb){if((q.arrayState&2)==0||t){a=q;break a}q=Hda(q)}else Array.isArray(q)?c=bb(q):q=[];if(t){if(!q.length){a=jda();break a}c||(c=!0,db(q))}else if(c){c=!1;t=$a(q);for(q=0;q<t.length;q++){var w=t[q]=$a(t[q]);Array.isArray(w[1])&&(w[1]=db(w[1]))}q=t}c||(ab(q)&64?ec(q,32):32&b&&Uba(q));f=new Qb(q,e,f,h);Wb(a,b,d,f,!1);a=f}!k&&e&&(a.callToMutableOnAccess=!0);return a},fc=function(a,b,c){a=a.internalArray_;var d=a[cb];return Vda(a,d,
Zb(a,d,b),b,void 0,Mb,c)},gc=function(a,b,c,d){a=a.internalArray_;var e=a[cb];return Vda(a,e,Zb(a,e,b),b,c,d)},hc=function(a,b,c,d){var e=a.internalArray_,f=e[cb];mb(f);if(c==null)return Wb(e,f,b),a;c=Wda(c);var h=ab(c),k=h,q=!!(2&h)||Object.isFrozen(c),t=!q&&(void 0===Xda||!1);if(Nda(a,h))for(h=21,q&&(c=$a(c),k=0,h=$b(h,f),h=bc(h,f,!0)),q=0;q<c.length;q++)c[q]=d(c[q]);t&&(c=$a(c),k=0,h=$b(h,f),h=bc(h,f,!0));h!==k&&(c[cb]=h);Wb(e,f,b,c);return a},jc=function(a,b,c,d){var e=a.internalArray_,f=e[cb];
mb(f);Wb(e,f,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a},kc=function(a,b,c,d){var e=a.internalArray_,f=ab(e);mb(a.internalArray_[cb]);a=Qda(e,f,b,!1);b=ab(a);b=!!(4&b)&&!!(4096&b);if(Array.isArray(d))for(e=0;e<d.length;e++)a.push(c(d[e],b));else for(d=l(d),e=d.next();!e.done;e=d.next())a.push(c(e.value,b))},lc=function(a,b,c,d,e){var f=a.internalArray_,h=f[cb];mb(h);b=Qda(f,h,b);f=ab(b);d=c(d,!!(4&f)&&!!(4096&f));e!=void 0?b.splice(e,0,d):b.push(d);return a},mc=function(a,b,c,d,e,f){mb(a.internalArray_[cb]);
b=f(a,b,2,void 0,!0);bca(b,d);f=ab(b);b[d]=c(e,!!(4&f)&&!!(4096&f));return a},Zda=function(a){var b;return(b=a[Yda])!=null?b:a[Yda]=new Map},$da=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];Zb(b,c,h)!=null&&(e!==0&&(c=Wb(b,c,e)),e=h)}a.set(d,e);return e},aea=function(a,b,c,d){a=a.internalArray_;var e=a[cb],f=Zb(a,e,c,d);b=Kb(f,b,!1,e);b!==f&&b!=null&&Wb(a,e,c,b,d);return b},bea=function(a,b,c,d,e,f,h,k){var q=!!(2&b);e=q?1:e;h=!!h;k&&(k=!q);q=Rda(a,
b,d,f);var t=ab(q),w=!!(4&t);if(!w){t=Sda(t,b);var y=q,D=b,G=!!(2&t);G&&(D|=2);for(var I=!G,N=!0,S=0,W=0;S<y.length;S++){var Z=Kb(y[S],c,!1,D);if(Z instanceof c){if(!G){var fa=bb(Z.internalArray_);I&&(I=!fa);N&&(N=fa)}y[W++]=Z}}W<S&&(y.length=W);t|=4;t=N?t|16:t&-17;t=I?t|8:t&-9;y[cb]=t;G&&Object.freeze(y)}if(k&&!(8&t||!q.length&&(e===1||e===4&&32&t))){ac(t)&&(q=$a(q),t=$b(t,b),b=Wb(a,b,d,q,f));c=q;k=t;for(y=0;y<c.length;y++)t=c[y],D=Nb(t),t!==D&&(c[y]=D);k|=8;k=c.length?k&-17:k|16;t=c[cb]=k}var ma;
e===1||e===4&&32&t?ac(t)||(b=t,t|=!q.length||16&t&&(!w||32&t)?2:2048,t!==b&&(q[cb]=t),Object.freeze(q)):(w=e!==5?!1:!!(32&t)||ac(t)||!!Tda(q),(e===2||w)&&ac(t)&&(q=$a(q),t=$b(t,b),t=bc(t,b,h),q[cb]=t,b=Wb(a,b,d,q,f)),ac(t)||(a=t,t=bc(t,b,h),t!==a&&(q[cb]=t)),w&&(ma=Uda(q)));return ma||q},$b=function(a,b){a=(2&b?a|2:a&-3)|32;return a&=-2049},bc=function(a,b,c){32&b&&c||(a&=-33);return a},cea=function(a,b,c,d,e,f,h){a=a.internalArray_;var k=a[cb];mb(k);b=bea(a,k,c,b,2,f,!0);c=d!=null?d:new c;h&&bca(b,
e);e!=void 0?b.splice(e,h,c):b.push(c);bb(c.internalArray_)?ec(b,8):ec(b,16);return c},dea=function(a){return Ib(a,!0)},nc=function(a,b){return a!=null?a:b},eea=function(a){return kb(a,!1,!1,!1)},gea=function(a){var b=oc?a.internalArray_:Cda(a.internalArray_,Eda,void 0,void 0,!1);var c=!oc,d=dca(a),e=(c?a.internalArray_:b)[cb];if(a=b.length){var f=b[a-1],h=jb(f);h?a--:f=void 0;var k=eb(e),q=a-k,t=!!fea&&Pda&&!(e&512),w;e=(w=fea)!=null?w:hca;e=t?e(q,k,b,f):q;w=(q=t&&q!==e)?Array.prototype.slice.call(b,
0,a):b;if(h||q){b:{var y=w;var D=f;h={};t=!1;if(q)for(var G=Math.max(0,e+k);G<y.length;G++){var I=y[G],N=G-k;I==null||lb(I,d,N)||$ba(I)&&I.size===0||(y[G]=void 0,h[N]=I,t=!0)}if(D)for(var S in D)if(G=+S,isNaN(G))h[S]=D[S];else if(I=D[S],Array.isArray(I)&&(lb(I,d,+S)||$ba(I)&&I.size===0)&&(I=null),I==null&&(t=!0),q&&G<e){t=!0;I=G+k;for(N=y.length;N<=I;N++)y.push(void 0);y[I]=D[G]}else I!=null&&(h[S]=I);if(t){for(var W in h){D=h;break b}D=null}}y=D==null?f!=null:D!==f}q&&(a=w.length);for(var Z;a>0;a--){W=
a-1;S=w[W];W-=k;if(!(S==null||lb(S,d,W)||$ba(S)&&S.size===0))break;Z=!0}if(w!==b||y||Z){if(!q&&!c)w=Array.prototype.slice.call(w,0,a);else if(Z||y||D)w.length=a;D&&w.push(D)}b=w}return b},pc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},qc=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},hea=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},iea=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},jea=function(a){var b=
[],c=0,d;for(d in a)b[c++]=a[d];return b},kea=function(a,b){return a!==null&&b in a},lea=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},mea=function(a,b){return(b=lea(a,b))&&a[b]},rc=function(a){for(var b in a)return!1;return!0},nea=function(a){for(var b in a)delete a[b]},sc=function(a,b){b in a&&delete a[b]},oea=function(a,b,c){if(a!==null&&b in a)throw Error("aa`"+b);a[b]=c},pea=function(a,b){return a!==null&&b in a?a[b]:void 0},tc=function(a){var b={},c;for(c in a)b[c]=a[c];
return b},rea=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<qea.length;f++)c=qea[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},sea=function(a){var b=arguments.length;if(b==1&&Array.isArray(arguments[0]))return sea.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},tea=function(a){return a.toString().indexOf("`")===-1},vc=function(a){if(a instanceof uc)return a.privateDoNotAccessOrElseWrappedUrl;throw Error("ca");
},wc=function(a){return new uea(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},xc=function(a){var b=b===void 0?vea:b;a:if(b=b===void 0?vea:b,!(a instanceof uc)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof uea&&d.isValid(a)){a=new uc(a);break a}}a=void 0}return a||wea},yea=function(a){if(xea.test(a))return a},yc=function(a){return a instanceof uc?vc(a):yea(a)},Ac=function(a){return a instanceof zc},zea=function(a){a=a.tagName;if(a==="SCRIPT"||a==="STYLE")throw Error("ca");
},Bc=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);},Aea=function(a,b){a.src=Cc(b).toString()},Bea=function(a,b,c){b=yc(b);b!==void 0&&a.open(b,c,void 0)},Cea=function(a){var b,c;return(a=(c=(b=a.document).querySelector)==null?void 0:c.call(b,"script[nonce]"))?a.nonce||a.getAttribute("nonce")||"":""},Dc=function(a,b){a.src=Cc(b);(b=Cea(a.ownerDocument&&a.ownerDocument.defaultView||window))&&a.setAttribute("nonce",b)},Dea=function(){ta.__load_patch("Error",function(a,b,c){function d(fa){for(var ma=
{zoneName:fa.zone.name},ua=ma;fa.parent;){fa=fa.parent;var Ua={zoneName:fa.zone.name};ma=ma.parent=Ua}return ua}function e(fa,ma,ua){ua=ua===void 0?!0:ua;fa=fa.split("\n");for(var Ua=0;fa[Ua]!==w&&fa[Ua]!==y&&fa[Ua]!==D&&fa[Ua]!==G&&fa[Ua]!==I&&Ua<fa.length;)Ua++;for(;Ua<fa.length&&ma;Ua++){var ha=fa[Ua];if(ha.trim())switch(t[ha]){case h.zoneJsInternal:fa.splice(Ua,1);Ua--;break;case h.transition:ma.parent?ma=ma.parent:ma=null;fa.splice(Ua,1);Ua--;break;default:fa[Ua]+=ua?" ["+ma.zone.name+"]":" ["+
ma.zoneName+"]"}}return fa.join("\n")}function f(){var fa=this,ma=q.apply(this,arguments),ua=ma.originalStack=ma.stack;if(f.stackRewrite&&ua){var Ua=c.currentZoneFrame();if(N==="lazy")ma[c.symbol("zoneFrameNames")]=d(Ua);else if(N==="default")try{ma.stack=ma.zoneAwareStack=e(ua,Ua)}catch(ha){}}return this instanceof q&&this.constructor!=q?(Object.keys(ma).concat("stack","message").forEach(function(ha){var xa=ma[ha];if(xa!==void 0)try{fa[ha]=xa}catch(sa){}}),this):ma}var h={zoneJsInternal:0,transition:1},
k=c.symbol("zoneJsInternalStackFrames"),q=a[c.symbol("Error")]=a.Error,t={},w,y,D,G,I;a.Error=f;var N=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";f.prototype=q.prototype;f[k]=t;f.stackRewrite=!1;var S=c.symbol("zoneAwareStack");N==="lazy"&&Object.defineProperty(f.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[S]||(this[S]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[S]},set:function(fa){this.originalStack=
fa;this[S]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var W=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(q))&&a.forEach(function(fa){W.filter(function(ma){return ma===fa}).length===0&&Object.defineProperty(f,fa,{get:function(){return q[fa]},set:function(ma){q[fa]=ma}})});q.hasOwnProperty("stackTraceLimit")&&(q.stackTraceLimit=Math.max(q.stackTraceLimit,15),Object.defineProperty(f,"stackTraceLimit",{get:function(){return q.stackTraceLimit},set:function(fa){return q.stackTraceLimit=
fa}}));q.hasOwnProperty("captureStackTrace")&&Object.defineProperty(f,"captureStackTrace",{value:function(fa,ma){q.captureStackTrace(fa,ma)}});Object.defineProperty(f,"prepareStackTrace",{get:function(){return q.prepareStackTrace},set:function(fa){return fa&&typeof fa==="function"?q.prepareStackTrace=function(ma,ua){if(ua)for(var Ua=0;Ua<ua.length;Ua++)if(ua[Ua].getFunctionName()==="zoneCaptureStackTrace"){ua.splice(Ua,1);break}return fa.call(this,ma,ua)}:q.prepareStackTrace=fa}});if(N!=="disable"){var Z=
b.current.fork({name:"detect",onHandleError:function(fa,ma,ua,Ua){if(Ua.originalStack&&Error===f)for(fa=Ua.originalStack.split(/\n/),Ua=ua=ma=!1;fa.length;){var ha=fa.shift();if(/:\d+:\d+/.test(ha)||ha==="ZoneAwareError"){var xa=ha.split("(")[0].split("@")[0],sa=h.transition;xa.indexOf("ZoneAwareError")!==-1&&(xa.indexOf("new ZoneAwareError")!==-1?(w=ha,y=ha.replace("new ZoneAwareError","new Error.ZoneAwareError")):(D=ha,G=ha.replace("Error.",""),ha.indexOf("Error.ZoneAwareError")===-1&&(I=ha.replace("ZoneAwareError",
"Error.ZoneAwareError"))),t[y]=h.zoneJsInternal);xa.indexOf("runGuarded")!==-1?ua=!0:xa.indexOf("runTask")!==-1?Ua=!0:xa.indexOf("run")!==-1?ma=!0:sa=h.zoneJsInternal;t[ha]=sa;if(ma&&ua&&Ua){f.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(fa,ma,ua,Ua){return fa.scheduleTask(ua,Ua)},onInvokeTask:function(fa,ma,ua,Ua,ha,xa){return fa.invokeTask(ua,Ua,ha,xa)},onCancelTask:function(fa,ma,ua,Ua){return fa.cancelTask(ua,Ua)},onInvoke:function(fa,ma,ua,Ua,ha,xa,sa){return fa.invoke(ua,
Ua,ha,xa,sa)}});b=Error.stackTraceLimit;Error.stackTraceLimit=100;Z.run(function(){Z.runGuarded(function(){var fa=function(){};Z.scheduleEventTask(k,function(){Z.scheduleMacroTask(k,function(){Z.scheduleMicroTask(k,function(){throw Error();},void 0,function(ma){ma._transitionTo=fa;ma.invoke()});Z.scheduleMicroTask(k,function(){throw Error();},void 0,function(ma){ma._transitionTo=fa;ma.invoke()})},void 0,function(ma){ma._transitionTo=fa;ma.invoke()},function(){})},void 0,function(ma){ma._transitionTo=
fa;ma.invoke()},function(){})})});Error.stackTraceLimit=b}})},Eea=function(){ta.__load_patch("ZoneAwarePromise",function(a,b,c){function d(Sa){if(Sa&&Sa.toString===Object.prototype.toString){var nb=Sa.constructor&&Sa.constructor.name;return(nb?nb:"")+": "+JSON.stringify(Sa)}return Sa?Sa.toString():Object.prototype.toString.call(Sa)}function e(Sa){c.onUnhandledError(Sa);try{var nb=b[ma];typeof nb==="function"&&nb.call(this,Sa)}catch(Za){}}function f(Sa){return Sa}function h(Sa){return xb.reject(Sa)}
function k(Sa,nb){return function(Za){try{q(Sa,nb,Za)}catch(Yb){q(Sa,!1,Yb)}}}function q(Sa,nb,Za){var Yb=Ma();if(Sa===Za)throw new TypeError("la");if(Sa[ua]===null){var ic=null;try{if(typeof Za==="object"||typeof Za==="function")ic=Za&&Za.then}catch(Rc){return Yb(function(){q(Sa,!1,Rc)})(),Sa}if(nb!==!1&&Za instanceof xb&&Za.hasOwnProperty(ua)&&Za.hasOwnProperty(Ua)&&Za[ua]!==null)t(Za),q(Sa,Za[ua],Za[Ua]);else if(nb!==!1&&typeof ic==="function")try{ic.call(Za,Yb(k(Sa,nb)),Yb(k(Sa,!1)))}catch(Rc){Yb(function(){q(Sa,
!1,Rc)})()}else{Sa[ua]=nb;Yb=Sa[Ua];Sa[Ua]=Za;Sa[ha]===ha&&nb===!0&&(Sa[ua]=Sa[sa],Sa[Ua]=Sa[xa]);nb===!1&&Za instanceof Error&&(ic=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&I(Za,Aa,{configurable:!0,enumerable:!1,writable:!0,value:ic});for(ic=0;ic<Yb.length;)w(Sa,Yb[ic++],Yb[ic++],Yb[ic++],Yb[ic++]);if(Yb.length==0&&nb==0){Sa[ua]=0;nb=Za;try{throw Error("ma`"+d(Za)+"`"+(Za&&Za.stack?"\n"+Za.stack:""));}catch(Rc){nb=Rc}W&&(nb.throwOriginal=!0);nb.rejection=Za;nb.promise=
Sa;nb.zone=b.current;nb.task=b.currentTask;S.push(nb);c.scheduleMicroTask()}}}return Sa}function t(Sa){if(Sa[ua]===0){try{var nb=b[wb];nb&&typeof nb==="function"&&nb.call(this,{rejection:Sa[Ua],promise:Sa})}catch(Za){}Sa[ua]=!1;for(nb=0;nb<S.length;nb++)Sa===S[nb].promise&&S.splice(nb,1)}}function w(Sa,nb,Za,Yb,ic){t(Sa);var Rc=Sa[ua],Ab=Rc?typeof Yb==="function"?Yb:f:typeof ic==="function"?ic:h;nb.scheduleMicroTask("Promise.then",function(){try{var dc=Sa[Ua],Xb=!!Za&&ha===Za[ha];Xb&&(Za[xa]=dc,Za[sa]=
Rc);var vd=nb.run(Ab,void 0,Xb&&Ab!==h&&Ab!==f?[]:[dc]);q(Za,!0,vd)}catch(Id){q(Za,!1,Id)}},Za)}function y(Sa){var nb=Sa.prototype,Za=G(nb,"then");if(!Za||Za.writable!==!1&&Za.configurable){var Yb=nb.then;nb[fa]=Yb;Sa.prototype.then=function(ic,Rc){var Ab=this;return(new xb(function(dc,Xb){Yb.call(Ab,dc,Xb)})).then(ic,Rc)};Sa[Uc]=!0}}function D(Sa){return function(nb,Za){nb=Sa.apply(nb,Za);if(nb instanceof xb)return nb;Za=nb.constructor;Za[Uc]||y(Za);return nb}}var G=Object.getOwnPropertyDescriptor,
I=Object.defineProperty,N=c.symbol,S=[],W=a[N("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,Z=N("Promise"),fa=N("then");c.onUnhandledError=function(Sa){if(c.showUncaughtError()){var nb=Sa&&Sa.rejection;nb?console.error("Unhandled Promise rejection:",nb instanceof Error?nb.message:nb,"; Zone:",Sa.zone.name,"; Task:",Sa.task&&Sa.task.source,"; Value:",nb,nb instanceof Error?nb.stack:void 0):console.error(Sa)}};c.microtaskDrainDone=function(){for(var Sa={};S.length;Sa={uncaughtPromiseError:void 0}){Sa.uncaughtPromiseError=
S.shift();try{Sa.uncaughtPromiseError.zone.runGuarded(function(nb){return function(){if(nb.uncaughtPromiseError.throwOriginal)throw nb.uncaughtPromiseError.rejection;throw nb.uncaughtPromiseError;}}(Sa))}catch(nb){e(nb)}}};var ma=N("unhandledPromiseRejectionHandler"),ua=N("state"),Ua=N("value"),ha=N("finally"),xa=N("parentPromiseValue"),sa=N("parentPromiseState"),Ma=function(){var Sa=!1;return function(nb){return function(){Sa||(Sa=!0,nb.apply(null,arguments))}}},Aa=N("currentTaskTrace"),wb=N("rejectionHandledHandler"),
Pb=function(){},Vb=a.AggregateError,xb=function(Sa){if(!(this instanceof xb))throw Error("na");this[ua]=null;this[Ua]=[];try{var nb=Ma();Sa&&Sa(nb(k(this,!0)),nb(k(this,!1)))}catch(Za){q(this,!1,Za)}};xb.toString=function(){return"function ZoneAwarePromise() { [native code] }"};xb.resolve=function(Sa){return Sa instanceof xb?Sa:q(new this(null),!0,Sa)};xb.reject=function(Sa){return q(new this(null),!1,Sa)};xb.withResolvers=function(){var Sa={};Sa.promise=new xb(function(nb,Za){Sa.resolve=nb;Sa.reject=
Za});return Sa};xb.any=function(Sa){if(!Sa||typeof Sa[Symbol.iterator]!=="function")return Promise.reject(new Vb([],"All promises were rejected"));var nb=[],Za=0;try{for(var Yb=l(Sa),ic=Yb.next();!ic.done;ic=Yb.next()){var Rc=ic.value;Za++;nb.push(xb.resolve(Rc))}}catch(Xb){return Promise.reject(new Vb([],"All promises were rejected"))}if(Za===0)return Promise.reject(new Vb([],"All promises were rejected"));var Ab=!1,dc=[];return new xb(function(Xb,vd){for(var Id=0;Id<nb.length;Id++)nb[Id].then(function(of){Ab||
(Ab=!0,Xb(of))},function(of){dc.push(of);Za--;Za===0&&(Ab=!0,vd(new Vb(dc,"All promises were rejected")))})})};xb.race=function(Sa){function nb(dc){Yb(dc)}function Za(dc){ic(dc)}var Yb,ic,Rc=new this(function(dc,Xb){Yb=dc;ic=Xb});Sa=l(Sa);for(var Ab=Sa.next();!Ab.done;Ab=Sa.next())(Ab=Ab.value)&&Ab.then||(Ab=this.resolve(Ab)),Ab.then(nb,Za);return Rc};xb.all=function(Sa){return xb.allWithCallback(Sa)};xb.allSettled=function(Sa){return(this&&this.prototype instanceof xb?this:xb).allWithCallback(Sa,
{thenCallback:function(nb){return{status:"fulfilled",value:nb}},errorCallback:function(nb){return{status:"rejected",reason:nb}}})};xb.allWithCallback=function(Sa,nb){var Za,Yb,ic=new this(function(Id,of){Za=Id;Yb=of}),Rc=2,Ab=0,dc=[];Sa=l(Sa);for(var Xb=Sa.next(),vd={};!Xb.done;vd={curValueIndex:void 0},Xb=Sa.next()){(Xb=Xb.value)&&Xb.then||(Xb=this.resolve(Xb));vd.curValueIndex=Ab;try{Xb.then(function(Id){return function(of){dc[Id.curValueIndex]=nb?nb.thenCallback(of):of;Rc--;Rc===0&&Za(dc)}}(vd),
function(Id){return function(of){nb?(dc[Id.curValueIndex]=nb.errorCallback(of),Rc--,Rc===0&&Za(dc)):Yb(of)}}(vd))}catch(Id){Yb(Id)}Rc++;Ab++}Rc-=2;Rc===0&&Za(dc);return ic};da.Object.defineProperty(xb.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});da.Object.defineProperty(xb.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return xb}});xb.prototype.then=function(Sa,nb){var Za,Yb=(Za=this.constructor)==null?void 0:Za[Symbol.species];
Yb&&typeof Yb==="function"||(Yb=this.constructor||xb);Za=new Yb(Pb);Yb=b.current;this[ua]==null?this[Ua].push(Yb,Za,Sa,nb):w(this,Yb,Za,Sa,nb);return Za};xb.prototype.catch=function(Sa){return this.then(null,Sa)};xb.prototype.finally=function(Sa){var nb,Za=(nb=this.constructor)==null?void 0:nb[Symbol.species];Za&&typeof Za==="function"||(Za=xb);nb=new Za(Pb);nb[ha]=ha;Za=b.current;this[ua]==null?this[Ua].push(Za,nb,Sa,Sa):w(this,Za,nb,Sa,Sa);return nb};xb.resolve=xb.resolve;xb.reject=xb.reject;xb.race=
xb.race;xb.all=xb.all;Z=a[Z]=a.Promise;a.Promise=xb;var Uc=N("thenPatched");c.patchThen=y;Z&&(y(Z),na(a,"fetch",function(Sa){return D(Sa)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=S;return xb})},Fea=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 k=this[c];if(k)return typeof k==="function"?b.call(k):Object.prototype.toString.call(k);if(this===Promise&&(k=
a[d])||this===Error&&(k=a[e]))return b.call(k)}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)}})},Ec=function(a){for(var b in a)if(a[b]===Ec)return b;throw Error("pa");},Fc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},Gc=function(a){return{providers:a.providers||[],imports:a.imports||
[]}},Iea=function(a){var b;(b=a.hasOwnProperty(Gea)?a[Gea]:null)||(b=a.hasOwnProperty(Hea)?a[Hea]:null);return b},Jea=function(a){return(a=a&&(a[Gea]||a[Hea]))?a:null},Mea=function(a){return a&&(a.hasOwnProperty(Kea)||a.hasOwnProperty(Lea))?a[Kea]:null},Hc=function(a){return typeof a==="string"?a:a==null?"":String(a)},Ic=function(a){if(typeof a==="string")return a;if(Array.isArray(a))return"["+a.map(Ic).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)},Nea=function(a,b){return a==null||a===""?b===null?"":b:b==null||b===""?a:a+" "+b},Oea=function(){throw new Jc(-201,!1);},Pea=function(a,b){return Object.is(a,b)},Lc=function(a){var b=Kc;Kc=a;return b},Tea=function(a){if(Mc)throw Error("ca");if(Kc!==null){Kc.consumerOnSignalRead(a);var b=Kc.nextProducerIndex++;Qea(Kc);b<Kc.producerNode.length&&Kc.producerNode[b]!==a&&Nc(Kc)&&Rea(Kc.producerNode[b],Kc.producerIndexOfThis[b]);
Kc.producerNode[b]!==a&&(Kc.producerNode[b]=a,Kc.producerIndexOfThis[b]=Nc(Kc)?Sea(a,Kc,b):0);Kc.producerLastReadVersion[b]=a.version}},Wea=function(a){if(!Nc(a)||a.dirty)if(a.dirty||a.lastCleanEpoch!==Uea)(a.producerMustRecompute(a)||Vea(a))&&a.producerRecomputeValue(a),a.dirty=!1,a.lastCleanEpoch=Uea},Yea=function(a){if(a.liveConsumerNode!==void 0){var b=Mc;Mc=!0;try{for(var c=l(a.liveConsumerNode),d=c.next();!d.done;d=c.next()){var e=d.value;e.dirty||Xea(e)}}finally{Mc=b}}},Zea=function(){var a;
return((a=Kc)==null?void 0:a.consumerAllowSignalWrites)!==!1},Xea=function(a){a.dirty=!0;Yea(a);var b;(b=a.consumerMarkedDirty)==null||b.call(a,a)},$ea=function(a){a&&(a.nextProducerIndex=0);return Lc(a)},afa=function(a,b){Lc(b);if(a&&a.producerNode!==void 0&&a.producerIndexOfThis!==void 0&&a.producerLastReadVersion!==void 0){if(Nc(a))for(b=a.nextProducerIndex;b<a.producerNode.length;b++)Rea(a.producerNode[b],a.producerIndexOfThis[b]);for(;a.producerNode.length>a.nextProducerIndex;)a.producerNode.pop(),
a.producerLastReadVersion.pop(),a.producerIndexOfThis.pop()}},Vea=function(a){Qea(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;Wea(c);if(d!==c.version)return!0}return!1},bfa=function(a){Qea(a);if(Nc(a))for(var b=0;b<a.producerNode.length;b++)Rea(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)},Sea=function(a,b,c){cfa(a);if(a.liveConsumerNode.length===0&&a.producerNode!==void 0)for(var d=0;d<a.producerNode.length;d++)a.producerIndexOfThis[d]=Sea(a.producerNode[d],a,d);a.liveConsumerIndexOfThis.push(c);return a.liveConsumerNode.push(b)-1},Rea=function(a,b){cfa(a);if(a.liveConsumerNode.length===1&&a.producerNode!==void 0)for(var c=0;c<a.producerNode.length;c++)Rea(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],Qea(a),a.producerIndexOfThis[c]=b)},Nc=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},Qea=function(a){a.producerNode!=null||(a.producerNode=[]);a.producerIndexOfThis!=null||(a.producerIndexOfThis=
[]);a.producerLastReadVersion!=null||(a.producerLastReadVersion=[])},cfa=function(a){a.liveConsumerNode!=null||(a.liveConsumerNode=[]);a.liveConsumerIndexOfThis!=null||(a.liveConsumerIndexOfThis=[])},ffa=function(a){var b=Object.create(dfa);b.computation=a;a=function(){Wea(b);Tea(b);if(b.value===efa)throw b.error;return b.value};a[Oc]=b;return a},hfa=function(a){var b=Object.create(gfa);b.value=a;a=function(){Tea(b);return b.value};a[Oc]=b;return a},jfa=function(a,b){Zea()||ifa();a.equal(a.value,
b)||(a.value=b,a.version++,Uea++,Yea(a))},mfa=function(a,b,c){var d=Object.create(kfa);c&&(d.consumerAllowSignalWrites=!0);d.fn=a;d.schedule=b;var e=function(f){d.cleanupFn=f};a={};d.ref=(a.notify=function(){return Xea(d)},a.run=function(){if(d.fn!==null){if(Mc)throw Error("va");d.dirty=!1;if(!d.hasRun||Vea(d)){d.hasRun=!0;var f=$ea(d);try{d.cleanupFn(),d.cleanupFn=lfa,d.fn(e)}finally{afa(d,f)}}}},a.cleanup=function(){return d.cleanupFn()},a.destroy=function(){if(d.fn!==null||d.schedule!==null)bfa(d),
d.cleanupFn(),d.fn=null,d.schedule=null,d.cleanupFn=lfa},a[Oc]=d,a);return d.ref},Qc=function(a){var b=Pc;Pc=a;return b},nfa=function(a,b,c){if((a=Iea(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;Oea()},Sc=function(a){a.__forward_ref__=Sc;a.toString=function(){return Ic(this())};return a},Tc=function(a){return ofa(a)?a():a},ofa=function(a){return typeof a==="function"&&a.hasOwnProperty(pfa)&&a.__forward_ref__===Sc},Wc=function(a){var b=
Vc;Vc=a;return b},qfa=function(a,b){b=b===void 0?0:b;if(Vc===void 0)throw new Jc(-203,!1);return Vc===null?nfa(a,void 0,b):Vc.get(a,b&8?null:void 0,b)},n=function(a,b){b=b===void 0?0:b;return(Pc||qfa)(Tc(a),b)},Xc=function(a,b){return n(a,rfa(b===void 0?0:b))},rfa=function(a){return typeof a==="undefined"||typeof a==="number"?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},sfa=function(a){for(var b=[],c=0;c<a.length;c++){var d=Tc(a[c]);if(Array.isArray(d)){if(d.length===0)throw new Jc(900,
!1);for(var e=void 0,f=0,h=0;h<d.length;h++){var k=d[h],q=k.__NG_DI_FLAG__;typeof q==="number"?q===-1?e=k.token:f|=q:e=k}b.push(n(e,f))}else b.push(n(d))}return b},Yc=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},tfa=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++}},Zc=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?ufa(a,c,e,b[++d]):ufa(a,c,e,null))}return a},ufa=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)},vfa=function(a){return a.type===4&&a.value!=="ng-template"},wfa=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 k=0;k<b.length;k++){var q=b[k];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 t;if(!(t=e===null)){a:{t=void 0;var w=a,y=0;if(c)for(;y<e.length&&typeof e[y]==="string";y+=2){if(w=e[y]==="class"){b:{w=e[y+1].toLowerCase();for(var D=0,G=w.length;;){D=w.indexOf(q,D);if(D===-1){w=D;break b}if(D===0||w.charCodeAt(D-1)<=32){var I=q.length;if(D+I===G||w.charCodeAt(D+I)<=32){w=D;break b}}D+=1}w=void 0}w=w!==-1}if(w){q=!0;break a}}else if(vfa(w)){q=!1;break a}y=e.indexOf(1,y);if(y>-1)for(;++y<e.length&&typeof(t=e[y])==="string";)if(t.toLowerCase()===
q){q=!0;break a}q=!1}t=!q}if(t){if((d&1)===0)return!1;h=!0}}else{t=b[++k];a:if(e===null)q=-1;else if(y=0,c||!vfa(a)){for(w=!1;y<e.length;){G=e[y];if(G===q){q=y;break a}if(G===3||G===6)w=!0;else if(G===1||G===2){for(G=e[++y];typeof G==="string";)G=e[++y];continue}else if(G===4)break;else if(G===0){y+=4;continue}y+=w?1:2}q=-1}else b:{y=e.indexOf(4);if(y>-1)for(y++;y<e.length;){w=e[y];if(typeof w==="number")break;if(w===q){q=y;break b}y++}q=-1}if(q===-1){if((d&1)===0)return!1;h=!0}else if(t!==""&&(q=
q>f?"":e[q+1].toLowerCase(),d&2&&t!==q)){if((d&1)===0)return!1;h=!0}}}return(d&1)===0||h},xfa=function(a,b,c){c=c===void 0?!1:c;for(var d=0;d<b.length;d++)if(wfa(a,b[d],c))return!0;return!1},yfa=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 k=a[++c];e+="["+h+(k.length>0?'="'+k+'"':"")+"]"}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},$c=function(a){return{toString:a}.toString()},p=function(a){return $c(function(){var b=zfa(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,signals:(c=a.signals)!=null?c:!1,data:a.data||{},encapsulation:a.encapsulation||0,styles:a.styles||ad,_:null,schemas:a.schemas||
null,tView:null,id:""});Afa(b);c=a.dependencies;b.directiveDefs=Bfa(c,!1);b.pipeDefs=Bfa(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=l(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})},Dfa=
function(a){return a[bd]||a[Cfa]||null},Efa=function(a){return a!==null},cd=function(a){return $c(function(){return{type:a.type,bootstrap:a.bootstrap||ad,declarations:a.declarations||ad,imports:a.imports||ad,exports:a.exports||ad,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},Ffa=function(a,b){if(a==null)return dd;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 k=void 0;e=(k=e[2])!=null?k:h}else h=e;b?(c[h]=f!==0?[d,f]:
d,b[h]=e):c[h]=d}return c},ed=function(a){return $c(function(){var b=zfa(a);Afa(b);return b})},fd=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}},Hfa=function(a){return a[Gfa]||null},zfa=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||dd,exportAs:a.exportAs||null,standalone:a.standalone===!0,signals:a.signals===!0,selectors:a.selectors||ad,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ffa(a.inputs,b),outputs:Ffa(a.outputs),debugInfo:null}},Afa=function(a){var b;(b=a.features)==null||b.forEach(function(c){return c(a)})},Bfa=function(a,b){if(!a)return null;var c=b?Hfa:Dfa;return function(){return(typeof a==="function"?
a():a).map(function(d){return c(d)}).filter(Efa)}},gd=function(a){return a.hasOwnProperty(Ifa)?a[Ifa]:null},Jfa=function(a,b){a.forEach(function(c){return Array.isArray(c)?Jfa(c,b):b(c)})},Kfa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},id=function(a,b,c){var d=hd(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},Lfa=function(a,b){b=hd(a,b);if(b>=
0)return a[b|1]},hd=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)},Nfa=function(){return{"\u0275providers":Mfa(!0,jd.apply(0,arguments)),"\u0275fromNgModule":!0}},Mfa=function(a){var b=[],c=new Set,d,e=function(f){b.push(f)};Jfa(jd.apply(1,arguments),function(f){Ofa(f,e,[],c)&&(d||(d=[]),d.push(f))});d!==void 0&&Pfa(d,e);return b},Pfa=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;Qfa(c.providers$jscomp$2,function(f){return function(h){b(h,f.ngModule)}}(c))}},Ofa=function(a,b,c,d){a=Tc(a);if(!a)return!1;var e=null,f=Mea(a),h=!f&&(a[bd]||null);if(f||h){if(h&&!h.standalone)return!1;e=a}else{var k=a.ngModule;if(f=Mea(k))e=k;else return!1}k=d.has(e);if(h){if(k)return!1;d.add(e);if(h.dependencies)for(f=typeof h.dependencies==="function"?h.dependencies():h.dependencies,f=l(f),k=f.next();!k.done;k=f.next())Ofa(k.value,
b,c,d)}else if(f){if(f.imports!=null&&!k){d.add(e);var q;Jfa(f.imports,function(w){Ofa(w,b,c,d)&&(q||(q=[]),q.push(w))});q!==void 0&&Pfa(q,b)}k||(h=gd(e)||function(){return new e},b({provide:e,useFactory:h,deps:ad},e),b({provide:Rfa,useValue:e,multi:!0},e),b({provide:Sfa,useValue:function(){return n(e)},multi:!0},e));f=f.providers;if(f!=null&&!k){var t=a;Qfa(f,function(w){b(w,t)})}}else return!1;return e!==a&&a.providers!==void 0},Qfa=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())(c=
c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?Qfa(c,b):b(c)},Ufa=function(a){return a!==null&&typeof a=="object"&&Tfa in a},kd=function(a){return typeof a==="function"},Xfa=function(){Vfa===void 0&&(Vfa=new Wfa);return Vfa},Zfa=function(a){var b=Iea(a);b=b!==null?b.factory:gd(a);if(b!==null)return b;if(a instanceof ld)throw new Jc(204,!1);if(a instanceof Function)return Yfa(a);throw new Jc(204,!1);},Yfa=function(a){if(a.length>0)throw new Jc(204,!1);var b=Jea(a);return b!==null?
function(){return b.factory(a)}:function(){return new a}},bga=function(a){if(Ufa(a))return md(void 0,a.useValue);a=$fa(a);return md(a,aga)},$fa=function(a){var b=void 0;if(kd(a))return b=Tc(a),gd(b)||Zfa(b);if(Ufa(a))b=function(){return Tc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,r(sfa(a.deps||[])))};else if(a&&a.useExisting)b=function(){return n(Tc(a.useExisting))};else{var c=Tc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,
[null].concat(r(sfa(a.deps)))))};else return gd(c)||Zfa(c)}return b},md=function(a,b,c){return{factory:a,value:b,multi:(c===void 0?0:c)?[]:void 0}},cga=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?cga(c,b):c&&c&&c.\u0275providers?cga(c.\u0275providers,b):b(c)},od=function(a,b){a instanceof nd&&dga(a);a=Wc(a);var c=Qc();try{return b()}finally{Wc(a),Qc(c)}},ega=function(){if(Pc===void 0&&Vc==null)throw new Jc(-203,!1);},pd=function(a){return Array.isArray(a)&&
typeof a[1]==="object"},qd=function(a){return Array.isArray(a)&&a[1]===!0},rd=function(){return fga},fga=function(a){a.type.prototype.ngOnChanges&&(a.setInput=gga);return hga},hga=function(){var a=this.__ngSimpleChanges__||null,b=a==null?void 0:a.current;if(b){var c=a.previous;if(c===dd)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},gga=function(a,b,c,d,e){d=this.declaredInputs[d];var f;(f=a.__ngSimpleChanges__||null)||(f=a.__ngSimpleChanges__={previous:dd,current:null});
var h=f;f=h.current||(h.current={});h=h.previous;var k=h[d];f[d]=new iga(k&&k.currentValue,c,h===dd);b!==null?b.applyValueToInputSignal(b,c):a[e]=c},sd=function(a){for(;Array.isArray(a);)a=a[0];return a},td=function(a,b){return sd(b[a.index])},ud=function(a,b){a=b[a];return pd(a)?a:a[0]},wd=function(a,b){return b===null||b===void 0?null:a[b]},kga=function(a){a[2]&1024||(a[2]|=1024,(a[2]&128)===128&&jga(a))},xd=function(a){var b;return!!(a[2]&9216||((b=a[23])==null?0:b.dirty))},lga=function(a){var b;
(b=a[10].changeDetectionScheduler)==null||b.notify(7);a[2]&64&&(a[2]|=1024);xd(a)&&jga(a)},jga=function(a){var b;(b=a[10].changeDetectionScheduler)==null||b.notify(0);for(a=yd(a);a!==null&&!(a[2]&8192);){a[2]|=8192;if((a[2]&128)!==128)break;a=yd(a)}},mga=function(a,b){if((a[2]&256)===256)throw new Jc(911,!1);a[21]===null&&(a[21]=[]);a[21].push(b)},yd=function(a){a=a[3];return qd(a)?a[3]:a},u=function(){return zd.lView},v=function(a){zd.contextLView=a;return a[8]},x=function(a){zd.contextLView=null;
return a},Ad=function(){for(var a=zd.currentTNode;a!==null&&a.type===64;)a=a.parent;return a},Bd=function(a,b){var c=zd;c.currentTNode=a;c.isParent=b},Cd=function(){var a=zd,b=a.bindingRootIndex;b===-1&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},Dd=function(a){var b=zd,c=b.bindingIndex;b.bindingIndex+=a;return c},nga=function(a){var b=zd.currentDirectiveIndex;return b===-1?null:a[b]},pga=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=zd=oga();c.currentTNode=b;c.lView=a;return!0},qga=function(a){var b=oga(),c=a[1];zd=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},oga=function(){var a=zd,b=a===null?null:a.child;return b===null?rga(a):b},rga=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},sga=function(){var a=zd;zd=a.parent;a.currentTNode=null;a.lView=null;return a},tga=function(){var a=sga();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},Ed=function(){var a=zd;return a.tView.data[a.selectedIndex]},
Fd=function(){zd.currentNamespace="svg"},uga=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,k=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,t=void 0;((t=(q=a).contentHooks)!=null?t: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));k&&(f=h=void 0,((f=(h=a).viewHooks)!=null?f:h.viewHooks=[]).push(c,k),f=h=void 0,((f=(h=a).viewCheckHooks)!=null?f:h.viewCheckHooks=[]).push(c,k));d!=null&&(h=k=void 0,((h=(k=a).destroyHooks)!=null?h:k.destroyHooks=[]).push(c,d))}},vga=function(a,b,c,d){(a[2]&3)===c&&Gd(a,b,c,d)},wga=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&16383)+1)},Gd=function(a,b,c,d){for(var e=d!=null?d:-1,f=b.length-1,h=0,k=d!==void 0?a[17]&65535:0;k<f;k++)if(typeof b[k+
1]==="number"){if(h=b[k],d!=null&&h>=d)break}else{b[k]<0&&(a[17]+=65536);if(h<e||e==-1){var q=b[k]<0,t=b[k+1],w=a[q?-b[k]:b[k]];q?a[2]>>14<a[17]>>16&&(a[2]&3)===c&&(a[2]+=16384,xga(w,t)):xga(w,t);a[17]=(a[17]&4294901760)+k+2}k++}},xga=function(a,b){var c=Lc(null);try{b.call(a)}finally{Lc(c)}},yga=function(a,b){for(a>>=16;a>0;)b=b[14],a--;return b},Aga=function(a){var b=zga;zga=a;return b},Cga=function(a,b,c){var d;typeof c==="string"?d=c.charCodeAt(0)||0:c.hasOwnProperty(Hd)&&(d=c[Hd]);d==null&&(d=
c[Hd]=Bga++);c=d&255;b.data[a+(c>>5)]|=1<<c},Gga=function(a,b){var c=Dga(a,b);if(c!==-1)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,Ega(c.data,a),Ega(b,null),Ega(c.blueprint,null));c=Fga(a,b);a=a.injectorIndex;if(c!==-1)for(var d=c&32767,e=yga(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},Ega=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},Dga=function(a,b){return a.injectorIndex===-1||a.parent&&a.parent.injectorIndex===a.injectorIndex||b[a.injectorIndex+8]===null?
-1:a.injectorIndex},Fga=function(a,b){if(a.parent&&a.parent.injectorIndex!==-1)return a.parent.injectorIndex;a=0;for(var c=b;c!==null;){b=Hga(c);if(b===null)break;a++;c=c[14];if(b.injectorIndex!==-1)return b.injectorIndex|a<<16}return-1},Jd=function(a){var b=Ad();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},Iga=function(a,b,c,d){c&8&&d===void 0&&(d=null);if((c&3)===0){a=a[9];var e=Qc();try{return a?a.get(b,d,c&8):nfa(b,d,c&8)}finally{Qc(e)}}c&8||d!==void 0?b=d:(Oea(),b=void 0);return b},Kga=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=Kd,k=a,q=b;k!==null&&q!==null&&q[2]&2048&&!(q[2]&512);){var t=Jga(k,q,c,f|2);if(t!==Kd){f=t;break a}k=k.parent;if(!k){if(k=q[20])if(k=k.get(c,Kd,f),k!==Kd){f=k;break a}k=Hga(q);q=q[14]}}f=
h}if(f!==Kd)return f}a=Jga(a,b,c,d);if(a!==Kd)return a}return Iga(b,c,d,e)},Jga=function(a,b,c,d){var e=Kd;if(typeof c==="string")var f=c.charCodeAt(0)||0;else f=c.hasOwnProperty(Hd)?c[Hd]:void 0,f=typeof f==="number"?f>=0?f&255:Lga:f;if(typeof f==="function"){if(!pga(b,a,d))return d&1?d&8||e!==void 0?b=e:(Oea(),b=void 0):b=Iga(b,c,d,e),b;try{var h=f(d);if(h!=null||d&8)return h;Oea()}finally{sga()}}else if(typeof f==="number"){h=null;var k=Dga(a,b),q=d&1?b[15][5]:null;if(k===-1||d&4){var t=k===-1?
Fga(a,b):b[k+8];t===-1||d&2?k=-1:(h=b[1],k=t&32767,b=yga(t,b))}for(;k!==-1;){a=b[1];if(a.data[k+(f>>5)]&1<<f){t=b[1];var w=t.data[k+8],y=Mga(w,t,c,h==null?w.componentOffset>-1&&zga:h!=t&&(w.type&3)!==0,d&1&&q===w);t=y!==null?Ld(b,t,y,w):Kd;if(t!==Kd)return t}t=b[k+8];t!==-1&&!(d&2||d&1&&b[1].data[k+8]===q)&&b[k+(f>>5)]&1<<f?(h=a,k=t&32767,b=yga(t,b)):k=-1}}return e},Mga=function(a,b,c,d,e){var f=a.providerIndexes,h=b.data,k=f&1048575;b=a.directiveStart;a=a.directiveEnd;var q=f>>20;f=e?k+q:a;for(d=
d?k:k+q;d<f;d++)if(k=h[d],d<b&&c===k||d>=b&&k.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},Ld=function(a,b,c,d){var e=a[c],f=b.data;if(e instanceof Md){var h=e;if(h.resolving)throw a=f[c],new Jc(-200,typeof a==="function"?a.name||a.toString():typeof a==="object"&&a!=null&&typeof a.type==="function"?a.type.name||a.type.toString():Hc(a));var k=Aga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?Qc(h.injectImpl):null;pga(a,d,0);try{if(e=a[c]=h.factory(void 0,f,a,d),b.firstCreatePass&&
c>=d.directiveStart){var t=f[c],w=t.type.prototype,y=w.ngOnInit,D=w.ngDoCheck;if(w.ngOnChanges){var G=fga(t),I;((I=b.preOrderHooks)!=null?I:b.preOrderHooks=[]).push(c,G);var N;((N=b.preOrderCheckHooks)!=null?N:b.preOrderCheckHooks=[]).push(c,G)}if(y){var S;((S=b.preOrderHooks)!=null?S:b.preOrderHooks=[]).push(-c,y)}if(D){var W;((W=b.preOrderHooks)!=null?W:b.preOrderHooks=[]).push(c,D);var Z;((Z=b.preOrderCheckHooks)!=null?Z:b.preOrderCheckHooks=[]).push(c,D)}}}finally{q!==null&&Qc(q),Aga(k),h.resolving=
!1,sga()}}return e},Lga=function(){return new Nd(Ad(),u())},Od=function(a){return $c(function(){var b=a.prototype.constructor;b=b[Ifa]||Nga(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[Ifa]||Nga(d);if(e&&e!==b)return e;d=Object.getPrototypeOf(d)}return function(f){return new f}})},Nga=function(a){return ofa(a)?function(){var b=Nga(Tc(a));return b&&b()}:gd(a)},Hga=function(a){var b=a[1],c=b.type;return c===2?b.declTNode:c===1?a[5]:null},Oga=function(a){return function(){var b=
jd.apply(0,arguments);if(a){b=a.apply(null,r(b));for(var c in b)this[c]=b[c]}}},Pd=function(a){return $c(function(){function b(){function d(h,k,q){for(k=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;k.length<=q;)k.push(null);(k[q]=k[q]||[]).push(f);return h}var e=jd.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var f=new (Function.prototype.bind.apply(b,[null].concat(r(e))));d.annotation=f;return d}var c=
Oga(a);return b})},Rga=function(a,b,c,d){a=Pga(a,b===void 0?null:b,c===void 0?null:c,d);Qga(a);return a},Pga=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)||ad,Nfa(a)];d=d||(typeof a==="object"?void 0:Ic(a));return new nd(c,b||Xfa(),d||null,e)},Tga=function(){if(Sga!==void 0)return Sga;if(typeof document!=="undefined")return document;throw new Jc(210,!1);},Qd=function(a,b){pd(b)?(a.__ngContext__=b[19],Uga.set(b[19],b)):a.__ngContext__=b},Vga=function(a){for(;a!==
null&&!qd(a);)a=a[4];return a},Sd=function(a,b){return new Rd(td(a,b))},Wga=function(a){return a instanceof Rd?a.nativeElement:a},Xga=function(){return new Td(u())},Ud=function(a){return a.ownerDocument.defaultView},Yga=function(a){return a.ownerDocument},Vd=function(a){if(!Zga.has(a)){Zga.add(a);var b,c;(b=performance)==null||(c=b.mark)==null||c.call(b,"mark_feature_usage",{detail:{feature:a}})}},Wd=function(a){a=a(function(b){b.name=b.constructor.name;b.stack=Error().stack});a.prototype=Object.create(Error.prototype);
return a.prototype.constructor=a},$ga=function(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,1))},Xd=function(a){return typeof a==="function"},aha=function(a){return a instanceof Yd||a&&"closed"in a&&Xd(a.remove)&&Xd(a.add)&&Xd(a.unsubscribe)},Zd=function(){},$d=function(a){setTimeout(function(){throw a;})},ae=function(a){return a},be=function(){return bha(jd.apply(0,arguments))},bha=function(a){return a.length===0?ae:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},cha=function(a){var b;
return(b=a!=null?a:void 0)!=null?b:Promise},dha=function(a,b){return new ce(function(c){var d=new Yd,e=0;d.add(b.schedule(function(){e===a.length?c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},eha=function(a,b){if(!a)throw Error("ya");return new ce(function(c){var d=new Yd;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})},
gha=function(a,b){return new ce(function(c){var d;c.add(b.schedule(function(){d=a[fha]();c.add(b.schedule(function(){if(!c.closed){try{var e=d.next();var f=e.value;var h=e.done}catch(k){c.error(k);return}h?c.complete():(c.next(f),this.schedule())}}))}));return function(){var e;return Xd((e=d)==null?void 0:e.return)&&d.return()}})},hha=function(a,b){return new ce(function(c){var d=new Yd;d.add(b.schedule(function(){var e=a[de]();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})},iha=function(a,b){return new ce(function(c){var d=new Yd;d.add(b.schedule(function(){return a.then(function(e){d.add(b.schedule(function(){c.next(e);d.add(b.schedule(function(){return c.complete()}))}))},function(e){d.add(b.schedule(function(){return c.error(e)}))})}));return d})},jha=function(a){return new TypeError("za`"+(a!==null&&typeof a===
"object"?"an invalid object":"'"+a+"'"))},lha=function(a,b){if(a!=null){if(Xd(a[de]))return hha(a,b);if(kha(a))return dha(a,b);if(Xd(a==null?void 0:a.then))return iha(a,b);if(Symbol.asyncIterator&&Xd(a==null?void 0:a[Symbol.asyncIterator]))return eha(a,b);if(Xd(a==null?void 0:a[fha]))return gha(a,b)}throw jha(a);},fe=function(a,b){return b?lha(a,b):ee(a)},ee=function(a){if(a instanceof ce)return a;if(a!=null){if(Xd(a[de]))return mha(a);if(kha(a))return nha(a);if(Xd(a==null?void 0:a.then))return oha(a);
if(Symbol.asyncIterator&&Xd(a==null?void 0:a[Symbol.asyncIterator]))return pha(a);if(Xd(a==null?void 0:a[fha]))return qha(a)}throw jha(a);},mha=function(a){return new ce(function(b){var c=a[de]();if(Xd(c.subscribe))return c.subscribe(b);throw new TypeError("Aa");})},nha=function(a){return new ce(function(b){for(var c=0;c<a.length&&!b.closed;c++)b.next(a[c]);b.complete()})},oha=function(a){return new ce(function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,
$d)})},qha=function(a){return new ce(function(b){for(var c=a[fha]();!b.closed;){var d=c.next(),e=d.value;d.done?b.complete():b.next(e)}return function(){return Xd(c==null?void 0:c.return)&&c.return()}})},pha=function(a){return new ce(function(b){rha(a,b).catch(function(c){return b.error(c)})})},rha=function(a,b){var c,d,e,f,h,k;return ge(function(q){switch(q.nextAddress){case 1:he(q,2,3);var t=a[Symbol.asyncIterator];f=t!==void 0?t.call(a):new sha(l(a));case 5:return ie(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:je(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=f.return)){q.jumpTo(9);break}return ie(q,e.call(f),9);case 9:je(q,0,0,1);if(c)throw c.error;ke(q,10,1);break;case 10:ke(q,4);break;case 2:k=le(q);c={error:k};q.jumpTo(3);break;case 4:b.complete(),me(q)}})},ne=function(a,b){return b?dha(a,b):nha(a)},tha=function(a){return a&&Xd(a.schedule)},uha=function(a){return Xd(a[a.length-1])?a.pop():void 0},oe=function(a){return tha(a[a.length-
1])?a.pop():void 0},pe=function(){var a=jd.apply(0,arguments),b=oe(a);return b?dha(a,b):ne(a)},qe=function(a){var b=Xd(a)?a:function(){return a};return new ce(function(c){return c.error(b())})},se=function(a){return new Promise(function(b,c){var d=new Yd;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new re)}}))})},te=function(a){return function(b){if(Xd(b==null?void 0:b.lift))return b.lift(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("Ba");
}},ve=function(){return te(function(a,b){var c=null;a._refCount++;var d=new ue(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())})},z=function(a,b){return te(function(c,d){var e=0;c.subscribe(new ue(d,function(f){d.next(a.call(b,f,e++))}))})},wha=function(a){return z(function(b){return vha(b)?a.apply(null,r(b)):a(b)})},Bha=function(a){if(a.length===
1){var b=a[0];if(xha(b))return{args:b,keys:null};if(b&&typeof b==="object"&&yha(b)===zha)return a=Aha(b),{args:a.map(function(c){return b[c]}),keys:a}}return{args:a,keys:null}},we=function(){var a=jd.apply(0,arguments),b=oe(a),c=uha(a);a=Bha(a);var d=a.args,e=a.keys;if(d.length===0)return fe([],b);b=new ce(Cha(d,b,e?function(f){for(var h={},k=0;k<f.length;k++)h[e[k]]=f[k];return h}:ae));return c?b.pipe(wha(c)):b},Cha=function(a,b,c){c=c===void 0?ae:c;return function(d){Dha(b,function(){for(var e=
a.length,f=Array(e),h=e,k=a.map(function(){return!1}),q=!0,t={i$jscomp$236:0};t.i$jscomp$236<e;t={i$jscomp$236:t.i$jscomp$236},t.i$jscomp$236++)Dha(b,function(w){return function(){fe(a[w.i$jscomp$236],b).subscribe(new xe(d,function(y){f[w.i$jscomp$236]=y;q&&(k[w.i$jscomp$236]=!0,q=!k.every(ae));q||d.next(c(f.slice()))},function(){return--h===0}))}}(t),d)},d)}},Dha=function(a,b,c){a?c.add(a.schedule(b)):b()},Eha=function(a,b,c,d){var e=[],f=0,h=0,k=!1,q=function(t){f++;ee(c(t,h++)).subscribe(new ue(b,
function(w){b.next(w)},void 0,function(){for(f--;e.length&&f<d;)q(e.shift());!k||e.length||f||b.complete()}))};a.subscribe(new ue(b,function(t){return f<d?q(t):e.push(t)},void 0,function(){k=!0;!k||e.length||f||b.complete()}));return function(){e=null}},ye=function(a,b,c){c=c===void 0?Infinity:c;if(Xd(b))return function(d){return d.pipe(ye(function(e,f){return ee(a(e,f)).pipe(z(function(h,k){return b(e,h,f,k)}))},c))};typeof b==="number"&&(c=b);return te(function(d,e){return Eha(d,e,a,c)})},ze=function(a){a=
a===void 0?Infinity:a;return ye(ae,a)},Ae=function(){var a=jd.apply(0,arguments);return ze(1)(ne(a,oe(a)))},Be=function(a){return new ce(function(b){try{var c=a()}catch(d){b.error(d);return}return ee(c).subscribe(b)})},Ce=function(){var a=jd.apply(0,arguments),b=uha(a),c=Bha(a);a=c.args;c=c.keys;return b?Fha(a,c).pipe(z(function(d){return b.apply(null,r(d))})):Fha(a,c)},Fha=function(a,b){return new ce(function(c){var d=a.length;if(d===0)c.complete();else for(var e=Array(d),f=0,h=0,k={i$jscomp$238:0};k.i$jscomp$238<
d;k={hasValue$jscomp$2:void 0,i$jscomp$238:k.i$jscomp$238},k.i$jscomp$238++){var q=ee(a[k.i$jscomp$238]);k.hasValue$jscomp$2=!1;c.add(q.subscribe({next:function(t){return function(w){t.hasValue$jscomp$2||(t.hasValue$jscomp$2=!0,h++);e[t.i$jscomp$238]=w}}(k),error:function(t){return c.error(t)},complete:function(t){return function(){f++;f!==d&&t.hasValue$jscomp$2||(h===d&&c.next(b?b.reduce(function(w,y,D){return w[y]=e[D],w},{}):e),c.complete())}}(k)}))}})},De=function(a,b,c){if(Xd(c)){var d=c;c=void 0}return d?
De(a,b,c).pipe(wha(d)):new ce(function(e){var f=function(){var h=jd.apply(0,arguments);return e.next(h.length>1?h:h[0])};if(Xd(a.addEventListener)&&Xd(a.removeEventListener))return a.addEventListener(b,f,c),function(){return a.removeEventListener(b,f,c)};if(Xd(a.on)&&Xd(a.off))return a.on(b,f),function(){return a.off(b,f)};if(Xd(a.addListener)&&Xd(a.removeListener))return a.addListener(b,f),function(){return a.removeListener(b,f)};if(kha(a))return ye(function(h){return De(h,b,c)})(ne(a)).subscribe(e);
e.error(new TypeError("Ca"))})},Gha=function(a,b){return new ce(function(c){var d=function(){var f=jd.apply(0,arguments);return c.next(f.length===1?f[0]:f)};try{var e=a(d)}catch(f){c.error(f);return}if(Xd(b))return function(){return b(d,e)}})},Hha=function(a){return!Array.isArray(a)&&a-parseFloat(a)+1>=0},Jha=function(a,b){a=a===void 0?0:a;b=b===void 0?Ee:b;if(!Hha(a)||a<0)a=0;tha(b)||(b=Ee);return new ce(function(c){c.add(b.schedule(Iha,a,{subscriber:c,counter:0,period:a}))})},Iha=function(a){var b=
a.subscriber,c=a.counter;a=a.period;b.next(c);this.schedule({subscriber:b,counter:c+1,period:a},a)},Ge=function(){var a=jd.apply(0,arguments),b=oe(a);var c=typeof a[a.length-1]==="number"?a.pop():Infinity;return a.length?a.length===1?ee(a[0]):ze(c)(ne(a,b)):Fe},Lha=function(a){return a.length===1&&Kha(a[0])?a[0]:a},He=function(a){return te(function(b,c){var d=0;b.subscribe(new ue(c,function(e){return a.call(void 0,e,d++)&&c.next(e)}))})},Nha=function(){var a=jd.apply(0,arguments);a=Lha(a);return a.length===
1?ee(a[0]):new ce(Mha(a))},Mha=function(a){return function(b){for(var c=[],d={i$jscomp$241:0};c&&!b.closed&&d.i$jscomp$241<a.length;d={i$jscomp$241:d.i$jscomp$241},d.i$jscomp$241++)c.push(ee(a[d.i$jscomp$241]).subscribe(new ue(b,function(e){return function(f){if(c){for(var h=0;h<c.length;h++)h!==e.i$jscomp$241&&c[h].unsubscribe();c=null}b.next(f)}}(d))))}},Ie=function(a,b){var c;a=a===void 0?0:a;var d=-1;b!=null&&(tha(b)?c=b:d=b);tha(c)||(c=Ee);return new ce(function(e){var f=Math.max(0,a instanceof
Date&&!isNaN(a)?+a-c.now():a);return c.schedule(Oha,f,{counter:0,period:d,subscriber:e})})},Oha=function(a){var b=a.period,c=a.subscriber,d=a.counter++;c.next(d);if(!c.closed){if(b<0)return c.complete();this.schedule(a,b)}},Pha=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},Je=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?Qha:a.with,e=a.scheduler===void 0?
Ee:a.scheduler,f=a.meta===void 0?null:a.meta;if(b==null&&c==null)throw new TypeError("Ea");return te(function(h,k){var q,t=null,w=0,y=function(G){q=Pha(k,e,function(){D.unsubscribe();ee(d({meta:f,lastValue:t,seen:w})).subscribe(k)},G)};var D=h.subscribe(new ue(k,function(G){var I;(I=q)==null||I.unsubscribe();w++;k.next(t=G);c>0&&y(c)},void 0,void 0,function(){var G;if((G=q)==null||!G.closed){var I;(I=q)==null||I.unsubscribe()}t=null}));y(b!=null?typeof b==="number"?b:+b-e.now():c)})},Qha=function(a){throw new Rha(a);
},Tha=function(a){return a in Sha?(delete Sha[a],!0):!1},Uha=function(a){return!!a&&(a instanceof ce||Xd(a.lift)&&Xd(a.subscribe))},Vha=function(a){var b=!0;setTimeout(function(){b&&(b=!1,a())});typeof Ke.requestAnimationFrame==="function"&&Ke.requestAnimationFrame(function(){b&&(b=!1,a())});return function(){b=!1}},Wha=function(a){var b=!0;queueMicrotask(function(){b&&a()});return function(){b=!1}},Xha=function(){},Yha=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}}},$ha=function(a){a.isCheckStableRunning||a.callbackScheduled||(a.callbackScheduled=!0,Zone.root.run(function(){Vha(function(){a.callbackScheduled=!1;Zha(a);a.isCheckStableRunning=!0;Yha(a);a.isCheckStableRunning=!1})}),Zha(a))},cia=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(b,
c,d,e,f,h){if(aia(h,"__ignore_ng_zone__"))return b.invokeTask(d,e,f,h);try{return bia(a),b.invokeTask(d,e,f,h)}finally{(a.shouldCoalesceEventChangeDetection&&e.type==="eventTask"||a.shouldCoalesceRunChangeDetection)&&$ha(a),a._nesting--,Yha(a)}},onInvoke:function(b,c,d,e,f,h,k){try{return bia(a),b.invoke(d,e,f,h,k)}finally{!a.shouldCoalesceRunChangeDetection||a.callbackScheduled||aia(h,"__scheduler_tick__")||$ha(a),a._nesting--,Yha(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&(e.change==
"microTask"?(a._hasPendingMicrotasks=e.microTask,Zha(a),Yha(a)):e.change=="macroTask"&&(a.hasPendingMacrotasks=e.macroTask))},onHandleError:function(b,c,d,e){b.handleError(d,e);a.runOutsideAngular(function(){return a.onError.emit(e)});return!1}})},Zha=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&a.callbackScheduled===!0?!0:!1},bia=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},
aia=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},dia=function(a,b){a=a===void 0?"zone.js":a;return a==="noop"?new Le:a==="zone.js"?new Me(b):a},gia=function(a,b){!b&&ega();var c,d=(c=b==null?void 0:b.injector)!=null?c:Xc(Ne);if((d!=null?d:Xc(Ne)).get(Oe)!=="browser")return eia;Vd("NgAfterRender");var e;return fia(a,d,!1,(e=b==null?void 0:b.phase)!=null?e:2)},Pe=function(a,b){!b&&ega();var c,d=(c=b==null?void 0:b.injector)!=
null?c:Xc(Ne);if((d!=null?d:Xc(Ne)).get(Oe)!=="browser")return eia;Vd("NgAfterNextRender");var e;return fia(a,d,!0,(e=b==null?void 0:b.phase)!=null?e:2)},hia=function(a,b){if(a instanceof Function)switch(b){case 0:return{earlyRead:a};case 1:return{write:a};case 2:return{mixedReadWrite:a};case 3:return{read:a}}return a},fia=function(a,b,c,d){a=hia(a,d);var e,f,h=(f=(e=b.get(Qe)).handler)!=null?f:e.handler=new Re,k=[],q=[],t=function(){for(var D=l(q),G=D.next();!G.done;G=D.next())h.unregister(G.value);
w()},w=b.get(Se).onDestroy(t),y=0;e=function(D,G){if(G){var I=c?function(){var S=jd.apply(0,arguments);y--;y<1&&t();G.apply(null,r(S))}:G,N=od(b,function(){return new iia(D,k,I)});h.register(N);q.push(N);y++}};e(0,a.earlyRead);e(1,a.write);e(2,a.mixedReadWrite);e(3,a.read);return{destroy:t}},kia=function(a,b){var c=jia?64:1088,d;for((d=a[10].changeDetectionScheduler)==null||d.notify(b);a;){a[2]|=c;b=yd(a);if((a[2]&512)!==0&&!b)break;a=b}},A=function(a){lia(zd.tView,u(),zd.selectedIndex+(a===void 0?
1:a))},lia=function(a,b,c){(b[2]&3)===3?(a=a.preOrderCheckHooks,a!==null&&Gd(b,a,3,c)):(a=a.preOrderHooks,a!==null&&vga(b,a,0,c));zd.selectedIndex=c},B=function(a,b){b=b===void 0?0:b;var c=u();return c===null?n(a,b):Kga(Ad(),c,Tc(a),b)},Te=function(){throw Error("Fa");},mia=function(a,b,c,d,e,f){var h=Lc(null);try{var k=null;(e&1)!==0&&(k=b[d][Oc]);k!==null&&k.transformFn!==void 0&&(f=k.transformFn(f));(e&2)!==0&&(f=a.inputTransforms[d].call(b,f));a.setInput!==null?a.setInput(b,k,f,c,d):(a=k,a!==
null?a.applyValueToInputSignal(a,f):b[d]=f)}finally{Lc(h)}},pia=function(){return"".replace(nia,function(a){return a.replace(oia,"\u200b$1\u200b")})},Ue=function(a,b,c,d,e){if(d!=null){var f=!1;if(qd(d))var h=d;else pd(d)&&(f=!0,d=d[0]);d=sd(d);if(a===0&&c!==null)e==null?b.appendChild(c,d):b.insertBefore(c,d,e||null,!0);else if(a===1&&c!==null)b.insertBefore(c,d,e||null,!0);else if(a===2){var k=b.parentNode(d);k&&b.removeChild(k,d,f)}else a===3&&b.destroyNode(d);if(h!=null)for(d=h[7],f=sd(h),d!==
f&&Ue(a,b,c,d,e),e=10;e<h.length;e++)f=h[e],Ve(b,a,f[1].firstChild,f,c,d,!1)}},qia=function(a,b){var c;(c=b[10].changeDetectionScheduler)==null||c.notify(8);Ve(b[11],2,a.firstChild,b,null,null,!1)},ria=function(a,b){var c=a[9],d=b[3];pd(d)?a[2]|=2:b[15]!==d[3][15]&&(a[2]|=2);c===null?a[9]=[b]:c.push(b)},sia=function(a,b){a=a[9];b=a.indexOf(b);a.splice(b,1)},We=function(a,b){if(!(a.length<=10)){var c=10+b,d=a[c];if(d){var e=d[16];e!==null&&e!==a&&sia(e,d);b>0&&(a[c-1][4]=d[4]);a=Kfa(a,10+b);qia(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}},uia=function(a,b){if(!(b[2]&256)){var c=b[11];c.destroyNode&&Ve(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;if(pd(a))c=a[12];else{var d=a[10];d&&(c=d)}if(!c){for(;a&&!a[4]&&a!==b;)pd(a)&&tia(a[1],a),a=a[3];a===null&&(a=b);pd(a)&&tia(a[1],a);c=a&&a[4]}a=c}else tia(b[1],b)}},tia=function(a,b){if(!(b[2]&256)){var c=Lc(null);try{b[2]&=-129;b[2]|=256;b[23]&&bfa(b[23]);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 Md)){var h=d[e+1];if(Array.isArray(h))for(var k=0;k<h.length;k+=2)h[k+1].call(f[h[k]]);else h.call(f)}}var q=a.cleanup,t=b[7];if(q!==null)for(d=0;d<q.length-1;d+=2)if(typeof q[d]==="string"){var w=q[d+3];if(w>=0)t[w]();else t[-w].unsubscribe();d+=2}else q[d].call(t[q[d+1]]);t!==null&&(b[7]=null);var y=b[21];if(y!==null)for(b[21]=null,q=0;q<y.length;q++)(0,y[q])();b[1].type===1&&b[11].destroy();var D=b[16];if(D!==
null&&qd(b[3])){D!==b[3]&&sia(D,b);var G=b[18];G!==null&&G.detachView(a)}Uga.delete(b[19])}finally{Lc(c)}}},via=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:td(b,c)},wia=function(a,b,c,d){a=via(a,d.parent,b);var e=b[11];d=d.parent||b[5];b=d.type&40?td(d,b):null;if(a!=null)if(Array.isArray(c))for(d=0;d<c.length;d++){var f=e,h=a,k=c[d];b!==null?f.insertBefore(h,k,b,!1):
f.appendChild(h,k)}else b!==null?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},yia=function(a,b){if(b!==null){var c=b.type;if(c&3)return td(b,a);if(c&4)return xia(-1,a[b.index]);if(c&8){c=b.child;if(c!==null)return yia(a,c);a=a[b.index];return qd(a)?xia(-1,a):sd(a)}if(c&32)return(void 0)(b,a)()||sd(a[b.index]);c=b!==null?a[15][5].projection[b.projection]:null;if(c!==null){if(Array.isArray(c))return c[0];a=yd(a[15]);return yia(a,c)}return yia(a,b.next)}return null},xia=function(a,b){a+=11;if(a<b.length){a=
b[a];var c=a[1].firstChild;if(c!==null)return yia(a,c)}return b[7]},Ve=function(a,b,c,d,e,f,h){for(;c!=null;)if(c.type===128)c=c.next;else{var k=d[c.index],q=c.type;h&&b===0&&(k&&Qd(sd(k),d),c.flags|=2);if((c.flags&32)!==32)if(q&8)Ve(a,b,c.child,d,e,f,!1),Ue(b,a,e,k,f);else if(q&32){q=(void 0)(c,d);for(var t;t=q();)Ue(b,a,e,t,f);Ue(b,a,e,k,f)}else q&16?zia(a,b,d,c,e,f):Ue(b,a,e,k,f);c=h?c.projectionNext:c.next}},zia=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++)Ue(b,a,e,c[d],f);else h=h[3],(d.flags&128)===128&&(c.flags|=128),Ve(a,b,c,h,e,f,!0)},Aia=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;d!==null&&tfa(a,b,d);e!==null&&(e===""?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));c!==null&&a.setAttribute(b,"style",c)},Ye=function(a){return a instanceof Xe?a.changingThisBreaksApplicationSecurity:a},Ze=function(a,b){a=a instanceof Xe&&a.getTypeName()||null;if(a!=null&&a!==b){if(a==="ResourceURL"&&b==="URL")return!0;throw Error("Ga`"+
b+"`"+a);}return a===b},Cia=function(){if(Bia===void 0&&(Bia=null,Ke.trustedTypes))try{Bia=Ke.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Bia},Dia=function(a){var b;return((b=Cia())==null?void 0:b.createHTML(a))||a},Fia=function(a){a=String(a);return a.match(Eia)?a:"unsafe:"+a},$e=function(a){var b={};a=l(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},
af=function(){for(var a={},b=l(jd.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},Gia=function(a){a=a.nodeName;return typeof a==="string"?a:"FORM"},Jia=function(a){return a.replace(/&/g,"&amp;").replace(Hia,function(b){return"&#"+((b.charCodeAt(0)-55296)*1024+(b.charCodeAt(1)-56320)+65536)+";"}).replace(Iia,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},Sia=function(a,b){var c=null;try{var d;
if(!(d=Kia)){var e=new Lia(a);try{var f=!!(new window.DOMParser).parseFromString(Dia(""),"text/html")}catch(Z){f=!1}d=f?new Mia(e):e}Kia=d;var h=b?String(b):"";c=Kia.getInertBodyElement(h);a=5;b=h;do{if(a===0)throw Error("Ia");a--;h=b;b=c.innerHTML;c=Kia.getInertBodyElement(h)}while(h!==b);var k=new Nia,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=k;d=q;var t=Gia(d).toLowerCase();if(Oia.hasOwnProperty(t)){b.buf.push("<");
b.buf.push(t);var w=d.attributes;for(d=0;d<w.length;d++){var y=w.item(d),D=y.name,G=D.toLowerCase();if(Pia.hasOwnProperty(G)){var I=y.value;Qia[G]&&(I=Fia(I));b.buf.push(" ",D,'="',Jia(I),'"')}}b.buf.push(">");h=!0}else h=!Ria.hasOwnProperty(t)}else q.nodeType===Node.TEXT_NODE&&k.buf.push(Jia(q.nodeValue));if(h&&q.firstChild){a.push(q);var N=q.firstChild;if(N&&(q.compareDocumentPosition(N)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Ha`"+N.outerHTML);q=
N}else for(;q;){q.nodeType===Node.ELEMENT_NODE&&k.endElement(q);var S,W=q.nextSibling;if(W&&q!==W.previousSibling)throw Error("Ha`"+W.outerHTML);if(S=W){q=S;break}q=a.pop()}}return Dia(k.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.removeChild(c.firstChild)}},Uia=function(){if(Tia===void 0&&(Tia=null,Ke.trustedTypes))try{Tia=Ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},
createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return Tia},Via=function(a){var b;return((b=Uia())==null?void 0:b.createHTML(a))||a},Wia=function(a){var b;return((b=Uia())==null?void 0:b.createScriptURL(a))||a},bf=function(a){var b=Xia();return b?Via(b.sanitize(1,a)||""):Ze(a,"HTML")?Via(Ye(a)):Sia(Tga(),Hc(a))},Yia=function(a){var b=Xia();return b?b.sanitize(2,a)||"":Ze(a,"Style")?Ye(a):Hc(a)},cf=function(a){var b=Xia();return b?b.sanitize(4,a)||"":Ze(a,"URL")?
Ye(a):Fia(Hc(a))},Zia=function(a){var b=Xia();if(b)return Wia(b.sanitize(5,a)||"");if(Ze(a,"ResourceURL"))return Wia(Ye(a));throw new Jc(904,!1);},Xia=function(){var a=u();return a&&a[10].sanitizer},aja=function(a,b,c,d,e,f,h,k,q,t,w){var y=b.blueprint.slice();y[0]=e;y[2]=d|204;if(t!==null||a&&a[2]&2048)y[2]|=2048;y[17]=0;y[3]=y[14]=a;y[8]=c;y[10]=h||a&&a[10];y[11]=k||a&&a[11];y[9]=q||a&&a[9]||null;y[5]=f;y[19]=$ia++;y[6]=w;y[20]=t;y[15]=b.type==2?a[15]:y;return y},df=function(a,b,c,d,e){var f=a.data[b];
if(f===null){f=zd.currentTNode;var h=zd.isParent,k=a.data,q=h?f:f&&f.parent,t=q?q.injectorIndex:-1,w=0;bja!==null&&(w|=128);b=k[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:t,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:w,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;zd.inI18n&&(f.flags|=32)}else f.type&64&&(f.type=c,f.value=d,f.attrs=e,a=zd,b=a.currentTNode,a=a.isParent?b:b.parent,f.injectorIndex=a===null?-1:a.injectorIndex);Bd(f,!0);return f},cja=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},dja=function(a,b,c,d,e){var f=zd.selectedIndex;try{zd.selectedIndex=-1,d&2&&b.length>25&&lia(a,b,25),c(d,e)}finally{zd.selectedIndex=f}},eja=function(a,b,c){if((b.flags&4)!==0){var d=Lc(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{Lc(d)}}},ija=function(a,b,c){var d=td(c,b),e=c.directiveStart,f=c.directiveEnd;if(c.componentOffset>-1){var h=
a.data[e+c.componentOffset],k=td(c,b),q=fja(h),t=b[10].rendererFactory,w=16;h.signals?w=4096:h.onPush&&(w=64);h=gja(b,aja(b,q,null,w,k,c,null,t.createRenderer(k,h),null,null,null));b[c.index]=h}a.firstCreatePass||Gga(c,b);Qd(d,b);d=c.initialInputs;for(h=e;h<f;h++){k=a.data[h];q=Ld(b,a,h,c);Qd(q,b);if(d!==null&&(t=d[h-e],t!==null))for(w=0;w<t.length;){var y=t[w++],D=t[w++],G=t[w++],I=t[w++];mia(k,q,y,D,G,I)}k.template&&(ud(c.index,b)[8]=Ld(b,a,h,c))}(c.flags&64)===64&&hja(a,b,c)},jja=function(a,b,
c){c=c===void 0?td: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}},fja=function(a){var b=a.tView;return b===null||b.incompleteFirstPass?a.tView=kja(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},kja=function(a,b,c,d,e,f,h,k,q,t,w){d=25+d;e=d+e;for(var y=[],D=0;D<e;D++)y.push(D<d?null:ef);t=typeof t==="function"?t():t;return y[1]={type:a,blueprint:y,template:c,queries:null,viewQuery:k,
declTNode:b,data:y.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:t,incompleteFirstPass:!1,
ssrId:w}},mja=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 k=0;if(Array.isArray(h)){var q=h[0];k=h[1]}else q=h;h=f;if(e!==null){if(!e.hasOwnProperty(f))continue;h=e[f]}a===0?lja(d,c,h,q,k):lja(d,c,h,q)}}return d},lja=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)},ff=function(a,b,c,d,e,f,h,k){var q=td(b,c),t=b.inputs,w;!k&&t!=null&&(w=t[d])?(nja(a,c,w,d,e),b.componentOffset>-1&&(a=ud(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))},qja=function(a,b,c,d){var e=d===null?null:{"":-1};var f=a.directiveRegistry;var h=null,k=null;if(f)for(var q=0;q<f.length;q++){var t=f[q];if(xfa(c,t.selectors,!1))if(h||(h=[]),t.template)if(t.findHostDirectiveDefs!==null){var w=[];k=k||new Map;t.findHostDirectiveDefs(t,
w,k);h.unshift.apply(h,[].concat(r(w),[t]));oja(a,c,w.length)}else h.unshift(t),oja(a,c,0);else{k=k||new Map;var y=w=void 0;(y=(w=t).findHostDirectiveDefs)==null||y.call(w,t,h,k);h.push(t)}}f=h===null?null:[h,k];f===null?f=h=null:(h=l(f),f=h.next().value,h=h.next().value);f!==null&&pja(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 Jc(-301,!1);a.push(d[b],f)}c.mergedAttrs=Zc(c.mergedAttrs,c.attrs)},pja=function(a,b,c,d,e,f){for(var h=0;h<d.length;h++){var k=
Gga(c,b);Cga(k,a,d[h].type)}h=a.data.length;k=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+k;c.providerIndexes=h;for(h=0;h<d.length;h++)k=d[h],k.providersResolver&&k.providersResolver(k);var q=!1,t=!1;h=cja(a,b,d.length,null);for(k=0;k<d.length;k++){var w=d[k];c.mergedAttrs=Zc(c.mergedAttrs,w.hostAttrs);var y=a,D=c,G=b,I=h;y.data[I]=w;var N=w.factory||(w.factory=gd(w.type));N=new Md(N,!!w.template);y.blueprint[I]=N;G[I]=N;N=y;var S=D;y=cja(y,G,w.hostVars,ef);if(G=w.hostBindings){D=N.hostBindingOpCodes;
D===null&&(D=N.hostBindingOpCodes=[]);N=~S.index;a:{for(S=D.length;S>0;){var W=D[--S];if(typeof W==="number"&&W<0){S=W;break a}}S=0}S!=N&&D.push(N);D.push(I,y,G)}I=h;N=w;if(y=e){if(N.exportAs)for(G=0;G<N.exportAs.length;G++)y[N.exportAs[G]]=I;N.template&&(y[""]=I)}w.contentQueries!==null&&(c.flags|=4);if(w.hostBindings!==null||w.hostAttrs!==null||w.hostVars!==0)c.flags|=64;w=w.type.prototype;!q&&(w.ngOnChanges||w.ngOnInit||w.ngDoCheck)&&(I=q=void 0,((I=(q=a).preOrderHooks)!=null?I:q.preOrderHooks=
[]).push(c.index),q=!0);t||!w.ngOnChanges&&!w.ngDoCheck||(w=t=void 0,((w=(t=a).preOrderCheckHooks)!=null?w:t.preOrderCheckHooks=[]).push(c.index),t=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];k=h=null;for(q=c.directiveStart;q<b;q++){t=a[q];I=(w=f?f.get(t):null)?w.outputs:null;h=mja(0,t.inputs,q,h,w?w.inputs:null);k=mja(1,t.outputs,q,k,I);if(h===null||d===null||vfa(c))t=null;else{t=h;w=q;I=null;for(N=0;N<d.length;)if(y=d[N],y===0)N+=4;else{if(y!==5){if(typeof y==="number")break;if(t.hasOwnProperty(y))for(I===
null&&(I=[]),G=t[y],D=0;D<G.length;D+=3)if(G[D]===w){I.push(y,G[D+1],G[D+2],d[N+1]);break}}N+=2}t=I}e.push(t)}h!==null&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=k},hja=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,f=c.index;c=zd.currentDirectiveIndex;try{for(zd.selectedIndex=f;d<e;d++){var h=a.data[d],k=b[d];zd.currentDirectiveIndex=d;h.hostBindings===null&&h.hostVars===0&&h.hostAttrs===null||h.hostBindings===
null||h.hostBindings(1,k)}}finally{zd.selectedIndex=-1,zd.currentDirectiveIndex=c}},oja=function(a,b,c){b.componentOffset=c;var d;((d=a.components)!=null?d:a.components=[]).push(b.index)},rja=function(a,b,c,d,e,f){var h=td(a,b);b=b[11];a=a.value;d==null?b.removeAttribute(h,c,f):(d=e==null?Hc(d):e(d,a||"",c),b.setAttribute(h,c,d,f))},sja=function(a,b){var c=a.contentQueries;if(c!==null){var d=Lc(null);try{for(var e=0;e<c.length;e+=2){var f=c[e],h=c[e+1];if(h!==-1){var k=a.data[h];zd.currentQueryIndex=
f;k.contentQueries(2,b[h],h)}}}finally{Lc(d)}}},gja=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},tja=function(a,b,c){zd.currentQueryIndex=0;var d=Lc(null);try{b(a,c)}finally{Lc(d)}},uja=function(a){var b;return(b=a[7])!=null?b:a[7]=[]},vja=function(a){var b;return(b=a.cleanup)!=null?b:a.cleanup=[]},wja=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]},xja=function(a,b){(a=(a=a[9])?a.get(gf,null):
null)&&a.handleError(b)},nja=function(a,b,c,d,e){for(var f=0;f<c.length;){var h=c[f++],k=c[f++],q=c[f++];mia(a.data[h],b[h],d,k,q,e)}},yja=function(a,b){var c=sd(a[zd.selectedIndex]);a[11].setValue(c,b)},Aja=function(a,b,c){qga(b);try{var d=a.viewQuery;d!==null&&tja(1,d,c);var e=a.template;e!==null&&dja(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);var f;(f=b[18])!=null&&zja(f,a);a.staticContentQueries&&sja(a,b);a.staticViewQueries&&tja(2,a.viewQuery,c);var h=a.components;if(h!==null)for(c=
0;c<h.length;c++){var k=ud(h[c],b),q=k[1];d=q;e=k;for(var t=e.length;t<d.blueprint.length;t++)e.push(d.blueprint[t]);k[0]!==null&&k[6]===null&&(k[6]=null);Aja(q,k,k[8])}}catch(w){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),w;}finally{b[2]&=-5,tga()}},Bja=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 k=b[h];if(typeof k==="number")f=k;else if(f==1)e=Nea(e,k);else if(f==2){var q=b[++h];d=Nea(d,k+": "+q+";")}}c?a.styles=
d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},Cja=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(sd(f));if(qd(f)){for(var h=d,k=10;k<f.length;k++){var q=f[k],t=q[1].firstChild;t!==null&&Cja(q[1],q,t,h)}f[7]!==f[0]&&h.push(f[7])}f=c.type;if(f&8)Cja(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,r(f)):(h=yd(b[15]),Cja(h[1],
h,f,d,!0)))}c=e?c.projectionNext:c.next}return d},Eja=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?0:c;var d=a[10],e=d.rendererFactory,f;(f=e.begin)==null||f.call(e);try{f=c;c=jia;try{for(jia=!0,Dja(a,f),f=0;xd(a);){if(f===100)throw new Jc(103,!1);f++;Dja(a,1)}}finally{jia=c}}catch(q){throw b&&xja(a,q),q;}finally{var h;(h=e.end)==null||h.call(e);var k;(k=d.inlineEffectRunner)==null||k.flush()}},Fja=function(a,b){for(a=Vga(a[12]);a!==null;a=Vga(a[4]))for(var c=10;c<a.length;c++){var d=a[c];(d[2]&
128)===128&&Dja(d,b)}},Dja=function(a,b){var c=a[1],d=a[2],e=a[23],f=!!(b===0&&d&16);f||(f=!!(d&64&&b===0));f||(f=!!(d&1024));f||(f=!!((e==null?0:e.dirty)&&Vea(e)));f||(f=!1);e&&(e.dirty=!1);a[2]&=-9217;if(f){if(d=c.template,b=a[8],e=a[2],(e&256)!==256){var h;(h=a[10].inlineEffectRunner)!=null&&h.flush();qga(a);h=!0;var k=f=null;if(c.type!==2){var q;if((q=a[23])!=null)var t=q;else q=(t=Gja.pop())!=null?t:Object.create(Hja),q.lView=a,t=q;k=t;f=$ea(k)}else Kc===null?(h=!1,t=(q=a[23])!=null?q:Object.create(Ija),
t.lView=a,k=t,f=$ea(k)):a[23]&&(bfa(a[23]),a[23]=null);try{a[17]=0;zd.bindingIndex=c.bindingStartIndex;d!==null&&dja(c,a,d,2,b);if(t=(e&3)===3){var w=c.preOrderCheckHooks;w!==null&&Gd(a,w,3,null)}else{var y=c.preOrderHooks;y!==null&&vga(a,y,0,null);wga(a,0)}for(var D=Vga(a[12]);D!==null;D=Vga(D[4]))if(D[2]&2){var G=D[9];for(w=0;w<G.length;w++)kga(G[w])}Fja(a,0);c.contentQueries!==null&&sja(c,a);if(t){var I=c.contentCheckHooks;I!==null&&Gd(a,I,3)}else{var N=c.contentHooks;N!==null&&vga(a,N,1);wga(a,
1)}var S=c.hostBindingOpCodes;if(S!==null)try{for(D=0;D<S.length;D++){var W=S[D];if(W<0)zd.selectedIndex=~W;else{G=W;var Z=S[++D],fa=S[++D];I=zd;I.bindingIndex=I.bindingRootIndex=Z;zd.currentDirectiveIndex=G;fa(2,a[G])}}}finally{zd.selectedIndex=-1}var ma=c.components;ma!==null&&Jja(a,ma,0);var ua=c.viewQuery;ua!==null&&tja(2,ua,b);if(t){var Ua=c.viewCheckHooks;Ua!==null&&Gd(a,Ua,3)}else{var ha=c.viewHooks;ha!==null&&vga(a,ha,2);wga(a,2)}c.firstUpdatePass===!0&&(c.firstUpdatePass=!1);if(a[22]){for(var xa=
l(a[22]),sa=xa.next();!sa.done;sa=xa.next()){var Ma=sa.value;Ma()}a[22]=null}a[2]&=-73}catch(Aa){throw jga(a),Aa;}finally{k!==null&&(afa(k,f),h&&(a=k,a.lView[23]!==a&&(a.lView=null,Gja.push(a)))),tga()}}}else d&8192&&(Fja(a,1),c=c.components,c!==null&&Jja(a,c,1))},Jja=function(a,b,c){for(var d=0;d<b.length;d++){var e=c,f=ud(b[d],a);(f[2]&128)===128&&Dja(f,e)}},Kja=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},Lja=function(){uga(u()[1],Ad())},Mja=function(a,b,c){return new hf(a,b,c)},Oja=function(a,b,c){return(new Nja({providers:a,parent:b,debugName:c===void 0?null:c,runEnvironmentInitializers:!0})).injector},jf=function(a){return!!a&&typeof a.then==="function"},Pja=function(a){return!!a&&typeof a.subscribe==="function"},Qja=function(a){return typeof a==="function"&&a[Oc]!==void 0},Rja=function(a){return te(function(b,c){var d=
!1,e=null,f=null,h=function(){var k;(k=f)==null||k.unsubscribe();f=null;d&&(d=!1,k=e,e=null,c.next(k))};b.subscribe(new ue(c,function(k){d=!0;e=k;f||ee(a(k)).subscribe(f=new ue(c,h,void 0,h))}))})},kf=function(a,b){b=b===void 0?Ee:b;return Rja(function(){return Ie(a,b)})},Sja=function(a){return te(function(b,c){var d=[];b.subscribe(new ue(c,function(e){return d.push(e)},void 0,function(){c.next(d);c.complete()}));a.subscribe(new ue(c,function(){var e=d;d=[];c.next(e)},void 0,Zd));return function(){d=
null}})},lf=function(a){return te(function(b,c){var d=null,e=!1,f;d=b.subscribe(new ue(c,void 0,function(h){f=ee(a(h,lf(a)(b)));d?(d.unsubscribe(),d=null,f.subscribe(c)):e=!0}));e&&(d.unsubscribe(),d=null,f.subscribe(c))})},Tja=function(a,b,c){return function(d,e){var f=c,h=b,k=0;d.subscribe(new ue(e,function(q){var t=k++;h=f?a(h,q,t):(f=!0,q);e.next(h)},void 0,void 0))}},Uja=function(){var a=jd.apply(0,arguments),b=uha(a);return b?be(Uja.apply(null,r(a)),wha(b)):te(function(c,d){Cha([c].concat(r(Lha(a))))(d)})},
mf=function(){return Uja.apply(null,r(jd.apply(0,arguments)))},nf=function(a){return Xd()?ye(a,void 0,1):ye(a,1)},Wja=function(){return Vja.apply(null,r(jd.apply(0,arguments)))},Vja=function(){var a=jd.apply(0,arguments),b=oe(a);return te(function(c,d){ze(1)(ne([c].concat(r(a)),b)).subscribe(d)})},Xja=function(a){return te(function(b,c){var d=!1,e=null,f=null,h=function(){var k;(k=f)==null||k.unsubscribe();f=null;d&&(d=!1,k=e,e=null,c.next(k))};b.subscribe(new ue(c,function(k){var q;(q=f)==null||
q.unsubscribe();d=!0;e=k;f=new ue(c,h,void 0,h);ee(a(k)).subscribe(f)},void 0,function(){h();c.complete()},function(){e=f=null}))})},pf=function(a,b){b=b===void 0?Ee:b;var c=Ie(a,b);return Xja(function(){return c})},Yja=function(a){a=a===void 0?null:a;return te(function(b,c){var d=!1;b.subscribe(new ue(c,function(e){d=!0;c.next(e)},void 0,function(){d||c.next(a);c.complete()}))})},Zja=function(){return te(function(a,b){a.subscribe(new ue(b,Zd))})},qf=function(){return te(function(a,b){var c=0;a.subscribe(new ue(b,
function(d){++c<=1&&(b.next(d),1<=c&&b.complete())}))})},$ja=function(a){return te(function(b,c){var d=0,e=!1,f=0;b.subscribe(new ue(c,function(h){var k=!1,q=function(){c.next(h);var w;(w=t)==null||w.unsubscribe();k||(f--,k=!0,e&&!f&&c.complete())},t=new ue(c,q,void 0,q);f++;a(h,d++).subscribe(t)},void 0,function(){(e=!0,!f)&&c.complete()}))})},rf=function(a,b){b=b===void 0?Ee:b;var c=Ie(a,b);return $ja(function(){return c})},sf=function(a){var b=b===void 0?ae:b;var c;a=(c=a)!=null?c:aka;return te(function(d,
e){var f,h=!0;d.subscribe(new ue(e,function(k){var q=b(k);if(h||!a(f,q))h=!1,f=q,e.next(k)}))})},aka=function(a,b){return a===b},cka=function(a){a=a===void 0?bka:a;return te(function(b,c){var d=!1;b.subscribe(new ue(c,function(e){d=!0;c.next(e)},void 0,function(){return d?c.complete():c.error(a())}))})},bka=function(){return new re},tf=function(a){return te(function(b,c){b.subscribe(c);c.add(a)})},uf=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?He(function(e,f){return a(e,
f,d)}):ae,qf(),c?Yja(b):cka(function(){return new re}))}},dka=function(){return te(function(a,b){var c=[];a.subscribe(new ue(b,function(d){c.push(d);1<c.length&&c.shift()},void 0,function(){for(;c.length;)b.next(c.shift());b.complete();c=null}))})},eka=function(a,b){var c=arguments.length>=2;return function(d){return d.pipe(a?He(function(e,f){return a(e,f,d)}):ae,dka(),c?Yja(b):cka(function(){return new re}))}},vf=function(a){return te(function(b,c){b.subscribe(new ue(c,function(){return c.next(a)}))})},
fka=function(a){var b=Xd(a)?a:function(){return a};return Xd()?te(function(c,d){var e=b();(void 0)(e).subscribe(d).add(c.subscribe(e))}):function(c){var d=new wf(c,b);Xd(c==null?void 0:c.lift)&&(d.lift=c.lift);d.source=c;d.subjectFactory=b;return d}},gka=function(){var a=new xf(1,void 0,void 0);return function(b){return fka(function(){return a})(b)}},hka=function(){var a=jd.apply(0,arguments);return a.length?te(function(b,c){Mha([b].concat(r(a)))(c)}):ae},ika=function(a,b){return te(Tja(a,b,arguments.length>=
2))},jka=function(){return new yf},kka=function(){return function(a){return ve()(fka(jka)(a))}},zf=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 te(lka(b))(c)}},lka=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,k;return function(q,t){h++;if(f)var w=f.subscribe(t);else f=new xf(b,c,e),w=f.subscribe(t),
k=q.subscribe({next:function(y){f.next(y)},error:function(y){var D=f;f=k=void 0;D.error(y)},complete:function(){k=void 0;f.complete()}}),k.closed&&(k=void 0);t.add(function(){h--;w.unsubscribe();d&&h===0&&k&&(k.unsubscribe(),f=k=void 0)})}},Af=function(a){return te(function(b,c){var d=0;b.subscribe(new ue(c,function(e){return a===d?c.next(e):d++}))})},Bf=function(){var a=jd.apply(0,arguments),b=oe(a);return te(function(c,d){(b?Ae(a,c,b):Ae(a,c)).subscribe(d)})},Cf=function(a){return te(function(b,
c){var d=null,e=0,f=!1;b.subscribe(new ue(c,function(h){var k;(k=d)==null||k.unsubscribe();k=e++;ee(a(h,k)).subscribe(d=new ue(c,function(q){return c.next(q)},void 0,function(){d=null;f&&!d&&c.complete()}))},void 0,function(){(f=!0,!d)&&c.complete()}))})},Df=function(a){return te(function(b,c){ee(a).subscribe(new ue(c,function(){return c.complete()},void 0,Zd));!c.closed&&b.subscribe(c)})},mka=function(a){var b=b===void 0?!1:b;return te(function(c,d){var e=0;c.subscribe(new ue(d,function(f){var h=
a(f,e++);(h||b)&&d.next(f);!h&&d.complete()}))})},Ef=function(a,b){var c=Xd(a)||b?{next:a,error:b,complete:void 0}:a;return c?te(function(d,e){d.subscribe(new ue(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()}))}):ae},oka=function(a){var b=nka.leading;var c=nka.trailing;return te(function(d,e){var f=!1,h=null,k=null,q=!1,t=function(){var D;(D=k)==null||D.unsubscribe();
k=null;c&&(y(),q&&e.complete())},w=function(D){return k=ee(a(D)).subscribe(new ue(e,t,void 0,t))},y=function(){f&&(e.next(h),!q&&w(h));f=!1;h=null};d.subscribe(new ue(e,function(D){f=!0;h=D;(!k||k.closed)&&(b?y():w(D))},void 0,function(){q=!0;c&&f&&k&&!k.closed||e.complete()}))})},Ff=function(){var a=jd.apply(0,arguments),b=uha(a);return te(function(c,d){for(var e=a.length,f=Array(e),h=a.map(function(){return!1}),k=!1,q={i$jscomp$289:0};q.i$jscomp$289<e;q={i$jscomp$289:q.i$jscomp$289},q.i$jscomp$289++){var t=
a[q.i$jscomp$289],w=void 0;try{w=ee(t)}catch(y){d.error(y);return}w.subscribe(new ue(d,function(y){return function(D){f[y.i$jscomp$289]=D;k||h[y.i$jscomp$289]||(h[y.i$jscomp$289]=!0,(k=h.every(ae))&&(h=null))}}(q),void 0,Zd))}c.subscribe(new ue(d,function(y){k&&(y=[y].concat(r(f)),d.next(b?b.apply(null,r(y)):y))}))})},pka=function(){ifa=function(){throw new Jc(600,!1);}},qka=function(a,b,c){try{var d=c();return jf(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;}},rka=function(a,b){return Array.isArray(b)?b.reduce(rka,a):Object.assign({},a,b)},ska=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)},tka=function(a,b,c,d){(c||xd(a))&&Eja(a,b,c&&!d?0:1)},uka=function(a,b,c,d){var e=Lc(null);try{var f=b.tView,h,k,q,t=aja(a,f,c,a[2]&4096?4096:16,null,b,null,null,(h=d==null?void 0:d.injector)!=null?h:null,(k=d==null?void 0:d.embeddedViewInjector)!=null?k:null,(q=d==null?void 0:d.dehydratedView)!=
null?q:null);t[16]=a[b.index];var w=a[18];w!==null&&(t[18]=w.createEmbeddedView(f));Aja(f,t,c);return t}finally{Lc(e)}},vka=function(a,b){b=10+b;if(b<a.length)return a[b]},wka=function(a,b){return!b||b.firstChild===null||(a.flags&128)===128},xka=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&&ria(f,b);f=b[18];f!==null&&zja(f,e);lga(b);b[2]|=128;
d&&(c=xia(c,a),d=b[11],f=d.parentNode(a[7]),f!==null&&(a=a[5],b[0]=f,b[5]=a,Ve(d,1,e.firstChild,b,f,c,!1)));b=b[6];b!==null&&b.firstChild!==null&&(b.firstChild=null)},zka=function(){return yka(Ad(),u())},Aka=function(a){return a[8]||(a[8]=[])},yka=function(a,b){var c=b[a.index];if(qd(c))var d=c;else d=[c,!0,0,b,null,a,null,null,null,null],b[a.index]=d,gja(b,d);Bka(d,b,a,c);return new Gf(d,a,b)},Cka=function(a,b,c,d){if(!a[7]){if(c.type&8)d=sd(d);else{d=b[11];var e=d.createComment("");c=td(c,b);b=
d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},Eka=function(a){return Dka(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},Fka=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)},Dka=function(a){return a!==null&&(typeof a==="function"||typeof a==="object")},Hf=function(a,b,c){return a[b]=c},If=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},Jf=function(a,b,c,
d){c=If(a,b,c);return If(a,b+1,d)||c},Hka=function(a,b,c,d,e,f,h,k,q,t){var w=c+25;if(b.firstCreatePass){var y=b.consts;h=df(b,w,4,h||null,k||null);qja(b,a,h,wd(y,q));uga(b,h);d=h.tView=kja(2,h,d,e,f,b.directiveRegistry,b.pipeRegistry,null,b.schemas,y,null);b.queries!==null&&(b.queries.template(b,h),d.queries=b.queries.embeddedTView(h));d=h}else d=b.data[w];Bd(d,!1);c=Gka(b,a,d,c);Kf&&wia(b,a,c,d);Qd(c,a);c=[c,!0,0,a,null,d,null,c,null,null];a[w]=c;gja(a,c);(d.flags&1)===1&&ija(b,a,d);q!=null&&jja(a,
d,t)},C=function(a,b,c,d,e,f,h,k){var q=u(),t=zd.tView;f=wd(t.consts,f);Hka(q,t,a,b,c,d,e,f,h,k);return C},Ika=function(a,b){Kf=!0;return b[11].createComment("")},Lf=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 Jc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var f=a;f.inputs=Jka(a.inputs);f.inputTransforms=Jka(a.inputTransforms);f.declaredInputs=Jka(a.declaredInputs);f.outputs=Jka(a.outputs);
(f=e.hostBindings)&&Kka(a,f);f=e.viewQuery;var h=e.contentQueries;f&&Lka(a,f);h&&Mka(a,h);f=void 0;h=a;var k=e;for(f in k.inputs)if(k.inputs.hasOwnProperty(f)&&!h.inputs.hasOwnProperty(f)){var q=k.inputs[f];if(q!==void 0&&(h.inputs[f]=q,h.declaredInputs[f]=k.declaredInputs[f],k.inputTransforms!==null&&(q=Array.isArray(q)?q[0]:q,k.inputTransforms.hasOwnProperty(q)))){var t=void 0;(t=h).inputTransforms!=null||(t.inputTransforms={});h.inputTransforms[q]=k.inputTransforms[q]}}f=void 0;h=a.outputs;k=e.outputs;
for(f in k)k.hasOwnProperty(f)&&!h.hasOwnProperty(f)&&(h[f]=k[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===Lf&&(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=Zc(e.hostAttrs,b=Zc(b,e.hostAttrs))},Jka=function(a){return a===dd?{}:a===ad?[]:a},Lka=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,
e);c(d,e)}:b},Mka=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,f){b(d,e,f);c(d,e,f)}:b},Kka=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},Nka=function(a,b,c){if(a.hostDirectives!==null){a=l(a.hostDirectives);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.directive[Cfa]||null,f=void 0,h=e.declaredInputs,k=d.inputs;for(f in k)k.hasOwnProperty(f)&&(h[k[f]]=h[f]);Nka(e,b,c);c.set(e,d);b.push(e)}}},Oka=function(a){if(a===void 0||a.length===
0)return dd;for(var b={},c=0;c<a.length;c+=2)b[a[c]]=a[c+1];return b},Mf=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},Nf=function(a,b,c,d){var e=u(),f=zd.bindingIndex++;If(e,f,b)&&(f=Ed(),rja(f,e,a,b,c,d));return Nf},Of=function(a,b,c,d){return If(a,zd.bindingIndex++,c)?b+Hc(c)+d:ef},Pka=function(a,b,c,d,e,f){a=Jf(a,zd.bindingIndex,c,e);Dd(2);return a?b+Hc(c)+d+Hc(e)+f:ef},Pf=function(a,b,c,d,e,f){var h=
u();b=Of(h,b,c,d);b!==ef&&(c=Ed(),rja(c,h,a,b,e,f));return Pf},Qf=function(a,b,c,d,e,f,h,k){var q=u();b=Pka(q,b,c,d,e,f);b!==ef&&(c=Ed(),rja(c,q,a,b,h,k));return Qf},Qka=function(a,b,c,d,e,f,h,k,q,t){var w=u();var y=zd.bindingIndex;var D=Jf(w,y,c,e);y=If(w,y+2,h)||D;Dd(3);b=y?b+Hc(c)+d+Hc(e)+f+Hc(h)+k:ef;b!==ef&&(c=Ed(),rja(c,w,a,b,q,t));return Qka},E=function(a,b,c){var d=u(),e=zd.bindingIndex++;if(If(d,e,b)){e=zd.tView;var f=Ed();ff(e,f,d,a,b,d[11],c,!1)}return E},Rka=function(a,b,c,d,e){e=e?"class":
"style";nja(a,c,b.inputs[e],e,d)},Ska=function(a,b,c,d){for(var e=a[c+1],f=b===null,h=d?e>>17&32767:(e&131068)>>2,k=!1;h!==0&&(k===!1||f);){var q=a[h+1],t=a[h],w=b;if(t===null||w==null||(Array.isArray(t)?t[1]:t)===w||Array.isArray(t)&&typeof w==="string"&&hd(t,w)>=0)k=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}k&&(a[c+1]=d?e|2:e|1)},Tka=function(a,b){var c=Rf;if(c===b)return-1;for(b=Sf=b;b<c&&a.charCodeAt(b)>32;)b++;b=Tf=b;return Uf(a,b,c)},Yka=function(a,b){var c=Rf;b=Sf=Uf(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=Tf=b;b=Uka(a,b,c);d=b=Vka=Uf(a,b,c);for(var e=b=-1,f=-1,h=d,k=h;h<c;){var q=a.charCodeAt(h++);if(q===59)break;else q===34||q===39?k=h=Wka(a,q,h,c):d===h-4&&f===85&&e===82&&b===76&&q===40?k=h=Wka(a,41,h,c):q>32&&(k=h);f=e;e=b;b=q&-33}b=Xka=k;return Uka(a,b,c)},Uf=function(a,b,c){for(;b<c&&a.charCodeAt(b)<=32;)b++;return b},Uka=function(a,b,c){b=Uf(a,b,c);b<c&&b++;return b},Wka=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();},Vf=function(a,b,c){Zka(a,b,c,!1);return Vf},Wf=function(a,b){Zka(a,b,null,!0);return Wf},ala=function(a,b){var c;Xka=Vka=Tf=Sf=0;Rf=b.length;for(c=Yka(b,Uf(b,0,Rf));c>=0;c=Yka(b,c))$ka(a,b.substring(Sf,Tf),b.substring(Vka,Xka))},Xf=function(a){bla(cla,dla,a,!0)},dla=function(a,b){var c;Xka=Vka=Tf=Sf=0;Rf=b.length;for(c=Tka(b,Uf(b,0,Rf));c>=0;c=Tka(b,c))id(a,b.substring(Sf,Tf),!0)},Zka=function(a,
b,c,d){var e=u(),f=zd.tView,h=Dd(2);f.firstUpdatePass&&ela(f,a,h,d);if(b!==ef&&If(e,h,b)){var k=f.data[zd.selectedIndex],q=e[11];b!=null&&b!==""&&(typeof c==="string"?b+=c:typeof b==="object"&&(b=Ic(Ye(b))));fla(f,k,e,q,a,e[h+1]=b,d,h)}},bla=function(a,b,c,d){var e=zd.tView,f=Dd(2);e.firstUpdatePass&&ela(e,null,f,d);var h=u();if(c!==ef&&If(h,f,c)){var k=e.data[zd.selectedIndex];if((k.flags&(d?8:16))===0||f>=e.expandoStartIndex){var q=h[11],t=h[f+1];if(c==null||c==="")a=ad;else{var w=[];c=Ye(c);if(Array.isArray(c))for(b=
0;b<c.length;b++)a(w,c[b],!0);else if(typeof c==="object")for(var y in c)c.hasOwnProperty(y)&&a(w,y,c[y]);else typeof c==="string"&&b(w,c);a=w}a=h[f+1]=a;t===ef&&(t=ad);b=w=0;c=0<t.length?t[0]:null;for(y=0<a.length?a[0]:null;c!==null||y!==null;){var D=w<t.length?t[w+1]:void 0,G=b<a.length?a[b+1]:void 0,I=null,N=void 0;c===y?(w+=2,b+=2,D!==G&&(I=y,N=G)):y===null||c!==null&&c<y?(w+=2,I=c):(b+=2,I=y,N=G);I!==null&&fla(e,k,h,q,I,N,d,f);c=w<t.length?t[w]:null;y=b<a.length?a[b]:null}}else f=d?k.classesWithoutHost:
k.stylesWithoutHost,f!==null&&(c=Nea(f,c?c:"")),Rka(e,k,h,c,d)}},ela=function(a,b,c,d){var e=a.data;if(e[c+1]===null){var f=e[zd.selectedIndex];a=c>=a.expandoStartIndex;(f.flags&(d?8:16))!==0&&b===null&&!a&&(b=!1);var h=nga(e),k=d?f.residualClasses:f.residualStyles;if(h===null)(d?f.classBindings:f.styleBindings)===0&&(b=gla(null,e,f,b,d),b=Yf(b,f.attrs,d),k=null);else{var q=f.directiveStylingLast;if(q===-1||e[q]!==h)if(b=gla(h,e,f,b,d),k===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=gla(null,e,f,h[1],d),h=Yf(h,f.attrs,d),e[(d?f.classBindings:f.styleBindings)>>17&32767]=h);else{k=void 0;h=f.directiveEnd;for(q=1+f.directiveStylingLast;q<h;q++)k=Yf(k,e[q].hostAttrs,d);k=Yf(k,f.attrs,d)}}k!==void 0&&(d?f.residualClasses=k:f.residualStyles=k);h=b;k=d?f.classBindings:f.styleBindings;b=k>>17&32767;k=(k&131068)>>2;e[c]=h;q=!1;if(Array.isArray(h)){var t=h[1];if(t===null||hd(h,t)>0)q=!0}else t=h;a?k!==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]=k<<17|0,b===0?b=c:e[k+1]=e[k+1]&-131069|c<<2,k=c);q&&(e[c+1]|=2);Ska(e,t,c,!0);Ska(e,t,c,!1);a=t;h=d?f.residualClasses:f.residualStyles;h!=null&&typeof a=="string"&&hd(h,a)>=0&&(e[c+1]|=1);k=b<<17|k<<2;d?f.classBindings=k:f.styleBindings=k}},gla=function(a,b,c,d,e){var f=c.directiveEnd,h=c.directiveStylingLast;for(h===-1?h=c.directiveStart:h++;h<f;){var k=b[h];
d=Yf(d,k.hostAttrs,e);if(k===a)break;h++}a!==null&&(c.directiveStylingLast=h);return d},Yf=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]),id(a,h,c?!0:b[++f]))}return a===void 0?null:a},$ka=function(a,b,c){id(a,b,Ye(c))},cla=function(a,b,c){b=String(b);b===""||b.includes(" ")||id(a,b,c)},fla=function(a,b,c,d,e,f,h,k){if(b.type&3){a=a.data;var q=a[k+1];((q&1)===1?hla(a,b,c,e,(q&131068)>>2,
h):void 0)===void 0&&(f!==void 0||(q&2)==2&&(f=hla(a,null,c,e,k,h)),b=sd(c[zd.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))))}},hla=function(a,b,c,d,e,f){for(var h=b===null,k=void 0;e>0;){var q=a[e],t=Array.isArray(q),w=t?q[1]:q,y=w===null,D=c[e+1];D===ef&&(D=y?ad:void 0);w=y?Lfa(D,d):w===d?D:void 0;t&&w===void 0&&(w=Lfa(q,d));if(w!==void 0&&
(k=w,h))return k;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}b!==null&&(a=f?b.residualClasses:b.residualStyles,a!=null&&(k=Lfa(a,d)));return k},Zf=function(a,b,c){a=Of(u(),a,b,c);bla(id,dla,a,!0)},ila=function(a,b,c,d,e){return a===c&&Object.is(b,d)?1:Object.is(e(a,b),e(c,d))?-1:0},ola=function(a,b,c){var d=void 0,e=void 0,f=0,h=a.length-1;if(Array.isArray(b)){for(var k=b.length-1;f<=h&&f<=k;){var q=a.at(f),t=b[f],w=ila(f,q,f,t,c);if(w!==0)w<0&&a.updateValue(f,t),f++;else{var y=a.at(h);w=b[k];var D=ila(h,
y,k,w,c);D!==0?(D<0&&a.updateValue(h,w),h--,k--):(q=c(f,q),y=c(h,y),D=c(f,t),Object.is(D,y)?(y=c(k,w),Object.is(y,q)?(jla(a,f,h),a.updateValue(h,w),k--,h--):a.move(h,f),a.updateValue(f,t),f++):(d!=null||(d=new kla),e!=null||(e=lla(a,f,h,c)),mla(a,d,f,D)?(a.updateValue(f,t),f++,h++):e.has(D)?(d.set(q,a.detach(f)),h--):(t=a.create(f,b[f]),a.attach(f,t),f++,h++)))}}for(;f<=k;)nla(a,d,c,f,b[f]),f++}else if(b!=null){b=b[Symbol.iterator]();for(k=b.next();!k.done&&f<=h;)t=a.at(f),w=k.value,q=ila(f,t,f,w,
c),q!==0?(q<0&&a.updateValue(f,w),f++,k=b.next()):(d!=null||(d=new kla),e!=null||(e=lla(a,f,h,c)),q=c(f,w),mla(a,d,f,q)?(a.updateValue(f,w),f++,h++,k=b.next()):e.has(q)?(t=c(f,t),d.set(t,a.detach(f)),h--):(a.attach(f,a.create(f,w)),f++,h++,k=b.next()));for(;!k.done;)nla(a,d,c,a.length,k.value),k=b.next()}for(;f<=h;)a.destroy(a.detach(h--));var G;(G=d)==null||G.forEach(function(I){a.destroy(I)})},mla=function(a,b,c,d){return b!==void 0&&b.has(d)?(a.attach(c,b.get(d)),b.delete(d),!0):!1},nla=function(a,
b,c,d,e){mla(a,b,d,c(d,e))?a.updateValue(d,e):(b=a.create(d,e),a.attach(d,b))},lla=function(a,b,c,d){for(var e=new Set;b<=c;b++)e.add(d(b,a.at(b)));return e},$f=function(a,b){Vd("NgControlFlow");var c=u(),d=zd.bindingIndex++,e=c[d]!==ef?c[d]:-1;e=e!==-1?c[25+e]:void 0;if(If(c,d,a)){d=Lc(null);try{if(e!==void 0){var f=We(e,0);f!==void 0&&uia(f[1],f)}if(a!==-1){a=25+a;var h=c[a],k=c[1].data[a],q=uka(c,k,b,{dehydratedView:null});xka(h,q,0,wka(k,null))}}finally{Lc(d)}}else e!==void 0&&(c=vka(e,0),c!==
void 0&&(c[8]=b))},pla=function(a){return a},ag=function(a,b){return b},bg=function(a,b,c,d,e,f,h,k){Vd("NgControlFlow");var q=u(),t=zd.tView,w=u();h=k?h.bind(w[15][8]):h;w[25+a]=new qla(h);Hka(q,t,a+1,b,c,d,e,wd(t.consts,f))},cg=function(a){var b=Lc(null),c=zd.selectedIndex;try{var d=u(),e=d[1],f=d[c];c+=1;var h=d[c];f.liveCollection===void 0?f.liveCollection=new rla(h,d,e.data[c]):f.liveCollection.reset();var k=f.liveCollection;ola(k,a,f.trackByFn);if(k.needsIndexUpdate)for(a=0;a<k.length;a++)vka(k.lContainer,
a)[8].$index=a}finally{Lc(b)}},F=function(a,b,c,d){var e=u(),f=zd.tView,h=25+a;a=e[11];if(f.firstCreatePass){var k=f.consts;c=wd(k,c);c=df(f,h,2,b,c);qja(f,e,c,wd(k,d));c.attrs!==null&&Bja(c,c.attrs,!1);c.mergedAttrs!==null&&Bja(c,c.mergedAttrs,!0);f.queries!==null&&f.queries.elementStart(f,c);k=c}else k=f.data[h];Kf=!0;b=a.createElement(b,zd.currentNamespace);e[h]=b;h=(k.flags&1)===1;Bd(k,!0);Aia(a,b,k);(k.flags&32)!==32&&Kf&&wia(f,e,b,k);zd.elementDepthCount===0&&Qd(b,e);zd.elementDepthCount++;
h&&(ija(f,e,k),eja(f,k,e));d!==null&&jja(e,k);return F},H=function(){var a=Ad();zd.isParent?zd.isParent=!1:(a=a.parent,Bd(a,!1));var b=a;bja===b&&(bja=null);zd.elementDepthCount--;var c=zd.tView;c.firstCreatePass&&(uga(c,a),(a.flags&4)!==0&&c.queries.elementEnd(a));b.classesWithoutHost!=null&&(b.flags&8)!==0&&Rka(c,b,u(),b.classesWithoutHost,!0);b.stylesWithoutHost!=null&&(b.flags&16)!==0&&Rka(c,b,u(),b.stylesWithoutHost,!1);return H},J=function(a,b,c,d){F(a,b,c,d);H();return J},K=function(a,b,c){var d=
u(),e=zd.tView;a+=25;if(e.firstCreatePass){var f=e.consts;var h=wd(f,b);b=df(e,a,8,"ng-container",h);h!==null&&Bja(b,h,!0);f=wd(f,c);qja(e,d,b,f);e.queries!==null&&e.queries.elementStart(e,b);f=b}else f=e.data[a];Bd(f,!0);Kf=!0;b=d[11].createComment(pia());d[a]=b;Kf&&wia(e,d,b,f);Qd(b,d);(f.flags&1)===1&&(ija(e,d,f),eja(e,f,d));c!=null&&jja(d,f);return K},L=function(){var a=Ad(),b=zd.tView;zd.isParent?zd.isParent=!1:(a=a.parent,Bd(a,!1));b.firstCreatePass&&(uga(b,a),(a.flags&4)!==0&&b.queries.elementEnd(a));
return L},dg=function(a,b,c){K(a,b,c);L();return dg},eg=function(a,b,c){var d=u(),e=zd.bindingIndex++;if(If(d,e,b)){e=zd.tView;var f=Ed();ff(e,f,d,a,b,d[11],c,!0)}return eg},fg=function(a,b,c){var d=u(),e=zd.bindingIndex++;if(If(d,e,b)){e=zd.tView;var f=Ed(),h=wja(nga(e.data),f,d);ff(e,f,d,a,b,h,c,!0)}return fg},gg=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=sla(b))return a;b=b.split("-")[0];if(a=sla(b))return a;if(b==="en")return tla;throw new Jc(701,!1);},sla=function(a){a in ula||
(ula[a]=Ke.ng&&Ke.ng.common&&Ke.ng.common.locales&&Ke.ng.common.locales[a]);return ula[a]},M=function(a){return zd.contextLView[25+a]},O=function(a,b,c,d){c=u();vla(zd.tView,c,c[11],Ad(),a,b,d);return O},hg=function(a,b){var c=Ad(),d=u(),e=zd.tView,f=wja(nga(e.data),c,d);vla(e,d,f,c,a,b);return hg},wla=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},vla=function(a,
b,c,d,e,f,h){var k=(d.flags&1)===1,q=a.firstCreatePass&&vja(a),t=uja(b),w=!0;if(d.type&3||h){var y=td(d,b),D=h?h(y):y;y=t.length;var G=h?function(S){return h(sd(S[d.index]))}:d.index,I=null;!h&&k&&(I=wla(a,b,e,d.index));I!==null?((I.__ngLastListenerFn__||I).__ngNextListenerFn__=f,I.__ngLastListenerFn__=f,w=!1):(f=xla(d,b,f),a=c.listen(D,e,f),t.push(f,a),q&&q.push(e,G,y,y+1))}else f=xla(d,b,f);a=d.outputs;var N;if(w&&a!==null&&(N=a[e])&&(w=N.length))for(a=0;a<w;a+=2)c=b[N[a]][N[a+1]].subscribe(f),
k=t.length,t.push(f,c),q&&q.push(e,d.index,k,-(k+1))},yla=function(a,b,c){var d=Lc(null);try{return b(c)!==!1}catch(e){return xja(a,e),!1}finally{Lc(d)}},xla=function(a,b,c){return function f(e){if(e===Function)return c;var h=a.componentOffset>-1?ud(a.index,b):b;kia(h,5);h=yla(b,c,e);for(var k=f.__ngNextListenerFn__;k;)h=yla(b,k,e)&&h,k=k.__ngNextListenerFn__;return h}},P=function(a){a=a===void 0?1:a;for(var b=zd.contextLView;a>0;)b=b[14],a--;return(zd.contextLView=b)[8]},ig=function(a){var b=u()[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 k=e.attrs;if(k!=null){var q=k.indexOf(5);if((q&1)===0){k=k[q+1];break b}}k=null}for(q=0;q<f.length;q++){var t=f[q];if(t==="*")h=q;else{if(k===null)t=xfa(e,t,!0);else b:{var w=0;c:for(;w<t.length;w++){var y=t[w];if(k.length===y.length){for(var D=0;D<k.length;D++)if(k[D]!==y[D])continue c;t=!0;break b}}t=!1}if(t){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}}},jg=function(a,b,c){b=b===void 0?0:b;var d=u(),e=zd.tView;a=df(e,25+a,16,null,c||null);a.projection===null&&(a.projection=b);zd.isParent=!1;d[6]&&bja===null||(a.flags&32)===32||(b=d[11],e=via(e,a.parent,d),c=a.parent||d[5],c=c.type&40?td(c,d):null,zia(b,0,d,a,e,c))},lg=function(a,b,c){kg(a,"",b,"",c);return lg},kg=function(a,b,c,d,e){var f=u();b=Of(f,b,c,d);b!==ef&&(c=zd.tView,d=Ed(),ff(c,d,f,a,b,f[11],e,!1));return kg},mg=
function(a,b,c,d,e,f,h){var k=u();b=Pka(k,b,c,d,e,f);b!==ef&&(c=zd.tView,d=Ed(),ff(c,d,k,a,b,k[11],h,!1));return mg},zla=function(){return this._results[Symbol.iterator]()},Bla=function(){return Ala(Ad(),u())},Ala=function(a,b){return a.type&4?new ng(b,a,Sd(a,b)):null},Cla=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 k=e[h];if(k<0)f.push(null);else{var q=f,t=q.push,w=b,y=a[k],D=e[h+1];k=c.metadata.read;D===-1?(k=y,w=
k.type&11?Sd(k,w):k.type&4?Ala(k,w):null):D===-2?w=k===Rd?Sd(y,w):k===og?Ala(y,w):k===pg?yka(y,w):void 0:w=Ld(w,w[1],D,y);t.call(q,w)}}d.matches=f}return d.matches},Dla=function(a,b,c,d){var e=a.queries.queries[c],f=e.matches;if(f!==null)for(a=Cla(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 k=10;k<h.length;k++){var q=h[k];q[16]===q[3]&&Dla(q[1],q,e,d)}if(h[9]!==null)for(h=h[9],k=0;k<h.length;k++)q=h[k],Dla(q[1],q,e,d)}}return d},Gla=function(a,b){var c=
u();b=new qg((b&4)===4);var d=b.destroy,e=uja(c);e.push(b);a.firstCreatePass&&vja(a).push(d,e.length-1);var f;return((f=c[18])!=null?f:c[18]=new Ela).queries.push(new Fla(b))-1},rg=function(a,b,c){var d=zd.tView;d.firstCreatePass&&(Hla(d,new Ila(a,b,c),-1),(b&2)===2&&(d.staticViewQueries=!0));Gla(d,b)},sg=function(a,b,c,d){var e=zd.tView;if(e.firstCreatePass){var f=Ad();Hla(e,new Ila(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 Gla(e,c)},Jla=function(a){return a.split(",").map(function(b){return b.trim()})},Hla=function(a,b,c){a.queries===null&&(a.queries=new Kla);a.queries.track(new tg(b,c))},Lla=function(a,b){var c=a[1],d=c.queries.queries[b];return d.crossesNgTemplate?Dla(c,a,b,[]):Cla(c,a,d,b)},vg=function(a){var b=u(),c=zd.tView,d=zd.currentQueryIndex;zd.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=Lla(b,d),a.reset(b,Wga),ug(a)),!0):!1},wg=function(){return u()[18].queries[zd.currentQueryIndex].queryList},xg=function(a){Vd("NgSignals");a=hfa(a);var b=a[Oc];a.set=function(c){return jfa(b,c)};a.update=function(c){Zea()||ifa();jfa(b,c(b.value))};a.asReadonly=Mla.bind(a);return a},Mla=function(){var a=this,b=this[Oc];if(b.readonlyFn===void 0){var c=function(){return a()};c[Oc]=b;b.readonlyFn=c}return b.readonlyFn},Nla=function(a){var b=ffa(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=Lla(e,f),d.reset(e,Wga),e=d.first);if(a&&e===void 0)throw new Jc(-951,!1);return e});var c=b[Oc];c._dirtyCounter=xg(0);c._flatValue=void 0;return b},Pla=function(a,b){var c=a[Oc];c._lView=u();c._queryIndex=b;c._queryList=c._lView[18].queries[b].queryList;Ola(c._queryList,function(){return c._dirtyCounter.update(function(d){return d+1})})},Q=function(a,b){b=b===void 0?"":b;var c=u(),d=zd.tView;
a+=25;var e=d.firstCreatePass?df(d,a,1,b,null):d.data[a];Kf=!0;b=c[11].createText(b);c[a]=b;Kf&&wia(d,c,b,e);Bd(e,!1)},yg=function(a){R("",a,"");return yg},R=function(a,b,c){var d=u();a=Of(d,a,b,c);a!==ef&&yja(d,a);return R},zg=function(a,b,c,d,e){var f=u();a=Pka(f,a,b,c,d,e);a!==ef&&yja(f,a);return zg},Qla=function(a,b,c,d,e,f,h,k,q){var t=u();var w=zd.bindingIndex;var y=Jf(t,w,b,d);w=Jf(t,w+2,f,k)||y;Dd(4);a=w?a+Hc(b)+c+Hc(d)+e+Hc(f)+h+Hc(k)+q:ef;a!==ef&&yja(t,a);return Qla},Ag=function(a,b,c){Qja(b)&&
typeof b.set==="function"&&(b=b());var d=u(),e=zd.bindingIndex++;if(If(d,e,b)){e=zd.tView;var f=Ed();ff(e,f,d,a,b,d[11],c,!1)}return Ag},Bg=function(a,b){var c=Qja(a)&&typeof a.set==="function";c&&a.set(b);return c},Cg=function(a,b){var c=u();vla(zd.tView,c,c[11],Ad(),a,b);return Cg},Rla=function(a,b,c,d,e){a=Tc(a);if(Array.isArray(a))for(var f=0;f<a.length;f++)Rla(a[f],b,c,d,e);else{f=zd.tView;var h=u(),k=Ad(),q=kd(a)?a:Tc(a.provide),t=$fa(a),w=k.providerIndexes&1048575,y=k.directiveStart,D=k.providerIndexes>>
20;if(kd(a)||!a.multi)d=new Md(t,e),t=Sla(q,b,e?w:w+D,y),t===-1?(t=Gga(k,h),Cga(t,f,q),Tla(f,a,b.length),b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(d),h.push(d)):(c[t]=d,h[t]=d);else{y=Sla(q,b,w+D,y);w=Sla(q,b,w,w+D);var G=y>=0&&c[y];D=w>=0&&c[w];e&&!D||!e&&!G?(y=Gga(k,h),Cga(y,f,q),y=c.length,G=new Md(e?Ula:Vla,e),G.multi=[],G.index=y,G.componentProviders=0,d&&!e&&G.componentProviders++,G.multi.push(t),!e&&D&&(c[w].providerFactory=G),Tla(f,a,b.length,0),
b.push(q),k.directiveStart++,k.directiveEnd++,e&&(k.providerIndexes+=1048576),c.push(G),h.push(G)):(b=c[e?w:y],!e&&d&&b.componentProviders++,b=b.multi.push(t)-1,Tla(f,a,y>-1?y:w,b));!e&&d&&D&&c[w].componentProviders++}}},Tla=function(a,b,c,d){var e=kd(b),f=!!b.useClass;if(e||f)if(f=(f?Tc(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)},Sla=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;
return-1},Vla=function(){return Wla(this.multi,[])},Ula=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=Ld(c,c[1],this.providerFactory.index,d);c=d.slice(0,e);Wla(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],Wla(b,c);return c},Wla=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Dg=function(a){var b=b===void 0?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var f=zd.tView;f.firstCreatePass&&(d=
!!d.template,Rla(b,f.data,f.blueprint,d,!0),Rla(e,f.data,f.blueprint,d,!1))}}},Fg=function(a){Vd("NgStandalone");a.getStandaloneInjector=function(b){b=b.get(Eg);if(a.standalone){if(!b.cachedInjectors.has(a)){var c=Mfa(!1,a.type);c=c.length>0?Oja([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a,c)}b=b.cachedInjectors.get(a)}else b=null;return b}},Gg=function(a,b){a=Cd()+a;var c=u();return c[a]===ef?Hf(c,a,b()):c[a]},Hg=function(a,b,c){return Xla(u(),Cd(),a,b,c)},Ig=function(a,
b,c,d){return Yla(u(),Cd(),a,b,c,d)},Jg=function(a,b,c,d,e){return Zla(u(),Cd(),a,b,c,d,e)},ama=function(a,b,c,d,e,f){var h=$la,k=Cd()+8,q=u();var t=Jf(q,k,a,b);t=Jf(q,k+2,c,d)||t;return Jf(q,k+4,e,f)||t?Hf(q,k+6,h(a,b,c,d,e,f)):q[k+6]},bma=function(a,b){a=a[b];return a===ef?void 0:a},Xla=function(a,b,c,d,e,f){b+=c;return If(a,b,e)?Hf(a,b+1,f?d.call(f,e):d(e)):bma(a,b+1)},Yla=function(a,b,c,d,e,f,h){b+=c;return Jf(a,b,e,f)?Hf(a,b+2,h?d.call(h,e,f):d(e,f)):bma(a,b+2)},Zla=function(a,b,c,d,e,f,h,k){b+=
c;c=Jf(a,b,e,f);return If(a,b+2,h)||c?Hf(a,b+3,k?d.call(k,e,f,h):d(e,f,h)):bma(a,b+3)},T=function(a,b){var c=zd.tView;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=gd(b.type));b=Qc(B);try{var k=Aga(!1),q=h();Aga(k);var t=u();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=
null);t[a]=q}finally{Qc(b)}},U=function(a,b,c){a+=25;var d=u(),e=d[a];return d[1].data[a].pure?Xla(d,Cd(),b,e.transform,c,e):e.transform(c)},Kg=function(a,b,c,d){a+=25;var e=u(),f=e[a];return e[1].data[a].pure?Yla(e,Cd(),b,f.transform,c,d,f):f.transform(c,d)},cma=function(a,b,c,d){a+=25;var e=u(),f=e[a];return e[1].data[a].pure?Zla(e,Cd(),b,f.transform,c,0,d,f):f.transform(c,0,d)},dma=function(a,b,c){a=a.\u0275cmp;a.directiveDefs=Bfa(b,!1);a.pipeDefs=Bfa(c,!0)},Mg=function(a,b){return Ala(a,b)},ema=
function(){return Nla(!1)},fma=function(a){var b=Ad(),c=u();b.componentOffset>-1&&(a&16)!==16?(a=ud(b.index,c),a=new Ng(a,a)):a=b.type&175?new Ng(c[15],c):null;return a},gma=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},lma=function(a){var b=a.ngZoneFactory;a=a.ignoreChangesOutsideZone;b!=null||(b=function(){return new Me(hma())});return[{provide:Me,useFactory:b},{provide:Sfa,multi:!0,useFactory:function(){var c=Xc(Og,{optional:!0});return function(){return c.initialize()}}},
{provide:Sfa,multi:!0,useFactory:function(){var c=Xc(Pg);return function(){c.initialize()}}},{provide:ima,useFactory:jma},a===!0?{provide:kma,useValue:!0}:[]]},jma=function(){var a=Xc(Me),b=Xc(gf);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},hma=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}},
qma=function(a,b,c){c=c===void 0?[]:c;var d="Platform: "+b,e=new ld(d);return function(f){f=f===void 0?[]:f;var h=mma();if(!h||h.injector.get(nma,!1))if(f=[].concat(r(c),r(f),[{provide:e,useValue:!0}]),a)a(f);else{f=oma(f,d);if(Qg&&!Qg.get(nma,!1))throw new Jc(400,!1);pka();Qg=f;f.get(Rg);pma(f)}f=mma();if(!f)throw new Jc(401,!1);return f}},oma=function(a,b){a=a===void 0?[]:a;return Sg({name:b,providers:[{provide:rma,useValue:"platform"},{provide:sma,useValue:new Set([function(){return Qg=null}])}].concat(r(a))})},
mma=function(){var a,b;return(b=(a=Qg)==null?void 0:a.get(Rg))!=null?b:null},pma=function(a){var b;(b=a.get(tma,null))==null||b.forEach(function(c){return c()})},Tg=function(a){return typeof a==="boolean"?a:a!=null&&a!=="false"},Ug=function(a,b){b=b===void 0?NaN:b;return isNaN(parseFloat(a))||isNaN(Number(a))?b:Number(a)},Vg=function(a){Vd("NgSignals");return ffa(a)},wma=function(a,b){Vd("NgSignals");(b==null?0:b.injector)||ega();var c,d=(c=b==null?void 0:b.injector)!=null?c:Xc(Ne);c=(b==null?void 0:
b.manualCleanup)!==!0?d.get(Se):null;var e;a=new uma(d.get(vma),a,typeof Zone==="undefined"?null:Zone.current,c,d,(e=b==null?void 0:b.allowSignalWrites)!=null?e:!1);if((d=d.get(Wg,null,{optional:!0}))&&d._lView[2]&8){var f,h;((h=(f=d._lView)[22])!=null?h:f[22]=[]).push(a.watcher.notify)}else a.watcher.notify();return a},Xg=function(a){var b=Lc(null);try{return a()}finally{Lc(b)}},xma=function(a,b){a=a[bd]||null;var c=b.elementInjector||Xfa();return(new Yg(a)).create(c,b.projectableNodes,b.hostElement,
b.environmentInjector)},yma=function(a){var b=a[bd]||null;if(!b)return null;var c=new Yg(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}}},Ama=function(a){if(aaa(zma)(a))return a},Bma=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}},Cma=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""}},Hma=function(a){var b=[],c=[];a=Dma([].concat(r(a)).sort(Ema));a=l(a);for(var d=a.next(),e={};!d.done;e={name$jscomp$205:void 0,operator$jscomp$5:void 0},d=a.next())d=d.value,e.name$jscomp$205=d.name,e.operator$jscomp$5=d.operator,d=d.values,d.length!==0&&b.push(d.map(function(f){return function(h){return Fma(h)||Gma(h)?
f.name$jscomp$205+f.operator$jscomp$5+h:f.name$jscomp$205+f.operator$jscomp$5+'"'+h+'"'}}(e)).join(" "));c.length>0&&b.push("filters="+encodeURIComponent(c.join(",")));return b.join(" ")},Rma=function(a,b){var c=[];switch(a){case "nexus_data":if(!b)return c;a=Ima(b);c=[];a=l(a.entries());var d=a.next();for(b={};!d.done;b={key$jscomp$349:void 0},d=a.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.key$jscomp$349=d;d=e;if(Jma.has(b.key$jscomp$349))c.push.apply(c,r(d.map(function(f){return function(h){return{key:f.key$jscomp$349,
operator:h.operator,values:[h.value]}}}(b))));else{e=[].concat(r(new Set(d.map(function(f){return f.operator}))));if(e.length>1)throw Error("Ma`"+b.key$jscomp$349+"`"+e.join(", "));e=e[0];d=d.map(function(f){return f.value});c.push({key:b.key$jscomp$349,operator:e,values:d})}}return c.map(function(f){var h=f.key;var k=f.operator;f=f.values;if(Kma.includes(h)||Lma.includes(h)||Mma.includes(h))return{id:h,operator:k,values:f};throw Error("Na`"+h);}).sort(Ema);case "analog_link":a=new URL(b);if(a.searchParams.has("text_query"))return c=
a.searchParams.get("text_query"),a=Nma(a.searchParams.get("time_range")),[].concat(r(a),r(Oma(c)));if(a.searchParams.get("storage")==="borglocal")throw Error("Oa");return Pma(a);case "dapper_link":a=l(b.split(" "));for(b=a.next();!b.done;b=a.next())b=b.value,d=b.indexOf(":"),d<0||(d=l([b.slice(0,d),b.slice(d+1)]),b=d.next().value,d=d.next().value,c.push.apply(c,r(Qma(b,d))));return c;default:throw Error("Pa`"+a);}},Dma=function(a){var b=[];a=l(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(caa(Fma)(e))b.push({name:d,operator:c,values:e});else if(caa(Sma)(e))b.push({name:d,operator:c,values:e});else if(caa(Gma)(e))b.push({name:d,operator:c,values:e});else throw Error("Ra`"+e);}return b},Zg=function(a,b,c){if(Kma.includes(a)||Lma.includes(a)||Mma.includes(a))return{id:a,operator:b,values:c};throw Error("Sa`"+a);},Tma=function(a){if(a.length>2&&a.charAt(0)==='"'&&a.charAt(a.length-1)==='"')return a.substring(1,a.length-1);if(a==="true"||a==="false")return a===
"true";a=Number(a);if(Fma(a))return a},Ima=function(a){var b=new Map;a=l(a.matchAll(/(?<key>[^\s=!~]+)(?<operator>=~?|![=~])(?<value>"[^"\\]*(?:\\.[^"\\]*)*"|[^\s"]+)/gm));for(var c=a.next();!c.done;c=a.next()){c=c.value;a:{var d=c[1];if(!aaa(Uma)(d)){switch(d){case "service_name":d="rpc_server_service_name";break a;case "method_name":d="rpc_server_method_name";break a}d=void 0}}var e=Ama(c[2]);c=Tma(c[3]);d&&e&&c!==void 0&&(b.has(d)?b.get(d).push({operator:e,value:c}):b.set(d,[{operator:e,value:c}]))}return b},
Ema=function(a,b){return a.id===b.id?JSON.stringify(a)<JSON.stringify(b)?-1:1:Vma.indexOf(a.id)-Vma.indexOf(b.id)},Pma=function(a){for(var b=[],c=l(a.searchParams),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;(d=Wma(d,e,a.searchParams))&&b.push.apply(b,r(d))}return b},Xma=function(a){switch(a){case "user":return"borg_user";case "job":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}},Wma=function(a,b,c){var d=Xma(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[Zg(d,
"=",[b])];case "index":case "attempt":case "min_time":case "max_time":return[Zg(d,"=",[Number(b)])];case "q":return[Zg(d,"=",[Yma(b)])];case "q_invert":return[Zg(d,"!=",[Yma(b)])];case "src_file":return a=c.get("src_line"),[Zg(d,"=",[a?b+":"+a:b])];case "inverted_call_site_regex":return[Zg(d,"!=",[].concat(r(b.split(","))))];default:return null}},Oma=function(a){var b=[];var c=[];for(var d=l(a.matchAll(/NOT\s\(source_location.file = "(?<file>[^)]+)" source_location.line = "(?<line>[0-9]+)"\)/gm)),
e=d.next();!e.done;e=d.next())e=e.value,c.push(e[1]+":"+e[2]);(c=c.length>0?Zg("site_path","!=",c):null)&&b.push(c);d=void 0;a=l(a.matchAll(/(?<key>[^\s=!~]+)[\s]*(?<operator>=~?|![=~])[\s]*(?<value>"[^"\\]*(?:\\.[^"\\]*)*"|[^\s"]+)/gm));for(e=a.next();!e.done;e=a.next()){var f=e.value,h=f[1];e=Ama(f[2]);f=Tma(f[3]);e&&(h!=="source_location.file"||e!=="="||c?(h==="source_location.line"&&d&&e==="="&&(d=Zg("site_path","=",[d.values[0]+":"+f])),(h=Zma(h))&&b.push(Zg(h,e,[Kma.includes(h)?Number(f):f]))):
d=Zg("site_path",e,[f]))}d&&b.push(d);return b},Nma=function(a){if(a==null)return[];var b=a.split("/");if(b.length!==2)return[];a=(new Date(b[0])).getTime()*1E3;b=(new Date(b[1])).getTime()*1E3;return[Zg("start_time","=",[a]),Zg("end_time","=",[b])]},Zma=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}},Yma=function(a){return a.startsWith("(?i)")?a.substring(4):a},$ma=function(a){switch(a){case "user":return"borg_user";
case "job":return"borg_job";case "cell":return"cell";case "task":return"task_index";case "start":return"start_time";case "end":return"end_time";case "status":case "-status":return"status_code";case "method":return"rpc_server_method_name";case "latency":return"min_latency";default:return null}},Qma=function(a,b){var c=$ma(a);if(!c)return[];switch(a){case "user":case "job":case "cell":return[Zg(c,"=",[Yma(b)])];case "task":return[Zg(c,"=",[Number(b)])];case "start":case "end":return[Zg(c,"=",[(new Date(b.replace("_",
"T"))).getTime()*1E3])];case "method":a=b.split("|").map(function(f){return f.split(".")});c="";b=[];a=l(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.length===2){var e=l(d);d=e.next().value;e=e.next().value;c&&c!==d||(c=d,e&&b.push(e))}return c&&b.length!==0?[Zg("rpc_server_service_name","=",[c]),Zg("rpc_server_method_name","=",b)]:[];case "status":case "-status":return a=a.startsWith("-")?"!=":"=",b=ana(b.toUpperCase()),b==null?[]:[Zg(c,a,[b])];case "latency":return b=bna(b),c=b.minLatency,
b=b.maxLatency,a=[],c>0&&a.push(Zg("min_latency","=",[c])),b>0&&a.push(Zg("max_latency","=",[b])),a;default:return[]}},bna=function(a){var b={minLatency:0,maxLatency:0};if(a.includes("-")){a=cna(a);var c=a.multiplyFactor;a=a.valueWithoutUnit.split("-").map(function(d){return Number(d)*c});return a.length!==2?b:{minLatency:a[0],maxLatency:a[1]}}return a.endsWith("+")?(b=cna(a.slice(0,-1)),{minLatency:Number(b.valueWithoutUnit)*b.multiplyFactor,maxLatency:0}):b},cna=function(a){return a.endsWith("ms")?
{multiplyFactor:1E3,valueWithoutUnit:a.slice(0,-2)}:a.endsWith("us")?{multiplyFactor:1,valueWithoutUnit:a.slice(0,-2)}:a.endsWith("s")?{multiplyFactor:1E6,valueWithoutUnit:a.slice(0,-1)}:{multiplyFactor:1E6,valueWithoutUnit:a}},ana=function(a){var b=dna[a];if(Fma(b))return b;throw Error("Ta`"+a);},ena=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Ua`"+a+"`"+Ic(b));},fna=function(a,b,c){a=gg(a);b=ah([a[1],a[2]],b);return ah(b,c)},gna=function(a,b,c){a=gg(a);b=ah([a[3],a[4]],b);return ah(b,
c)},hna=function(a,b,c){a=gg(a);b=ah([a[5],a[6]],b);return ah(b,c)},ina=function(a,b){a=gg(a)[7];return ah(a,b)},jna=function(a,b){a=gg(a);return ah(a[10],b)},kna=function(a,b){a=gg(a);return ah(a[11],b)},lna=function(a,b){a=gg(a)[12];return ah(a,b)},bh=function(a,b){a=gg(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},mna=function(a){if(!a[21])throw Error("Va`"+a[0]);},ona=function(a){a=gg(a);mna(a);return(a[21][2]||[]).map(function(b){return typeof b===
"string"?nna(b):[nna(b[0]),nna(b[1])]})},pna=function(a,b,c){a=gg(a);mna(a);b=ah([a[21][0],a[21][1]],b)||[];return ah(b,c)||[]},ah=function(a,b){for(;b>-1;b--)if(typeof a[b]!=="undefined")return a[b];throw Error("Wa");},nna=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},ch=function(){return new Jc(2100,!1)},yna=function(a,b,c,d){var e=qna(a);b=dh(c,b)||b;a=[];for(var f;b;)if(f=rna.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=sna(d,h),e=tna(e,d));var k="";a.forEach(function(q){a:if(una[q])var t=una[q];else{switch(q){case "G":case "GG":case "GGG":t=eh(3,1);break;case "GGGG":t=eh(3,2);break;case "GGGGG":t=eh(3,0);break;case "y":t=fh(0,1,0,!1,!0);break;case "yy":t=fh(0,2,0,!0,!0);break;case "yyy":t=fh(0,3,0,!1,!0);break;case "yyyy":t=fh(0,4,0,!1,!0);break;case "Y":t=vna(1);break;case "YY":t=vna(2,!0);break;case "YYY":t=vna(3);break;case "YYYY":t=vna(4);break;case "M":case "L":t=fh(1,
1,1);break;case "MM":case "LL":t=fh(1,2,1);break;case "MMM":t=eh(2,1);break;case "MMMM":t=eh(2,2);break;case "MMMMM":t=eh(2,0);break;case "LLL":t=eh(2,1,1);break;case "LLLL":t=eh(2,2,1);break;case "LLLLL":t=eh(2,0,1);break;case "w":t=wna(1);break;case "ww":t=wna(2);break;case "W":t=wna(1,!0);break;case "d":t=fh(2,1);break;case "dd":t=fh(2,2);break;case "c":case "cc":t=fh(7,1);break;case "ccc":t=eh(1,1,1);break;case "cccc":t=eh(1,2,1);break;case "ccccc":t=eh(1,0,1);break;case "cccccc":t=eh(1,3,1);
break;case "E":case "EE":case "EEE":t=eh(1,1);break;case "EEEE":t=eh(1,2);break;case "EEEEE":t=eh(1,0);break;case "EEEEEE":t=eh(1,3);break;case "a":case "aa":case "aaa":t=eh(0,1);break;case "aaaa":t=eh(0,2);break;case "aaaaa":t=eh(0,0);break;case "b":case "bb":case "bbb":t=eh(0,1,1,!0);break;case "bbbb":t=eh(0,2,1,!0);break;case "bbbbb":t=eh(0,0,1,!0);break;case "B":case "BB":case "BBB":t=eh(0,1,0,!0);break;case "BBBB":t=eh(0,2,0,!0);break;case "BBBBB":t=eh(0,0,0,!0);break;case "h":t=fh(3,1,-12);
break;case "hh":t=fh(3,2,-12);break;case "H":t=fh(3,1);break;case "HH":t=fh(3,2);break;case "m":t=fh(4,1);break;case "mm":t=fh(4,2);break;case "s":t=fh(5,1);break;case "ss":t=fh(5,2);break;case "S":t=fh(6,1);break;case "SS":t=fh(6,2);break;case "SSS":t=fh(6,3);break;case "Z":case "ZZ":case "ZZZ":t=xna(0);break;case "ZZZZZ":t=xna(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":t=xna(1);break;case "OOOO":case "ZZZZ":case "zzzz":t=xna(2);break;default:t=null;break a}una[q]=t}k+=
t?t(e,c,h):q==="''"?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return k},zna=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},dh=function(a,b){var c=gg(a)[0];gh[c]!=null||(gh[c]={});if(gh[c][b])return gh[c][b];var d="";switch(b){case "shortDate":d=jna(a,0);break;case "mediumDate":d=jna(a,1);break;case "longDate":d=jna(a,2);break;case "fullDate":d=jna(a,3);break;case "shortTime":d=kna(a,0);break;case "mediumTime":d=kna(a,1);break;case "longTime":d=kna(a,2);
break;case "fullTime":d=kna(a,3);break;case "short":d=dh(a,"shortTime");var e=dh(a,"shortDate");d=Ana(lna(a,0),[d,e]);break;case "medium":d=dh(a,"mediumTime");e=dh(a,"mediumDate");d=Ana(lna(a,1),[d,e]);break;case "long":d=dh(a,"longTime");e=dh(a,"longDate");d=Ana(lna(a,2),[d,e]);break;case "full":d=dh(a,"fullTime"),e=dh(a,"fullDate"),d=Ana(lna(a,3),[d,e])}d&&(gh[c][b]=d);return d},Ana=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return b!=null&&d in b?b[d]:c}));return a},hh=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},fh=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=Bna(a,f);if(c>0||f>-c)f+=c;if(a===3)f===0&&c===-12&&(f=12);else if(a===6)return hh(f,3).substring(0,b);h=bh(h,5);return hh(f,b,h,d,e)}},Bna=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("Xa`"+a);}},eh=function(a,b,c,d){c=c===void 0?0:c;d=d===void 0?!1:d;return function(e,f){return Cna(e,f,a,b,c,d)}},Cna=function(a,b,c,d,e,f){switch(c){case 2:return hna(b,e,d)[a.getMonth()];case 1:return gna(b,e,d)[a.getDay()];case 0:var h=a.getHours(),k=a.getMinutes();return f&&(c=ona(b),a=pna(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var t=l(q);q=t.next().value;
t=t.next().value;var w=h>=q.hours&&k>=q.minutes,y=h<t.hours||h===t.hours&&k<t.minutes;if(q.hours<t.hours){if(w&&y)return!0}else if(w||y)return!0}else if(q.hours===h&&q.minutes===k)return!0;return!1}),c!==-1)?a[c]:fna(b,e,d)[h<12?0:1];case 3:return ina(b,d)[a.getFullYear()<=0?0:1];default:throw Error("Ya`"+c);}},xna=function(a){return function(b,c,d){b=-1*d;c=bh(c,5);var e=b>0?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(b>=0?"+":"")+hh(e,2,c)+hh(Math.abs(b%60),2,c);case 1:return"GMT"+
(b>=0?"+":"")+hh(e,1,c);case 2:return"GMT"+(b>=0?"+":"")+hh(e,2,c)+":"+hh(Math.abs(b%60),2,c);case 3:return d===0?"Z":(b>=0?"+":"")+hh(e,2,c)+":"+hh(Math.abs(b%60),2,c);default:throw Error("Za`"+a);}}},Dna=function(a){var b=a.getDay();b=b===0?-3:4-b;return zna(a.getFullYear(),a.getMonth(),a.getDate()+b)},wna=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=c.getDate();e=1+Math.floor((c+e)/7)}else{e=Dna(c);c=e.getFullYear();var f=
zna(c,0,1).getDay();c=zna(c,0,1+(f<=4?4:11)-f);e=e.getTime()-c.getTime();e=1+Math.round(e/6048E5)}return hh(e,a,bh(d,5))}},vna=function(a,b){b=b===void 0?!1:b;return function(c,d){c=Dna(c).getFullYear();return hh(c,a,bh(d,5),b)}},sna=function(a,b){a=a.replace(/:/g,"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},tna=function(a,b){var c=a.getTimezoneOffset();b=sna(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},qna=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=l(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 zna(a,c-1,b===void 0?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(Ena))return Fna(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("$a`"+a);return b},Fna=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},Gna=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},Mna=function(a,b,c,d){var e=e===void 0?!1:e;var f="",h=!1;if(isFinite(a)){h=Hna(a);e&&(h=Ina(h));f=b.minInt;e=b.minFrac;var k=b.maxFrac;if(d){var q=d.match(Jna);if(q===null)throw Error("ab`"+d);d=q[1];var t=q[3];q=q[5];d!=null&&(f=Kna(d));t!=null&&(e=Kna(t));q!=null?k=Kna(q):t!=null&&e>k&&(k=e)}Lna(h,e,k);d=h.digits;q=h.integerLen;e=h.exponent;
k=[];for(h=d.every(function(w){return!w});q<f;q++)d.unshift(0);for(;q<0;q++)d.unshift(0);q>0?k=d.splice(q,d.length):(k=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(bh(c,1));k.length&&(f+=bh(c,0)+k.join(""));e&&(f+=bh(c,6)+"+"+e)}else f=bh(c,9);return f=a<0&&!h?b.negPre+f+b.negSuf:b.posPre+f+b.posSuf},Ina=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},Hna=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}},Lna=function(a,b,c){if(b>c)throw Error("bb`"+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 k=f;k<d.length;k++)d[k]=0}else for(e=Math.max(0,e),a.integerLen=1,d.length=Math.max(1,f=c+1),d[0]=0,k=1;k<f;k++)d[k]=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,t=b+a.integerLen;if(b=d.reduceRight(function(w,y,D,G){y+=w;G[D]=y<10?y:y-10;q&&(G[D]===0&&D>=t?G.pop():q=!1);return y>=10?1:0},0))d.unshift(b),a.integerLen++},Kna=function(a){var b=parseInt(a);if(isNaN(b))throw Error("cb`"+a);return b},Nna=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},Ona=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)},ih=function(a){return a&&a[0]!=="?"?"?"+a:a},Pna=function(a){return RegExp("^(https?:)?//").test(a)?(a=l(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},Sna=function(){if(Qna)return Qna;if(typeof document!=="object"||!document)return Qna=new Set(Rna);var a=document.createElement("input");return Qna=new Set(Rna.filter(function(b){a.setAttribute("type",b);return a.type===b}))},Tna=function(){if(jh==null&&typeof window!=="undefined")try{window.addEventListener("test",null,Object.defineProperty({},
"passive",{get:function(){return jh=!0}}))}finally{jh=jh||!1}return jh},kh=function(a){return Tna()?a:!!a.capture},Una=function(){if(lh==null){if(typeof document!=="object"||!document||typeof Element!=="function"||!Element)return lh=!1;if("scrollBehavior"in document.documentElement.style)lh=!0;else{var a=Element.prototype.scrollTo;lh=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return lh},Wna=function(){if(typeof document!=="object"||!document)return 0;if(Vna==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);Vna=0;a.scrollLeft===0&&(a.scrollLeft=1,Vna=a.scrollLeft===0?1:2);a.remove()}return Vna},Yna=function(a){if(Xna==null){var b=typeof document!=="undefined"?document.head:null;Xna=!(!b||!b.createShadowRoot&&!b.attachShadow)}return Xna&&(a=a.getRootNode?a.getRootNode():
null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},mh=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},nh=function(a){return a.composedPath?a.composedPath()[0]:a.target},Zna=function(){return typeof __karma__!=="undefined"&&!!__karma__||typeof jasmine!=="undefined"&&!!jasmine||typeof jest!=="undefined"&&!!jest||typeof Mocha!=="undefined"&&!!Mocha},
$na=function(a,b){return this._trackRow(b)},aoa=function(a){a&1&&(F(0,"tr",0)(1,"td",3),Q(2),H()());a&2&&(a=P(),A(),Vf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Nf("colspan",a.numCols),A(),R(" ",a.label," "))},boa=function(a){a&1&&(F(0,"td",3),Q(1),H());a&2&&(a=P(2),Vf("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Nf("colspan",a._firstRowOffset),A(),R(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},coa=function(a,b){if(a&1){var c=u();F(0,"td",
6)(1,"button",7);O("click",function(f){var h=v(c).$implicit,k=P(2);return x(k._cellClicked(h,f))})("focus",function(f){var h=v(c).$implicit,k=P(2);return x(k._emitActiveDateChange(h,f))});F(2,"span",8);Q(3);H();J(4,"span",9);H()()}if(a&2){a=b.$implicit;b=b.$index;var d=P().$index,e=P();Vf("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);Nf("data-mat-row",d)("data-mat-col",b);A();Wf("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));E("ngClass",a.cssClasses)("tabindex",e._isActiveCell(d,b)?0:-1);Nf("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));
A();Wf("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);A();R(" ",a.displayValue," ")}},eoa=function(a,b){a&1&&(F(0,"tr",1),C(1,boa,2,6,"td",4),bg(2,coa,5,48,"td",5,doa),H());if(a&2){a=b.$implicit;b=b.$index;var c=P();A();$f(b===0&&c._firstRowOffset?1:-1);A();cg(a)}},foa=function(a){return(a==null?void 0:a.nodeName)==="TD"},goa=function(a){if(foa(a))var b=
a;else if(foa(a.parentNode))b=a.parentNode;else{var c;foa((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},hoa=function(a,b,c){return c!==null&&b!==c&&a<c&&a===b},ioa=function(a,b,c){return b!==null&&b!==c&&a>=b&&a===c},joa=function(a,b,c,d){return d&&b!==null&&c!==null&&b!==c&&a>=b&&a<=c},koa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},loa=function(a){return a.buttons===
0||a.detail===0},moa=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)},oh=function(a){var b=jd.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},ph=function(a){return Array.isArray(a)?a:[a]},qh=function(a){return a!=null&&""+a!=="false"},rh=function(a){return a==null?"":typeof a==="string"?a:a+"px"},sh=function(a){return a instanceof
Rd?a.nativeElement:a},th=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?b===void 0?0:b:Number(a)},noa=function(a){if(!a.hasAttribute("tabindex")||a.tabIndex===void 0)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},ooa=function(a){if(!noa(a))return null;a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},poa=function(a){return{matches:a==="all"||a==="",media:a,addListener:function(){},removeListener:function(){}}},qoa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,
c){return b.concat(c)}).map(function(b){return b.trim()})},roa=function(){return null},soa=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},uoa=function(a,b,c){var d=toa(a,b);c=c.trim();d.some(function(e){return e.trim()===c})||(d.push(c),a.setAttribute(b,
d.join(" ")))},uh=function(a,b,c){var d=toa(a,b);c=c.trim();d=d.filter(function(e){return e!==c});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},toa=function(a,b){var c,d;return(d=(c=a.getAttribute(b))==null?void 0:c.match(/\S+/g))!=null?d:[]},voa=function(a,b){return typeof a==="string"?(b||"")+"/"+a:a},xoa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+woa++)},yoa=function(a){return Uha(a)?a:pe(a)},zoa=function(){return Xc(vh)},Aoa=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},Boa=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})},Coa=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})},Doa=function(a){return a&&typeof a.connect==="function"&&!(a instanceof wf)},wh=function(a,b){for(var c in b)b.hasOwnProperty(c)&&
(a[c]=b[c])},Foa=function(a){if(typeof a!=="number"&&a!=null){var b=l(a.split(Eoa));a=b.next().value;return(b=b.next().value)&&b!=="px"?null:parseFloat(a)}return a||null},Goa=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)}},Hoa=function(a){var b=function(){var c=a.apply(this,[].concat(r(jd.apply(0,arguments))))||this;c.defaultColor=void 0;c.color=void 0;return c};V(b,a);da.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},Ioa=function(a){var b=function(){var c=a.apply(this,[].concat(r(jd.apply(0,arguments))))||this;c._disableRipple=!1;return c};V(b,a);da.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,
enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=qh(c)}}});return b},Joa=function(a){var b=function(){var c=a.apply(this,[].concat(r(jd.apply(0,arguments))))||this;c._disabled=!1;return c};V(b,a);da.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=qh(c)}}});return b},Koa=function(){return Xc(xh)},Loa=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)},Moa=function(a){a&1&&J(0,"mat-pseudo-checkbox",1);a&2&&(a=P(),E("disabled",a.disabled)("state",a.selected?"checked":"unchecked"))},Noa=function(a){a&1&&J(0,"mat-pseudo-checkbox",3);a&2&&(a=P(),E("disabled",a.disabled))},Ooa=function(a){a&1&&(F(0,"span",4),Q(1),H());a&2&&(a=P(),A(),R("(",a.group.label,")"))},Poa=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},Qoa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Roa=function(){return{color:"accent"}},Soa=function(a,b){a&1&&(F(0,"th",2)(1,"span",6),Q(2),H(),F(3,"span",3),Q(4),H()());a&2&&(a=b.$implicit,A(2),yg(a.long),A(2),yg(a.narrow))},Uoa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=Toa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},yh=function(a,b,c,d){return((a.getYear(b)-Toa(a,c,d))%24+24)%24},Toa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&
(d=a.getYear(b));return d},Voa=function(){},Woa=function(a){if(a&1){var b=u();F(0,"mat-month-view",4);Cg("activeDateChange",function(c){v(b);var d=P();Bg(d.activeDate,c)||(d.activeDate=c);return x(c)});O("_userSelection",function(c){v(b);var d=P();return x(d._dateSelected(c))})("dragStarted",function(c){v(b);var d=P();return x(d._dragStarted(c))})("dragEnded",function(c){v(b);var d=P();return x(d._dragEnded(c))});H()}a&2&&(a=P(),Ag("activeDate",a.activeDate),E("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))},Xoa=function(a){if(a&1){var b=u();F(0,"mat-year-view",5);Cg("activeDateChange",function(c){v(b);var d=P();Bg(d.activeDate,c)||(d.activeDate=c);return x(c)});O("monthSelected",function(c){v(b);var d=P();return x(d._monthSelectedInYearView(c))})("selectedChange",
function(c){v(b);var d=P();return x(d._goToDateInView(c,"month"))});H()}a&2&&(a=P(),Ag("activeDate",a.activeDate),E("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Yoa=function(a){if(a&1){var b=u();F(0,"mat-multi-year-view",6);Cg("activeDateChange",function(c){v(b);var d=P();Bg(d.activeDate,c)||(d.activeDate=c);return x(c)});O("yearSelected",function(c){v(b);var d=P();return x(d._yearSelectedInMultiYearView(c))})("selectedChange",
function(c){v(b);var d=P();return x(d._goToDateInView(c,"year"))});H()}a&2&&(a=P(),Ag("activeDate",a.activeDate),E("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Zoa=function(a){return a==null||(typeof a==="string"||Array.isArray(a))&&a.length===0},$oa=function(a){return function(b){if(Zoa(b.value)||Zoa(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},apa=function(a){return Zoa(a.value)?
{required:!0}:null},bpa=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}},dpa=function(a){if(!a)return cpa;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(Zoa(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},
cpa=function(){return null},epa=function(a){return a!=null},fpa=function(a){return jf(a)?fe(a):a},gpa=function(a){var b={};a.forEach(function(c){b=c!=null?Object.assign({},b,c):b});return Object.keys(b).length===0?null:b},hpa=function(a,b){return b.map(function(c){return c(a)})},ipa=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:b})},jpa=function(a){if(!a)return null;var b=a.filter(epa);return b.length==0?null:function(c){return gpa(hpa(c,b))}},kpa=function(a){return a!=
null?jpa(ipa(a)):null},lpa=function(a){if(!a)return null;var b=a.filter(epa);return b.length==0?null:function(c){c=hpa(c,b).map(fpa);return Ce(c).pipe(z(gpa))}},mpa=function(a){return a!=null?lpa(ipa(a)):null},npa=function(a,b){return a===null?[b]:Array.isArray(a)?[].concat(r(a),[b]):[a,b]},opa=function(a,b){return[].concat(r(b.path),[a])},zh=function(a,b,c){c=c===void 0?"whenDisabledForLegacyCode":c;ppa(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)}qpa(a,b);rpa(a,b);spa(a,b);tpa(a,b)},vpa=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));upa(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},wpa=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&c.registerOnValidatorChange(b)})},tpa=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)})}},ppa=function(a,b){var c=a._rawValidators;b.validator!==null?xpa(a,npa(c,b.validator)):typeof c==="function"&&xpa(a,[c]);c=a._rawAsyncValidators;b.asyncValidator!==null?ypa(a,npa(c,b.asyncValidator)):typeof c==="function"&&ypa(a,[c]);c=function(){return Ah(a)};wpa(b._rawValidators,c);wpa(b._rawAsyncValidators,c)},upa=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(){};wpa(b._rawValidators,a);wpa(b._rawAsyncValidators,a);return c},qpa=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;a.updateOn===
"change"&&zpa(a,b)})},spa=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;a.updateOn==="blur"&&a._pendingChange&&zpa(a,b);a.updateOn!=="submit"&&Apa(a)})},zpa=function(a,b){a._pendingDirty&&Bpa(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=!1},rpa=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)})},
Cpa=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},Dpa=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)})},Epa=function(a){if(!a)return null;Array.isArray(a);var b=void 0,c=void 0,d=void 0;a.forEach(function(e){e.constructor===Bh?b=e:Object.getPrototypeOf(e.constructor)===Ch?c=e:d=e});return d?d:c?
c:b?b:null},Fpa=function(a){return(Dh(a)?a.validators:a)||null},Dh=function(a){return a!=null&&!Array.isArray(a)&&typeof a==="object"},Gpa=function(a,b){a._forEachChild(function(c,d){if(b[d]===void 0)throw new Jc(1002,"");})},Hpa=function(a){return typeof a==="object"&&a!==null&&Object.keys(a).length===2&&"value"in a&&"disabled"in a},Eh=function(a,b){return{type:7,name:a,definitions:b,options:{}}},Fh=function(a,b){return{type:4,styles:b===void 0?null:b,timings:a}},Ipa=function(a){return{type:3,steps:a,
options:null}},Gh=function(a){return{type:6,styles:a,offset:null}},Hh=function(a,b){return{type:0,name:a,styles:b,options:void 0}},Ih=function(a){return{type:5,steps:a}},Jh=function(a,b,c){return{type:1,expr:a,animation:b,options:c===void 0?null:c}},Jpa=function(){var a={optional:!0};return{type:11,selector:"@*",animation:{type:9,options:null},options:a===void 0?null:a}},Kpa=function(a){a&1&&J(0,"span",19)},Lpa=function(a){a&1&&(F(0,"label",18),jg(1,1),C(2,Kpa,1,0,"span",19),H());a&2&&(a=P(2),E("floating",
a._shouldLabelFloat())("monitorResize",a._hasOutline())("id",a._labelId),Nf("for",a._control.disableAutomaticLabeling?null:a._control.id),A(2),$f(!a.hideRequiredMarker&&a._control.required?2:-1))},Mpa=function(a){a&1&&C(0,Lpa,3,5,"label",18);a&2&&(a=P(),$f(a._hasFloatingLabel()?0:-1))},Npa=function(a){a&1&&J(0,"div",5)},Opa=function(){},Ppa=function(a){a&1&&C(0,Opa,0,0,"ng-template",11);a&2&&(P(2),a=M(1),E("ngTemplateOutlet",a))},Qpa=function(a){a&1&&(F(0,"div",7),C(1,Ppa,1,1,null,11),H());a&2&&(a=
P(),E("matFormFieldNotchedOutlineOpen",a._shouldLabelFloat()),A(),$f(a._forceDisplayInfixLabel()?-1:1))},Rpa=function(a){a&1&&(F(0,"div",8,2),jg(2,2),H())},Spa=function(a){a&1&&(F(0,"div",9,3),jg(2,3),H())},Tpa=function(){},Upa=function(a){a&1&&C(0,Tpa,0,0,"ng-template",11);a&2&&(P(),a=M(1),E("ngTemplateOutlet",a))},Vpa=function(a){a&1&&(F(0,"div",12),jg(1,4),H())},Wpa=function(a){a&1&&(F(0,"div",13),jg(1,5),H())},Xpa=function(a){a&1&&J(0,"div",14)},Ypa=function(a){a&1&&(F(0,"div",16),jg(1,6),H());
a&2&&(a=P(),E("@transitionMessages",a._subscriptAnimationState))},Zpa=function(a){a&1&&(F(0,"mat-hint",20),Q(1),H());a&2&&(a=P(2),E("id",a._hintLabelId),A(),yg(a.hintLabel))},$pa=function(a){a&1&&(F(0,"div",17),C(1,Zpa,2,2,"mat-hint",20),jg(2,7),J(3,"div",21),jg(4,8),H());a&2&&(a=P(),E("@transitionMessages",a._subscriptAnimationState),A(),$f(a.hintLabel?1:-1))},aqa=function(){},bqa=function(a){a&1&&(Fd(),F(0,"svg",2),J(1,"path",3),H())},Lh=function(a,b){b=b===void 0?{}:b;if(Ac(a))return a;a=String(a).replace(/&/g,
"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return Kh(a)},Nh=function(a){var b=Lh("");return Kh(a.map(function(c){return Mh(Lh(c))}).join(Mh(b).toString()))},eqa=function(a){if(!cqa.test(a))throw Error("ca");if(dqa.indexOf(a.toUpperCase())!==-1)throw Error("ca");
},Oh=function(a,b,c){eqa(a);var d="<"+a;b&&(d+=fqa(b));Array.isArray(c)||(c=c===void 0?[]:[c]);gqa.indexOf(a.toUpperCase())!==-1?d+=">":(b=Nh(c.map(function(e){return Ac(e)?e:Lh(String(e))})),d+=">"+b.toString()+"</"+a+">");return Kh(d)},fqa=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!cqa.test(e))throw Error("ca");if(f!==void 0&&f!==null){if(/^on/i.test(e))throw Error("ca");hqa.indexOf(e.toLowerCase())!==-1&&(f=f instanceof uc?f.toString():yea(String(f))||"about:invalid#zClosurez");
f=e+'="'+Lh(String(f))+'"';b+=" "+f}}return b},Qh=function(a){var b=jd.apply(1,arguments);if(b.length===0)return Ph(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Ph(c)},iqa=function(a){a=new URL(a);if(a.pathname.includes("viewer")){var b=a.searchParams;a=b.get("trace_id");var c,d=(c=b.get("span_id"))!=null?c:void 0;c=b.get("start_seconds");if(!a)return null;a=new URL("https://nexus.corp.google.com/trace/"+(a+(d?"/span/"+d:"")));c&&a.searchParams.set("start_seconds",
c);return a}if(a.pathname.includes("search")){c=a.searchParams.get("q");if(!c)return null;c=Rma("dapper_link",c);c=Hma(c);a=new URL("https://nexus.corp.google.com/debug/dashboard");a.searchParams.set("filters",c);a.searchParams.set("tab","dapper");return a}return null},kqa=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=l(d);for(c=b.next();!c.done;c=b.next()){c=
c.value;d=l(jqa.keys());for(var e=d.next();!e.done;e=d.next())if(e=e.value,c.startsWith(e))return{account:c.replace(e,""),accountType:jqa.get(e)}}var f,h;return{account:(h=(f=a.get("account"))!=null?f:a.get("gaia"))!=null?h:"",accountType:"gaia"}},lqa=function(a){if(typeof a==="string")return{buffer:Rba(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:Rh(a)||new Uint8Array(0),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("mb");},nqa=function(a){return Array.isArray(a)?a[0]instanceof Sh?a:[mqa,a]:[a,void 0]},wqa=function(a){var b=a[oqa];if(!b){var c=pqa(a),d=qqa(a),e=d.deserializeBinaryMessageSet;b=e?function(f,h){return e(f,h,d)}:function(f,h){for(;rqa(h)&&h.nextWireType_!=4;){var k=h.nextField_,q=d[k];if(!q){var t=
d.extensions;t&&(t=t[k])&&(q=d[k]=sqa(t))}q&&q(h,f,k)||(q=h,k=q.fieldCursor_,tqa(q),q.discardUnknownFields?q=void 0:(t=q.decoder_.getCursor()-k,q.decoder_.cursor_=k,q=q.decoder_.readByteString(t)),k=f,q&&(pb||(pb=Symbol()),(t=k[pb])?t.push(q):k[pb]=[q]))}c===uqa||c===vqa||c.onlySubmessages||(f[qb()]=c)};a[oqa]=b}return b},sqa=function(a){a=nqa(a);var b=a[0].$$binaryReaderFn;if(a=a[1]){var c=wqa(a),d=qqa(a).messageMetadata;return function(e,f,h){return b(e,f,h,d,c)}}return b},xqa=function(a,b,c){var d=
c[1];if(d){var e=d[Th];var f=e?e.messageMetadata:wda(d[0]);a[b]=e!=null?e:d}f&&f===uda?(a.mapFields||(a.mapFields=new Set)).add(b):c[0]&&(a.repeatedFields||(a.repeatedFields=new Set)).add(b)},yqa=function(a,b){return[a.$$isRepeated,!b||b[0]>0?void 0:b]},pqa=function(a){var b=a[Th];if(b)return b;b=zqa(a,a[Th]=new Aqa,yqa,yqa,xqa);if(!b.extensions&&!b.repeatedFields&&!b.mapFields){var c=!0,d;for(d in b)isNaN(d)||(c=!1);c?(wda(a[0])===uda?vqa?b=vqa:(b=new Aqa,b.messageMetadata=wda(!0),b=vqa=b):b=uqa||
(uqa=new Aqa),b=a[Th]=b):b.onlySubmessages=!0}return b},Bqa=function(a,b,c){a[b]=c},Cqa=function(a){return Array.isArray(a)&&typeof a[0]==="number"&&a[0]>0},zqa=function(a,b,c,d,e){e=e===void 0?Bqa:e;b.messageMetadata=wda(a[0]);var f=0,h=a[++f];h&&h.constructor===Object&&(b.extensions=h,h=a[++f],typeof h==="function"&&(b.deserializeBinaryMessageSet=h,b.makeMessageSetExtensionWriterFn=a[++f],h=a[++f]));for(var k={};Cqa(h);){for(var q=0;q<h.length;q++)k[h[q]]=h;h=a[++f]}for(q=1;h!==void 0;){typeof h===
"number"&&(q+=h,h=a[++f]);var t=void 0;if(h instanceof Sh)var w=h;else w=Dqa,f--;if(w.$$isMsg){h=a[++f];t=a;var y=f;typeof h=="function"&&(h=h(),t[y]=h);t=h}h=a[++f];y=q+1;typeof h==="number"&&h<0&&(y-=h,h=a[++f]);for(;q<y;q++){var D=k[q];e(b,q,t?d(w,t,D):c(w,D))}}return b},Gqa=function(a){var b=a[Eqa];if(!b){var c=Uh(a);b=function(d,e){return Fqa(d,e,c)};a[Eqa]=b}return b},Hqa=function(a){return a.$$binaryWriterFn},Iqa=function(a,b){var c,d,e=a.$$binaryWriterFn;return function(f,h,k){return e(f,
h,k,d||(d=Uh(b).messageMetadata),c||(c=Gqa(b)))}},Uh=function(a){var b=a[Jqa];if(b)return b;b=zqa(a,a[Jqa]={},Hqa,Iqa);Kqa(a);return b},Lqa=function(a,b){var c=a.$$binaryReaderFn;return b?function(d,e,f){return c(d,e,f,b)}:c},Mqa=function(a,b,c){var d=a.$$binaryReaderFn,e,f;return function(h,k,q){return d(h,k,q,f||(f=qqa(b).messageMetadata),e||(e=wqa(b)),c)}},qqa=function(a){var b=a[Nqa];if(b)return b;pqa(a);b=zqa(a,a[Nqa]={},Lqa,Mqa);Kqa(a);return b},Kqa=function(a){Nqa in a&&Th in a&&Jqa in a&&
(a.length=0)},Oqa=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=nqa(c);var d=c[0].$$binaryWriterFn;if(c=c[1]){var e=Gqa(c),f=Uh(c).messageMetadata;c=(c=a.makeMessageSetExtensionWriterFn)?c(f,e):function(h,k,q){return d(h,k,q,f,e)}}else c=d;return a[b]=c}},Fqa=function(a,b,c){for(var d=a[cb],e=eb(d),f=a.length,h=f+(d&256?-1:0),k=d&512?1:0;k<h;k++){var q=a[k];if(q!=null){var t=k-e,w=Oqa(c,t);w&&w(b,q,t)}}if(d&256){d=a[f-1];for(var y in d)e=+y,Number.isNaN(e)||(f=d[y],f!=null&&
(h=Oqa(c,e))&&h(b,f,e))}if(a=pb?a[pb]:void 0)for(Vh(b,b.encoder_.end()),c=0;c<a.length;c++)Vh(b,Rh(a[c])||new Uint8Array(0))},Wh=function(a,b){return new Sh(a,b,!1,!1)},Xh=function(a,b,c){Wb(a,a[cb],b,c)},Pqa=function(a,b,c,d,e){b=b instanceof X?b.internalArray_:Array.isArray(b)?m(b,d[0],d[1]):void 0;if(b!=null){Yh(a,c,2);c=a.encoder_.end();Vh(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_++}},
Qqa=function(a){a!=null&&(a=a.value_||"",a=typeof a==="string"?a:new Uint8Array(a));return a},$h=function(a,b,c){if(Zh(a,1).split("/").pop()!=c)a=null;else{var d=typeof b==="function"?b:b.constructor;a=a.internalArray_;b=a[cb];c=Zb(a,b,2);if(c!=null&&!(Array.isArray(c)||typeof c==="object"&&ib(c)))throw Error("pb`"+zb(c));var e=Kb(c,d,!0,b);if(!(e instanceof d))throw Error("qb`"+e.constructor.displayName+"`"+d.displayName);d=b&2;var f=bb(e.internalArray_);f&&!d?e=Nb(e):!f&&d&&(d=e.internalArray_,
f=d[cb],e=f&2?e:Tb(e.constructor,Ub(d,f,!0)));c!==e&&Wb(a,b,2,e);a=e}return a},Tqa=function(a,b){return function(c,d){if(Rqa.length){var e=Rqa.pop();e.setOptions(d);e.decoder_.init(c,void 0,void 0,d);c=e}else c=new Sqa(c,d);try{var f=new a,h=f.internalArray_;wqa(b)(h,c);var k=f}finally{c.free()}return k}},Uqa=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Z`"+zb(b)+"`"+b);db(b);return new a(b)}},ai=function(a){return function(b){return Vqa(a,b)}},bi=function(a){a&&
typeof a.dispose=="function"&&a.dispose()},Wqa=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];Va(d)?Wqa.apply(null,d):bi(d)}},Xqa=function(a){var b=a,c;return function(){if(b){var d=b;b=void 0;c=d.apply(this,arguments)}return c}},Yqa=function(a,b){return a.size!==b.size?!1:[].concat(r(a)).every(function(c){return b.has(c)})},Zqa=function(a){var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=l(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},
$qa=function(a,b){if(!Yqa(a,b)){var c=[].concat(r(b)).filter(function(e){return!a.has(e)}),d=[].concat(r(a)).filter(function(e){return!b.has(e)});return{added:c,removed:d}}},ara=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(r(a===c?b:a)).filter(function(d){return c.has(d)}))},bra=function(a,b){return a.size>=b.size&&[].concat(r(b)).every(function(c){return a.has(c)})},ci=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(!ci(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?Yqa(a,b):!1;if(Ac(a)||Ac(b))return Ac(a)&&Ac(b)?a===b||a.toString()===b.toString():!1;if(a instanceof X||b instanceof X)return a instanceof X&&b instanceof X?(Sb=0,c=a==
b||!(!a||!b)&&a instanceof b.constructor&&nda(a,b),a&&b&&a.constructor===b.constructor&&!c&&Sb>0&&!cra++&&rca(),a=c):a=!1,a;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(!dra.call(b,f)||!ci(a[f],b[f]))return!1}return!0}return!1},era=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=!1,e=l(b),f=e.next();!f.done;f=e.next())if(ci(c,f.value)){d=!0;break}d||
b.push(c)}return b},fra=function(a,b){for(var c=a.length-1;c>=0;c--)ci(a[c],b)&&a.splice(c,1)},gra=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},ira=function(a){return Object.assign.apply(Object,[{}].concat(r(hra.map(function(b){var c={};return c[b]=
a[b],c}))))},di=function(a){if(a!==null&&a!==void 0&&["boolean","function","number","string"].indexOf(typeof a)===-1)if(Array.isArray(a)){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(di(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=l(a);for(c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(di(c),di(d))}a=b}else if(!Ac(a))if(a instanceof X)a=a.clone();else{b={};c=l(Object.entries(a));for(d=
c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[d]=di(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},jra=function(a){return typeof a==="number"},ei=function(a){return typeof a==="string"},fi=function(a){return Array.isArray(a)&&a.every(ei)},kra=function(a){return Array.isArray(a)&&a.every(jra)},lra=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},gi=function(a){return a.toLowerCase().replace(/_([a-z])/g,
function(b,c){return c.toUpperCase()})},ji=function(a){if(a){if(jra(a)){var b=new Date(a);b.getFullYear()>47E3&&(b=new Date(a/1E3));return new hi(b)}b=a.split("/");if(b.length===3)return a=ii(b[2]),a<50?a+=2E3:a<100&&(a+=1900),new hi(a,ii(b[0])-1,ii(b[1]));if(b.length===1)return ji(Number(a))}return new hi},mra=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},nra=function(a){return!(!a||!a.startsWith("text/")&&!a.startsWith("image/")&&a!=="application/pdf")},ki=function(a,b){return a.map(function(c){return c[b]})},
ora=function(a,b){return a.filter(function(c){return!b.has(c)})},pra=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;b=l(b);for(c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},li=function(a,b){return ora(a,new Set(b))},qra=function(a,b){var c=/[,;]/;(b===void 0||b)&&(c=/[\s,;]/);return a.split(c).map(mi).filter(function(d){return!!d})},rra=function(a,b){a=new URL(a);return a.host+a.pathname+b},sra=function(a){return a.user!==void 0},tra=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";
case "googlers_unrestricted":return"Full-time Googlers";default:return ni(a.replace(/_/g," ").toLowerCase())}},oi=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},pi=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},ura=function(a,b){var c;return new Map((c=a==null?void 0:a.map(function(d){return[b(d),d]}))!=null?c:[])},vra=function(a,b){var c=new Map;a=l(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},qi=function(a,b){return pi([].concat(r(a.keys())),function(c){return b(a.get(c),c)})},ri=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;default:return null}},wra=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}},xra=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},si=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""}},ui=function(a,b,c,d){return{status:a,displayValue:ti[a],open:b,assigneeRequirement:c,sortOrder:d}},yra=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||a==="ACTIVE"||a==="UNSPECIFIED"},wi=function(a){return a?a.map(vi):[]},xi=function(a){a=wi(a);a.sort();return a},vi=function(a){return a&&a.getUserGaiaStatus?zra(Ara(a)):zra(a)},zra=
function(a){return a?a.userGaiaStatus==="DELETED"?"[Deleted User]":a.userGaiaStatus==="UNAVAILABLE"?"[Unavailable User]":yra(a)?Bra(a)||"[No Data]":"[No Data]":""},yi=function(a){return a&&a.getUserGaiaStatus?Bra(Ara(a)):Bra(a)},Bra=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},Ara=function(a){if(a!=null){var b={},c;if(c=a.getEmailAddress())b.emailAddress=c;if(c=Zh(a,2))b.obfuscatedEmailAddress=c;if(c=a.getUserGaiaStatus())b.userGaiaStatus=Cra[c];(c=zi(a,4,Ai(Bi)))&&c.length>
0&&(b.aliases=c);return b}},Ci=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Dra=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())b.push(Ci(c.value));return b},Di=function(a){if(a!=null&&(a=String(a),a.trim()!==""))return a=Number(a),isNaN(a)?void 0:a},Ei=function(a){if(a!=null)return String(a)},Era=function(a){if(a!=null&&a!=="0")return a},Fi=function(a){return a==null?void 0:a},Fra=function(){return function(a){return a==null?"<none>":a}},Gi=function(a){return a!=
null},Gra=function(a){if(a!=null)return a/1E3},Hra=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},Hi=function(a){var b=a.match(Ira);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"}}},Lra=function(a,b){a=a.map(Jra)||[];b=b.map(Jra)||[];return ora(a,new Set(b)).map(Kra)},Jra=function(a){return a.host+","+
a.repo+","+a.changeNumber+","+a.state},Kra=function(a){var b=l(a.split(","));a=b.next().value;var c=b.next().value,d=b.next().value;b=b.next().value;d=Di(d);if(!d)throw Error("yb");if(!Object.values(Mra).includes(b))throw Error("zb");return{host:a,repo:c,changeNumber:d,state:b}},Ora=function(a){return a==null?!1:Nra.has(a.name)},Pra=function(a){return(a==null?void 0:a.name)==="hotlist"},Qra=function(a){return a==null?!1:a.href!=null&&a.value!=null},Rra=function(a){return Array.isArray(a)?a.every(Qra):
!1},Ii=function(a){return{value:String(a),href:"issues/"+a}},Sra=function(a){return{value:a,href:"https://critique.corp.google.com/"+a}},Tra=function(a){var b=Ji();return{value:a.changeNumber,href:Hra(a,b===void 0?!1:b)}},Ura=function(a){return{value:String(a),href:"issues?q=hotlistid:"+a}},Vra=function(a){return{value:a,href:"https://pm.corp.google.com/"+a}},Ki=function(a){return!!a&&Wra.test(a)&&!Xra.test(a)},$ra=function(a){a=a===void 0?"":a;return!Yra(a)||a.endsWith("-robots@google.com")||Zra(a)},
Zra=function(a){return asa.some(function(b){return a.endsWith(b)})},Yra=function(a){return!a.endsWith("@prod.google.com")&&!a.endsWith("@appspot.gserviceaccount.com")},Li=function(){return new bsa},csa=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)}},dsa=function(a){function b(){var e,f,h,k;return ge(function(q){if(q.nextAddress==1){if(d||c.length===0)return q.return();d=!0;e=[].concat(r(c));c=[];f=
l(e);h=f.next()}if(q.nextAddress!=3){if(h.done)return d=!1,ie(q,b(),0);k=h.value;return ie(q,a.apply(null,r(k.args)).then(k.returnValue.resolve).catch(k.returnValue.reject),3)}h=f.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=jd.apply(0,arguments),f=new bsa;c.push({args:e,returnValue:f});b();return f.promise}},Mi=function(a){var b=!1;return function(){var c=jd.apply(0,arguments);if(!b)return b=!0,a.apply(null,r(c))}},esa=function(a){return a},Oi=function(a){return Ni(a,esa)},Ni=
function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},fsa=function(a){return function(b){return Ni(b,a)}},gsa=function(a,b){return a.map(function(c,d){return[c,b[d]]})},hsa=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},isa=function(a,b){if(a.length!==b.length)return!1;a=[].concat(r(a)).sort();b=[].concat(r(b)).sort();return a.every(function(c,d){return c===
b[d]})},jsa=function(a,b){if(a.length===0)return b;b=b.slice();b=hsa(a,b);return[].concat(r(a),r(b))},ksa=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)})}},lsa=function(a,b){a=vra(a,b);return[].concat(r(a.values()))},msa=function(a){for(var b=[],c=0;c<a.length;c+=100)b.push(a.slice(c,c+100));return b},nsa=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]})},Pi=function(a){return a?a.seconds*1E3+a.nanos/1E6:0},Qi=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":""))+")"},osa=function(a){if(a){var b=new Ri;b.setTime(a.getTime());return b}},psa=function(a){if(a!=null)return new Date(a.year,a.month-1,a.day)},qsa=function(a){if(a==null)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:
b},rsa=function(a){return a==null?!1:Date.now()>Pi(a)},Si=function(a,b){return(a!=null?a:0)+(b!=null?b:0)},ssa=function(a){return a.length===0?0:a.reduce(Si)/a.length},tsa=function(a,b){b=b===void 0?ssa(a):b;if(a.length===0)return 0;a=a.map(function(c){return Math.pow(c-b,2)}).reduce(Si)/(a.length-1);return Math.sqrt(a)},Ti=function(a,b){if(a<5)return!1;if(!usa.get(b)){var c=ssa(b),d=tsa(b,c);usa.set(b,{mean:c,stdDev:d})}b=usa.get(b);return a-b.mean>b.stdDev*2},vsa=function(a){return a?a==="ASCENDING"?
"asc":"desc":""},Ui=function(a,b,c){return function(d,e){e=e===void 0?c:e;return wsa(d,a,b,e)}},wsa=function(a,b,c,d){return d?[].concat(r(a)).sort(function(e,f){var h=d==="ASCENDING"?1:-1;return c(b(e),b(f))*h}):[].concat(r(a))},Vi=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},Wi=function(a,b){return a==null||b==null?a==null&&b==null?0:a==null?1:b==null?-1:0:a.localeCompare(b)},Xi=function(a){return!(a==
null||!a.commentNumber)},Yi=function(a){var b;return((b=a.attachments)==null?void 0:b.length)>0},xsa=function(a,b){return Object.assign({},a,{commentRedacted:b.redacted,unlinkifiedComment:b.unlinkifiedComment,formattedComment:b.formattedComment})},ysa=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(r(a.slice(0,d)),[c],r(a.slice(d+1)))},Zi=function(a){var b;return a==null?void 0:(b=a.snapshot)==null?void 0:
b[0]},zsa=function(a){var b;return vi((b=Zi(a))==null?void 0:b.assigneeUser)||void 0},Asa=function(a){if(a==null)return"";var b,c,d,e,f=a.etag,h=a.piiRetention;var k=a.piiRetentionState;k=k==null?"":[JSON.stringify(k.retentionPeriod),JSON.stringify(k.scheduledDeletionTime)].join("-");return[f,h,k,(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("-")},Bsa=function(a){if(a==null)return"";
var b=a.attachments.map(Asa).join("-"),c=[];if(a.commentReactions&&a.commentReactions.size>0){var d,e=l((d=a.commentReactions)==null?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var f=l(d.value);d=f.next().value;f=f.next().value;c.push(d+"-"+f.count)}}c=c.join("-");var h,k;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,(h=a.commentContentVerdict)==null?void 0:(k=h.piiVerdict)==null?void 0:k.severity,a.commentDeletionStatus,a.commentRetention,
"["+c+"]"].join("-")},Csa=function(a){return a.map(function(b){return b.commentNumber}).filter(Gi).reduce(function(b,c){return Math.max(b,c)},1)},Dsa=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||Bsa(d)!==Bsa(e)))return!1}return!0},aj=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=$i[a])==null?void 0:d.open)!=null?e:!1},Esa=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=$i[a];return b==null?!1:!(b==null?0:b.open)},Fsa=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)},bj=function(a){return a.isArchived==null?!1:!a.isArchived},Gsa=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},Isa=function(){var a=cj;return Ui(function(b){var c,d;return(d=Hsa[(c=a(b))==null?void 0:c.snapshot[0].status])!=null?d:0},Vi)},Jsa=function(){var a=cj;return Ui(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].assigneeUser)==null?void 0:d.emailAddress},Wi)},Ksa=function(){var a=cj;return Ui(function(b){var c;return(c=a(b))==null?void 0:c.snapshot[0].type},
Wi)},Lsa=function(){var a=cj;return Ui(function(b){var c,d;return(c=a(b))==null?void 0:(d=c.snapshot[0].reporterUser)==null?void 0:d.emailAddress},Wi)},Msa=function(a){return Ui(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},Vi)},Nsa=function(a){return Ui(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},Vi)},Osa=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"},Qsa=function(a){return Ui(function(b){return Psa[Osa(a(b))]},Vi)},Rsa=function(){var a=cj;return Ui(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},Vi)},Ssa=function(a,b){var c=Zi(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(r(b.map(function(e){return e.userPerformingActionUser})));
return Ni(a.filter(Gi),yi)},Tsa=function(a,b){b=Ssa(a,b);var c,d,e;a=(e=(c=Zi(a))==null?void 0:(d=c.ccUsers)==null?void 0:d.length)!=null?e:0;return b.length+a},dj=function(a){var b;return(a==null?void 0:(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)==="piper-bugupdater@prod.google.com"},ej=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"},Usa=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})}},Wsa=function(a,b,c){b=Vsa.get(c)||new Set(c.map(function(e){return e.issueId}));Vsa.set(c,b);var d;a=l((d=a.parentIssueIds)!=null?d:[]);for(d=a.next();!d.done;d=a.next())if(b.has(d.value))return!1;return!0},Ysa=function(a,b){Xsa.get(b)||Xsa.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=l(Xsa.get(b));b=c.next().value;var d=c.next().value;c=c.next().value;return Ti(b[a],b)||Ti(d[a],d)||Ti(c[a],c)},Zsa=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;
return!aj(a)||d!=="NEW"&&d!=="UNSPECIFIED"?aj(a)&&d==="CONFIRMED"?"CONFIRMED":aj(a)&&d==="IN_PROGRESS"?"IN_PROGRESS":d==="FIXED"||b==="FIXED"||b==="VERIFIED"?"FIXED":d==="WONT_FIX"||b==="NOT_REPRODUCIBLE"||b==="INTENDED_BEHAVIOR"||b==="OBSOLETE"||b==="INFEASIBLE"?"WONT_FIX":"NEW":"NEW"},fj=function(a){return console==null?!1:typeof console[a]==="function"},gj=function(){fj("debug")&&console.debug.apply(console,jd.apply(0,arguments))},hj=function(){fj("info")&&console.info.apply(console,jd.apply(0,
arguments))},$sa=function(){fj("log")&&console.log.apply(console,jd.apply(0,arguments))},ij=function(){fj("warn")&&console.warn.apply(console,jd.apply(0,arguments))},ata=function(){fj("error")&&console.error.apply(console,jd.apply(0,arguments))},bta=function(a){if(a!=null){var b=a.getYear();if(b==null)ij("No year. dateToJs");else{var c=a.getDay();if(c==null)ij("No day. dateToJs");else if(a=a.getMonth(),a==null)ij("No month. dateToJs");else return{year:b,day:c,month:a}}}},cta=function(a){var b=new jj;
kj(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},lj=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},nj=function(a){var b=new mj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},dta=function(a){var b=new oj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},eta=function(a){if(a!=null){var b=a.getSeconds_asLegacyNumberOrString();a=a.getNanos();return{seconds:b,nanos:a}}},pj=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 nj({seconds:a,nanos:b})},qj=function(a){if(!a)return 0;a=a.getSeconds_asLegacyNumberOrString()*1E9+a.getNanos();return Math.round(a/1E3)},vj=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new rj;b&&sj(e,1,b);c&&sj(e,2,c);(d==null?0:d.length)&&tj(e,4,d);if(a)switch(a){case "UNSPECIFIED":uj(e,3,0);break;case "ACTIVE":uj(e,3,1);break;case "DELETED":uj(e,3,2);break;case "UNAVAILABLE":uj(e,
3,3);break;default:Bc(a)}return e},wj=function(a){var b={},c=a.getEmailAddress();c&&(b.emailAddress=c);if(c=Zh(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("Bb`"+c);}a=zi(a,4,Ai(Bi));if(a==null?0:a.length)b.aliases=a;return b},Aj=function(a){switch(xj(a,yj)){case 0:throw Error("Cb");case 1:return{user:wj(a.getUser())};case 2:return{group:wj(a.getGroup())};
case 3:return{alias:Zh(a,zj(a,yj,3))};default:throw Error("Db");}},Dj=function(a){var b=new Bj;sra(a)&&b.setUser(vj(a.user));a.group!==void 0&&b.setGroup(vj(a.group));a.alias!==void 0&&Cj(b,3,yj,a.alias);return b},fta=function(a){var b=new Ej;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("Gb");
}return b},gta=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("Gb");}},ita=function(a){if(a)return{accessLevel:hta[a.getAccessLevel()]}},kta=function(a){return(new Fj).setAccessLevel(jta[a.accessLevel])},nta=function(a){if(a)return(a=Gj(a,lta,1))?(a=a.getSeverity(),a={piiVerdict:a?{severity:mta(a)}:{severity:"NONE_DETECTED"}}):a={piiVerdict:{severity:"NONE_DETECTED"}},
a},mta=function(a){switch(a){case 0:case 1:return"NONE_DETECTED";case 2:return"RESTRICTED";case 3:return"RESTRICTED_PLUS";default:throw Error("Hb`"+a);}},ota=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("Hb`"+a);}},pta=function(a){var b=new Hj;b=Ij(b,1,a.contentJudgementId);b=sj(b,2,a.resourcePath);var c=ota(a.severity);b=uj(b,3,c);b=sj(b,4,a.judgementReason);return sj(b,8,
a.contentJudge)},qta=function(a){return{contentJudgementId:Jj(a,1)?String(Jj(a,1)):void 0,resourcePath:Zh(a,2)||void 0,severity:mta(a.getRestrictionSeverity()),judgementReason:Zh(a,4),contentJudge:Zh(a,8)}},rta=function(a){var b=new Hj;var c=ota(a.severity);b=uj(b,3,c);return sj(b,4,a.judgementReason)},tta=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("Ib`"+b);}}return{status:b,reason:sta(a.getReason())}}},
sta=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("Jb`"+a);}},uta=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("Jb`"+
a);}},vta=function(a){if(a!=null){var b,c;return{retentionPeriod:(b=eta(a.getRetentionPeriod()))!=null?b:null,scheduledDeletionTime:(c=lj(Gj(a,mj,2)))!=null?c:null}}},xta=function(a){return{retentionSelection:wta[Kj(a,1,0)],retentionPeriodDays:Lj(a,2),piiRetentionSelection:wta[Kj(a,3,0)],piiRetentionPeriodDays:Lj(a,4),spiiRetentionPeriodDays:Lj(a,5)}},zta=function(a){var b=new Mj;b=uj(b,1,yta[a.retentionSelection]);b=kj(b,2,a.retentionPeriodDays);b=uj(b,3,yta[a.piiRetentionSelection]);b=kj(b,4,a.piiRetentionPeriodDays);
return kj(b,5,a.spiiRetentionPeriodDays)},Ata=function(a){switch(a){case 0:return"RETENTION_UNSPECIFIED";case 1:return"COMPONENT_DEFAULT";case 2:return"INDEFINITE";default:throw Error("Kb`"+a);}},Bta=function(a){switch(a){case "RETENTION_UNSPECIFIED":return 0;case "COMPONENT_DEFAULT":return 1;case "INDEFINITE":return 2;default:throw Error("Kb`"+a);}},Dta=function(a){var b=Di(a.getAttachmentId_asLegacyNumberOrString());var c=a.getFilename();var d=Jj(a,3)||void 0,e=Zh(a,2);c=c&&e?{filename:c,length:d,
contentType:e}:void 0;return{attachmentId:b,media:c,contentType:Zh(a,2),filename:a.getFilename(),length:Jj(a,3),etag:Cta(a.getEtag())||"",contentVerdict:nta(a.getContentVerdict()),entityStatus:tta(a.getEntityStatus()),piiRetentionState:vta(a.getRestrictedRetentionState()),piiRetention:Ata(a.getRestrictedRetention())}},Fta=function(a){var b=new Nj;var c=new Eta;a=a?new gb(a,hb):fb();c=Oj(c,2,a);b=Pj(b,Eta,5,c);c=b.setEntityStatus;a=new Qj;a=a.setStatus.call(a,0).setReason(0);return c.call(b,a)},Gta=
function(a){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(a.type)},Hta=function(a){a=Mh(a).toString();var b=new Rj;Sj(b,2,a);return b},Uj=function(a){if(!a)return null;a=Tj(a,2);return a===null||a===void 0?null:Kh(a)},Ita=function(a){if(!a)return null;a=Tj(a,3);var b;a===null||a===void 0?b=null:b=new uc(a);return b},Kta=function(a){if(a!=null)return{customFieldId:Fi(Di(a.getCustomFieldId_asLegacyNumberOrString())),standardField:Jta[Kj(a,zj(a,Vj,2),0)]}},Mta=function(a){var b=
new Wj;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&Xj(b,2,Vj,Dca(Lta[a.standardField]));return b},Nta=function(a){if(a){var b=Di(a.getCustomFieldId_asLegacyNumberOrString());if(b==null)ij("No customFieldId. customFieldValueToJs");else{b={customFieldId:b,displayValues:Yj(a,Rj,11,Ai()).map(function(D){return Mh(Uj(D)).toString()})};switch(a.getValueCase()){case 2:b.textValue=Fi(Zh(a,zj(a,Zj,2)));break;case 3:b.dateValue=bta(a.getDateValue());break;case 4:b.enumValue=Fi(Zh(a,
zj(a,Zj,4)));break;case 5:b.numericValue=Fi(ak(a,zj(a,Zj,5)));break;case 6:var c,d;b.repeatedTextValue={values:(d=(c=bk(a,ck,6,Zj))==null?void 0:c.getValuesList(Bi))!=null?d:[]};break;case 8:var e,f;b.repeatedEnumValue={values:(f=(e=bk(a,ck,8,Zj))==null?void 0:e.getValuesList(Bi))!=null?f:[]};break;case 9:var h,k;b.repeatedNumericValue={values:(k=(h=bk(a,dk,9,Zj))==null?void 0:h.getValuesList(Bi))!=null?k:[]};break;case 7:var q,t,w,y;b.repeatedDateValue={values:(y=(q=bk(a,ek,7,Zj))==null?void 0:(t=
q.getValuesList())==null?void 0:(w=t.map(bta))==null?void 0:w.filter(Gi))!=null?y:[]}}return b}}},Ota=function(a){var b=(new fk).setCustomFieldId(a.customFieldId);a.textValue!=null?Cj(b,2,Zj,a.textValue):a.dateValue!=null?(a=cta(a.dateValue),gk(b,3,Zj,a)):a.enumValue!=null?Cj(b,4,Zj,a.enumValue):a.numericValue!=null?Xj(b,5,Zj,yb(a.numericValue)):a.repeatedTextValue!=null?(a=(new ck).setValuesList(a.repeatedTextValue.values),gk(b,6,Zj,a)):a.repeatedEnumValue!=null?(a=(new ck).setValuesList(a.repeatedEnumValue.values),
gk(b,8,Zj,a)):a.repeatedNumericValue!=null?(a=(new dk).setValuesList(a.repeatedNumericValue.values),gk(b,9,Zj,a)):a.repeatedDateValue!=null&&(a=(new ek).setValuesList(a.repeatedDateValue.values.map(cta)),gk(b,7,Zj,a));return b},Rta=function(a){var b=a.getCustomFieldId_asLegacyNumberOrString(),c=Pta[a.getType()],d=!!hk(a,4),e=a.getName(),f=a.getDescription()||"",h=Nta(Gj(a,fk,10));var k=zi(a,8,Ai(Bi));b={customFieldId:b,type:c,required:d,name:e,description:f,typedDefaultValue:h,allowedValue:k,fieldSignificance:Qta[Kj(a,
9,0)],shared:a.getShared(),stateOnIssues:"INHERIT",enabledOnIssues:!0};a.getComponentId_asLegacyNumberOrString()&&(b.componentId=Di(a.getComponentId_asLegacyNumberOrString()));return b},Sta=function(a){return Rta(a)},Vta=function(a){var b=new ik;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(Tta[a.type]);jk(b,4,a.required);b.setName(a.name);b.setDescription(a.description);if(a.typedDefaultValue){var c=Ota(a.typedDefaultValue);Pj(b,fk,
10,c)}a.allowedValue&&tj(b,8,a.allowedValue);a.fieldSignificance&&b.setFieldSignificance(Uta[a.fieldSignificance]);b.setShared(a.shared);return b},Wta=function(a){return{specId:Jj(a,1),estimate:Zh(a,2),averageDays:ak(a,3),totalOpen:ak(a,4),totalComplete:ak(a,5)}},bua=function(a){var b=new kk;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&&Xta(b,Yta(new Zta,a.numericSpec.multiplier));if(a.enumSpec){var c;
$ta(b,aua(new lk,((c=a.enumSpec.options)!=null?c:[]).map(function(d){return(new mk).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}uj(b,6,a)}return b},fua=function(a){var b=void 0,c=a.getContentVerdict();c&&(b=nta(c));c=void 0;var d=a.getFormattedComment();d&&(c=cua(d));d=void 0;var e=Gj(a,rj,3);e&&(d=wj(e));e=void 0;var f=a.getEtag();f&&(e=Cta(f));f=void 0;var h=a.getEntityStatus();h&&(f=tta(h));
h=void 0;var k=a.getRestrictedRetentionState();k&&(h=vta(k));return{issueId:String(a.getIssueId_asLegacyNumberOrString()),commentNumber:a.getCommentNumber(),commentContentVerdict:b,formattingMode:dua(a.getFormattingMode()),formattedComment:c,lastEditorUser:d,lastModified:qj(a.getModifiedTime()),version:a.getVersion(),unlinkifiedComment:a.getComment(),entityStatus:f,piiRetentionState:h,piiRetention:Ata(a.getRestrictedRetention()),redacted:hk(a,13),etag:e,commentReactions:eua(Gj(a,nk,17))}},cua=function(a){if(ok(a,
pk,1,qk)){var b=bk(a,pk,1,qk);var c;b={plainSection:((c=Yj(b,rk,1,Ai()))!=null?c:[]).map(gua)}}else b=void 0;return{plainFormat:b,markdownFormat:ok(a,sk,2,qk)?{content:Uj(bk(a,sk,2,qk).getContent())}:void 0,literalFormat:ok(a,tk,3,qk)?{content:Uj(bk(a,tk,3,qk).getContent())}:void 0}},gua=function(a){return{isQuoted:hk(a,1),content:Uj(a.getContent())}},hua=function(a){var b=new rk;return jk(b,1,a.isQuoted).setContent(Hta(a.content))},dua=function(a){switch(a){case 0:case 1:return"PLAIN";case 2:return"MARKDOWN";
case 3:return"LITERAL";default:throw Error("Lb`"+a);}},uk=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("Lb`"+a);}},eua=function(a){var b,c;a==null?c=void 0:c=Yj(a,vk,2,Ai());a=(b=c)!=null?b:[];b=new Map;a=l(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("Mb`"+
d);}}var e=void 0,f=void 0,h=void 0,k=void 0,q=(f=hk(c,1))!=null?f:!1;f=(h=Jj(c,2))!=null?h:0;c=Yj(c,rj,3,Ai());c={type:d,hasReacted:q,count:f,recentResponders:(k=(e=c)==null?void 0:e.map(wj).filter(Gi))!=null?k:[]};b.set(d,c)}return b},iua=function(a){return a.map(function(b){return Gj(b,rj,1)}).filter(Gi).map(wj).map(function(b){return{mentionedUser:b}})},jua=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"}},kua=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}},lua=function(a){a=zi(a,1,Ai(Bi));return{paths:a!=null?a:[]}},nua=function(a){return{startTime:lj(a.getStartTime()),targetTime:lj(Gj(a,mj,3)),endTime:lj(Gj(a,mj,2)),objective:eta(a.getObjective()),businessDays:a.getBusinessDays(),dayType:mua[a.getDayType()]}},
pua=function(a){var b=new wk;if(a.startTime){var c=nj(a.startTime);Pj(b,mj,1,c)}a.targetTime&&(c=nj(a.targetTime),Pj(b,mj,3,c));a.endTime&&(c=nj(a.endTime),Pj(b,mj,2,c));a.objective&&b.setObjective(dta(a.objective));a.businessDays&&b.setBusinessDays(a.businessDays);a.dayType&&b.setDayType(oua[a.dayType]);return b},rua=function(a){var b=(new xk).setInherit(a.inherit).setSource(qua[a.source]).setId(yk(a.id)).setComment(a.comment);return Ij(b,6,yk(a.sourceComponentId)).setSourceTeamId(yk(a.sourceTeamId))},
tua=function(a){return{author:wj(a.getAuthor()),timestamp:lj(a.getTimestamp()),add:sua(a.getAdd()),remove:sua(a.getRemove()),addMask:lua(a.getAddMask()),removeMask:lua(a.getRemoveMask())}},sua=function(a){var b=String(a.getSloId_asLegacyNumberOrString()),c=a.getName(),d=a.getDescription(),e=String(Jj(a,2));var f=Yj(a,zk,5,Ai());f=(f!=null?f:[]).map(uua);var h=Yj(a,zk,6,Ai());h=(h!=null?h:[]).map(uua);var k=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("Nb`"+a);}return{sloId:b,name:c,description:d,parentId:e,elements:f,effectiveElements:h,isArchived:k,alertState:a}},uua=function(a){var b=vua(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("Pb`"+d);}}return{metric:b,matcher:c,dayType:d,objective:eta(a.getObjective()),businessDays:a.getBusinessDays()}},vua=function(a){switch(a){case 0:return"METRIC_UNSPECIFIED";
case 1:return"ASSIGNMENT";case 2:return"RESPONSE";case 3:return"CLOSURE";default:throw Error("Ob`"+a);}},xua=function(a){var b=new zk,c=wua(a.metric);b=uj(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("Pb`"+d);}}return c.call(b,d).setObjective(dta(a.objective)).setBusinessDays(a.businessDays)},wua=function(a){switch(a){case "METRIC_UNSPECIFIED":return 0;case "ASSIGNMENT":return 1;
case "RESPONSE":return 2;case "CLOSURE":return 3;default:throw Error("Qb`"+a);}},yua=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),updateText:Zh(a,2),formattedText:Ak(a,Bk,3)?cua(Gj(a,Bk,3)):void 0,formattingMode:a.getFormattingMode()?dua(a.getFormattingMode()):void 0,author:a.hasAuthor()?wj(a.getAuthor()):void 0,updateTime:a.hasUpdateTime()?Fi(lj(a.getUpdateTime())):void 0,version:a.getVersion()}},zua=function(a){var b=(new Ck).setFormattingMode(uk(a.formattingMode));a.issueId&&
b.setIssueId(a.issueId);a.updateText&&sj(b,2,a.updateText);if(a.formattedText){var c=a.formattedText,d=new Bk;if(c.plainFormat){var e=c.plainFormat;var f=new pk;e=e.plainSection.map(hua);f=Dk(f,1,e);gk(d,1,qk,f)}c.markdownFormat&&(f=c.markdownFormat,f=(new sk).setContent(Hta(f.content)),gk(d,2,qk,f));c.literalFormat&&(c=c.literalFormat,c=(new tk).setContent(Hta(c.content)),gk(d,3,qk,c));Pj(b,Bk,3,d)}a.author&&b.setAuthor(vj(a.author));a.updateTime&&b.setUpdateTime(nj(a.updateTime));a.version&&b.setVersion(a.version);
return b},Fua=function(a){var b=a.getAccessLimit(),c=Aua[Kj(a,30,0)],d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma=a.getComponentId_asLegacyNumberOrString(),ua=a.getType()?jua(a.getType()):null,Ua=a.getStatus()?Ek[a.getStatus()]:null,ha=a.getPriority()?Fk[a.getPriority()]:null,xa=a.getSeverity()?Bua[a.getSeverity()]:null,sa=a.getTitle(),Ma=a.getReporter()?wj(a.getReporter()):null,Aa=a.getAssignee()?wj(a.getAssignee()):null,wb=a.getVerifier()?wj(a.getVerifier()):null,Pb=(t=(d=a.getCcsList())==null?void 0:
d.map(wj))!=null?t:[];d=(w=(e=a.getCollaboratorsList())==null?void 0:e.map(wj))!=null?w:[];e=a.getCanonicalIssueId_asLegacyNumberOrString()?String(a.getCanonicalIssueId_asLegacyNumberOrString()):null;w=(y=(f=a.getBlockedByIssueIdsList_asLegacyNumberOrString())==null?void 0:f.map(String))!=null?y:[];f=(D=(h=a.getBlockingIssueIdsList_asLegacyNumberOrString())==null?void 0:h.map(String))!=null?D:[];h=(G=a.getHotlistIdsList_asLegacyNumberOrString(Bi))!=null?G:[];G=(I=(k=a.getCustomFieldsList())==null?
void 0:k.map(Nta).filter(Gi))!=null?I:[];k=(N=a.getCodeChangesList(Bi))!=null?N:[];N=(S=a.getGerritChangesList().map(Cua))!=null?S:[];S=zi(a,17,Ai(Bi));S=S!=null?S:[];I=zi(a,18,Ai(Bi));I=I!=null?I:[];D=zi(a,19,Ai(Bi));D=D!=null?D:[];y=a.getInProd();t=a.getIsArchived();var Vb=(W=(q=a.getDuplicateIssueIdsList_asLegacyNumberOrString())==null?void 0:q.map(String))!=null?W:[];q=a.getIsDeleted();W=Dua[Kj(a,24,0)];var xb=(Z=lj(a.getSloSnoozeUntil()))!=null?Z:null;Z=(fa=lj(a.getSloEndTime()))!=null?fa:null;
fa=zi(a,27,Ai(Bi));return{componentId:ma,type:ua,status:Ua,priority:ha,severity:xa,title:sa,reporterUser:Ma,assigneeUser:Aa,verifierUser:wb,ccUsers:Pb,collaboratorsUsers:d,duplicateOfIssueId:e,blockedByIssueId:w,blockingIssueId:f,hotlistId:h,customField:G,changelist:k,gerritChanges:N,foundInVersion:S,targetedToVersion:I,verifiedInVersion:D,inProd:y,isArchived:t,duplicateIssueId:Vb,isDeleted:q,deletionReason:W,sloStartTime:xb,sloEndTime:Z,sloSnoozeType:c==="SLO_SNOOZE_TYPE_UNSPECIFIED"?null:c,postmortems:fa!=
null?fa:[],retention:Eua[a.getRetention()],effort:a.hasEffort()?Wta(a.getEffort()):void 0,issueAccessLimitLevel:b!=null?gta(b):null,comment:"",formattingMode:void 0}},Mua=function(a){var b=new Gk;a.componentId&&b.setComponentId(a.componentId);a.title&&b.setTitle(a.title);a.type!=null&&b.setType(kua(a.type));a.inProd!=null&&b.setInProd(a.inProd);a.isArchived!=null&&b.setIsArchived(a.isArchived);a.status!=null&&b.setStatus(Gua[a.status]);a.priority!=null&&b.setPriority(Hua[a.priority]);a.severity!=
null&&b.setSeverity(Iua[a.severity]);a.reporterUser&&b.setReporter(vj(a.reporterUser));a.assigneeUser&&b.setAssignee(vj(a.assigneeUser));a.verifierUser&&b.setVerifier(vj(a.verifierUser));a.ccUsers&&b.setCcsList(a.ccUsers.map(vj));a.collaboratorsUsers&&b.setCollaboratorsList(a.collaboratorsUsers.map(vj));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(Ota));a.changelist&&b.setCodeChangesList(a.changelist);a.gerritChanges&&b.setGerritChangesList(a.gerritChanges.map(Jua));a.foundInVersion&&tj(b,17,a.foundInVersion);a.targetedToVersion&&tj(b,18,a.targetedToVersion);a.verifiedInVersion&&tj(b,19,a.verifiedInVersion);a.duplicateIssueId&&b.setDuplicateIssueIdsList(a.duplicateIssueId.map(Number));a.isDeleted!=null&&b.setIsDeleted(a.isDeleted);a.deletionReason!=
null&&b.setDeletionReason(Kua[a.deletionReason]);a.sloStartTime&&b.setSloSnoozeUntil(nj(a.sloStartTime));a.sloEndTime&&b.setSloEndTime(nj(a.sloEndTime));a.sloSnoozeType!=null&&b.setSloSnoozeType(Lua[a.sloSnoozeType]);a.retention!=null&&b.setRetention(Bta(a.retention));if(a.effort){var c=b.setEffort,d=a.effort,e=new Hk;d.specId&&Ij(e,1,d.specId);d.estimate&&sj(e,2,d.estimate);d.averageDays&&Ik(e,3,d.averageDays);d.totalOpen&&Ik(e,4,d.totalOpen);d.totalComplete&&Ik(e,5,d.totalComplete);c.call(b,e)}a.issueAccessLimitLevel&&
b.setAccessLimit(fta(a.issueAccessLimitLevel));return b},Cua=function(a){return{host:Zh(a,1),repo:Zh(a,2),changeNumber:a.getChangeNumber_asLegacyNumberOrString(),state:Nua[a.getState()]}},Jua=function(a){var b=new Jk;b=sj(b,1,a.host);return sj(b,2,a.repo).setChangeNumber(a.changeNumber).setState(Oua[a.state])},Sua=function(a){switch(xj(a,Pua)){case 2:var b=bk(a,Qua,2,Pua);return b.getCommentNumber()!==0?{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),commentNumber:b.getCommentNumber(),
sourceCommentNumber:Lj(a,3)}:{type:"issueReference",issueId:String(b.getIssueId_asLegacyNumberOrString()),sourceCommentNumber:Lj(a,3)};case 1:return{type:"hyperlink",href:Zh(bk(a,Rua,1,Pua),1),sourceCommentNumber:Lj(a,3)};case 0:throw Error("Rb");default:throw Error("Sb");}},Lk=function(a){for(var b=a.getIssueState()?[Fua(a.getIssueState())]:[],c=new Map,d=l(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c.set(String(e),{sourceIssueIds:f.getSourceIssueIdsList_asLegacyNumberOrString().map(String)})}var h,
k,q;d=String(a.getIssueId_asLegacyNumberOrString());e=a.getVersion();f=a.hasDescription()?fua(a.getDescription()):void 0;var t;if(t=a.getUserData()){var w=hk(t,2);w=w==null?null:w;var y=hk(t,1);t={voted:w,starred:y==null?null:y,notificationSubscription:Tua[Kj(t,4,0)],lastViewedTimeMicros:qj(Gj(t,mj,5))}}else t=void 0;if(a){y=void 0;a.hasSloStatus()&&(w=a.getSloStatus(),y={assignmentBounds:(w==null?0:Ak(w,wk,1))?nua(Gj(w,wk,1)):void 0,responseBounds:(w==null?0:Ak(w,wk,2))?nua(Gj(w,wk,2)):void 0,closureBounds:(w==
null?0:Ak(w,wk,3))?nua(Gj(w,wk,3)):void 0});var D;w={voteCount:(D=Jj(a,10))!=null?D:0,createdTimeMicros:qj(a.getCreatedTime()),resolvedTimeMicros:qj(a.getResolvedTime()),verifiedTimeMicros:qj(a.getVerifiedTime()),modifiedTimeMicros:qj(a.getModifiedTime()),lastModifier:wj(Gj(a,rj,14)),sloId:Di(a.getSloId_asLegacyNumberOrString()),teamId:Di(a.getTeamId_asLegacyNumberOrString()),retentionState:vta(a.getRetentionState()),sloStatus:y}}else w=void 0;D=ita(a.getAccessLimit());y=a.getCustomFieldsList().map(Rta);
var G=Yj(a,Wj,34,Ai()).map(Kta).filter(Gi),I=qj(a.getMajorModifiedTime()),N=a.getParentIssueIdsList_asLegacyNumberOrString().map(String),S=(h=Lj(a,39))!=null?h:0;h=(k=Lj(a,45))!=null?k:0;k=(q=Lj(a,46))!=null?q:0;q=a.getIsArchived();var W=Yj(a,Uua,41,Ai()).map(Sua),Z=Era(String(a.getTrackerId_asLegacyNumberOrString())),fa=a.getStatusUpdate()&&yua(a.getStatusUpdate()),ma;if(ma=Gj(a,Kk,47))a=Gj(a,Kk,47),ma={oneDayViewCount:Jj(a,1),sevenDayViewCount:Jj(a,2),thirtyDayViewCount:Jj(a,3)};return{issueId:d,
version:e,snapshot:b,description:f,userData:t,aggregatedData:w,accessLimit:D,customFields:y,visibleFields:G,majorModifiedTimeMicros:I,parentIssueIds:N,ancestors:c,childIssueCount:S,descendantCount:h,openDescendantCount:k,isArchived:q,relatedLinks:W,trackerId:Z,statusUpdate:fa,userActivityStats:ma}},Vua=function(a){if(a)return{status:Ek[a.getStatus()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(Ei).filter(Gi)}},Wua=function(a){if(a)return{priority:Fk[a.getPriority()],issueIds:a.getIssueIdsList_asLegacyNumberOrString().map(Ei).filter(Gi)}},
Xua=function(){},Yua=function(a){return Object.values(a).length>0},Zua=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},$ua=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);a.next(Object.freeze(b))},ava=function(a,b){var c=a.getValue(),d={};c=l(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var f=l(e.value);e=f.next().value;f=f.next().value;b.includes(e)||(d[e]=f)}a.next(Object.freeze(d))},bva=function(a){var b=Object.assign({},a);a=a.ids;b=
(delete b.ids,b);a&&(b.ids=[].concat(r(a)).sort());return JSON.stringify(b)},cva=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},dva=function(a){a=a===void 0?{}:a;return ira(a)},eva=function(a){var b=new yf,c=a.subscribe(b);a=se(b);a.finally(function(){c.unsubscribe()});return a},fva=function(a){return a==null?new Promise(function(){}):Promise.resolve(a)},gva=function(){return new Promise(function(){})},jva=function(a){return a.type==="CUSTOM_FIELD"?[hva[iva[a.type]],a.customFieldId].join(":"):
hva[iva[a.type]]},mva=function(a){return a.includes(":")?(a=l(a.split(":")),a.next(),a=a.next().value,{type:"CUSTOM_FIELD",customFieldId:yk(a)}):{type:kva[lva[a]]}},nva=function(a){var b;a==null?a=void 0:(a=zi(a,1,Ai()),a=a==null?void 0:a.map(mva));return(b=a)!=null?b:[]},ova=function(a){var b=l(a.trim().split(" ")),c=b.next().value;a=b.next().value;Mk(b);b=mva(c);c="DESCENDING";a==="asc"&&(c="ASCENDING");return{field:b,direction:c}},qva=function(a){return a.map(pva).join(",")},pva=function(a){return jva(a.field)+
" "+(a.direction==="ASCENDING"?"asc":"desc")},rva=function(a){return qva(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(ova))},
sva=function(a){var b,c,d,e,f,h=(new Nk).setHotlistId(a.hotlistId).setName(a.name).setDescription(a.description).setArchived(a.archived).setDefaultOrderBy(qva((d=a.sortOrder)!=null?d:[]));d=h.setDisplayPreferences;var k=new Ok,q=(e=(b=a.displayColumn)==null?void 0:b.map(jva))!=null?e:[];b=tj(k,1,q);h=d.call(h,b).setCreatedTime(pj(a.createdTimeMicros)).setModifiedTime(pj(a.modifiedTimeMicros)).setOwnersList((f=(c=a.adminUsers)==null?void 0:c.map(vj))!=null?f:[]);a.etag!==void 0&&(c=h.setEtag,a=a.etag,
a=a.length?new gb(nba(a,!0),hb):fb(),c.call(h,a));return h},tva=function(a){if(!a.getHotlistId_asLegacyNumberOrString())throw Error("bc");if(!a.getName())throw Error("cc");if(!a.getCreatedTime())throw Error("dc");if(!a.getModifiedTime())throw Error("ec");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:qj(a.getCreatedTime()),modifiedTimeMicros:qj(a.getModifiedTime()),
displayColumn:nva(a.getDisplayPreferences()),sortOrder:a.getDefaultOrderBy().split(",").filter(Boolean).map(ova),etag:Cta(a.getEtag())||void 0,adminUsers:(e=(b=a.getOwnersList())==null?void 0:b.map(wj))!=null?e:[]}},uva=function(a){return{issueId:String(a.getIssueId_asLegacyNumberOrString()),position:a.getPosition(),issue:Lk(a.getIssue())}},vva=function(a){var b=Yj(a,Pk,1,Ai()).map(uva),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()}},wva=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(ova),displayColumn:nva(a.getDisplayPreferences()),adminUsers:((b=a.getOwnersList())!=null?b:[]).map(wj)}},xva=function(a){var b,c,
d=(new Qk).setSavedSearchId(a.searchId).setName(a.name).setDescription(a.description).setQuery(a.query).setDefaultOrderBy(qva((b=a.sortOrder)!=null?b:[]));b=d.setDisplayPreferences;var e=(c=a.displayColumn)!=null?c:[];c=new Ok;e=e.map(jva);c=tj(c,1,e);return b.call(d,c).setOwnersList(a.adminUsers.map(vj))},zva=function(a){switch(xj(a,Rk)){case 1:var b=a.getHotlist(),c=(b==null?0:b.getHotlist())?tva(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())?wva(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())?yva(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("fc");}},Bva=function(a){switch(a.resourceType){case "HOTLIST":var b=(new Sk).setHotlistId(a.hotlistId);a.hotlist&&b.setHotlist(sva(a.hotlist));return(new Tk).setHotlist(b);case "SAVED_SEARCH":return b=(new Uk).setSavedSearchId(a.savedSearchId),a.savedSearch&&b.setSavedSearch(xva(a.savedSearch)),
(new Tk).setSavedSearch(b);case "BOOKMARK_GROUP":return b=(new Vk).setBookmarkGroupId(a.bookmarkGroupId),a.bookmarkGroup&&b.setBookmarkGroup(Ava(a.bookmarkGroup)),(new Tk).setBookmarkGroup(b);default:Bc(a.resourceType,"Unexpected resourceType in bookmarkItemToItProto")}},yva=function(a){var b=a.getArchived(),c=a.getBookmarkGroupId_asLegacyNumberOrString(),d=a.getDescription();var e=Yj(a,Tk,5,Ai());return{archived:b,bookmarkGroupId:c,description:d,item:e.map(zva),name:a.getName(),adminUsers:a.getOwnersList().map(wj)}},
Ava=function(a){var b,c=(new Wk).setBookmarkGroupId(a.bookmarkGroupId).setName(a.name).setDescription(a.description).setArchived(a.archived),d=(b=a.item.map(Bva))!=null?b:[];return Dk(c,5,d).setOwnersList(a.adminUsers.map(vj))},Cva=function(a){switch(a.resourceType){case "HOTLIST":return(new Tk).setHotlist((new Sk).setHotlistId(a.resourceId));case "SAVED_SEARCH":return(new Tk).setSavedSearch((new Uk).setSavedSearchId(a.resourceId));case "BOOKMARK_GROUP":return(new Tk).setBookmarkGroup((new Vk).setBookmarkGroupId(a.resourceId));
default:Bc(a.resourceType,"Unexpected resourceType in bookmarkItemForUpdateToItProto")}},Dva=function(a){a=yva(a).item;a=vra(a,function(k){return k.resourceType});var b,c,d,e,f,h;return{bookmarkGroups:(e=(b=a.get("BOOKMARK_GROUP"))==null?void 0:b.map(function(k){return k.bookmarkGroup}).filter(Gi))!=null?e:[],hotlists:(f=(c=a.get("HOTLIST"))==null?void 0:c.map(function(k){return k.hotlist}).filter(Gi))!=null?f:[],savedSearches:(h=(d=a.get("SAVED_SEARCH"))==null?void 0:d.map(function(k){return k.savedSearch}).filter(Gi))!=
null?h:[]}},Eva=function(a){return yva(a.getIt())},Fva=function(a){a=Yj(a,Wk,2,Ai());return(a!=null?a:[]).map(yva)},Hva=function(a,b){b=b===void 0?document.documentElement:b;return Ae(Be(function(){return pe(b.querySelector(a))}),Gva(b,{childList:!0,subtree:!0}).pipe(He(function(c){return c.some(function(d){return d.addedNodes.length>0})}),z(function(){return b.querySelector(a)}))).pipe(He(Gi),qf(),z(function(c){return c}))},Gva=function(a,b){return new ce(function(c){var d=new MutationObserver(function(e){c.next(e)});
d.observe(a,b);return function(){d.disconnect()}})},Xk=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)}}},Iva=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(" > ")},Jva=function(a){var b={};a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=
l(c.value);c=d.next().value;d=d.next().value;d!=null&&(b[c]=String(d))}b=new URLSearchParams(b);return String(b)},Yk=function(a){return a.ctrlKey||a.metaKey||a instanceof MouseEvent&&a.button===1},Kva=function(a){a=Zk(a,1,Ai(Bi));return{changelistNumbers:a!=null?a:[]}},Nva=function(a){return{changelists:Yj(a,Lva,1,Ai()).map(Mva),nextPageToken:a.getNextPageToken()}},Mva=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:a.getChangelistNumber(),pending:a.getPending(),timestamp:lj(a.getTimestamp()),
issueIds:(b=a.getIssueIdsList_asString())!=null?b:[],fixedIssueIds:(c=$k(a,6))!=null?c:[]}},Ova=function(a){var b=a.getAuthor(),c=a.getDescription(),d=a.getPending(),e=a.getTimestamp_asLegacyNumberOrString();a=zi(a,5,Ai(Bi));return{author:b,description:c,pending:d,timestamp:e,affectedFiles:a!=null?a:[]}},al=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,"+")},Pva=function(a){if(a)return ita(a.getIt())},Qva=function(a){var b=zi(a,1,Ai(Bi));a=zi(a,2,Ai(Bi));return{noAccessEmails:b,unknownEmails:a}},Rva=function(a){var b=a.getIt();a=Yj(b,Bj,2,Ai()).map(Aj);var c=b.getAppendersList().map(Aj),d=Yj(b,Bj,4,Ai()).map(Aj),e=b.getReadersList().map(Aj),f=Yj(b,Bj,11,Ai()).map(Aj),h=Yj(b,Bj,12,Ai()).map(Aj),k=Yj(b,Bj,3,Ai()).map(Aj),q=Yj(b,Bj,7,Ai()).map(Aj),t=Yj(b,Bj,5,Ai()).map(Aj),w=Yj(b,Bj,9,Ai()).map(Aj);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("Eb");}return{admins:a,appenders:c,editors:d,readers:e,restrictedReaders:f,restrictedPlusReaders:h,inheritedAdmins:k,implicitAppenders:q,implicitEditors:t,implicitReaders:w,implicitAccess:b}},bl=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("hc`"+a);}},Tva=function(a){return{fieldId:Kta(Gj(a,Wj,1)),stateOnIssues:Sva[Kj(a,4,0)],enabledOnIssues:hk(a,5)}},Vva=function(a){var b=Gj(a,cl,7),c,d=(c=b==null?void 0:b.getSlo())!=null?c:new dl;c=b==null?void 0:Gj(b,rj,4);var e=b==null?void 0:Gj(b,rj,5),f,h=String(a.getId_asLegacyNumberOrString());b=(f=b==null?void 0:b.getVersion())!=
null?f:0;f=a.getName();var k=a.getDescription(),q=[].concat(r(a.getPathNamesList())),t=a.getPathIdsList_asLegacyNumberOrString().map(String),w=[],y=w.concat;var D=zi(a,5,Ai());return{teamId:h,version:b,name:f,description:k,pathNames:q,pathIds:t,collapsedPathNames:y.call(w,r(D)),members:a.getMembersList().map(Uva),deleted:a.getDeleted(),slo:{inherit:d.getInherit(),sloId:String(d.getId_asLegacyNumberOrString()),comment:d.getComment(),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString())},
sloLead:c?wj(c):void 0,defaultSloLead:e?wj(e):void 0}},Uva=function(a){var b=a.getUser();return{user:b?wj(b):{},isLead:hk(a,2)}},Wva=function(a){var b=new el;return jk(b,2,a.isLead).setUser(vj(a.user))},Xva=function(a){var b=new dl;b.setInherit(a.inherit).setId(Number(a.sloId)).setComment(a.comment).setSourceTeamId(Number(a.sourceTeamId));return b},Yva=function(a){return(new fl).setInherit(a.inherit).setId(a.id)},Zva=function(a){return{teamId:a.getTeamId_asLegacyNumberOrString(),score:a.getScore()}},
$va=function(a){return(new gl).setTeamId(a.teamId).setScore(a.score)},awa=function(a){var b=Di(a);if(b==null)throw Error("ic`"+a);return b},bwa=function(a){var b=Yj(a,hl,4,Ai()).map(Tva);b=new Map(b.map(function(q){return[q.fieldId.customFieldId,q]}));var c,d,e=(d=(c=Yj(a,ik,5,Ai()))==null?void 0:c.map(Sta))!=null?d:[];c=l(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,k;return{componentPathId:(k=
(h=il(a,1,Ai()))==null?void 0:h.map(awa))!=null?k:[],componentPathName:zi(a,2,Ai(Bi)),allCustomField:e,fieldConfigsMap:b}},cwa=function(a){switch(a){case "ALL_PROTECTIONS":return 2;case "NO_PROTECTIONS":return 1;case "SPAM_PROTECTION_UNSPECIFIED":return 0;default:return 0}},fwa=function(a){var b=Ak(a,Mj,15)?xta(Gj(a,Mj,15)):void 0,c=Ak(a,jl,7)?bwa(Gj(a,jl,7)):void 0;if(a.hasSlo()){var d=a.getSlo();d={inherit:d.getInherit(),source:dwa[d.getSource()],id:String(d.getId_asLegacyNumberOrString()),sourceComponentId:String(Jj(d,
6)),sourceTeamId:String(d.getSourceTeamId_asLegacyNumberOrString()),comment:d.getComment()}}else d=void 0;if(Ak(a,kk,18)){var e=a.getEffortSpec();var f=e.getInherit();var h=e.getId_asLegacyNumberOrString(),k=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:k,aggregationType:q,customFieldId:e.getCustomFieldId_asLegacyNumberOrString()};if(ok(e,Zta,4,kl)){var t=bk(e,Zta,4,kl);t&&(f.numericSpec={multiplier:ak(t,
1)})}else if(ok(e,lk,5,kl)&&(e=bk(e,lk,5,kl),f.enumSpec={options:[]},e&&(e==null?void 0:(t=Yj(e,mk,1,Ai()))==null?void 0:t.length)>0))for(t=l(Yj(e,mk,1,Ai())),e=t.next();!e.done;e=t.next())e=e.value,k=h=void 0,(h=f.enumSpec)==null||(k=h.options)==null||k.push({label:e.getLabel(),value:e.getValue()})}else f=void 0;a.hasTeam()?(t=a.getTeam(),t={inherit:t.getInherit(),id:String(t.getId_asLegacyNumberOrString())}):t=void 0;e=ita(a.getAccessLimit());h=Kj(a,21,0);h=h===2?"ALL_PROTECTIONS":h===1?"NO_PROTECTIONS":
"SPAM_PROTECTION_UNSPECIFIED";k=a.getTrackerId_asLegacyNumberOrString()?String(a.getTrackerId_asLegacyNumberOrString()):void 0;var w,y;q=a.getComponentId_asLegacyNumberOrString();var D=Jj(a,3),G=a.getName(),I=a.getDescription(),N=a.getIsArchived(),S="buganizer-system+"+a.getComponentId_asLegacyNumberOrString()+"@google.com";var W=Kj(a,10,0)===1?"ENABLED":"DISABLED";return{componentId:q,parentComponentId:D,name:G,description:I,archived:N,componentPathInfo:c,accessLimit:e,emailAlias:S,commentEditState:W,
defaultTemplateId:awa(Jj(a,6)),slo:d,bugscopeSloId:String(Jj(a,14)),retentionSettings:b,fieldOrdering:ewa[Kj(a,17,0)],effortSpec:f,team:t,teamSuggestions:(y=(w=a.getTeamSuggestionsList())==null?void 0:w.map(Zva))!=null?y:[],trackerId:k==="0"?void 0:k,spamProtection:h}},gwa=function(a){return{author:wj(a.getAuthor()),timestamp:lj(a.getTimestamp()),add:fwa(a.getAdd()),remove:fwa(a.getRemove()),addMask:lua(a.getAddMask()),removeMask:lua(a.getRemoveMask())}},iwa=function(a){a=a.getIt();var b;return{updates:((b=
Yj(a,hwa,1,Ai()))!=null?b:[]).map(gwa)}},ll=function(a){return fwa(a.getIt())},jwa=function(a){var b=new ml;b=Ij(b,3,a.parentComponentId).setName(a.name).setDescription(a.description);a.commentEditState&&b.setCommentEditState(a.commentEditState==="ENABLED"?1:2);a.retentionSettings&&(a=zta(a.retentionSettings),Pj(b,Mj,15,a));return(new nl).setIt(b)},kwa=function(a){a=Yj(a,nl,1,Ai());return(a!=null?a:[]).map(ll)},lwa=function(a){return{warningHeader:Zh(a,1),warning:Zh(a,2),isAllowed:hk(a,3),isExternalMove:hk(a,
4)}},nwa=function(a){a=a.getIt();var b=Fua(a.getIssueState());a.getComment()&&(b.comment=a.getComment());a.getFormattingMode()&&(b.formattingMode=mwa[a.getFormattingMode()]);return{componentId:a.getComponentId_asLegacyNumberOrString(),templateId:a.getTemplateId_asLegacyNumberOrString(),name:a.getName(),description:a.getDescription(),default:hk(a,9),inheritable:hk(a,10),snapshot:b}},owa=function(a){var b=new ol,c=b.setIt;var d=(new pl).setFormattingMode(uk(a.snapshot.formattingMode)).setComment(a.snapshot.comment).setComponentId(a.componentId).setTemplateId(a.templateId).setName(a.name).setDescription(a.description);
d=jk(d,9,a.default);a=jk(d,10,a.inheritable).setIssueState(Mua(a.snapshot));return c.call(b,a)},pwa=function(a){a=Yj(a,nl,1,Ai());return(a!=null?a:[]).map(ll)},qwa=function(a){return{componentPath:a.getComponentPath(),retentionSettings:xta(Gj(a,Mj,3))}},swa=function(a){return Yj(a,rwa,2,Ai()).map(qwa)},twa=function(a){var b=a.getId(),c=Lj(a,3);var d=zi(a,2,Ai());a=Zk(a,4,Ai());return ql({id:b,std_offset:c,names:d,transitions:a||[]})},vwa=function(a){a=a.getIt();var b=a.getTrackerId_asString(),c=a.getName(),
d=a.getComponentId_asString(),e=il(a,4,Ai()).map(String);var f=Gj(a,rl,6);f=f!=null?{logoUrl:f.getLogoUrl(),cocUrl:Zh(f,3),theme:uwa[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:Yj(a,rj,10,Ai()).length>0?Yj(a,rj,10,Ai()).map(wj):void 0}},wwa=function(a){var b;return((b=a.getTrackersList())!=null?b:[]).map(vwa)},xwa=function(a){return{trackers:a.getTrackersList().map(vwa),
nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},sl=function(a){if(a==null)return"UNSPECIFIED_FORMATTING_MODE";switch(ywa[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},Nwa=function(a){var b={};tl(a,1)&&(b.showFullHistory=hk(a,1));tl(a,2)&&(b.useCodefont=hk(a,2));ul(a,5)&&(b.resultsPerPage=Lj(a,5));tl(a,26)&&(b.showRecentEventsFirst=hk(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(zwa).filter(Gi)});
if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Awa).filter(Gi)};vl(a,7)&&(b.bannerMessageId=Zh(a,7));if(c=Gj(a,Bwa,3)){var d={};wl(c,1)&&(d.reportedPriority=xl[Kj(c,1,0)]);wl(c,2)&&(d.assignedPriority=xl[Kj(c,2,0)]);wl(c,3)&&(d.verifiedPriority=xl[Kj(c,3,0)]);wl(c,4)&&(d.ccdPriority=xl[Kj(c,4,0)]);wl(c,9)&&(d.collaboratorPriority=xl[Kj(c,9,0)]);wl(c,5)&&(d.starredPriority=xl[Kj(c,5,0)]);tl(c,6)&&(d.excludeChangesByMe=hk(c,6));tl(c,7)&&(d.unsubscribeFromAll=hk(c,7));tl(c,8)&&(d.enableV2Prefs=
hk(c,8));b.notificationPreferences=d}if(d=Gj(a,Cwa,9)){c={showHotlists:hk(d,1),showStatusIcons:hk(d,4),wrapComponents:hk(d,3),wrapTitles:hk(d,2),rtlComponentPath:hk(d,5)};var e=fc(d,6,Mb);c.fieldStatus=Object.fromEntries(e.entries());d=fc(d,7,Mb);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},ul(c,1)&&(d.leftSidebarWidth=Lj(c,1)),tl(c,2)&&(d.expandIssueSlo=hk(c,2)),ul(c,3)&&(d.rightSidebarWidth=Lj(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d=
{},vl(c,1)&&(d.calendarFormat=Zh(c,1)),vl(c,2)&&(d.timeFormat=Zh(c,2)),c.hasTimeZone()&&(d.timeZone=c.getTimeZone()),wl(c,7)&&(d.sloEtaViewAs=Dwa[Kj(c,7,0)]),b.dateTimePreferences=d;if(c=Gj(a,yl,8))d={},wl(c,1)&&(d.density=Ewa[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},wl(c,1)&&(d.resourceType=Fwa(Kj(c,1,1))),zl(c,2)!=null&&(d.resourceId=Al(c,2)),b.homepagePreferences=d;if(c=Gj(a,Gwa,17))d={},tl(c,1)&&(d.enableAllHotkeys=hk(c,1,!0)),b.keyboardPreferences=d;zl(a,16)!=
null&&(b.newFeaturesAcknowledgedMillis=Al(a,16));tl(a,18)&&(b.autoCcOnComment=hk(a,18));Ak(a,Bl,20)&&(d=Gj(a,Bl,20),c=Kj(d,2,0),d=Kj(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Hwa(c),lastPublishMode:Hwa(d)});Ak(a,Cl,21)&&(c=Gj(a,Cl,21),d={},tl(c,2)&&(d.announcementDismissed=hk(c,2)),tl(c,1)&&(d.enableBugScreensaver=hk(c,1)),b.bugScreensaverPreferences=d);Ak(a,Dl,24)&&(c=Gj(a,Dl,24),d={},El(c,1)&&(d.announcementDismissedMillis=Jj(c,1)),b.g3nPreferences=d);if(c=Gj(a,Fl,23))c=Yj(c,Iwa,1,
Ai()),b.teamWarningPreferences={componentTeamWarnings:c.map(Jwa)};c=gc(a,25,mj,Mb);c.size&&(b.dismissalTimestamps=Kwa(c));c=a.getCollapsedMap();c.size&&(b.collapsed=Object.fromEntries(c.entries()));tl(a,29)&&(b.showInlineImages=a.getShowInlineImages());Ak(a,Gl,28)&&(c=Gj(a,Gl,28),d={},wl(c,1)&&(d.commentFilter=Lwa(Kj(c,1,0))),b.commentFilterPreferences=d);if(c=Gj(a,Hl,31))b.missionControlPreferences=Mwa(c);Ak(a,Il,32)&&(b.scopePreferences={starredTeams:$k(Gj(a,Il,32),1)});return b},zwa=function(a){if(a.hasType()){var b=
{type:kva[a.getType()]};a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId_asLegacyNumberOrString());return b}},Awa=function(a){var b=a.getColumn();if(b=b&&zwa(b)){if(wl(a,2))a:switch(a=Kj(a,2,1),a){case 1:a="ASCENDING";break a;case 2:a="DESCENDING";break a;default:a=Bc(a,"Unknown sortOrder: "+a)}else a=void 0;if(a)return{column:b,order:a}}},Hwa=function(a){if(a!==0)return ywa[a]},Fwa=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 Bc(a,"Unknown resourceType: "+a)}},Jwa=function(a){var b={};a.hasComponentId()&&(b.componentId=a.getComponentId_asLegacyNumberOrString());El(a,2)&&(b.dismissMillis=Jj(a,2));return b},Kwa=function(a){a=Array.from(a.entries()).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},Lwa=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 Bc(a,"Unknown resourceType: "+a)}},Mwa=function(a){var b=ul(a,3)?Lj(a,3):void 0,c=ul(a,6)?Lj(a,6):void 0,d=ul(a,5)?Lj(a,5):void 0,e=ul(a,4)?Lj(a,4):void 0,f=tl(a,10)?hk(a,10):void 0,h=tl(a,11)?hk(a,11):void 0,k=tl(a,12)?hk(a,12):void 0,q=Jl(a,7,Ai()).map(function(w){return Owa[w]}),t=Jl(a,8,Ai()).map(function(w){return Owa[w]});b={workAreaUrls:zi(a,1,Ai(Bi)),myTasksTab:b,myTasksDaysOld:c,needsAttentionDaysOld:d,workAreaTab:e,needsAttentionSources:q,myTasksSources:t,hideBadgeInNav:f,
isNeedsAttentionSourcesConfigured:h,isMyTasksSourcesConfigured:k};c=fc(a,9,Xca);c.size&&(b.workAreaQuickFilters=Pwa(c));a=a.getCollapsedMap();a.size&&(b.collapsed=Object.fromEntries(a.entries()));return b},Pwa=function(a){var b={};a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]=Qwa[d]}return b},cxa=function(a){var b=new Kl;a.showFullHistory!=null&&Ll(b,1,a.showFullHistory);a.useCodefont!=null&&Ll(b,2,a.useCodefont);a.resultsPerPage!=
null&&Ml(b,5,a.resultsPerPage);a.displayColumns!=null&&b.setDisplayColumns(Rwa(a.displayColumns));if(a.sortColumns!=null){var c=Swa(a.sortColumns);Pj(b,Nl,6,c)}a.bannerMessageId!=null&&Sj(b,7,a.bannerMessageId);if(a.notificationPreferences!=null){c=a.notificationPreferences;var d=new Bwa;d=Ol(d,1,Pl[c.reportedPriority]);d=Ol(d,2,Pl[c.assignedPriority]);d=Ol(d,3,Pl[c.verifiedPriority]);d=Ol(d,4,Pl[c.ccdPriority]);d=Ol(d,9,Pl[c.collaboratorPriority]);d=Ol(d,5,Pl[c.starredPriority]);d=Ll(d,6,c.excludeChangesByMe);
d=Ll(d,7,c.unsubscribeFromAll);c=Ll(d,8,c.unsubscribeFromAll);Pj(b,Bwa,3,c)}a.listViewPreferences!=null&&(c=a.listViewPreferences,d=new Cwa,d=Ll(d,1,c.showHotlists),d=Ll(d,2,c.wrapTitles),d=Ll(d,3,c.wrapComponents),d=Ll(d,4,c.showStatusIcons),d=Ll(d,5,c.rtlComponentPath),c.fieldStatus!=null&&Ql(c.fieldStatus,fc(d,6,Mb)),c.modeForField!=null&&Ql(c.modeForField,fc(d,7,Mb)),Pj(b,Cwa,9,d));a.layoutPreferences!=null&&(c=a.layoutPreferences,d=new Twa,c.leftSidebarWidth!=null&&Ml(d,1,c.leftSidebarWidth),
c.expandIssueSlo!=null&&Ll(d,2,c.expandIssueSlo),c.rightSidebarWidth!=null&&Ml(d,3,c.rightSidebarWidth),Pj(b,Twa,10,d));a.dateTimePreferences!=null&&(c=a.dateTimePreferences,d=new Rl,d=Sj(d,1,c.calendarFormat),d=Sj(d,2,c.timeFormat).setTimeZone(c.timeZone),c=Ol(d,7,Uwa[c.sloEtaViewAs]),Pj(b,Rl,11,c));a.themePreferences!=null&&(c=a.themePreferences,c=(new yl).setDensity(Vwa[c.density]),Pj(b,yl,8,c));if(a.homepagePreferences!=null){c=a.homepagePreferences;d=new Wwa;if(c.resourceType!=null){var e=Xwa(c.resourceType);
Ol(d,1,e)}c.resourceId!=null&&Sl(d,2,c.resourceId);Pj(b,Wwa,13,d)}a.keyboardPreferences!=null&&(c=a.keyboardPreferences,d=new Gwa,c=Ll(d,1,c.enableAllHotkeys),Pj(b,Gwa,17,c));a.newFeaturesAcknowledgedMillis!=null&&Sl(b,16,a.newFeaturesAcknowledgedMillis);a.autoCcOnComment!=null&&Ll(b,18,a.autoCcOnComment);a.textDisplayPreferences!=null&&(c=a.textDisplayPreferences,d=new Bl,c.commentDisplayOverride&&Ol(d,2,Ywa(c.commentDisplayOverride)),c.lastPublishMode&&Ol(d,1,Ywa(c.lastPublishMode)),Pj(b,Bl,20,
d));a.bugScreensaverPreferences!=null&&(c=a.bugScreensaverPreferences,d=new Cl,c.enableBugScreensaver!=null&&Ll(d,1,c.enableBugScreensaver),c.announcementDismissed!=null&&Ll(d,2,c.announcementDismissed),Pj(b,Cl,21,d));a.g3nPreferences!=null&&(c=a.g3nPreferences,d=new Dl,c.announcementDismissedMillis!=null&&Tl(d,1,c.announcementDismissedMillis),Pj(b,Dl,24,d));a.teamWarningPreferences!=null&&(c=Zwa(a.teamWarningPreferences),Pj(b,Fl,23,c));if(a.dismissalTimestamps!=null)for(d=a.dismissalTimestamps,c=
gc(b,25,mj,Mb),d=l(Object.entries(d)),e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;var h=f.next().value;f=c;var k=f.set;h=(new mj).fromMillis(h.getTime());k.call(f,e,h)}a.collapsed!=null&&Ql(a.collapsed,b.getCollapsedMap());a.showRecentEventsFirst!=null&&Ll(b,26,a.showRecentEventsFirst);a.showInlineImages!=null&&Ll(b,29,a.showInlineImages);a.commentFilterPreferences!=null&&(d=a.commentFilterPreferences,c=new Gl,d.commentFilter!=null&&(d=$wa(d.commentFilter),Ol(c,1,d)),Pj(b,Gl,
28,c));if(a.missionControlPreferences!=null){c=a.missionControlPreferences;d=new Hl;c.workAreaUrls&&tj(d,1,c.workAreaUrls);c.collapsed&&Ql(c.collapsed,d.getCollapsedMap());if(c.workAreaQuickFilters){e=c.workAreaQuickFilters;f={};k=l(Object.keys(e));for(h=k.next();!h.done;h=k.next())h=h.value,f[h]=axa[e[h]];Ql(f,fc(d,9,Xca))}c.myTasksTab!=null&&Ml(d,3,c.myTasksTab);c.workAreaTab!=null&&Ml(d,4,c.workAreaTab);c.myTasksDaysOld!=null&&Ml(d,6,c.myTasksDaysOld);c.needsAttentionDaysOld!=null&&Ml(d,5,c.needsAttentionDaysOld);
c.needsAttentionSources&&(e=c.needsAttentionSources.map(bxa),Ul(d,7,e));c.myTasksSources&&(e=c.myTasksSources.map(bxa),Ul(d,8,e));c.hideBadgeInNav!=null&&Ll(d,10,!!c.hideBadgeInNav);c.isNeedsAttentionSourcesConfigured!=null&&Ll(d,11,!!c.isNeedsAttentionSourcesConfigured);c.isMyTasksSourcesConfigured!=null&&Ll(d,12,!!c.isMyTasksSourcesConfigured);Pj(b,Hl,31,d)}a.scopePreferences!=null&&(a=a.scopePreferences,c=new Il,a=Vl(c,1,a.starredTeams),Pj(b,Il,32,a));return b},Rwa=function(a){return(new Wl).setColumnList(a.column.map(function(b){return dxa(b)}))},
dxa=function(a){var b=(new Xl).setType(iva[a.type]);a.customFieldId!=null&&b.setCustomFieldId(a.customFieldId);return b},Swa=function(a){return(new Nl).setColumnList(a.column.map(function(b){var c=(new Yl).setColumn(dxa(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=Bc(b,"Unknown sortOrder: "+b)}return Ol(c,2,b)}))},Xwa=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 Bc(a,"Unknown resourceType: "+a)}},Ywa=function(a){switch(ywa[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},Zwa=function(a){var b=new Fl;a.componentTeamWarnings!=null&&exa(b,a.componentTeamWarnings.map(function(c){var d=new Iwa;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&Tl(d,2,c.dismissMillis);return d}));return b},$wa=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 Bc(a,"Unknown commentFilterType: "+a)}},bxa=function(a){return fxa[a]},Ql=function(a,b){a=l(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},ixa=function(){Zl==null&&(Zl=new gxa(hxa.buganizerSessionJspb));if(!Ak(Zl,$l,2)){var a=Zl,b=new $l;Pj(a,$l,2,b)}Ak(Zl,am,9)||(a=Zl,b=new am,Pj(a,am,9,b));Zl.hasUser()||Zl.setUser(new bm);Ak(Zl,Kl,7)||(a=Zl,b=new Kl,Pj(a,Kl,7,b));return Zl},
dm=function(a){return function(){var b=cm.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}}},em=function(a){return function(b){b===!0?cm.setItem(a,"1"):cm.removeItem(a)}},jxa=function(a){return a&&typeof a==="object"&&"overrideUntilDate"in a&&"flagName"in a&&"value"in a?!0:!1},kxa=function(a){return{overrides:a.overrides.filter(function(b){return b.overrideUntilDate?Date.parse(b.overrideUntilDate)>
Date.now():!0})}},lxa=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.")},pxa=function(){if(mxa("flag-overrides")()){var a=nxa("flag-overrides")();if(a&&typeof a==="object"&&"overrides"in a&&Array.isArray(a.overrides)&&a.overrides.every(jxa))return kxa(a);oxa();console.warn("Could not parse flag overrides.")}},oxa=function(){fm("flag-overrides")()},qxa=function(a,b){var c=new Date(Date.now()+
864E5);c=c===void 0?null:c;lxa();var d,e=((d=pxa())==null?void 0:d.overrides)||[];fm("flag-overrides")({overrides:[].concat(r(e.filter(function(f){return f.flagName!==a})),[{flagName:a,value:b,overrideUntilDate:c}])})},rxa=function(a,b){qxa(a,b)},sxa=function(a){lxa();var b,c=((b=pxa())==null?void 0:b.overrides)||[];fm("flag-overrides")({overrides:c.filter(function(d){return d.flagName!==a})})},jm=function(){if(txa==null){uxa();var a=ixa();var b=a.hasUser()?a.getUser():new bm;b=hk(b,4)?{anonymous:!0,
email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:b.getEmail(),userTypeLabel:b.getUserTypeLabel(),sessionIdentifier:b.getSessionIdentifier()};var c=Ak(a,$l,2)?a.getConfig():new $l;for(var d=new Map,e=l(fc(c,4,Lb).entries()),f=e.next();!f.done;f=e.next()){var h=l(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:il(c,13,Ai(Bi)),indefiniteRetentionComponentsAllowlist:il(c,20,Ai(Bi)),trustedEmailDomainsAllowlist:zi(c,22,Ai(Bi)),helpMeFixSidebarComponentAllowlist:il(c,23,Ai()),internalBaseUrl:c.getInternalBaseUrl(),externalBaseUrl:c.getExternalBaseUrl()};d=Nwa(Ak(a,Kl,7)?a.getUserPreferences():new Kl);f=Ak(a,am,9)?
Gj(a,am,9):new am;e=Yj(f,gm,1,Ai()).map(twa);Ak(f,hm,2)?(f=f.getAnnouncement(),f={message:f.getMessage(),messageId:f.getMessageId(),dismissible:hk(f,3),tags:f.getTagsList(Bi)}):f=null;e={timezones:e,announcement:f};f=a.getXsrfToken();h=a.getCspNonce();var k=a.getFrontendAccessMode(),q=a.getMustAcknowledgeTerms(),t=a.getShowNewFeaturesDialog(),w=a.getAppBaseHref(),y=Ak(a,im,11)?vwa(a.getTracker()):null,D;Ak(a,vxa,12)?(D=a.getPassiveLoginIframeUrl())?(D=Tj(D,4),D=D===null||D===void 0?null:Ph(D)):D=
null:D=null;txa={user:b,config:c,xsrfToken:f,cspNonce:h,frontendAccessMode:k,mustAcknowledgeTerms:q,showNewFeaturesDialog:t,userPreferences:d,preload:e,appBaseHref:w,tracker:y,passiveLoginIframeUrl:D,userRequiresCaptcha:hk(a,13)}}return txa},Ji=function(){return(jm().frontendAccessMode||"INTERNAL")==="INTERNAL"},wxa=function(a){a=a===void 0?jm():a;return a.config.environmentType||"QA"},km=function(a){a=a===void 0?jm():a;a=wxa(a);switch(a){case "NIGHTLY":case "PROD":return!0;case "QA":case "DEV":return!1;
default:Bc(a,"Unknown environment type.")}},xxa=function(a){return nwa(Gj(a,ol,1))},yxa=function(a){return(Yj(a,ol,1,Ai())||[]).map(nwa)},zxa=function(a){return Rta(a.getIt())},Bxa=function(a){return(new Axa).setIt(Vta(a))},Cxa=function(a){a=a.getIt();return{customFields:a.getCustomFieldsList().map(Rta),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Dxa=function(a){a==="[Deleted User]"&&(a="nobody@google.com");a.includes("@")||(a+="@google.com");var b=new rj;return sj(b,1,a)},Exa=
function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(Dxa))!=null?b:[]},lm=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean).map(Di).filter(Gi))!=null?b:[]},mm=function(a){var b;return(b=a==null?void 0:a.trim().split(",").filter(Boolean))!=null?b:[]},Gxa=function(a){var b=new nm,c=new nm,d=new Gk,e=new Gk;a=l(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(Dxa(f.value)),
om(b,"assignee")):(e.setAssignee(new rj),om(c,"assignee"));break;case "attachments":break;case "blockedByIssueId":f.actionType==="ADD"?(d.addAllBlockedByIssueIds(lm(f.value)),om(b,"blocked_by_issue_ids")):(e.addAllBlockedByIssueIds(lm(f.value)),om(c,"blocked_by_issue_ids"));break;case "blockingIssueId":f.actionType==="ADD"?(d.addAllBlockingIssueIds(lm(f.value)),om(b,"blocking_issue_ids")):(e.addAllBlockingIssueIds(lm(f.value)),om(c,"blocking_issue_ids"));break;case "ccs":f.actionType==="ADD"?(d.addAllCcs(Exa(f.value)),
om(b,"ccs")):(e.addAllCcs(Exa(f.value)),om(c,"ccs"));break;case "changelists":f.actionType==="ADD"?(d.addAllCodeChanges(mm(f.value)),om(b,"code_changes")):(e.addAllCodeChanges(mm(f.value)),om(c,"code_changes"));break;case "collaborators":f.actionType==="ADD"?(d.addAllCollaborators(Exa(f.value)),om(b,"collaborators")):(e.addAllCollaborators(Exa(f.value)),om(c,"collaborators"));break;case "comment":break;case "componentId":d.setComponentId(Di(f.value));om(b,"component_id");break;case "customField":if(!f.customFieldValue)break;
var h=Ota(f.customFieldValue);f.actionType==="ADD"?(d.addCustomFields(h),om(b,"custom_fields")):(e.addCustomFields(h),om(c,"custom_fields"));break;case "deletionReason":f.value!=null?(d.setDeletionReason(Kua[f.value]),om(b,"deletion_reason")):(e.setDeletionReason(2),om(c,"deletion_reason"));break;case "duplicateOfIssueId":(f=Di(f.value))?(d.setCanonicalIssueId(f),om(b,"canonical_issue_id")):om(c,"canonical_issue_id");break;case "effortEstimate":f.value?(h=new Hk,f=sj(h,2,f.value),d.setEffort(f),om(b,
"effort")):(e.setEffort(new Hk),om(c,"effort"));break;case "foundInVersion":f.actionType==="ADD"?(h=d,f=mm(f.value),kc(h,17,Jb,f),om(b,"found_in_versions")):(h=e,f=mm(f.value),kc(h,17,Jb,f),om(c,"found_in_versions"));break;case "gerritChanges":h=(f.gerritChangeValue||[]).map(Jua);f.actionType==="ADD"?(d.addAllGerritChanges(h),om(b,"gerrit_changes")):(e.addAllGerritChanges(h),om(c,"gerrit_changes"));break;case "hotlists":f.actionType==="ADD"?(d.addAllHotlistIds(lm(f.value)),om(b,"hotlist_ids")):(e.addAllHotlistIds(lm(f.value)),
om(c,"hotlist_ids"));break;case "inProd":d.setInProd(f.value==="true");om(b,"in_prod");break;case "type":d.setType(Fxa[f.value]);om(b,"type");break;case "isArchived":d.setIsArchived(f.value==="true");om(b,"is_archived");break;case "isDeleted":d.setIsDeleted(f.value==="true");om(b,"is_deleted");break;case "parentId":break;case "priority":d.setPriority(Hua[f.value]);om(b,"priority");break;case "readState":break;case "reporter":d.setReporter(Dxa(f.value));om(b,"reporter");break;case "severity":d.setSeverity(Iua[f.value]);
om(b,"severity");break;case "sloEndTime":(f=Di(f.value))?(d.setSloEndTime(nj({seconds:f,nanos:0})),om(b,"slo_end_time")):(e.setSloEndTime(new mj),om(c,"slo_end_time"));break;case "sloSnoozeType":d.setSloSnoozeType(Lua[f.value]);om(b,"slo_snooze_type");break;case "sloStartTime":(f=Di(f.value))?(d.setSloSnoozeUntil(nj({seconds:f,nanos:0})),om(b,"slo_snooze_until")):(e.setSloSnoozeUntil(new mj),om(c,"slo_snooze_until"));break;case "status":d.setStatus(Gua[f.value]);om(b,"status");break;case "targetedToVersion":f.actionType===
"ADD"?(h=d,f=mm(f.value),kc(h,18,Jb,f),om(b,"targeted_to_versions")):(h=e,f=mm(f.value),kc(h,18,Jb,f),om(c,"targeted_to_versions"));break;case "title":d.setTitle(f.value);om(b,"title");break;case "verifiedInVersion":f.actionType==="ADD"?(h=d,f=mm(f.value),kc(h,19,Jb,f),om(b,"verified_in_versions")):(h=e,f=mm(f.value),kc(h,19,Jb,f),om(c,"verified_in_versions"));break;case "verifier":f.value?(d.setVerifier(Dxa(f.value)),om(b,"verifier")):(e.setVerifier(new rj),om(c,"verifier"));break;default:Bc(f.fieldName,
"Unhandled IssueFieldName in actionsToIssueStateChanges")}}return{addMask:b,removeMask:c,stateAddBuilder:d,stateRemoveBuilder:e}},Hxa=function(a){var b=a.actions.filter(function(h){return!h.ignoreOnIssueEditRequest}),c=b.filter(function(h){return h.fieldName!=="comment"}),d=Gxa(c);c=d.addMask;var e=d.removeMask,f=d.stateAddBuilder;d=d.stateRemoveBuilder;a=(new pm).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 qm).setComment(b.value));return a},Ixa=function(a,b,c,d){var e=new rm,f=e.setIt;a=(new sm).setIssueId(a);b&&a.setIssueAccessLimit(fta(b));c&&a.setAddedCollaboratorsList(c.map(vj));d&&a.setRemovedCollaboratorsList(d.map(vj));return f.call(e,a)},Jxa=function(a){return(new tm).setIt((new um).setIssueId(Number(a)))},Lxa=function(a){return(new Kxa).setIt((new vm).setIssueId(Number(a.issueId)).setComponentId(Number(a.componentId)))},Nxa=function(a){var b,c=new Mxa,
d=c.setIt,e=(new wm).setIssueId(String(a.issueId)).setComponentId(String(a.componentId));a=(b=a.setLimitViewTrusted)!=null?b:!1;b=jk(e,3,a);return d.call(c,b)},Oxa=function(a){return{issueId:Era(a.getIssueId_asString()),status:Ek[a.getStatus()],title:a.getTitle()}},Rxa=function(a){var b=new Pxa;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&Ol(b,3,Qxa[a.actionType]);if(a.customFieldValue){var c=b.setCustomFieldValue;a=a.customFieldValue;a=(new xm).setIt(Ota(a));c.call(b,a)}return b},
Txa=function(a){return(new Sxa).setIt(Hxa(a))},Wxa=function(a){var b=new Uxa,c=a.addHotlistIds.map(String);hc(b,1,c,Gb);c=a.removeHotlistIds.map(String);hc(b,2,c,Gb);var d=a.hotlistIssue;a=(new Pk).setIssueId(Number(d.issueId));d.position&&a.setPosition(d.position);if(d.issue){c=a.setIssue;d=d.issue;var e=(new ym).setIssueId(d.issueId).setVersion(d.version).setCustomFieldsList(d.customFields.map(Vta)),f=d.visibleFields.map(Mta);e=Dk(e,34,f).setMajorModifiedTime(pj(d.majorModifiedTimeMicros)).setParentIssueIdsList(d.parentIssueIds.map(Di).filter(Gi));
e=kj(e,39,d.childIssueCount);e=kj(e,45,d.descendantCount);e=kj(e,46,d.openDescendantCount).setIsArchived(d.isArchived);d.trackerId&&e.setTrackerId(d.trackerId);d.snapshot&&d.snapshot[0]&&e.setIssueState(Mua(d.snapshot[0]));d.statusUpdate&&e.setStatusUpdate(zua(d.statusUpdate));if(d.userData){f=e.setUserData;var h=d.userData,k=new zm;h.voted&&jk(k,2,h.voted);h.starred&&jk(k,1,h.starred);h.notificationSubscription&&k.setNotificationSubscription(Vxa[h.notificationSubscription]);h.lastViewedTimeMicros!==
void 0&&(h=pj(h.lastViewedTimeMicros),Pj(k,mj,5,h));f.call(e,k)}if(d.aggregatedData){f=Ij(e,10,d.aggregatedData.voteCount).setCreatedTime(pj(d.aggregatedData.createdTimeMicros)).setResolvedTime(pj(d.aggregatedData.resolvedTimeMicros)).setVerifiedTime(pj(d.aggregatedData.verifiedTimeMicros)).setModifiedTime(pj(d.aggregatedData.modifiedTimeMicros));k=vj(d.aggregatedData.lastModifier);Pj(f,rj,14,k);if(d.aggregatedData.sloStatus){f=e.setSloStatus;h=d.aggregatedData.sloStatus;k=new Am;if(h.assignmentBounds){var q=
pua(h.assignmentBounds);Pj(k,wk,1,q)}h.responseBounds&&(q=pua(h.responseBounds),Pj(k,wk,2,q));h.closureBounds&&(h=pua(h.closureBounds),Pj(k,wk,3,h));f.call(e,k)}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,k=new Bm,h.retentionPeriod&&(q=dta(h.retentionPeriod),Pj(k,oj,1,q)),h.scheduledDeletionTime&&(h=nj(h.scheduledDeletionTime),Pj(k,
mj,2,h)),f.call(e,k))}d.accessLimit&&e.setAccessLimit(kta(d.accessLimit));if(d.ancestors)for(f=e.getAncestorsMap(),k=l(d.ancestors.entries()),h=k.next();!h.done;h=k.next())q=l(h.value),h=q.next().value,q=q.next().value,f.set(Number(h),(new Cm).setSourceIssueIdsList(q.sourceIssueIds.map(Di).filter(Gi)));d.userActivityStats&&(d=d.userActivityStats,f=new Kk,f=Ij(f,1,d.oneDayViewCount),f=Ij(f,2,d.sevenDayViewCount),d=Ij(f,3,d.thirtyDayViewCount),Pj(e,Kk,47,d));c.call(a,e)}a=(new Dm).setIt(a);Pj(b,Dm,
3,a);return b},Yxa=function(a){var b=Yj(a,Xxa,1,Ai());return{issueDigests:(b!=null?b:[]).map(Oxa),numTotalResults:Jj(a,2)}},$xa=function(a){var b=(new Em).setIssueId(a.issueId).setRetention(Bta(a.retention));a.significanceOverride&&b.setSignificanceOverride(Uta[a.significanceOverride]);return(new Zxa).setIt(b)},bya=function(a){var b=new aya,c=b.setIt,d=(new ym).setIssueState(Mua(a.snapshot));a.snapshot.comment&&d.setIssueComment((new qm).setComment(a.snapshot.comment).setFormattingMode(uk(a.snapshot.formattingMode)));
a.attachments&&d.addAllAttachments(a.attachments.map(Fta));d=(new Fm).setIssue(d);if(a.templateId!=null){var e=new Gm;e=jk(e,1,!1).setTemplateId(a.templateId);Pj(d,Gm,3,e)}a.contentJudgement&&(e=d.setContentJudgement,a=uj(rta(a.contentJudgement),5,2),a=uj(a,6,1),e.call(d,a));return c.call(b,d)},cya=function(a){return{issueId:Era(a.getIssueId_asString())}},dya=function(a){return yua(a.getIt())},eya=function(a){var b=new Hm,c=b.setIt;var d=(new Im).setQuery(a.query);d=uj(d,2,Uta[a.minimumSignificance]);
a=kj(d,4,a.maximumSize);a=uj(a,3,2);return c.call(b,a)},gya=function(a){var b,c=(b=a.getTriage())==null?void 0:Kj(b,1,0),d,e;return{id:a.getId_asString(),triage:{phase:c!=null?fya[c]:"UNSPECIFIED",needsInfo:(e=(d=a.getTriage())==null?void 0:hk(d,2))!=null?e:!1},clusterId:Jm(a,3)}},hya=function(a){if(a!=null)return Lk(a.getIt())},iya=function(a){var b;return{version:a.version,unlinkifiedComment:a.unlinkifiedComment,commentNumber:a.commentNumber,commentVersion:a.version,commentLastModifiedAtDate:Gra(a.lastModified),
commentRedacted:Fi(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}},jya=function(a,b){var c,d,e;b=pj((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:Fra()(yi(a.lastEditorUser)),commentVersion:a.version,version:a.version,commentLastModifiedAtDate:Gra(a.lastModified),commentRedacted:Fi(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}},Km=function(a){if(a!=null)if(a=hya(a.getIssue()),a==null)ij("No issue. issueFetchResponseToJs");else return a},kya=function(a){var b=new Lm;b.setIssueIdsList(a.issueIds.map(String));a=a.actions.map(Rxa);Dk(b,1,a);return b},lya=function(a){return{issueId:a.getIssueId_asString(),
message:a.getMessage()}},nya=function(a){for(var b={},c=l(gc(a,1,Mm,Mb).entries()),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=hya(e)}c={};d=l(gc(a,3,nl,Mb).entries());for(e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c[Number(e)]=ll(f)}a=Yj(a,mya,2,Ai());a=(a!=null?a:[]).map(lya);return{affectedIssues:b,componentMap:c,errors:a}},oya=function(a){var b;return((b=a.getIt().getIssueCommentsList())!=null?b:[]).map(fua).map(iya)},
pya=function(a){return{readTimestamp:Ak(a.getIt(),mj,3)?qj(Gj(a.getIt(),mj,3)):0}},qya=function(a){a=a.getIt();var b=a.getIssueState(),c=b.getAccessLimit();b={type:jua(b.getType()),status:Ek[b.getStatus()],priority:Fk[b.getPriority()],severity:Bua[b.getSeverity()],componentId:b.getComponentId_asLegacyNumberOrString(),accessLimitLevel:c!=null?gta(c):null};return{issueId:String(a.getIssueId_asLegacyNumberOrString()),issueState:b,modifiedTime:lj(a.getModifiedTime()),teamId:a.getTeamId_asLegacyNumberOrString()}},
rya=function(a){return fua(a.getIt())},sya=function(a){var b;return((b=a.getIssueCommentsList())!=null?b:[]).map(rya)},tya=function(a){return eua(a==null?void 0:a.getIt())},uya=function(a){a=a.getIt();return{issues:a.getIssuesList().filter(Gi).map(Lk),numTotalResults:a.getTotalSize(),positionMap:void 0,nextPageToken:a.getNextPageToken(),totalSizeAccurate:a.getTotalSizeAccurate(),maySkipResults:a.getMaySkipResults()}},wya=function(a){return{issueId:a.getIssueId_asString(),summaryType:vya[a.getSummaryType()],
modelVersion:a.getModelVersion(),issueVersion:a.getIssueVersion(),summary:a.getSummary(),formattedSummary:Ak(a,sk,6)?{content:Uj(Gj(a,sk,6).getContent())}:void 0}},Aya=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=$h(a,xya,b))==null?void 0:c.getValue()};case "google.protobuf.Int64Value":var d;return{type:"NUMBER",value:(d=$h(a,Nm,b))==null?void 0:d.getValue_asLegacyNumberOrString()};case "google.protobuf.StringValue":var e;
return{type:"STRING",value:(e=$h(a,yya,b))==null?void 0:e.getValue()};case "google.protobuf.BoolValue":var f;return{type:"BOOLEAN",value:(f=$h(a,zya,b))==null?void 0:f.getValue()};case "google.protobuf.Timestamp":return{type:"TIMESTAMP",value:lj($h(a,mj,b))};case "google.devtools.issuetracker.v1.User":return a=$h(a,rj,b),{type:"USER",value:a&&wj(a)};case "google.devtools.issuetracker.v1.CustomFieldValue":return a=$h(a,fk,b),{type:"CUSTOM_FIELD_VALUE",value:a&&Nta(a)};case "google.devtools.issuetracker.v1.IssueAccessLimit":return a=
$h(a,Ej,b),{type:"ISSUE_ACCESS_LIMIT",value:a&&gta(a)};case "google.devtools.issuetracker.v1.Issue.Effort":return a=$h(a,Hk,b),{type:"STRING",value:a&&Wta(a).estimate};case "google.devtools.issuetracker.v1.EntityStatus":return a=$h(a,Qj,b),{type:"ENTITY_STATUS",value:a&&tta(a)};case "google.devtools.issuetracker.v1.GerritChange":return a=$h(a,Jk,b),{type:"GERRIT_CHANGE",value:a&&Cua(a)};default:console.error("Unhandled type in parseProtoAny: "+b)}}},Cya=function(a){var b,c;return{issueId:String(a.getIssueId_asLegacyNumberOrString()),
version:a.getVersion(),author:wj(a.getAuthor()),timestamp:lj(a.getTimestamp()),fieldUpdates:a.getFieldUpdatesList().map(Bya).filter(Gi),attachments:a.getAttachmentsList().map(Dta),comment:a.hasIssueComment()&&((b=a.getIssueComment())==null?void 0:b.getIssueId_asLegacyNumberOrString())!==0?fua(a.getIssueComment()):void 0,statusUpdate:a.hasStatusUpdate()?yua(a.getStatusUpdate()):void 0,statusUpdateEntityStatus:((c=a.getStatusUpdate())==null?0:c.getEntityStatus())?tta(a.getStatusUpdate().getEntityStatus()):
void 0}},Bya=function(a){var b=a.getField();if(Dya.has(b)){var c=xj(a,Eya);switch(c){case 3:a:{if(c=bk(a,Fya,3,Eya)){a=Aya(Gj(c,Om,1));var d=Aya(Gj(c,Om,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:Gya(bk(a,Hya,4,Eya))};default:console.error("Unexpected ValueUpdate oneof in Proto for field id:"+c)}}else console.error('Unexpected IssueStateMask value: "'+
b+'"')},Gya=function(a){if(a){var b=Yj(a,Om,1,Ai()).map(Aya).filter(Gi);a=Yj(a,Om,2,Ai()).map(Aya).filter(Gi);var c=[].concat(r(b),r(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})}}},Pm=function(a){return new hi(a.year,a.month-1,a.day)},Qm=function(a){return{month:a.getMonth()+1,day:a.getDate(),year:a.getFullYear()}},Iya=function(a){return!(!a||a.day==null||a.month==null||a.year==null)},Rm=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},Sm=function(a){a=Rm(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},Jya=function(a){return a?Qm(ji(a)):null},Kya=function(a){return a?(a=yk(a),isNaN(a)?null:a):null},Mya=function(a){return Lya.format(Pm(a))},Pya=function(a){var b=a.fieldUpdates.map(function(c){return Nya(c,
a)}).filter(Gi);a.statusUpdate&&b.push({name:"statusUpdate",displayName:"Status Update",type:"STATUS_UPDATE",important:!1,timestamp:Pi(a.timestamp),statusUpdateDiff:a.statusUpdateEntityStatus?{entityStatus:a.statusUpdateEntityStatus}:void 0});return Oya(b)},Oya=function(a){var b=a.filter(function(h){return h.name==="status"});a=a.filter(function(h){return h.name!=="status"});var c=[].concat(r(a),r(b));b=[];a=void 0;c=l(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},Nya=function(a,b){var c=Pi(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:Tm(e.oldValue),newValue:Tm(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(Ii),removed:e.removed.map(Ii)};case "blocking_issue_ids":return e=a.collectionUpdate,{name:"blockingId",displayName:"Blocking",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Ii),removed:e.removed.map(Ii)};case "canonical_issue_id":return e=a.singleValueUpdate,{name:"canonicalId",displayName:"Canonical",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:Ei(e.oldValue),newValue:Ei(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(Tm),removed:e.removed.map(Tm)};case "collaborators":return e=a.collectionUpdate,{name:"collaborators",displayName:"Collaborators",type:"USER_COLLECTION",important:!1,timestamp:c,isUser:!0,added:e.added.map(Tm),removed:e.removed.map(Tm)};case "child_issue_ids":return e=a.collectionUpdate,{name:"childIssueIds",displayName:"Child Issue",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Ii),removed:e.removed.map(Ii)};
case "code_changes":return e=a.collectionUpdate,Object.assign({},{name:"changelist",displayName:"Changelist",important:!1,timestamp:c},Ji()?{type:"LINKED_COLLECTION",added:e.added.map(Sra),removed:e.removed.map(Sra)}:{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=Ei(f.oldValue))!=null?e:"",newValue:(h=Ei(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:Qya(e.oldValue),newValue:Qya(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(Ii),removed:e.removed.map(Ii)};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(xa){return Tra(xa)}),removed:e.removed.map(function(xa){return Tra(xa)})};
case "hotlist_ids":return e=a.collectionUpdate,{name:"hotlist",displayName:"Hotlist",type:"LINKED_COLLECTION",important:!1,timestamp:c,added:e.added.map(Ura),removed:e.removed.map(Ura)};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 k;return{name:"isArchived",displayName:"Archived",
type:"SINGLE_VALUE",important:!b||e.newValue,timestamp:c,oldValue:String((f=e.oldValue)!=null?f:!1),newValue:String((k=e.newValue)!=null?k:!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(Ii),removed:e.removed.map(Ii)};case "postmortems":return e=a.collectionUpdate,Object.assign({},{name:"postmortem",displayName:"Postmortem",timestamp:c,important:!1},Ji()?{type:"LINKED_COLLECTION",
added:e.added.map(Vra),removed:e.removed.map(Vra)}:{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?Fk[e.oldValue]:"",newValue:e.newValue!=null?Fk[e.newValue]:""};case "retention":e=a.singleValueUpdate;var q,t;return{name:"retention",displayName:"Retention",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(q=Rya(e.oldValue))!=null?q:"",
newValue:(t=Rya(e.newValue))!=null?t:""};case "reporter":return e=a.singleValueUpdate,{name:"reporter",displayName:"Reporter",type:"SINGLE_VALUE",important:!1,timestamp:c,isUser:!0,oldValue:Tm(e.oldValue),newValue:Tm(e.newValue)};case "severity":return e=a.singleValueUpdate,{name:"severity",displayName:"Severity",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:e.oldValue!=null?Bua[e.oldValue]:"",newValue:e.newValue!=null?Bua[e.newValue]:""};case "slo_snooze_until":e=a.singleValueUpdate;var w,
y,D,G;return{name:"sloStartTime",displayName:"SLO Start Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((D=(w=e.oldValue)==null?void 0:w.seconds)!=null?D:"<none>"),newValue:String((G=(y=e.newValue)==null?void 0:y.seconds)!=null?G:"<none>")};case "slo_end_time":e=a.singleValueUpdate;var I,N,S,W;return{name:"sloEndTime",displayName:"SLO End Date",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:String((S=(I=e.oldValue)==null?void 0:I.seconds)!=null?S:"<none>"),newValue:String((W=
(N=e.newValue)==null?void 0:N.seconds)!=null?W:"<none>")};case "status":e=a.singleValueUpdate;var Z,fa;return{name:"status",displayName:"Status",type:"SINGLE_VALUE",important:!0,timestamp:c,oldValue:ni((Z=Um.get(e.oldValue))!=null?Z:""),newValue:ni((fa=Um.get(e.newValue))!=null?fa:"")};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 ma,
ua;return{name:"title",displayName:"Title",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(ma=e.oldValue)!=null?ma:"",newValue:(ua=e.newValue)!=null?ua:""};case "type":e=a.singleValueUpdate;var Ua,ha;return{name:"type",displayName:"Type",type:"SINGLE_VALUE",important:!1,timestamp:c,oldValue:(Ua=Sya.get(e.oldValue))!=null?Ua:"",newValue:(ha=Sya.get(e.newValue))!=null?ha:""};case "verifier":return e=a.singleValueUpdate,{name:"verifier",displayName:"Verifier",type:"SINGLE_VALUE",important:!1,
timestamp:c,isUser:!0,oldValue:Tm(e.oldValue),newValue:Tm(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":break;default:Bc(d,"Unexpected IssueStateMask in fieldUpdateToDiff")}},Tm=function(a){return Fra()(yi(a))},Qya=function(a){var b;a==null?b="<none>":b=a.textValue!=null?
a.textValue:a.dateValue!=null?Mya(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(Mya).join(", "):a.repeatedEnumValue!=null?a.repeatedEnumValue.values.join(", "):a.repeatedNumericValue!=null?a.repeatedNumericValue.values.map(String).join(", "):"";return b},Rya=function(a){if(a!=null)switch(Eua[a]){case "COMPONENT_DEFAULT":return"Component Default";
case "INDEFINITE":return"Indefinite"}},Wya=function(a){var b=void 0,c=void 0;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.updates.flatMap(function(w){return w.fieldUpdates}),f=void 0,h=(f=La(e.filter(function(w){return w.field==="assignee"})))==null?void 0:f.singleValueUpdate;h&&(b=Tya(h));f=void 0;var k=(f=La(e.filter(function(w){return w.field==="verifier"})))==null?void 0:f.singleValueUpdate;k&&(c=Tya(k));f=void 0;k=(f=La(e.filter(function(w){return w.field==="status"})))==null?
void 0:f.singleValueUpdate;var q=void 0;f=(q=La(e.filter(function(w){return w.field==="canonical_issue_id"})))==null?void 0:q.singleValueUpdate;q=void 0;e=(q=La(e.filter(function(w){return w.field==="is_archived"})))==null?void 0:q.singleValueUpdate;if(k){q=k.oldValue!=null?Ek[k.oldValue]:void 0;k=k.newValue!=null?Ek[k.newValue]:void 0;var t=void 0;f=Ei((t=f)==null?void 0:t.newValue);Uya(d,Vya({oldStatus:q,newStatus:k,currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h}))}else h&&
b?Uya(d,[Vm("Reassigned to "),Wm(b),Vm(".")]):f&&(k=void 0,f=Ei((k=f)==null?void 0:k.newValue),Uya(d,Vya({oldStatus:"DUPLICATE",newStatus:"DUPLICATE",currentAssignee:b,currentVerifier:c,canonicalIssueId:f,assigneeChanged:!!h})));e&&Uya(d,[Vm(e.newValue?"Archived.":"Unarchived.")])}},Vya=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&&$i[b];var h=c&&$i[c];if(b&&h&&!b.open&&h.open)return[Vm("Status: "+
h.displayValue+" (reopened)")];switch(c){case "ASSIGNED":if(d)return[Vm("Assigned to "),Wm(d),Vm(".")];break;case "ACCEPTED":if(d)return[Vm("Accepted by "),Wm(d),Vm(".")];break;case "FIXED":return a&&d?[Vm("Marked as fixed, reassigned to "),Wm(d),Vm(".")]:[Vm("Marked as fixed.")];case "VERIFIED":if(e)return[Vm("Verified by "),Wm(e),Vm(".")];break;case "DUPLICATE":if(f)return[Vm("Status: Duplicate of "),{text:f,tag:"bug"}]}return[Vm("Status: "+ni(h.displayValue))]},Tya=function(a){if(a)return a.newValue},
Vm=function(a){return{text:a,tag:""}},Wm=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 Vm(a.obfuscatedEmailAddress);break;case "DELETED":return Vm("Deleted User");case "UNAVAILABLE":return Vm("Unavailable User");default:return console.warn("Unexpected User Gaia status in userToTaggedText"),{text:""}}return Vm("User")},Zya=function(a){if(!a.length)return[];a=lsa(a,function(b){return b.issueId}).flatMap(Xya);
return Yya(a,"DESCENDING")},Xya=function(a){if(!a.length)return[];a=$ya(a);Wya(a);return a.map(function(b){return aza(b)}).filter(bza)},bza=function(a){var b;return a.postDiffs.length||a.preDiffs.length||a.commentNumber||a.attachments.length||((b=a.taggedSummary)==null?void 0:b.length)},$ya=function(a){var b=cza(a,"ASCENDING");a=[new dza];b=l(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 k=c.author;h=!(h===k||(h.emailAddress||k.emailAddress?h.emailAddress===k.emailAddress:(h.obfuscatedEmailAddress||k.obfuscatedEmailAddress)&&h.obfuscatedEmailAddress===k.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(Pi(f)-Pi(c.timestamp))>36E5;e=h?!1:!0}}e?eza(d,c):a.push(eza(new dza,c))}return a},fza=function(a){var b={};if(a==null)return b;a=Yj(a,Xm,1,Ai());
a=l(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},gza=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})},iza=function(a,b){return b.map(function(c){return c.replace(hza,a)})},jza=function(a){var b=new Map;
a.length>0&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");d=l(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},mza=function(a){return encodeURIComponent(a).replace(kza,function(b,c){var d;return(d=lza[c])!=null?d:b})},nza=function(a){return""+a},oza=function(a){return typeof ArrayBuffer!=="undefined"&&a instanceof ArrayBuffer},pza=function(a){return typeof Blob!==
"undefined"&&a instanceof Blob},qza=function(a){return typeof FormData!=="undefined"&&a instanceof FormData},rza=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}},sza=function(a){return a.url?a.url:a.headers.get("X-Request-URL".toLocaleLowerCase())},tza=function(){},uza=function(a,b){return b(a)},vza=function(a,b){return function(c,
d){return b.intercept(c,{handle:function(e){return a(e,d)}})}},wza=function(a,b,c){return function(d,e){return od(c,function(){return b(d,function(f){return a(f,e)})})}},Aza=function(a,b){var c=a.url.toLowerCase();if(!Xc(xza)||a.method==="GET"||a.method==="HEAD"||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=Xc(yza).getToken();var d=Xc(zza);c==null||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},Cza=function(){if(Bza===void 0&&(Bza=null,typeof window!==
"undefined")){var a=window;a.trustedTypes!==void 0&&(Bza=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return Bza},Dza=function(a){var b;return((b=Cza())==null?void 0:b.createHTML(a))||a},Eza=function(){var a=Xc(vh),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},Fza=function(a){if(a&1){var b=u();F(0,"div",1)(1,"button",2);O("click",function(){v(b);var c=P();return x(c.action())});Q(2);H()()}a&2&&(a=P(),A(2),R(" ",a.data.action,
" "))},Gza=function(){},Hza=function(a){a&1&&(F(0,"span",6),Q(1),H());a&2&&(a=P(),A(),yg(a.data.message))},Iza=function(a){a&1&&J(0,"span",7);a&2&&(a=P(),E("innerHtml",a.data.htmlMessage,bf))},Jza=function(a){if(a&1){var b=u();F(0,"button",8);O("click",function(){v(b);var c=P();return x(c.snackBarRef.dismissWithAction())});Q(1);H()}a&2&&(a=P(),A(),R(" ",a.data.actionLabel," "))},Kza=function(a){if(a&1){var b=u();F(0,"button",8);O("click",function(){v(b);var c=P();return x(c.snackBarRef.dismiss())});
Q(1);H()}a&2&&(a=P(),A(),R(" ",a.data.dismissLabel," "))},Lza=function(a){if(a&1){var b=u();F(0,"button",9);O("click",function(){v(b);var c=P();return x(c.snackBarRef.dismiss())});J(1,"mat-icon",10);H()}},Mza=function(a){var b;return((b=a.error)==null?void 0:b.message)!==void 0},Ym=function(a){return!!a&&Wa(a)&&(!!a.data&&a.data.message!==void 0||Mza(a))},Zm=function(a){return a.data&&a.data.message!==void 0&&a.data&&a.data.message?a.data.message:Mza(a)&&a.error&&a.error.message?a.error.message:""},
Nza=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}},$m=function(a,b){var c=a?Oza(a):void 0,d=b?Oza(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!Pza(a[d],b[d]))return!1;return!0},Oza=function(a){return[].concat(r(Object.keys(a)),
r(Object.getOwnPropertySymbols(a)))},Pza=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(r(a)).sort();var c=[].concat(r(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},an=function(a){return Uha(a)?a:jf(a)?fe(Promise.resolve(a)):pe(a)},Sza=function(a,b,c){return Qza[c.paths](a.root,b.root,c.matrixParams)&&Rza[c.queryParams](a.queryParams,b.queryParams)&&!(c.fragment==="exact"&&a.fragment!==b.fragment)},Tza=function(a,b){return $m(a,
b)},Vza=function(a,b,c){if(!bn(a.segments,b.segments)||!Uza(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!Vza(a.children[d],b.children[d],c))return!1;return!0},Wza=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return Pza(a[c],b[c])})},Yza=function(a,b,c){return Xza(a,b,b.segments,c)},Xza=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),
bn(a,c)&&!b.hasChildren()&&Uza(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!bn(a.segments,c)||!Uza(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!Yza(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 bn(a.segments,e)&&Uza(a.segments,e,d)&&a.children.primary?Xza(a.children.primary,b,c,d):!1},Uza=function(a,b,c){return b.every(function(d,e){return Rza[c](a[e].parameters,d.parameters)})},Zza=function(a,b){return bn(a,
b)&&a.every(function(c,d){return $m(c.parameters,b[d].parameters)})},bn=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},$za=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=l(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=l(d);d=e.next().value;e=e.next().value;d!=="primary"&&(c=c.concat(b(e,d)))});return c},cAa=function(a){return a.segments.map(function(b){return aAa(b.path)+
bAa(b.parameters)}).join("/")},cn=function(a,b){if(!a.hasChildren())return cAa(a);if(b){b=a.children.primary?cn(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;d!=="primary"&&c.push(d+":"+cn(e,!1))});return c.length>0?b+"("+c.join("//")+")":b}b=$za(a,function(d,e){return e==="primary"?[cn(a.children.primary,!1)]:[e+":"+cn(d,!1)]});return Object.keys(a.children).length===1&&a.children.primary!=null?cAa(a)+"/"+b[0]:cAa(a)+
"/("+b.join("//")+")"},dAa=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},eAa=function(a){return dAa(a).replace(/%3B/gi,";")},aAa=function(a){return dAa(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},bAa=function(a){return Object.entries(a).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return";"+aAa(b)+"="+aAa(c)}).join("")},fAa=function(a){a=Object.entries(a).map(function(b){b=l(b);var c=
b.next().value;b=b.next().value;return Array.isArray(b)?b.map(function(d){return eAa(c)+"="+eAa(d)}).join("&"):eAa(c)+"="+eAa(b)}).filter(function(b){return b});return a.length?"?"+a.join("&"):""},hAa=function(a){return(a=a.match(gAa))?a[0]:""},iAa=function(a){var b={};return a.segments.length>0?new dn([],(b.primary=a,b)):a},jAa=function(a){for(var b={},c=l(Object.entries(a.children)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e=jAa(e);if(d==="primary"&&e.segments.length===
0&&e.hasChildren())for(d=l(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var f=l(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 dn(a.segments,b);a.numberOfChildren===1&&a.children.primary&&(b=a.children.primary,a=new dn(a.segments.concat(b.segments),b.children));return a},fn=function(a){return a instanceof en},kAa=function(a){function b(f){for(var h={},k=l(f.children),q=k.next();!q.done;q=k.next()){q=q.value;var t=b(q);h[q.outlet]=
t}h=new dn(f.url,h);f===a&&(c=h);return h}var c,d=b(a.root);d=iAa(d);var e;return(e=c)!=null?e:d},qAa=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(b.length===0)return lAa(e,e,e,c,d);b=mAa(b);if(b.isAbsolute&&b.commands.length===1&&b.commands[0]=="/")return lAa(e,e,new dn([],{}),c,d);var f=e;if(b.isAbsolute)a=new nAa(f,!0,0);else if(a)if(a.parent===null)a=new nAa(a,!0,0);else{f=a;a=a.segments.length-1+(oAa(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;f=f.parent;if(!f)throw new Jc(4005,
!1);a=f.segments.length}a=new nAa(f,!1,a-h)}else a=new nAa(f,!1,NaN);b=a.processChildren?gn(a.segmentGroup,a.index,b.commands):pAa(a.segmentGroup,a.index,b.commands);return lAa(e,a.segmentGroup,b,c,d)},oAa=function(a){return typeof a==="object"&&a!=null&&!a.outlets&&!a.segmentPath},hn=function(a){return typeof a==="object"&&a!=null&&a.outlets},lAa=function(a,b,c,d,e){var f={};d&&Object.entries(d).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;f[h]=Array.isArray(k)?k.map(function(q){return""+
q}):""+k});a=a===b?c:rAa(a,b,c);a=iAa(jAa(a));return new en(a,f,e)},rAa=function(a,b,c){var d={};Object.entries(a.children).forEach(function(e){var f=l(e);e=f.next().value;f=f.next().value;d[e]=f===b?c:rAa(f,b,c)});return new dn(a.segments,d)},mAa=function(a){if(typeof a[0]==="string"&&a.length===1&&a[0]==="/")return new sAa(!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(k){var q=l(k);k=q.next().value;
q=q.next().value;h[k]=typeof q==="string"?q.split("/"):q});return[].concat(r(d),[{outlets:h}])}if(e.segmentPath)return[].concat(r(d),[e.segmentPath])}return typeof e!=="string"?[].concat(r(d),[e]):f===0?(e.split("/").forEach(function(k,q){if(q!=0||k!==".")q==0&&k===""?c=!0:k===".."?b++:k!=""&&d.push(k)}),d):[].concat(r(d),[e])},[]);return new sAa(c,b,a)},tAa=function(a){if(hn(a[0]))return a[0].outlets;var b={};return b.primary=a,b},pAa=function(a,b,c){a!=null||(a=new dn([],{}));if(a.segments.length===
0&&a.hasChildren())return gn(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 k=d.segments[f],q=c[e];if(hn(q))break;q=""+q;var t=e<c.length-1?c[e+1]:null;if(f>0&&q===void 0)break;if(q&&t&&typeof t==="object"&&t.outlets===void 0){if(q!=k.path||!$m(t,k.parameters)){d=h;break a}e+=2}else{t={};if(q!=k.path||!$m(t,k.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 dn(a.segments.slice(0,d.pathIndex),{}),b.children.primary=new dn(a.segments.slice(d.pathIndex),a.children),gn(b,0,e)):d.match&&e.length===0?new dn(a.segments,{}):d.match&&!a.hasChildren()?uAa(a,b,c):d.match?gn(a,0,e):uAa(a,b,c)},gn=function(a,b,c){if(c.length===0)return new dn(a.segments,{});var d=tAa(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=gn(a.children.primary,
b,c),new dn(a.segments,c.children);Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;typeof h==="string"&&(h=[h]);h!==null&&(e[f]=pAa(a.children[f],b,h))});Object.entries(a.children).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;d[f]===void 0&&(e[f]=h)});return new dn(a.segments,e)},uAa=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var f=c[e];if(hn(f))return a=vAa(f.outlets),new dn(d,a);if(e===0&&oAa(c[0]))d.push(new jn(a.segments[b].path,
wAa(c[0]))),e++;else{f=hn(f)?f.outlets.primary:""+f;var h=e<c.length-1?c[e+1]:null;f&&h&&oAa(h)?(d.push(new jn(f,wAa(h))),e+=2):(d.push(new jn(f,{})),e++)}}return new dn(d,{})},vAa=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;typeof d==="string"&&(d=[d]);d!==null&&(b[c]=uAa(new dn([],{}),0,d))});return b},wAa=function(a){var b={};Object.entries(a).forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},
xAa=function(a,b){a.providers&&!a._injector&&(a._injector=Oja(a.providers,b,"Route: "+a.path));var c;return(c=a._injector)!=null?c:b},kn=function(a){return a.outlet||"primary"},yAa=function(a,b){var c=a.filter(function(d){return kn(d)===b});c.push.apply(c,r(a.filter(function(d){return kn(d)!==b})));return c},ln=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},zAa=function(a,b){if(a===b.value)return b;b=l(b.children);for(var c=b.next();!c.done;c=b.next())if(c=zAa(a,c.value))return c;return null},AAa=function(a,b){if(a===b.value)return[b];for(var c=l(b.children),d=c.next();!d.done;d=c.next())if(d=AAa(a,d.value),d.length)return d.unshift(b),d;return[]},mn=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},BAa=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[nn]=
d.title);return a},CAa=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return CAa(a,c)})},DAa=function(a){var b=a.children.length>0?" { "+a.children.map(DAa).join(", ")+" } ":"";return""+a.value+b},EAa=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;$m(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);$m(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(!$m(d[f],e[f])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);$m(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},FAa=function(a,b){var c=$m(a.params,b.params)&&Zza(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||FAa(a.parent,b.parent))},GAa=function(a){var b=a.children&&a.children.map(GAa);a=b?Object.assign({},a,{children:b}):Object.assign({},
a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||a.outlet==="primary"||(a.component=on);return a},JAa=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=HAa(a,b,c);return new pn(d,b)}d=IAa(b.value);b=b.children.map(function(e){return JAa(a,e)});return new pn(d,b)},HAa=function(a,b,c){return b.children.map(function(d){for(var e=l(c.children),f=e.next();!f.done;f=e.next())if(f=f.value,a.shouldReuseRoute(d.value,f.value.snapshot))return JAa(a,
d,f);return JAa(a,d)})},IAa=function(a){return new qn(new rn(a.url),new rn(a.params),new rn(a.queryParams),new rn(a.fragment),new rn(a.data),a.outlet,a.component,a)},LAa=function(a){var b=fn(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a;a=b.redirectTo;b=b.navigationBehaviorOptions;var c=KAa(0);c.url=a;c.navigationBehaviorOptions=b;return c},KAa=function(a){var b=Error("Ic`");b.ngNavigationCancelingError=!0;b.cancellationCode=a;return b},MAa=function(a){return!!a&&a.ngNavigationCancelingError},
sn=function(){return Cf(function(a){return we(a.map(function(b){return b.pipe(qf(),Bf(NAa))})).pipe(z(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c!==!0){if(c===NAa)return NAa;if(c===!1||fn(c))return c}return!0}),He(function(b){return b!==NAa}),qf())})},tn=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?typeof a!=="function"||Iea(a)!==null?b.get(a):a:d},un=function(a,b,c,d,e){e=e===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:e;var f=mn(b);a.children.forEach(function(h){var k=
f[h.value.outlet],q=d.concat([h.value]),t=e;t=t===void 0?{canDeactivateChecks:[],canActivateChecks:[]}:t;var w=h.value,y=k?k.value:null,D=c?c.getContext(h.value.outlet):null;if(y&&w.routeConfig===y.routeConfig){var G=OAa(y,w,w.routeConfig.runGuardsAndResolvers);G?t.canActivateChecks.push(new PAa(q)):(w.data=y.data,w._resolvedData=y._resolvedData);w.component?un(h,k,D?D.children:null,q,t):un(h,k,c,q,t);G&&D&&D.outlet&&D.outlet.isActivated&&t.canDeactivateChecks.push(new QAa(D.outlet.component,y))}else y&&
vn(k,D,t),t.canActivateChecks.push(new PAa(q)),w.component?un(h,null,D?D.children:null,q,t):un(h,null,c,q,t);delete f[h.value.outlet]});Object.entries(f).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;return vn(k,c.getContext(h),e)});return e},OAa=function(a,b,c){if(typeof c==="function")return c(a,b);switch(c){case "pathParamsChange":return!bn(a.url,b.url);case "pathParamsOrQueryParamsChange":return!bn(a.url,b.url)||!$m(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!FAa(a,
b)||!$m(a.queryParams,b.queryParams);default:return!FAa(a,b)}},vn=function(a,b,c){var d=mn(a),e=a.value;Object.entries(d).forEach(function(f){var h=l(f);f=h.next().value;h=h.next().value;e.component?b?vn(h,b.children.getContext(f),c):vn(h,null,c):vn(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new QAa(b.outlet.component,e)):c.canDeactivateChecks.push(new QAa(null,e)):c.canDeactivateChecks.push(new QAa(null,e))},wn=function(a){return typeof a==="function"},RAa=
function(a){return a instanceof re||(a==null?void 0:a.name)==="EmptyError"},UAa=function(a,b){return ye(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?pe(Object.assign({},c,{guardsResult:!0})):SAa(f,d,e,a).pipe(ye(function(k){return k&&typeof k==="boolean"?TAa(d,h,a,b):pe(k)}),z(function(k){return Object.assign({},c,{guardsResult:k})}))})},SAa=function(a,b,c,d){return fe(a).pipe(ye(function(e){return VAa(e.component,
e.route,c,b,d)}),uf(function(e){return e!==!0},!0))},TAa=function(a,b,c,d){return fe(b).pipe(nf(function(e){var f=e.route.parent;f!==null&&d&&d(new WAa(f));f=pe(!0);var h=e.route;h!==null&&d&&d(new XAa(h));h=pe(!0);return Ae(f,h,YAa(a,e.path,c),ZAa(a,e.route,c))}),uf(function(e){return e!==!0},!0))},ZAa=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||d.length===0)return pe(!0);d=d.map(function(e){return Be(function(){var f,h=(f=ln(b))!=null?f:c,k=tn(e,h);f=k&&wn(k.canActivate)?
k.canActivate(b,a):od(h,function(){return k(b,a)});return an(f).pipe(uf())})});return pe(d).pipe(sn())},YAa=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 Be(function(){var f=e.guards.map(function(h){var k,q=(k=ln(e.node))!=null?k:c,t=tn(h,q);h=t&&wn(t.canActivateChild)?t.canActivateChild(d,a):od(q,
function(){return t(d,a)});return an(h).pipe(uf())});return pe(f).pipe(sn())})});return pe(b).pipe(sn())},VAa=function(a,b,c,d,e){var f=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!f||f.length===0)return pe(!0);f=f.map(function(h){var k,q=(k=ln(b))!=null?k:e,t=tn(h,q);h=t&&wn(t.canDeactivate)?t.canDeactivate(a,b,c,d):od(q,function(){return t(a,b,c,d)});return an(h).pipe(uf())});return pe(f).pipe(sn())},aBa=function(a,b,c){var d=b.canLoad;if(d===void 0||d.length===0)return pe(!0);d=d.map(function(e){var f=
tn(e,a);e=f&&wn(f.canLoad)?f.canLoad(b,c):od(a,function(){return f(b,c)});return an(e)});return pe(d).pipe(sn(),$Aa())},$Aa=function(){return be(Ef(function(a){if(typeof a!=="boolean")throw LAa(a);}),z(function(a){return a===!0}))},bBa=function(a,b,c){var d=b.canMatch;if(!d||d.length===0)return pe(!0);d=d.map(function(e){var f=tn(e,a);e=f&&wn(f.canMatch)?f.canMatch(b,c):od(a,function(){return f(b,c)});return an(e)});return pe(d).pipe(sn(),$Aa())},xn=function(a){return qe(new cBa(a))},fBa=function(a,
b,c,d){var e=dBa(a,b,c);if(!e.matched)return pe(e);d=xAa(b,d);return bBa(d,b,c).pipe(z(function(f){return f===!0?e:Object.assign({},eBa)}))},dBa=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({},eBa):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};
a=(b.matcher||Nza)(c,a,b);if(!a)return Object.assign({},eBa);var d={},e;Object.entries((e=a.posParams)!=null?e:{}).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;d[h]=k.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:{}}},jBa=function(a,b,c,d){if(c.length>0&&gBa(a,c,d)){var e=dn;
a=new dn(c,a.children);c={};c.primary=a;a=l(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,d.path===""&&kn(d)!=="primary"){var f=new dn([],{});c[kn(d)]=f}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(c.length===0&&hBa(a,c,d)){b=dn;e=a.segments;f=a.children;var h={};d=l(d);for(var k=d.next();!k.done;k=d.next())if(k=k.value,iBa(a,c,k)&&!f[kn(k)]){var q=new dn([],{});h[kn(k)]=q}a=Object.assign({},f,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new dn(a.segments,a.children),
slicedSegments:c};return c},gBa=function(a,b,c){return c.some(function(d){return iBa(a,b,d)&&kn(d)!=="primary"})},hBa=function(a,b,c){return c.some(function(d){return iBa(a,b,d)})},iBa=function(a,b,c){return(a.hasChildren()||b.length>0)&&c.pathMatch==="full"?!1:c.path===""},kBa=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)})},lBa=function(a){return(a=a.value.routeConfig)&&a.path===""},mBa=function(a){var b=
[],c=new Set;a=l(a);for(var d=a.next(),e={};!d.done;e={node$jscomp$153:void 0},d=a.next())e.node$jscomp$153=d.value,lBa(e.node$jscomp$153)?(d=b.find(function(f){return function(h){return f.node$jscomp$153.value.routeConfig===h.value.routeConfig}}(e)),d!==void 0?(d.children.push.apply(d.children,r(e.node$jscomp$153.children)),c.add(d)):b.push(e.node$jscomp$153)):b.push(e.node$jscomp$153);a=l(c);for(e=a.next();!e.done;e=a.next())e=e.value,d=mBa(e.children),b.push(new pn(e.value,d));return b.filter(function(f){return!c.has(f)})},
oBa=function(a,b,c,d,e,f){return ye(function(h){return(new nBa(a,b,c,d,h.extractedUrl,f===void 0?"emptyOnly":f,e)).recognize().pipe(z(function(k){return Object.assign({},h,{targetSnapshot:k.state,urlAfterRedirects:k.tree})}))})},rBa=function(a,b){return ye(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return pe(c);var f=new Set(e.map(function(w){return w.route})),h=new Set;e=l(f);for(var k=e.next();!k.done;k=e.next())if(k=k.value,!h.has(k)){k=l(pBa(k));for(var q=k.next();!q.done;q=
k.next())h.add(q.value)}var t=0;return fe(h).pipe(nf(function(w){if(f.has(w))return qBa(w,d,a,b);w.data=BAa(w,w.parent,a).resolve;return pe(void 0)}),Ef(function(){return t++}),dka(),ye(function(){return t===h.size?pe(c):Fe}))})},pBa=function(a){var b=a.children.map(function(c){return pBa(c)}).flat();return[a].concat(r(b))},qBa=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[nn]=e.title);return sBa(f,a,b,d).pipe(z(function(h){a._resolvedData=
h;a.data=BAa(a,a.parent,c).resolve;return null}))},sBa=function(a,b,c,d){var e=Oza(a);if(e.length===0)return pe({});var f={};return fe(e).pipe(ye(function(h){return tBa(a[h],b,c,d).pipe(uf(),Ef(function(k){f[h]=k}))}),dka(),vf(f),lf(function(h){return RAa(h)?Fe:qe(h)}))},tBa=function(a,b,c,d){var e,f=(e=ln(b))!=null?e:d,h=tn(a,f);a=h.resolve?h.resolve(b,c):od(f,function(){return h(b,c)});return an(a)},uBa=function(a){return Cf(function(b){var c=a(b);return c?fe(c).pipe(z(function(){return b})):pe(b)})},
zBa=function(a,b,c){return an(a.loadChildren()).pipe(z(vBa),ye(function(d){return d instanceof wBa||Array.isArray(d)?pe(d):fe(Promise.resolve(new xBa(d)))}),z(function(d){c&&c(a);if(!Array.isArray(d)){var e=d.create(b).injector;d=e.get(yBa,[],{optional:!0,self:!0}).flat()}return{routes:d.map(GAa),injector:e}}))},vBa=function(a){return a&&typeof a==="object"&&"default"in a?a["default"]:a},CBa=function(a,b,c){var d=a.get(ABa),e=a.get(vh);return a.get(Me).runOutsideAngular(function(){if(!e.startViewTransition||
d.skipNextTransition)return d.skipNextTransition=!1,new Promise(function(t){return setTimeout(t)});var f,h=new Promise(function(t){f=t}),k=e.startViewTransition(function(){f();return BBa(a)}),q=d.onViewTransitionCreated;q&&od(a,function(){return q({transition:k,from:b,to:c})});return h})},BBa=function(a){return new Promise(function(b){Pe({read:function(){return setTimeout(b)}},{injector:a})})},DBa=function(a,b){a.events.pipe(He(function(c){return c instanceof yn||c instanceof zn||c instanceof An||
c instanceof Bn}),z(function(c){return c instanceof yn||c instanceof Bn?0:c instanceof zn&&(c.code===0||c.code===1)?2:1}),He(function(c){return c!==2}),qf()).subscribe(function(){b()})},EBa=function(a){throw a;},Cn=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},FBa=function(a){return(new Dn).setIt(sva(a))},En=function(a){return tva(a.getIt())},GBa=function(a){return zva(Gj(a,Fn,1).getIt())},HBa=function(a){return wva(a.getIt())},IBa=function(a){return HBa(a.getSearch())},JBa=function(a){return Yj(a,
Gn,1,Ai()).map(HBa)},KBa=function(a){return{id:String(a.hotlistId),name:a.name,description:a.description,adminUsers:a.adminUsers,starred:!0,resourceType:"HOTLIST"}},LBa=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,k,q;return{id:String(a.savedSearchId),
name:a.name,description:(k=(f=a.savedSearch)==null?void 0:f.description)!=null?k:"",adminUsers:(q=(h=a.savedSearch)==null?void 0:h.adminUsers)!=null?q:[],starred:!0,resourceType:"SAVED_SEARCH"};case "BOOKMARK_GROUP":throw Error("Oc");default:Bc(a.resourceType,"Unexpected type in bookmarkItemToLink")}},MBa=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(LBa)}},
QBa=function(a,b,c){var d=new Map,e=new Map,f=new Map,h=new Map,k=new Map;b=l(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(r(d.values())).flatMap(function(t){var w;return(w=t.item)!=null?w:[]});b=new Set(b.filter(function(t){return t.resourceType==="HOTLIST"}).map(function(t){return t.hotlistId}));a=l(a);for(q=a.next();!q.done;q=a.next())q=q.value,b.has(q.hotlistId)||(q.archived?h.set(q.hotlistId,KBa(q)):f.set(q.hotlistId,
KBa(q)));c=l(c);for(a=c.next();!a.done;a=c.next())a=a.value,k.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:NBa([].concat(r(d.values())).map(MBa)),archivedBookmarkGroups:NBa([].concat(r(e.values())).map(MBa)),hotlists:OBa(f.values()),archivedHotlists:OBa(h.values()),savedSearches:PBa(k.values())}},RBa=function(a,b){var c=new Set(b.hotlists.map(function(k){return k.hotlistId})),
d=new Set(b.bookmarkGroups.map(function(k){return k.bookmarkGroupId}));b=new Set(b.savedSearches.map(function(k){return k.searchId}));for(var e=l([].concat(r(a.hotlists),r(a.archivedHotlists))),f=e.next();!f.done;f=e.next())f=f.value,f.starred=c.has(Number(f.id));e=l([].concat(r(a.bookmarkGroups),r(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=l((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("Pc");}}c=l(a.savedSearches);for(d=c.next();!d.done;d=c.next())d=d.value,d.starred=b.has(Number(d.id));return a},SBa=function(a){return a==null?{closed:0,total:0}:{closed:a.descendantCount-a.openDescendantCount,total:a.descendantCount}},TBa=function(a,b){if(a==null)return 0;var c=0;a=l(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},UBa=function(a){var b,c;return(c=a==null?void 0:(b=a.changelists)==null?void 0:b.length)!=null?c:0},VBa=function(a){var b;return(b=a==null?void 0:a.gerritChanges)!=null?b:[]},WBa=function(a){if(a==null)return[];a=[].concat(r(a.assignees.map(function(b){return b.emailAddress})),r(a.collaborators.map(function(b){return b.emailAddress})),r(a.verifiers.map(function(b){return b.emailAddress})),r(a.reporters.map(function(b){return b.emailAddress}))).filter(Gi);
return nsa(a)},XBa=function(a,b){var c;a=(c=a.componentPathInfo)==null?void 0:c.allCustomField;if(!a)return!0;c=l(a);var d=c.next();for(a={};!d.done;a={customField$jscomp$6:void 0},d=c.next())if(a.customField$jscomp$6=d.value,a.customField$jscomp$6.required){d=!!a.customField$jscomp$6.typedDefaultValue;var e=void 0,f=void 0,h=(e=b)==null?void 0:(f=e.snapshot.customField)==null?void 0:f.some(function(k){return function(q){return q.customFieldId===k.customField$jscomp$6.customFieldId}}(a));if(!d&&!h)return!1}return!0},
YBa=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},ZBa=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"}},$Ba=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=YBa(b);return{title:"Allow "+(b===1?"members of the group to ":ZBa(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)+"."}},aCa=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"}},bCa=function(a){return{id:a,triage:{phase:"NEW",needsInfo:!1}}},Hn=function(){return cCa.performance&&cCa.PerformanceObserver&&typeof window.performance.getEntriesByType==="function"&&typeof window.performance.mark==="function"&&typeof window.performance.measure===
"function"},dCa=function(a){var b=a.name;if(b!=null&&(a=Math.round(a.duration),!isNaN(a))){var c=l(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}}},fCa=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(eCa);if(b!=null){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},jCa=function(){var a=window.performance.getEntries(),
b=fCa(a);if(b==null)return[];var c=b.startTime;return a.filter(gCa).filter(hCa).filter(iCa).filter(function(d){return d.startTime<=c})},eCa=function(a){var b=a.entryType;a=a.name;return b==="measure"&&a.indexOf("browserStart")===0},gCa=function(a){return a.name.indexOf("Zone")!==0},iCa=function(a){return a.entryType==="resource"},kCa=function(a){return a.initiatorType==="xmlhttprequest"},hCa=function(a){return a.name.match(/\.html$/)==null},lCa=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}},mCa=function(){return typeof In.gtag==="function"},nCa=function(a){if(a!=null&&!(a.duration>=3E4))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},qCa=function(a){a=a.getEntries().map(dCa).map(nCa);a=l(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}:{});oCa(b,d)}}setTimeout(pCa,100)},pCa=function(){if(!rCa){var a=jCa(),b=a.filter(function(c){return!kCa(c)}).reduce(lCa,sCa());Jn("r-until-cf","asset","count",b.count);Jn("r-until-cf","asset","transferSize",b.transferSize);Jn("r-until-cf","asset","duration",b.duration);Jn("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(kCa).reduce(lCa,
sCa());Jn("r-until-cf","xhr","count",a.count);Jn("r-until-cf","xhr","transferSize",a.transferSize);Jn("r-until-cf","xhr","duration",a.duration);rCa=!0}},Jn=function(a,b,c,d){oCa(a,Object.assign({},b!==void 0?{event_action:b}:{},c!==void 0?{event_label:c}:{},d!==void 0?{event_value:d}:{}))},oCa=function(a,b){b!=null&&(tCa("page_location","Scrubbed Page URL"),tCa("page_title","Scrubbed Page Title"),mCa()&&In.gtag("event",a,b),uCa&&hj("[stub gtag.ts] gtag('event')",a,b))},Ln=function(a,b){Kn(a,b)},tCa=
function(a,b){if(mCa()){var c={};In.gtag("set",(c[a]=b,c))}uCa&&hj("[stub gtag.ts] gtag('set', {"+a+": "+b+")}")},Kn=function(a,b){if(mCa()){var c={};In.gtag("set","user_properties",(c[a]=b,c))}uCa&&hj("[stub gtag.ts] gtag('set', 'user_properties', {"+a+": "+b+")}")},zCa=function(){var a=a===void 0?Jn:a;var b=Date.now(),c=Mn(b);Mn(vCa())!==c?a("retention","first-visit"):(c=Mn(b),Mn(vCa())===c&&wCa()===1&&a("retention","second-visit"));a=Mn(b);Mn(vCa())!==a?xCa(1):(a=wCa()||0,xCa(a+1));yCa(b)},Mn=
function(a){if(a!=null)return(new Date(a)).toLocaleDateString()},ACa=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;w=t=0}function b(y){for(var D=h,G=0;G<64;G+=4)D[G/4]=y[G]<<24|y[G+1]<<16|y[G+2]<<8|y[G+3];for(G=16;G<80;G++)y=D[G-3]^D[G-8]^D[G-14]^D[G-16],D[G]=(y<<1|y>>>31)&4294967295;y=e[0];var I=e[1],N=e[2],S=e[3],W=e[4];for(G=0;G<80;G++){if(G<40)if(G<20){var Z=S^I&(N^S);var fa=1518500249}else Z=I^N^S,fa=1859775393;else G<60?(Z=I&N|S&(I|N),
fa=2400959708):(Z=I^N^S,fa=3395469782);Z=((y<<5|y>>>27)&4294967295)+Z+W+fa+D[G]&4294967295;W=S;S=N;N=(I<<30|I>>>2)&4294967295;I=y;y=Z}e[0]=e[0]+y&4294967295;e[1]=e[1]+I&4294967295;e[2]=e[2]+N&4294967295;e[3]=e[3]+S&4294967295;e[4]=e[4]+W&4294967295}function c(y,D){if(typeof y==="string"){y=unescape(encodeURIComponent(y));for(var G=[],I=0,N=y.length;I<N;++I)G.push(y.charCodeAt(I));y=G}D||(D=y.length);G=0;if(t==0)for(;G+64<D;)b(y.slice(G,G+64)),G+=64,w+=64;for(;G<D;)if(f[t++]=y[G++],w++,t==64)for(t=
0,b(f);G+64<D;)b(y.slice(G,G+64)),G+=64,w+=64}function d(){var y=[],D=w*8;t<56?c(k,56-t):c(k,64-(t-56));for(var G=63;G>=56;G--)f[G]=D&255,D>>>=8;b(f);for(G=D=0;G<5;G++)for(var I=24;I>=0;I-=8)y[D++]=e[G]>>I&255;return y}for(var e=[],f=[],h=[],k=[128],q=1;q<64;++q)k[q]=0;var t,w;a();return{reset:a,update:c,digest:d,digestString:function(){for(var y=d(),D="",G=0;G<y.length;G++)D+="0123456789ABCDEF".charAt(Math.floor(y[G]/16))+"0123456789ABCDEF".charAt(y[G]%16);return D}}},FCa=function(a,b){b=b===void 0?
BCa:b;if(!CCa){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("Uc"));c=(a.brands||[]).map(function(e){var f=new Nn;return Sj(f,1,e.brand).setVersion(e.version)});DCa(Ll(ECa,2,a.mobile),c);CCa=a.getHighEntropyValues(b)}var d=new Set(b);return CCa.then(function(e){var f=ECa.clone();d.has("platform")&&f.setPlatform(e.platform);d.has("platformVersion")&&Sj(f,4,e.platformVersion);
d.has("architecture")&&Sj(f,5,e.architecture);d.has("model")&&f.setModel(e.model);d.has("uaFullVersion")&&Sj(f,7,e.uaFullVersion);return f}).catch(function(){return ECa.clone()})},GCa=function(){return jd.apply(0,arguments).map(String).join("__")},HCa=function(){for(var a={},b=l(Object.entries(On)),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d>1&&(a[c]=d)}return a},ICa=function(){var a=Object.values(On),b=a.map(function(c){return c-1}).reduce(Si,0);a=a.reduce(Si,
0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},JCa=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("/")},Pn=function(a){return a instanceof yn},KCa=function(a){return a instanceof Qn},LCa=function(a){return function(b){return new ce(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()})})})}},MCa=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},OCa=function(){var a=window.defrostedResourcesJspb;if(a&&Array.isArray(a)&&(a=new NCa(a),(a=Yj(a,Rn,1,Ai()))&&a.length===1))return Km(a[0])},PCa=function(a,b){var c=new Map(b.map(function(d){return[d==null?void 0:d.id,d]}));return a.filter(Gi).map(function(d){return Object.assign({},
d,{experimentalFields:c.get(d.issueId)})})},QCa=function(a){var b=new Sn;b=Ij(b,1,Number(a.targetIssueId));return Ij(b,2,a.afterIssueId?Number(a.afterIssueId):void 0)},Tn=function(a){return{targetIssueId:String(Jj(a,1)),afterIssueId:Jj(a,2)?String(Jj(a,2)):void 0}},RCa=function(a){return{sourceIssueId:Jj(a,3),issueRelationships:a.getIssueRelationshipsList().map(Tn),totalSize:a.getTotalSize()}},SCa=function(a){var b=[];a=l(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;
d=d.next().value;b.push({issueId:c,relatedChildren:d.issueRelationships,totalChildCount:d.totalSize})}return b},TCa=function(a){return!(a==null||!a.relatedChildren.length)},VCa=function(a,b){var c=[].concat(r(a));a=new Set(a.map(function(h){return h.targetIssueId}));b=l(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(k){return k.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 UCa(c)},WCa=function(a,b){return UCa(a.filter(function(c){return c.targetIssueId!==b}))},UCa=function(a){for(var b=[],c=l(a.entries()),d=c.next();!d.done;d=c.next()){var e=l(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},XCa=function(a){var b=new Map;
a=l(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(r(d.previousOperation.eventTimestamps),r(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(r(b.values()));a=l(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(k){return k.targetIssueId===h.targetIssueId})}}(c));return b.sort(function(f,h){var k=f.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;f=Math.min.apply(Math,
r(f.issues.map(function(t){return k.findIndex(function(w){return w.targetIssueId===t.issueId})})));h=Math.min.apply(Math,r(h.issues.map(function(t){return q.findIndex(function(w){return w.targetIssueId===t.issueId})})));return f===h?0:f<h?-1:1})},$Ca=function(a){return a.getResponsesList().map(function(b){return Yj(b,YCa,1,Ai()).map(ZCa)}).flat().filter(function(b){return b.signals.length>0})},ZCa=function(a){var b=aDa(Gj(a,Un,1));a=Yj(a,bDa,2,Ai());return{task:b,signals:a.map(cDa).filter(Gi)}},dDa=
function(a){return a.getResponsesList().map(function(b){return Yj(b,Un,1,Ai()).map(aDa).filter(Gi)}).flat()},aDa=function(a){if(a){var b=Zh(a,1),c=eDa(Kj(a,2,0)),d=a.getTitle(),e=lj(Gj(a,mj,4)),f=lj(a.getLastModifiedTimestamp()),h=Zh(a,6);var k=Yj(a,fDa,7,Ai());b={taskId:b,taskResourceType:c,title:d,createdTimestamp:e,lastModifiedTimestamp:f,externalLink:h,resourceRelationships:k.map(gDa),isStaleTask:hk(a,13)};ok(a,hDa,8,iDa)?(a=bk(a,hDa,8,iDa),a={fileType:jDa[Kj(a,1,0)],lastMentionTimestamp:lj(Gj(a,
mj,2)),lastMentionLink:Zh(a,4),docwrapRequestTimestamp:lj(Gj(a,mj,3)),docwrapRequestLink:Zh(a,5)},b.driveResource=a):ok(a,Vn,9,iDa)&&(a=bk(a,Vn,9,iDa),a={priority:Fk[a.getPriority()],accessLevel:hta[a.getAccessLevel()],hotlistIds:a.getHotlistIdsList_asLegacyNumberOrString(Bi)},b.issueResource=a);return b}},gDa=function(a){return{category:kDa[Kj(a,1,0)],roleName:Zh(a,2)}},cDa=function(a){var b={timestamp:lj(a.getTimestamp()),url:Ita(a.getUrl()),signalStatus:hk(a,8)?1:0};if(ok(a,Wn,3,Xn)){a=bk(a,Wn,
3,Xn);var c={signal:lDa[a.getSignal()]};mDa.has(c.signal)?(Yn(a,2,nDa)!=null&&(c.commentId=a.getCommentId()),a=c):a=null;if(!a)return null;b.driveAlert=a}else if(ok(a,Zn,5,Xn)){c=bk(a,Zn,5,Xn);a={signal:oDa[c.getSignal()]};if(mDa.has(a.signal)){Ak(c,oj,4)&&(a.reviewEstimate=eta(Gj(c,oj,4)));c=Gj(c,pDa,5);var d=c==null?void 0:bk(c,qDa,2,rDa);c=d?{currentAvailability:{comeBackTimestamp:lj(d.getComeBackTimestamp())}}:(c=c==null?void 0:bk(c,sDa,1,rDa))?{futureAvailability:{comeBackTimestamp:lj(c.getComeBackTimestamp()),
futureOooTimestamp:lj(Gj(c,mj,1))}}:void 0;a.clAuthorAvailability=c}else a=null;if(!a)return null;b.changelistAlert=a}else if(ok(a,$n,4,Xn)){c=bk(a,$n,4,Xn);a={signal:tDa[c.getSignal()]};if(mDa.has(a.signal)){if(c=c.getCommentNumbers())c=Zk(c,1,Ai(Bi)),c.length>0&&(a.commentNumbers=c)}else a=null;if(!a)return null;b.issueAlert=a}else if(ok(a,uDa,7,Xn)){a=bk(a,uDa,7,Xn);a={signal:vDa[a.getSignal()]};a=mDa.has(a.signal)?a:null;if(!a)return null;b.gerritAlert=a}return b},eDa=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"}},wDa=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}},xDa=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}},yDa=function(a){if(a=a.getResponse())return{commentId:a.getCommentId(),
authorDisplayName:Zh(a,2),content:a.getContent(),lastModifiedTimestamp:lj(Gj(a,mj,4))}},CDa=function(a){var b={};a=l(gc(a,1,zDa,Mb).entries());for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:ADa[Kj(d,1,0)],detailedUserType:BDa[Kj(d,2,0)]}}return b},DDa=function(a,b){return a.map(function(c){return b[c]||null})},EDa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},FDa=function(a){var b;return((b=a.getTeamSloEditPolicy())==
null?void 0:Kj(b,2,0))===1},HDa=function(a){var b;return((b=Gj(a,GDa,1))==null?void 0:b.getEffectiveSloEditPolicy())===1},IDa=function(a){var b=Gj(a,rj,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:Bc(c)}c=void 0}var d=a.getTimeZone(),e=Gj(a,ao,6);if(b==null)throw Error("Wc");if(c==null)throw Error("Xc");if(d==null)throw Error("Yc");if(e==null)throw Error("Zc");var f=a.getId_asLegacyNumberOrString();b=wj(b);var h=
Lj(a,4),k={id:d.getId()};d.getVersion()&&(k.version=d.getVersion());d={hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()};e=ak(a,7);var q=Jl(a,8,Ai()).map(jua);a=il(a,9,Ai(Bi));return{id:f,lead:b,frequency:c,ordinal:h,timeZone:k,timeOfDay:d,daysRemaining:e,types:q,sloIds:a}},KDa=function(a){var b=(new bo).setId(a.id),c=vj(a.lead);b=Pj(b,rj,2,c).setFrequency(JDa(a.frequency));b=kj(b,4,a.ordinal);c=b.setTimeZone;var d=a.timeZone,e=(new co).setId(d.id);d.version&&e.setVersion(d.version);
b=c.call(b,e);c=a.timeOfDay;c=(new ao).setHours(c.hours).setMinutes(c.minutes).setSeconds(c.seconds).setNanos(c.nanos);b=Pj(b,ao,6,c).setDaysRemaining(a.daysRemaining);c=a.types.map(kua);b=Ul(b,8,c);return Vl(b,9,a.sloIds)},LDa=function(a){return sua(a.getIt())},MDa=function(a){var b=new eo,c=b.setIt;var d=(new fo).setSloId(a.sloId).setName(a.name).setDescription(a.description).setParentId(a.parentId);var e=a.elements.map(xua);d=Dk(d,5,e);e=a.effectiveElements.map(xua);d=Dk(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("Nb`"+a);}a=uj(d,8,a);return c.call(b,a)},JDa=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return Bc(a)}},NDa=function(a){return{id:a.getId_asString(),name:a.getName(),description:a.getDescription()}},ODa=function(a){if(a=a.getIt())return Vva(a);throw Error("$c");},PDa=function(a){return{teamId:a.getId_asString(),name:a.getName(),description:a.getDescription(),
pathNames:a.getPathNamesList(Bi),pathIds:a.getPathIdsList_asString()}},QDa=function(a){var b=a.getId_asString();if(b&&b!=="0"){var c,d;return{id:b,triage:{scope:(d=(c=a.getTriage())==null?void 0:c.getScope())!=null?d:void 0}}}},RDa=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"}}},go=function(a,b){b=new rn(b);a.subscribe(b);return b},ho=function(a){var b;a.subscribe(function(c){b=
c}).unsubscribe();return b},io=function(){return sf(function(a,b){return ci(a,b)})},SDa=function(){return function(a){return a.pipe(z(function(b){return{event:b,timestamp:Date.now()}}),Sja(a.pipe(pf(1E4,jo))))}},TDa=function(a,b){return{displayAs:"Team: "+a.name,queryAtom:"teamId:"+a.teamId+(b===void 0||b?"+":""),tooltip:"Issues within this team's components"}},UDa=function(a,b){return{displayAs:"Component: "+a.name,queryAtom:"componentId:"+a.componentId+(b===void 0||b?"+":""),tooltip:"Issues within this component"}},
ko=function(a,b,c){c=c===void 0?!1:c;if(!b)return"";Array.isArray(b)||(b=[b]);b=b.filter(Gi);return b.length===0?"":a+":("+b.join("|")+")"+(c?"+":"")},lo=function(){return jd.apply(0,arguments).filter(Boolean).join(" AND ")},VDa=function(a){var b,c=new mo,d=c.setIt,e=(new no).setIssueId(a.issueId).setScope(a.scope);e=sj(e,4,a.scopeSortOrder).setMaxResults((b=a.maxResults)!=null?b:7);a=sj(e,3,a.keyword);return d.call(c,a)},WDa=function(a,b){a=gsa([].concat(r(a.scores),r(b.scores)),[].concat(r(a.similarIssues),
r(b.similarIssues))).sort(function(c,d){return d[0]-c[0]});a=Ni(a,function(c){c=l(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]})}},oo=function(a){return typeof a==="string"?"buganizer.drafts."+a:"buganizer.drafts.labeled."+a.label},XDa=function(){},YDa=function(a,b){for(var c=a.length;c--;)b(a[c])},ZDa=function(){},$Da=function(a){return a==null?null:typeof a==="number"?a:a.endsWith("ms")?th(a.substring(0,a.length-
2)):a.endsWith("s")?th(a.substring(0,a.length-1))*1E3:a==="0"?0:null},aEa=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},bEa=function(a){if(a&1){var b=u();F(0,"button",5);O("click",function(){v(b);var c=P();return x(c.dialogRef.close(!1))});Q(1);H()}a&2&&(a=P(),A(),R(" ",a.cancelButtonText," "))},cEa=function(a){var b=[];a=[].concat.apply([],r(a.map(function(e){return e.actions})));
a=l(a);for(var c=a.next(),d={};!c.done;d={action$jscomp$61:void 0},c=a.next())d.action$jscomp$61=c.value,b.some(function(e){return function(f){return ci(e.action$jscomp$61,f)}}(d))||b.push(d.action$jscomp$61);return b},dEa=function(a){return Array.from(new Set([].concat.apply([],r(a.map(function(b){return b.issueIds})))))},eEa=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 Bc(a,
"Unexpected pii severity")}},po=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},fEa=function(a){switch(a){case "RESTRICTED":return"Restricted";case "RESTRICTED_PLUS":return"Restricted+";default:return""}},gEa=function(a){return qta(a.getIt())},hEa=function(a){return{encryptedMedia:zda(qo(a,1)),errorMessage:a.getErrorMessage()}},jEa=function(a){var b=new iEa;ro(b,1,kb(a.attachment,!1,!0,!1));if(a.contentJudgement!==void 0){var c=b.setContentJudgement;a=a.contentJudgement;
a=(new so).setIt(rta(a));c.call(b,a)}return b},lEa=function(a){var b;return{attachments:((b=a.getAttachmentsList())!=null?b:[]).map(kEa)}},kEa=function(a){if(a!=null)return Dta(a.getIt())},mEa=function(a,b){a&1&&(F(0,"li"),Q(1),H());a&2&&(a=b.$implicit,A(),yg(a))},nEa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},oEa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},pEa=function(a,b){return a.sloBounds.targetTime.seconds-
b.sloBounds.targetTime.seconds},qEa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},rEa=function(a){var b;return(b=Di(a))!=null?b:null},sEa=function(a){var b;return(b=Ei(a))!=null?b:null},to=function(a,b){b=(b===void 0?{}:b).comment;return{path:"/issues/"+a,fragment:b?"comment"+b:void 0}},uo=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},tEa=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=a===void 0?{}:a;return{path:"/issues/new",queryParams:a}},uEa=function(a){return{path:"/components/"+a}},vEa=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},wEa=function(a){return{path:"/slos/"+a+"/edit"}},xEa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.starred)||!1},yEa=function(a){var b;return(a==null?void 0:(b=a.userData)==null?void 0:b.lastViewedTimeMicros)||
0},zEa=function(a){var b;return(b=Zi(a))==null?void 0:b.title},AEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.status)!=null?c:void 0},BEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.priority)!=null?c:void 0},CEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.assigneeUser)!=null?c:void 0},DEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.reporterUser)!=null?c:void 0},EEa=function(a){var b;a=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.teamId;return Ei(a)},
FEa=function(a){var b;a=(b=Zi(a))==null?void 0:b.componentId;return Ei(a)},GEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.ccUsers)!=null?c:[]},HEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.issueAccessLimitLevel)!=null?c:"LIMIT_NONE"},IEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.collaboratorsUsers)!=null?c:[]},JEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.type)!=null?c:void 0},KEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.foundInVersion)!=
null?c:[]},LEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.targetedToVersion)!=null?c:[]},MEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.changelist)!=null?c:[]},NEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.postmortems)!=null?c:[]},OEa=function(a){var b;return((b=Zi(a))==null?void 0:b.inProd)||!1},PEa=function(a){var b;return(b=Zi(a))==null?void 0:b.effort},QEa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount},REa=function(a){var b;
return(a==null?void 0:(b=a.userData)==null?void 0:b.voted)||!1},TEa=function(a){return SEa(a)},SEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.isDeleted)!=null?c:!1},VEa=function(a){return UEa(a)},UEa=function(a){var b;return a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel},WEa=function(a){return(a=a==null?void 0:a.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},YEa=function(a){return XEa(a)},XEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.retention)!=null?c:
void 0},ZEa=function(a){var b,c;return(c=(b=Zi(a))==null?void 0:b.duplicateOfIssueId)!=null?c:void 0},aFa=function(a){return $Ea(a)},$Ea=function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.retentionState)!=null?c:void 0},bFa=function(a){var b;return Ei(a==null?void 0:(b=a.aggregatedData)==null?void 0:b.sloId)},cFa=function(a){var b;return a==null?void 0:(b=a.aggregatedData)==null?void 0:b.createdTimeMicros},dFa=function(a){return a==null?void 0:a.effortSpec},eFa=function(a){a=
dFa(a);return!(!a||!a.name&&!a.inherit)},fFa=function(a){return a==null?void 0:a.componentPathInfo},gFa=function(a){if(!a)return{};var b,c=l((b=a.match(RegExp("comment([0-9]+)")))!=null?b:[]);c.next();b=c.next().value;var d;a=l((d=a.match(RegExp("comment[0-9]+version([0-9]+)")))!=null?d:[]);a.next();d=a.next().value;return{commentNumber:Di(b),commentVersion:Di(d)}},hFa=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}},iFa=function(a){return a?ni(a.replace(/_/g," ").toLowerCase()):""},jFa=function(a){return a?a.join(", "):""},kFa=function(a,b){if(!a)return Lh("");if(!b)return Lh(a);b=b.split(" ").map(mra);b=b.filter(function(h){return!!h});b=b.map(vo);if(b.length===0)return Lh(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(Oh("b",{},f));c.push(d);a=a.substring(e+f.length+d.length)}return Nh(c)},lFa=function(a){return a?"Yes":"No"},mFa=function(a){return a?a.pathNames?a.pathNames.join(" > "):"":""},nFa=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},oFa=function(a){if(a&&Ki(a))return a},wo=function(a){return a==null?"":String(a)},
pFa=function(a){var b;return(b=a==null?void 0:a.filter(function(c){return!!c.trim()}).join(", "))!=null?b:""},rFa=function(a,b){if(qFa[a])return qFa[a][b]},xo=function(a){return a?Ga(a,"@")?a:a==="[Deleted User]"?a:a+"@google.com":""},sFa=function(a,b){a=a===void 0?"":a;b=b===void 0?48:b;var c=c===void 0?"...":c;var d=[].concat(r(a));if(d.length<=b)return a;a=b-[].concat(r(c)).length;d=d.slice(0,a).join("");String.prototype.trimEnd!=null&&(d=d.trimEnd());return d+c},tFa=function(a){a=a===void 0?"":
a;var b=new Set([].concat(r('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(r(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return a.length===0?[]:a.split(/[\s]+/g)},uFa=function(a){return a.split("").every(function(b){return b.length===1&&b.charCodeAt(0)>=0&&b.charCodeAt(0)<=255})},wFa=function(a){if(a!=null){a=[].concat(r(a)).slice(0,100);a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=vFa[b.value])return b}},xFa=function(a){if(a.includes('"')||a.includes("'"))return[];var b=
[].concat(r(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=l(c);c.next();c.next();return c.next().value});a=[].concat(r(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=l(c);c.next();c.next();return c.next().value}):[]},yFa=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},zFa=function(a,b){var c;a=(c=a)!=null?c:"";var d;b=(d=b)!=null?d:"";return a.trim()===b.trim()},AFa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},BFa=function(a){a&1&&(Fd(),F(0,"svg",2),J(1,"polygon",3),H())},CFa=function(a){if(a&1){var b=u();F(0,"div",0);O("keydown",function(c){v(b);var d=P();return x(d._handleKeydown(c))})("click",function(){v(b);var c=P();return x(c.closed.emit("click"))})("@transformMenu.start",
function(c){v(b);var d=P();return x(d._onAnimationStart(c))})("@transformMenu.done",function(c){v(b);var d=P();return x(d._onAnimationDone(c))});F(1,"div",1);jg(2);H()()}a&2&&(a=P(),Xf(a._classList),E("id",a.panelId)("@transformMenu",a._panelAnimationState),Nf("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},DFa=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},
EFa=function(){return{color:"accent"}},FFa=function(a,b){a&1&&(F(0,"div")(1,"mat-radio-button",12),Q(2),H()());a&2&&(a=b.$implicit,A(),E("value",a.issueId),A(),R(" ",a.snapshot[0].title," "))},HFa=function(a,b){if(a&1){var c=u();K(0);F(1,"mat-radio-group",11);O("change",function(d){v(c);P(2).selectedCanonicalIssueId=d.value;return x()});bg(2,FFa,3,2,"div",null,GFa);H();L()}a&2&&(a=b.$implicit,b=P(2),A(),E("value",b.selectedCanonicalIssueId),A(),cg(a))},IFa=function(a){a&1&&J(0,"ai-spinner",13)},JFa=
function(a){if(a&1){var b=u();K(0);F(1,"h3",3);J(2,"mat-icon",4);Q(3," Similar Issues ");H();C(4,HFa,4,1,"ng-container",5);T(5,"async");C(6,IFa,1,0,"ng-template",null,0,Mg);F(8,"div",6)(9,"button",7);Q(10,"Close as Won't Fix");H();F(11,"mat-menu",null,1)(13,"button",8);O("click",function(){var e=v(b).ngIf,f=P();return x(yo(f,f.IssueStatus.NOT_REPRODUCIBLE,e))});Q(14,"Not reproducible");H();F(15,"button",8);O("click",function(){var e=v(b).ngIf,f=P();return x(yo(f,f.IssueStatus.INTENDED_BEHAVIOR,e))});
Q(16,"Intended behavior");H();F(17,"button",8);O("click",function(){var e=v(b).ngIf,f=P();return x(yo(f,f.IssueStatus.OBSOLETE,e))});Q(18,"Obsolete");H();F(19,"button",8);O("click",function(){var e=v(b).ngIf,f=P();return x(yo(f,f.IssueStatus.INFEASIBLE,e))});Q(20,"Infeasible");H()();F(21,"button",9);O("click",function(){var e=v(b).ngIf,f=P();return x(yo(f,f.IssueStatus.DUPLICATE,e))});Q(22,"Close as duplicate");H()();F(23,"button",10);O("click",function(){v(b);var e=P();return x(e.cancelAction.emit())});
Q(24,"Cancel");H();L()}if(a&2){a=M(7);var c=M(12),d=P();A(4);E("ngIf",U(5,4,d.similarIssues$))("ngIfElse",a);A(5);E("matMenuTriggerFor",c);A(12);E("disabled",d.selectedCanonicalIssueId===void 0)}},KFa=function(a){return a instanceof zo?a:new zo(a,{})},Ao=function(a){a=KFa(a);return new zo(a.char,Object.assign({},a.modifiers,{shift:!0}))},LFa=function(a){a=KFa(a);return new zo(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},MFa=function(){var a=Ao("f");a=KFa(a);return new zo(a.char,Object.assign({},
a.modifiers,{alt:!0}))},OFa=function(a){if(a instanceof zo){var b=NFa(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(OFa).join(" "):NFa(a)},Bo=function(){return jd.apply(0,arguments)},NFa=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 Bc(a)}},PFa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},QFa=function(a,b){if(b)a.nodeType===1&&zea(a),a.innerHTML=Mh(b);else for(;a.lastChild;)a.lastChild.remove()},RFa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},
Co=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},Do=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},SFa=function(a){a=a.getBoundingClientRect();return a.top>=0&&a.bottom<=window.innerHeight},TFa=function(a){a=a.getBoundingClientRect();return a.bottom>0&&a.top<window.innerHeight},UFa=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 ce(function(f){f.next(e(a));var h=b(function(k){f.next(k[0].isIntersecting)},
d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(sf())},VFa=function(a,b,c){var d=(c===void 0?0:c)?function(e){return b.partially(e)}:function(e){return b.fully(e)};return Ge(pe(void 0),De(window,"scroll").pipe(pf(500))).pipe(z(function(){return d(a)}),sf())},WFa=function(a){if(a&1){var b=u();F(0,"div",5);O("clickOutside",function(){v(b);var c=P();return x(c.hide())});F(1,"div",6);Q(2," Relative link may be malformed:\u00a0 ");F(3,"code");Q(4);H();F(5,"button",
7);O("click",function(){v(b);var c=P();return x(c.copyToClipboard())});J(6,"mat-icon",8);H()();F(7,"div",6);Q(8," Force open as: \u00a0 ");F(9,"a",9);O("click",function(c){v(b);var d=P();Do(c)||(c.preventDefault(),c.stopPropagation(),Eo(d.domSafe,"http://"+d.originalHref));return x()});Q(10);H()()()}a&2&&(a=P(),A(4),yg(a.originalHref),A(5),kg("href","http://",a.originalHref,"",cf),A(),R(" http://",a.originalHref," "))},XFa=function(){return{color:"accent",clickAction:"check-indeterminate"}},YFa=function(a){a&
1&&(F(0,"b-glue"),J(1,"mat-icon",5),H())},ZFa=function(a){a&1&&J(0,"mat-icon",8);a&2&&(a=P().$implicit,E("svgIcon",a.icon))},bGa=function(a,b){if(a&1){var c=u();F(0,"span",7);C(1,ZFa,1,1,"mat-icon",8);F(2,"a",9);O("click",function(f){var h=v(c).$implicit,k=P(2);h=h.href;Do(f)||(f.preventDefault(),f.stopPropagation(),Eo(k.domSafe,h));return x()})("keydown",function(f){var h=v(c).$index,k=P(2);return x($Fa(k,f,h===0))});Q(3);H()();F(4,"button",10);O("keydown.Tab",function(f){var h=v(c),k=h.$index;h=
h.$count;var q=P(2);return x(aGa(q,f,k===h-1))})("click",function(){var f=v(c).$implicit,h=P(2);return x(h.copyToClipboard(f.originalHref))});J(5,"mat-icon",11);H()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=P(2);A();$f(a.icon?1:-1);A();E("href",a.originalHref,cf)("rel",e.EXTERNAL_LINK_REL);A();yg(a.label);A();Wf("final",d===b-1)}},dGa=function(a){if(a&1){var b=u();F(0,"div",6);O("clickOutside",function(){v(b);var c=P();return x(c.hide())});bg(1,bGa,6,6,null,null,cGa);H()}a&2&&(a=P(),A(),
cg(a.urls))},fGa=function(a){if(eGa==null){var b=typeof document!=="undefined"?document.head:null;eGa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return eGa&&(a=a.getRootNode?a.getRootNode():null,typeof ShadowRoot!=="undefined"&&ShadowRoot&&a instanceof ShadowRoot)?a:null},gGa=function(a){if(a&1){var b=u();F(0,"div",0);O("clickOutside",function(){v(b);var c=P();return x(c.closeHovercard$.next())})("mouseenter",function(){v(b);P().isOnHover$.next(!0);return x()})("mouseleave",function(){v(b);P().isOnHover$.next(!1);
return x()});jg(1);H()}a&2&&(a=P(),Xf(a.className),E("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},hGa=function(a){a&1&&(F(0,"div",4),dg(1,5),H());a&2&&(a=P(),E("onedevIsHovercardReady",a.hovercardReady))},iGa=function(a){a&1&&J(0,"img",9);a&2&&(a=P(),E("src",a.person.imageUrl,cf)("alt",a.person.name+"'s profile picture"))},jGa=function(a){a&1&&(F(0,"div",10),Q(1),H());a&2&&(a=P(),A(),R(" ",a.person.email," "))},kGa=function(a){a&1&&(F(0,"div",11)(1,"onedev-chip",12),J(2,"mat-icon",13),Q(3),
H()());a&2&&(a=P(),A(3),R("",a.outOfOfficeDescription," "))},lGa=function(a){a&1&&(F(0,"li"),Q(1),H());a&2&&(a=P(2),A(),yg(a.person.title))},mGa=function(a){a&1&&J(0,"li",18)},nGa=function(a){a&1&&(F(0,"li"),Q(1),H());a&2&&(a=P(2),A(),yg(a.person.department))},oGa=function(a){a&1&&(K(0),J(1,"mat-icon",14),F(2,"div",15)(3,"ul",16),C(4,lGa,2,1,"li",8)(5,mGa,1,0,"li",17)(6,nGa,2,1,"li",8),H()(),L());a&2&&(a=P(),A(4),E("ngIf",a.person.title),A(),E("ngIf",a.person.title&&a.person.department),A(),E("ngIf",
a.person.department))},pGa=function(a){a&1&&(K(0),J(1,"mat-icon",19),F(2,"div",15),Q(3),H(),L());a&2&&(a=P(),A(3),yg(a.person.location))},qGa=function(a){a&1&&(K(0),J(1,"mat-icon",20),F(2,"div",15)(3,"ul",16)(4,"li")(5,"a",21),Q(6,"Teams"),H()(),J(7,"li",18),F(8,"li")(9,"a",21),Q(10,"Calendar"),H()(),J(11,"li",18),F(12,"li")(13,"a",21),Q(14,"CLs"),H()(),J(15,"li",18),F(16,"li")(17,"a",21),Q(18,"Readability"),H()()()(),L());a&2&&(a=P(),A(5),E("href","https://moma.corp.google.com/person/"+a.person.ldap,
cf),A(4),E("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",cf),A(4),E("href","https://critique.corp.google.com/"+a.person.ldap,cf),A(4),E("href","https://icanread.corp.google.com/s/"+a.person.ldap,cf))},rGa=function(a,b){if(a==null)return null;a=a.getRequestHook(b);return a==null?null:a},sGa=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}},tGa=function(a,b,c){c=
c===void 0?{}:c;b=l(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=l(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},uGa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},vGa=function(a,b){return Fo(b,a)},wGa=function(a,b,c){b[a]=c},xGa=function(){return{}},CGa=function(a,b){var c=new a;return b==null?c:yGa(b,zGa,AGa,BGa,a)},zGa=function(a,b){return b[a]},AGa=function(a,b,c){b.Serializable$values[a]=
c},BGa=function(a){if(a==null)throw Error("gd");return new a},yGa=function(a,b,c,d,e){e=d(e);for(var f=DGa(a,e),h=f.arrays||{},k=f.objects||{},q=f.objectMaps||{},t=l(f.keys||[]),w=t.next(),y={};!w.done;y={mapMetadata:void 0},w=t.next()){w=w.value;var D=b(w,a);if(D!=null){var G=void 0;if(h.hasOwnProperty(w)){if(f.emptyArrayIsUnset&&D.length===0)continue;G=EGa(D,b,c,d,!0,!0,h[w])}else if(k.hasOwnProperty(w))G=EGa(D,b,c,d,!1,!0,k[w]);else if(q.hasOwnProperty(w))y.mapMetadata=q[w],G=y.mapMetadata.isPropertyArray?
D.map(function(I){return function(N){return FGa(N,I.mapMetadata,b,c,d)}}(y)):FGa(D,y.mapMetadata,b,c,d);else if(Array.isArray(D)){if(f.emptyArrayIsUnset&&D.length===0)continue;G=EGa(D,b,c,d,!0,!1)}else G=D;c(w,e,G)}}return e},FGa=function(a,b,c,d,e){for(var f={},h=l(Object.keys(a)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a[k];q!=null&&(f[k]=EGa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return f},EGa=function(a,b,c,d,e,f,h){if(f&&h==null)throw Error("hd");if(a==null)return a;var k;e&&
f?k=a.map(function(q){return yGa(q,b,c,d,h)}):e&&!f?k=a.map(function(q){return q}):k=!e&&f?yGa(a,b,c,d,h):typeof a==="object"?JSON.parse(JSON.stringify(a)):a;return k},DGa=function(a,b){if(b instanceof Go)a=uGa(b.getPartialClassMetadata());else if(a instanceof Go)a=uGa(a.getPartialClassMetadata());else throw Error("id");return a},HGa=function(a){return a&&GGa.test(a)?a.split("@")[0]:""},IGa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):
null},JGa=function(a){return a?a.find(function(b){var c;return((c=b.metadata)==null?void 0:c.container)==="DOMAIN_PROFILE"}):null},KGa=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(G){return G.lookupId===c}))==null?void 0:(f=e.personId)==null?void 0:f[0];if(!h)return{ldap:HGa(c),name:"",email:c};var k;d=b==null?void 0:(k=b.people)==null?void 0:k[h];var q;h=(q=JGa(d==null?void 0:d.email))==null?void 0:q.value;var t,w;q=d==null?void 0:
(t=d.name)==null?void 0:(w=t[0])==null?void 0:w.displayName;var y,D;t=d==null?void 0:(y=d.photo)==null?void 0:(D=y[0])==null?void 0:D.url;w=IGa(d==null?void 0:d.organization);y=w==null?void 0:w.title;D=w==null?void 0:w.department;w=w==null?void 0:w.location;return{ldap:HGa(h),email:h||c||"",name:q||"",imageUrl:t,title:y,department:D,location:w}})},LGa=function(){},OGa=function(){var a={timeout:5E3};a=a===void 0?{}:a;return MGa!=null?MGa:MGa=NGa(a)},PGa=function(){return new Promise(function(a,b){window.gapi.load("client",
{callback:a,onerror:b})})},NGa=function(a){a=a===void 0?{}:a;var b;return ge(function(c){if(c.nextAddress==1)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):ie(c,QGa(Qh(RGa),a),2);if(c.nextAddress!=3){b=window.gapi;if(!b)throw Error("jd");return b.client&&b.client.load?c.jumpTo(3):ie(c,PGa(),3)}return c.return(b)})},SGa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},UGa=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(TGa.has(a))return TGa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){TGa.delete(a)});TGa.set(a,b);return b}return Promise.resolve()},VGa=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})},WGa=function(a,b){a&1&&(F(0,"div",1),Fd(),F(1,"svg",2)(2,"g"),J(3,"path",3),H()(),zd.currentNamespace=
null,F(4,"span",4),Q(5),H()());a&2&&(a=b.ngIf,Nf("aria-label",a)("title",a),A(5),yg(a))},XGa=function(a,b){a&1&&(F(0,"onedev-person-hovercard-body",1),T(1,"async"),jg(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),jg(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),H());a&2&&(a=b.ngIf,b=P(),E("person",a)("outOfOfficeDescription",U(1,2,b.outOfOfficeDescription$)))},YGa=function(a){a&1&&(F(0,"onedev-person-hovercard",2,0),jg(2,0,
["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),H());if(a&2){a=M(1);var b=P();E("email",b.email)("enableWaldo",!0)("onedevIsHovercardReady",a.init)}},ZGa=function(a){a&1&&dg(0)},$Ga=function(a){a&1&&(K(0),F(1,"span",3),C(2,ZGa,1,0,"ng-container",4),H(),F(3,"onedev-hovercard",null,1),J(5,"b-person-card",5),H(),L());if(a&2){a=M(4);var b=P(),c=M(2);A();E("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.email);A();E("ngTemplateOutlet",c);A(3);E("email",b.email)}},aHa=function(a){a&
1&&jg(0)},bHa=function(){return new Jc(3008,!1)},Ho=function(a){if(typeof a=="number")return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:cHa(parseFloat(a[1]),a[2])},cHa=function(a,b){switch(b){case "s":return a*1E3;default:return a}},dHa=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 Jc(3E3,!1));b={duration:0,delay:0,easing:""};
break a}a=cHa(parseFloat(d[1]),d[2]);var h=d[3];h!=null&&(e=cHa(parseFloat(h),d[4]));(d=d[5])&&(f=d)}c||(c=!1,d=b.length,a<0&&(b.push(new Jc(3100,!1)),c=!0),e<0&&(b.push(new Jc(3101,!1)),c=!0),c&&b.splice(d,0,new Jc(3E3,!1)));b={duration:a,delay:e,easing:f}}return b},eHa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return new Map(Object.entries(b))}):[]},Io=function(a,b,c){b.forEach(function(d,e){var f=fHa(e);c&&!c.has(e)&&c.set(e,a.style[f]);a.style[f]=d})},Jo=function(a,b){b.forEach(function(c,
d){d=fHa(d);a.style[d]=""})},Ko=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},hHa=function(a,b,c){var d=b.params||{};a=gHa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new Jc(3001,!1))})},gHa=function(a){var b=[];if(typeof a==="string"){for(var c;c=iHa.exec(a);)b.push(c[1]);iHa.lastIndex=0}return b},Lo=function(a,b,c){var d=""+a,e=d.replace(iHa,function(f,h){h=b[h];h==null&&(c.push(new Jc(3003,!1)),h="");return h.toString()});
return e==d?a:e},fHa=function(a){return a.replace(jHa,function(){return jd.apply(0,arguments)[1].toUpperCase()})},lHa=function(a,b,c){if(c.size&&b.length){var d=b[0],e=[];c.forEach(function(h,k){d.has(k)||e.push(k);d.set(k,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(k){return h.kf$jscomp$1.set(k,kHa(a,k))}}(c))}}return b},Mo=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 Jc(3004,!1);}},kHa=function(a,b){return window.getComputedStyle(a)[b]},Oo=function(a){switch(a.length){case 0:return new No;
case 1:return a[0];default:return new mHa(a)}},oHa=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(k){var q=k.get("offset"),t=q==f,w=t&&h||new Map;k.forEach(function(y,D){var G=D;if(D!=="offset")switch(G=fHa(G),y){case "!":y=b.get(D);break;case "*":y=c.get(D);break;default:y=nHa(G,y,d)}w.set(G,y)});t||e.push(w);h=w;f=q});if(d.length)throw new Jc(3502,!1);return e},qHa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&
pHa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&pHa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&pHa(c,"destroy",a))})}},pHa=function(a,b,c){var d=c.totalTime;b=rHa(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},rHa=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}},
Po=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},sHa=function(a){var b=a.indexOf(":");return[a.substring(1,b),a.slice(b+1)]},uHa=function(a){a=a.parentNode||a.host||null;return a===tHa?null:a},vHa=function(a,b){for(;b;){if(b===a)return!0;b=uHa(b)}return!1},yHa=function(a,b){var c=[];typeof a=="string"?a.split(/\s*,\s*/).forEach(function(d){a:{if(d[0]==":"&&(d=wHa(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 Jc(3015,!1)),d=c;else{d=e[1];var f=e[2];e=e[3];c.push(xHa(d,e));f[0]!="<"||d=="*"&&e=="*"||c.push(xHa(e,d));d=void 0}}return d}):c.push(a);return c},wHa=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 Jc(3016,!1)),"* => *"}},xHa=function(a,b){var c=zHa.has(a)||AHa.has(a),
d=zHa.has(b)||AHa.has(b);return function(e,f){var h=a=="*"||a==e,k=b=="*"||b==f;!h&&c&&typeof e==="boolean"&&(h=e?zHa.has(a):AHa.has(a));!k&&d&&typeof f==="boolean"&&(k=f?zHa.has(b):AHa.has(b));return h&&k}},CHa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return c==":self"})?!0:!1;b&&(a=a.replace(BHa,""));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]},DHa=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},EHa=function(a,b){if(a.hasOwnProperty("duration"))return a;if(typeof a=="number")return{duration:dHa(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=dHa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},Qo=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},FHa=function(a,b,c,d,e,f,h,k){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:k===void 0?!1:k}},HHa=function(a,b,c,d,e,f,h,k,q,t){f=f===void 0?new Map:f;h=h===void 0?new Map:h;t=t===void 0?[]:t;return(new GHa).buildKeyframes(a,
b,c,d,e,f,h,k,q,t)},IHa=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},JHa=function(a,b){var c=new Map,d;a.forEach(function(e){if(e==="*"){d!=null||(d=b.keys());e=l(d);for(var f=e.next();!f.done;f=e.next())c.set(f.value,"*")}else for(e=l(e),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;c.set(f,h)}});return c},KHa=function(a,b,c,d,e,f,h,k,q,t,w,y,D){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,fromStyles:f,toState:d,toStyles:h,
timelines:k,queriedElements:q,preStyleProps:t,postStyleProps:w,totalTime:y,errors:D}},LHa=function(a,b,c,d,e){return a.some(function(f){return f(b,c,d,e)})},MHa=function(a,b){var c=Object.assign({},b);Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;e!=null&&(c[d]=e)});return c},NHa=function(a,b){return new So(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},OHa=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))},PHa=function(a){return a&&a.nodeType===1},QHa=function(a,b){var c=a.style.display;a.style.display=b!=null?b:"none";return c},SHa=function(a,b,c){var d=[];b.forEach(function(h){return d.push(QHa(h))});var e=[];c.forEach(function(h,k){var q=new Map;h.forEach(function(t){var w=kHa(k,t);q.set(t,w);w&&w.length!=0||(k.__ng_removed=RHa,e.push(k))});a.set(k,q)});var f=0;b.forEach(function(h){return QHa(h,d[f++])});return e},THa=function(a,b){function c(h){if(!h)return 1;
var k=f.get(h);if(k)return k;var q=h.parentNode;d.has(q)?k=q:e.has(q)?k=1:k=c(q);f.set(h,k);return k}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 k=c(h);k!==1&&d.get(k).push(h)});return d},To=function(a,b){var c;(c=a.classList)==null||c.add(b)},Uo=function(a,b){var c;(c=a.classList)==null||c.remove(b)},UHa=function(a,b,c){Oo(c).onDone(function(){return Vo(a,b)})},WHa=function(a){var b=[];VHa(a,b);return b},VHa=
function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof mHa?VHa(d.players,b):b.push(d)}},XHa=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},YHa=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},aIa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=ZHa(b[0]),b.length>
1&&(d=ZHa(b[b.length-1]))):b instanceof Map&&(c=ZHa(b));return c||d?new $Ha(a,c,d):null},ZHa=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},bIa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},cIa=function(a){var b=a.indexOf(".");return[a.substring(0,b),a.slice(b+1)]},fIa=function(a){if(a&1){var b=u();K(0,3);F(1,"onedev-hovercard-action",4);T(2,
"async");O("onAction",function(){v(b);var e=P();return x(dIa(e))});F(3,"span");Q(4);H()();F(5,"onedev-hovercard-action",4);T(6,"async");O("onAction",function(){v(b);var e=P();return x(eIa(e))});F(7,"span");Q(8);H()();L()}if(a&2){var c,d;a=P();A();E("disabled",(c=U(2,4,a.actionService.assigneeUpdating$))!==null&&c!==void 0?c:!1);A(3);yg(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");A();E("disabled",(d=U(6,6,a.actionService.ccUpdating$))!==null&&d!==void 0?d:!1);A(3);yg(a.currentCc.includes(a.email)?
"Remove from CCs":"Add to CCs")}},hIa=function(a){return!!a.match(gIa)&&!a.endsWith("/history")},Wo=function(a){return a.type==="hyperlink"},iIa=function(a){return Wo(a)&&hIa(a.href)},kIa=function(a){return Wo(a)&&!!a.href.match(jIa)},lIa=function(a,b){b=b===void 0?!1:b;if(a.endsWith("/history"))return null;var c,d;return(a=(d=(c=a.match(gIa))==null?void 0:c[2])!=null?d:null)?b?"https://3p-screenshot.corp.google.com/"+a+".png":"https://screenshot.googleplex.com/"+a+".png":null},mIa=function(a){return a.type===
"issueReference"},nIa=function(a){return Wo(a)&&!iIa(a)&&!(Wo(a)&&a.href.startsWith("mailto:"))},oIa=function(a){a&1&&(K(0),J(1,"img",3),T(2,"async"),L());if(a&2){var b;a=P(2);A();E("src",U(2,2,a.srcRedirected$),cf);Nf("alt",(b=a.alt)!==null&&b!==void 0?b:"user provided image")}},pIa=function(a){a&1&&(K(0),C(1,oIa,3,4,"ng-container",2),T(2,"async"),L());if(a&2){a=P();var b=M(3);A();E("ngIf",U(2,2,a.showImage$))("ngIfElse",b)}},qIa=function(a){if(a&1){var b=u();F(0,"a",4);T(1,"async");T(2,"async");
O("click",function(c){v(b);var d=P();return x(d.trigger(c))})("keydown.enter",function(c){v(b);var d=P();return x(d.trigger(c))});F(3,"b-glue");J(4,"mat-icon",5);H();K(5);Q(6);T(7,"async");L();H()}a&2&&(a=P(),E("href",U(1,3,a.src$),cf)("title",U(2,5,a.src$)),A(6),yg(U(7,7,a.srcTruncated$)))},rIa=function(a){a&1&&(J(0,"mat-icon",6),T(1,"async"));a&2&&(a=P(),kg("matTooltip","Unable to load image ",U(1,2,a.srcTruncated$),""))},sIa=function(a){a&1&&(J(0,"br"),F(1,"a",1),J(2,"b-secure-image-widget",2),
H(),J(3,"br"));if(a&2){a=P();var b=P();A();E("href",a,cf)("rel",b.EXTERNAL_LINK_REL);A();E("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},tIa=function(a){a&1&&J(0,"b-secure-image-widget",0);if(a&2){a=P();var b=P();E("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},uIa=function(a){a&1&&(C(0,sIa,4,5),T(1,"async"),C(2,tIa,1,3,"b-secure-image-widget",0));if(a&2){var b;a=P();$f((b=U(1,1,a.displayMode$))===a.DisplayMode.SHOW?0:b===a.DisplayMode.COLLAPSE?2:
-1)}},vIa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},wIa=function(a,b){a&1&&(K(0),J(1,"b-plain-format-section",2),L());a&2&&(a=b.$implicit,A(),E("section",a))},xIa=function(a){a&1&&J(0,"b-plain-format-quoted-section",1);a&2&&(a=P(),E("section",a.section))},yIa=function(a){a&1&&J(0,"b-plain-format-unquoted-section",1);a&2&&(a=P(),E("section",a.section))},AIa=function(a){if(a&1){var b=u();F(0,"a",4);O("click",function(){v(b);var c=P();c.showQuote=!0;zIa(c);return x()});Q(1," - Show quoted text - ");
H()}a&2&&(a=P(),Nf("aria-controls",a.childId))},BIa=function(a){if(a&1){var b=u();F(0,"a",5);O("click",function(){v(b);var c=P();c.showQuote=!1;zIa(c);return x()});Q(1," - Hide quoted text - ");H()}a&2&&(a=P(),Nf("aria-controls",a.childId))},CIa=function(a,b){a&1&&(K(0),J(1,"b-literal-format-presenter",1),L());a&2&&(a=b.ngIf,A(),E("content",a))},DIa=function(a,b){a&1&&(K(0),J(1,"b-markdown-format-presenter",1),L());a&2&&(a=b.ngIf,A(),E("content",a))},EIa=function(a,b){a&1&&(K(0),J(1,"b-plain-format-presenter",
1),L());a&2&&(a=b.ngIf,A(),E("content",a))},FIa=function(a){return iua(a.getIt().getMentionsList(Bi)).map(function(b){return b.mentionedUser}).map(yi).map(function(b){return b||""})},GIa=function(a){a=a.getIt();return a.hasFormattedComment()?cua(a.getFormattedComment()):{}},HIa=function(a){switch(a.formattingMode){case "LITERAL":return pe({literalFormat:{content:Lh(a.comment)}});case "MARKDOWN":return a={markdownFormat:{content:Lh("")}},pe(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a=
{plainFormat:{plainSection:[{isQuoted:!1,content:Lh(a.comment)}]}},pe(a);default:return Bc(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},IIa=function(a,b){a&1&&(K(0),F(1,"div",1),J(2,"b-formatted-comment-presenter",2),H(),L());a&2&&(a=b.$implicit,b=P(),A(),Wf("invisible",(b.comment||"").trim()==="")("error",a.isFallback),A(),E("formattedComment",a.formattedComment))},JIa=function(a){a&1&&(F(0,"a",2),J(1,"mat-icon",3),H());a&2&&(a=P(),E("href",a.mdHelpLink,cf)("disableRipple",!0))},
KIa=function(a){a&1&&J(0,"b-formatted-comment-presenter",4);a&2&&(a=P(),E("formattedComment",a.note.formattedComment))},LIa=function(a){a&1&&J(0,"b-live-preview",5);a&2&&(a=P(),E("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",a.idPrefix))},MIa=function(a,b){if(a&1){var c=u();F(0,"a",8);O("click",function(){var d=v(c).$implicit,e=P(2);return x(e.clickSegment.emit(d.name||d.path))});
Q(1);H()}a&2&&(a=b.$implicit,E("href",a.path,cf),A(),R(" ",a.name||a.path," "))},NIa=function(a){a&1&&(K(0),F(1,"button",5),J(2,"mat-icon",6),H(),F(3,"mat-menu",null,0),C(5,MIa,2,2,"a",7),H(),L());if(a&2){a=M(4);var b=P();A();E("matMenuTriggerFor",a);A(4);E("ngForOf",b.segments)}},OIa=function(a){a&1&&J(0,"mat-icon",2);a&2&&(a=P().$implicit,E("svgIcon",a.icon))},PIa=function(a,b){if(a&1){var c=u();F(0,"button",1);O("click",function(){var e=v(c).$implicit,f=P();return x(f.onClickButton(e.value))});
C(1,OIa,1,1,"mat-icon",2);Q(2);H()}if(a&2){var d;a=b.$implicit;b=P();E("disableRipple",!0)("matTooltip",(d=a.tooltip)!==null&&d!==void 0?d:"");Nf("aria-checked",b.value===a.value);A();$f(a.icon?1:-1);A();R(" ",a.name," ")}},QIa=function(a){if(a&1){var b=u();F(0,"button",4);O("click",function(){v(b);var c=P();return x(c.toggle())});J(1,"mat-icon",5);H()}a&2&&(a=P(),Wf("isClosed",a.isClosed),E("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),Nf("aria-label",a.toggleButtonLabel),A(),E("svgIcon",
a.isLTR?"chevron-left":"chevron-right"))},RIa=function(a){a&1&&(F(0,"span",4),Q(1),H());a&2&&(a=P(),A(),yg(a.placeholder))},SIa=function(a){a&1&&jg(0)},TIa=function(a){a&1&&(F(0,"span",11),Q(1),H());a&2&&(a=P(2),A(),yg(a.triggerValue))},UIa=function(a){a&1&&(F(0,"span",5),C(1,SIa,1,0)(2,TIa,2,1,"span",11),H());a&2&&(a=P(),A(),$f(a.customTrigger?1:2))},VIa=function(a){if(a&1){var b=u();F(0,"div",12,1);O("@transformPanel.done",function(c){v(b);var d=P();return x(d._panelDoneAnimatingStream.next(c.toState))})("keydown",
function(c){v(b);var d=P();return x(d._handleKeydown(c))});jg(2,1);H()}a&2&&(a=P(),Zf("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",a._getPanelTheme(),""),E("ngClass",a.panelClass)("@transformPanel","showing"),Nf("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},WIa=function(){},XIa=function(a){a&1&&jg(0)},YIa=function(){},ZIa=function(a){a&1&&C(0,YIa,0,0,"ng-template",12);a&2&&(a=P().$implicit,
E("cdkPortalOutlet",a.templateLabel))},$Ia=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,yg(a.textLabel))},aJa=function(a,b){if(a&1){var c=u();F(0,"div",7,2);O("click",function(){var f=v(c),h=f.$implicit;f=f.$index;var k=P(),q=M(1);return x(k._handleClick(h,q,f))})("cdkFocusChange",function(f){var h=v(c).$index,k=P();return x(k._tabFocusChanged(f,h))});J(2,"span",8)(3,"div",9);F(4,"span",10)(5,"span",11);C(6,ZIa,1,1,null,12)(7,$Ia,1,1);H()()()}if(a&2){a=b.$implicit;b=b.$index;var d=M(1),e=P();Xf(a.labelClass);
Wf("mdc-tab--active",e.selectedIndex===b);E("id",e._getTabLabelId(b))("disabled",a.disabled)("fitInkBarToContent",e.fitInkBarToContent);Nf("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);A(3);E("matRippleTrigger",d)("matRippleDisabled",a.disabled||e.disableRipple);A(3);$f(a.templateLabel?
6:7)}},bJa=function(a){a&1&&jg(0)},cJa=function(a,b){if(a&1){var c=u();F(0,"mat-tab-body",13);O("_onCentered",function(){v(c);var e=P();return x(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){v(c);var f=P();return x(f._setTabBodyWrapperHeight(e))});H()}if(a&2){a=b.$implicit;b=b.$index;var d=P();Xf(a.bodyClass);Wf("mat-mdc-tab-body-active",d.selectedIndex===b);E("id",d._getTabContentId(b))("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",d.animationDuration)("preserveContent",
d.preserveContent);Nf("tabindex",d.contentTabIndex!=null&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))("aria-hidden",d.selectedIndex!==b)}},Yo=function(a){return(a!=null?a:[]).map(Xo)},$o=function(a){return(a!=null?a:[]).map(Zo)},Xo=function(a){if(a==null)return"";var b=a.user,c=a.group,d=a.alias;a=void 0;b!=null?(a="USER",b=yi(b)):c!=null?(a="GROUP",b=yi(c)):d!=null?(a="ALIAS",b=d):b="";return a===void 0||b===""?"":a+":"+b},ap=function(a){return(a!=null?a:[]).map(Xo)},
dJa=function(a){return(a!=null?a:[]).map(Zo)},Zo=function(a){var b=l(a.split(":"));a=b.next().value;b=b.next().value;if(!a||!b)throw Error("md`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("nd`"+b);}},bp=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},cp=function(a){return{admins:Yo(a.admins),editors:Yo(a.editors),
appenders:Yo(a.appenders),readers:Yo(a.readers),restrictedReaders:Yo(a.restrictedReaders),restrictedPlusReaders:Yo(a.restrictedPlusReaders),inheritedAdmins:Yo(a.inheritedAdmins),implicitAccess:a.implicitAccess||null}},dp=function(a){return{admins:$o(a.admins),editors:$o(a.editors),appenders:$o(a.appenders),readers:$o(a.readers),restrictedReaders:$o(a.restrictedReaders),restrictedPlusReaders:$o(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}},eJa=function(a){uxa();var b,c;return(c=(b=ixa().getConfig())==
null?void 0:fc(b,4,Lb).get(a))!=null?c:!1},fJa=function(){var a=window.gapi;if(!a)return Promise.reject(Error("pd"));if(a.client&&a.client.load)return Promise.resolve(a);gj("loading gapi client");return new Promise(function(b,c){a.load("client",{callback:function(){gj("gapi client has finished loading");b(a)},onerror:c})})},gJa=function(a){for(var b={},c=l(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;for(var e=d.split("."),f=b,h=l(e.slice(0,e.length-1)),k=h.next();!k.done;k=h.next())k=
k.value,f[k]||(f[k]={}),f=f[k];f[e[e.length-1]]=a[d]}return b},jJa=function(a,b){var c=hJa();return ep(b,"enableGapiRedirect")?c:c.then(function(d){return new iJa(d,a,b)})},hJa=function(){return fJa().then(function(a){return a.client})},kJa=function(){fJa().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=jm().appBaseHref+"proxy/";c("https://people-pa.clients6.google.com");c("https://people-pa.googleapis.com")})},
lJa=function(a){for(var b={},c=l(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},fp=function(a){return a==null?"":typeof a==="number"?isFinite(a)?String(a):"":a&&(a=String(a),a.length<=254)?a:""},pJa=function(){var a=gp("gapi.config.get");if((a=fp(a&&a("googleapis.config/sessionIndex")))||(a=fp(Ba.__X_GOOG_AUTHUSER))||(a=fp(gp("google.authuser"))))return a;var b=Ba.location.href||"",c=mJa.exec(b);try{a=fp(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;
c=nJa.exec(b);try{a=fp(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;a=oJa.exec(b);return(a=fp(a&&a[1]))?a:""},qJa=function(){var a=gp("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=gp("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}},sJa=function(a){a=a===void 0?"":a;var b;if(!(b=qJa())){b=a;var c=
c===void 0?pJa():c;a={};var d=rJa([]);d&&(a.Authorization=d);b||(b=(b=gp("gapi.config.get"))&&b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},tJa=function(a,b){b=b===void 0?0:b;var c;if(c=b===0)c=(c=gp("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=gp("gapi.config.get"))&&b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},vJa=function(a,b){return a<1||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return Ba.setTimeout(c,b)})).then(function(){return uJa(a-1,b*2)})},uJa=function(a,b){a=a===void 0?0:a;b=b===void 0?5E3:b;var c=Ba;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return vJa(a,b);Ba.gapi||(Ba.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")})})},wJa=function(){var a=a===void 0?"":a;var b=b===void 0?pJa():b;var c=gp("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)},xJa=function(a){return(new hp).setEventType(2).setRpcType(2).setLookupType(a)},yJa=function(a){a=Math.round(a*1E3);return isFinite(a)?
a:null},ip=function(a){var b;return(b=a==null?void 0:a.trim())!=null?b:""},jp=function(a){var b=b===void 0?zJa:b;var c=Xa(a),d=function(e){e=l(e);e.next();e=Mk(e);return b(c,e)};return function(){var e=jd.apply(0,arguments),f=this||Ba,h=AJa.get(f);h||(h={},AJa.set(f,h));f=h;h=[this].concat(r(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var k=l(h);h=k.next().value;k=Mk(k);h=a.apply(h,k);f=f[e]=h}return f}},DJa=function(a,b,c,d,e){e=e===void 0?"":e;a=new kp(a,b);e&&(a.destinationUrl=
e);d&&BJa(a,function(){return sJa().Authorization});a.setProductID(109303191);c&&c.length&&(d=new CJa,hc(d,3,c,Eb),a.setClearExperimentIds(d));return a.build()},np=function(a,b,c,d){lp.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;EJa(this.transport_,this.id_);d&&mp(d.getEventTarget(),"a",this.onContactsChange_,!1,this)},FJa=function(a){var b={};if(a){a=l(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},HJa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return GJa(b.name,b.email)}).join(", "):""},KJa=function(a,b,c){var d=[];a&&(IJa("name",a.name,b,d,c),IJa("phone",a.phone,b,d,c),IJa("photo",a.photo,b,d,c));return d.map(function(e){return new JJa(e)})},IJa=function(a,b,c,d,e){if(b){b=l(b);for(var f=b.next();!f.done;f=b.next())if(f=f.value,gp("metadata.containerType",f)!=="CONTACT"){var h=f;var k=c,q=d,t=e,
w=gp("metadata.encodedContainerId",h),y=gp("metadata.containerType",h);k.contains(w,y)?h=k.get(w,y)||0:(h=q.length,k.set(w,y,h),q.push({}),t.push(w));k=q[h];k[a]=k[a]||[];k[a].push(f)}}},MJa=function(a,b){if(a){a=LJa(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},NJa=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},
OJa=function(a){this.query_=a;this.error_=0},RJa=function(a,b){for(var c=[],d=a.length,e=0,f=[],h,k,q=0;q<d;){switch(e){case 0:var t=a.indexOf("<",q);if(t<0){if(c.length===0)return a;c.push(a.substring(q));q=d}else c.push(a.substring(q,t)),k=t,q=t+1,PJa?(QJa.lastIndex=q,t=QJa.exec(a)):(QJa.lastIndex=0,t=QJa.exec(a.substring(q))),t?(f=["<",t[0]],h=t[1],e=1,q+=t[0].length):c.push("<");break;case 1:t=a.charAt(q++);switch(t){case "'":case '"':var w=a.indexOf(t,q);w<0?q=d:(f.push(t,a.substring(q,w+1)),
q=w+1);break;case ">":f.push(t);c.push(b(f.join(""),h));e=0;f=[];k=h=null;break;default:f.push(t)}break;default:throw Error();}e===1&&q>=d&&(q=k+1,c.push("<"),e=0,f=[],k=h=null)}return c.join("")},pp=function(a,b){b=a(b||SJa,void 0);a=op();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=TJa(b),UJa(a,b));a.childNodes.length==1&&(b=a.firstChild,b.nodeType==1&&(a=b));return a},TJa=function(a){return Wa(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof zc)?a:VJa("zSoyz"):VJa(String(a))},
rp=function(a,b,c,d,e,f,h){this.serverBase_=typeof a==="string"?new qp(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},WJa=function(a){a=a.getEmail();if(!a)return!1;for(var b=l(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(a.indexOf(c.value)>=0)return!0;return!1},
$Ja=function(a,b,c){a=a.filter(XJa());if(!c)return a;c=c.map(function(d){return{contact:d,toString:function(){return d.text}}});b=YJa(new ZJa(c),b,c.length);return a.concat(b.map(function(d){return d.contact}))},dKa=function(a){if(a&1){var b=u();F(0,"input",9,2);O("change",function(){v(b);var c=P();if(aKa(c)){var d=sp(c);bKa(c);cKa(c,!0);sp(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return x()})("keyup",
function(c){v(b);var d=P();document.activeElement===tp(d)&&(c.key==="Enter"||c.key==="Tab"?(d.taggingInProgress=!1,cKa(d,!0),sp(d).focus()):cKa(d));return x()});H()}a&2&&(a=P(),E("value",a.autocompleteUserName))},eKa=function(a){a&1&&J(0,"div",10,3)},fKa=function(a){a&1&&dg(0)},gKa=function(a){a&1&&dg(0)},jKa=function(a){if(a&1){var b=u();K(0);F(1,"div",1)(2,"b-comment-draft",2);Cg("contentChange",function(c){v(b);var d=P();Bg(d.commentText,c)||(d.commentText=c);return x(c)});H()();F(3,"div",3)(4,
"button",4);O("click",function(){var c=v(b).ngIf,d=P();return x(hKa(d,c))});Q(5,"Comment and assign to reporter");H();F(6,"button",5);O("click",function(){v(b);var c=P();return x(c.cancelAction.emit())});Q(7,"Cancel");H()();L()}a&2&&(a=P(),A(2),Ag("content",a.commentText),E("placeholder","Add a comment")("textareaClass",Gg(3,iKa)))},kKa=function(a){if(a&1){var b=u();F(0,"button",7);O("click",function(){v(b);var c=P(2);return x(c.removeHotlist.emit())});J(1,"mat-icon",8);H()}a&2&&(a=P(2),Wf("invisible",
a.disabled),Nf("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},lKa=function(a){a&1&&(K(0),F(1,"span",2)(2,"span",3)(3,"a",4),Q(4),H()(),C(5,kKa,2,4,"button",5),H(),F(6,"onedev-hovercard",null,0),J(8,"b-hotlist-card",6),H(),L());if(a&2){a=M(7);var b=P();A();Vf("padding-right",b.removable?0:"10px");Wf("muted",b.disabled);E("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);A(2);E("href",b.ROUTES.viewHotlist.makeHref(b.hotlist.hotlistId),cf);Nf("aria-label",
b.getAriaLabel(b.hotlist));A();yg(b.hotlist.name);A();E("ngIf",b.removable);A(3);E("hotlist",b.hotlist)}},mKa=function(a){a&1&&jg(0)},nKa=function(a){a&1&&dg(0)},oKa=function(a){if(a&1){var b=u();F(0,"button",8,1);O("click",function(e){v(b);var f=P();return x(f.onClick(e))});C(2,nKa,1,0,"ng-container",9);H()}if(a&2){var c;a=P();var d=M(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Nf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);
A(2);E("ngTemplateOutlet",d)}},pKa=function(a){a&1&&dg(0)},qKa=function(a){if(a&1){var b=u();F(0,"button",10,1);O("click",function(e){v(b);var f=P();return x(f.onClick(e))});C(2,pKa,1,0,"ng-container",9);H()}if(a&2){var c;a=P();var d=M(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Nf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);E("ngTemplateOutlet",d)}},rKa=function(a){a&1&&dg(0)},sKa=function(a){if(a&1){var b=
u();F(0,"button",11,1);O("click",function(e){v(b);var f=P();return x(f.onClick(e))});C(2,rKa,1,0,"ng-container",9);H()}if(a&2){var c;a=P();var d=M(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Nf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);E("ngTemplateOutlet",d)}},tKa=function(a){a&1&&dg(0)},uKa=function(a){if(a&1){var b=u();F(0,"button",12,1);O("click",function(e){v(b);var f=P();return x(f.onClick(e))});C(2,
tKa,1,0,"ng-container",9);H()}if(a&2){var c;a=P();var d=M(1);E("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Nf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);E("ngTemplateOutlet",d)}},vKa=function(a){a&1&&dg(0)},xKa=function(a){if(a&1){var b=u();F(0,"button",8,1);O("click",function(e){v(b);var f=P();return x(f.onClick(e))});C(2,vKa,1,0,"ng-container",9);H()}if(a&2){var c;a=P();var d=M(1);E("color",a.color)("disabled",
a.disabled)("ngClass",a.size)("matTooltip",(c=a.tooltip)!==null&&c!==void 0?c:"");Nf("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);A(2);E("ngTemplateOutlet",d)}},AKa=function(a){a&1&&(F(0,"div",10),Fd(),F(1,"svg",12),J(2,"path",13),H(),F(3,"svg",14),J(4,"path",15),H()())},BKa=function(a){a&1&&J(0,"waldo-availability-chip",1);a&2&&(a=P(),E("user",a.user),Nf("coinonly",a.coinonly))},CKa=function(a){a&1&&(K(0),J(1,"b-availability-chip",4),L());a&2&&(a=P(2).ngIf,A(),E("user",a.email))},
DKa=function(a){a&1&&(K(0),Q(1),L(),C(2,CKa,2,1,"ng-container",2));if(a&2){a=P().ngIf;var b=P();A();yg(a.content);A();E("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},EKa=function(a){a&1&&dg(0)},FKa=function(a){a&1&&(K(0),F(1,"span",5),C(2,EKa,1,0,"ng-container",6),H(),F(3,"onedev-hovercard",null,1),J(5,"b-issue-person-card",7),H(),L());if(a&2){a=M(4);var b=P().ngIf,c=M(2),d=P();A();E("onedevHovercardTrigger",a);Nf("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);A();
E("ngTemplateOutlet",c);A(3);E("email",b.email)}},GKa=function(a,b){a&1&&(K(0),C(1,DKa,3,2,"ng-template",null,0,Mg)(3,FKa,6,4,"ng-container",3),L());if(a&2){a=b.ngIf;b=M(2);var c=P();A(3);E("ngIf",c.hovercardEnabled&&c.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},HKa=function(a){a&1&&J(0,"b-user-display-name",2);a&2&&(a=P(),E("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},IKa=function(a){a&
1&&(F(0,"span"),Q(1),H());a&2&&(a=P(),A(),yg(a.getDisplayString()))},JKa=function(a){a&1&&dg(0)},KKa=function(a){a&1&&(K(0),F(1,"span",4),C(2,JKa,1,0,"ng-container",5),H(),F(3,"onedev-hovercard",null,1),J(5,"b-issue-person-card",6),H(),L());if(a&2){a=M(4);var b=P().ngIf,c=M(3);A();E("onedevHovercardTrigger",a);A();E("ngTemplateOutlet",c);A(3);E("email",b.email)}},MKa=function(a){a&1&&(K(0),J(1,"img",8),L());a&2&&(a=P(2).ngIf,P(),A(),E("src",LKa[a.email],cf))},NKa=function(a){a&1&&J(0,"img",11);a&
2&&(a=P(3).ngIf,E("src",a.src,cf)("srcset",a.srcset))},OKa=function(a){a&1&&(F(0,"span",9),T(1,"async"),C(2,NKa,1,2,"img",10),H());if(a&2){a=P(2).ngIf;var b=P();Wf("team-member",U(1,5,b.isTeamMember$))("anonymous",!a.showImage);A(2);E("ngIf",a.showImage)}},QKa=function(a){a&1&&C(0,MKa,2,1,"ng-container",2)(1,OKa,3,7,"span",7);if(a&2){a=P().ngIf;var b=P();E("ngIf",a.email&&PKa(b,a.email));A();E("ngIf",!PKa(b,a.email))}},RKa=function(a,b){a&1&&(K(0),C(1,KKa,6,3,"ng-container",3)(2,QKa,2,2,"ng-template",
null,0,Mg),L());if(a&2){a=b.ngIf;b=M(3);var c=P();A();E("ngIf",c.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},SKa=function(a){a&1&&J(0,"b-user-image",6);a&2&&(a=P(),E("email",a.email))},TKa=function(a){a&1&&dg(0)},UKa=function(a){a&1&&(K(0),F(1,"span",7),C(2,TKa,1,0,"ng-container",8),H(),F(3,"onedev-hovercard",null,1),J(5,"b-issue-person-card",9),H(),L());if(a&2){a=M(4);var b=P(),c=M(4);A();E("onedevHovercardTrigger",a);A();E("ngTemplateOutlet",c);A(3);E("email",b.email)}},VKa=function(a){a&1&&
(F(0,"span"),Q(1),H());a&2&&(a=P(),A(),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,yg(a))},WKa=function(a){a&1&&(F(0,"span",10),J(1,"b-availability-chip",11),H());a&2&&(a=P(),A(),E("user",a.email))},XKa=function(a){a&1&&J(0,"b-icon",9)},YKa=function(a){a&1&&J(0,"b-user-image",10);a&2&&(a=P(2),E("email",a.email))},ZKa=function(a){a&1&&(K(0),C(1,XKa,1,0,"b-icon",8),T(2,"async"),C(3,
YKa,1,1,"ng-template",null,1,Mg),L());if(a&2){a=M(4);var b=P();A();E("ngIf",b.enableGroupIcon&&U(2,2,b.isGroup$))("ngIfElse",a)}},$Ka=function(a){a&1&&J(0,"b-user-display-name",11);a&2&&(a=P(),E("email",a.email)("hovercardFocusEnabled",!0)("availabilityChipEnabled",!1))},aLa=function(a){a&1&&dg(0)},bLa=function(a){a&1&&(K(0),F(1,"span",13),C(2,aLa,1,0,"ng-container",14),H(),F(3,"onedev-hovercard",null,3),J(5,"b-issue-person-card",15),H(),L());if(a&2){a=M(4);P();var b=M(2),c=P();A();E("onedevHovercardTrigger",
a);A();E("ngTemplateOutlet",b);A(3);E("email",c.email)}},cLa=function(a){a&1&&(F(0,"span",16),Q(1),H());a&2&&(a=P(2),A(),yg(a.email))},dLa=function(a){a&1&&C(0,bLa,6,3,"ng-container",12)(1,cLa,2,1,"ng-template",null,2,Mg);if(a&2){a=M(2);var b=P();E("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",a)}},eLa=function(a){a&1&&(J(0,"mat-icon",17),T(1,"async"),T(2,"async"));if(a&2){var b,c;a=P();E("svgIcon",(b=U(1,2,a.iconName$))!==null&&b!==void 0?b:"")("matTooltip",(c=U(2,4,a.iconToolTip$))!==null&&
c!==void 0?c:"")}},fLa=function(a){a&1&&(K(0),J(1,"b-availability-chip",18),L());a&2&&(a=P(),A(),E("user",a.email))},hLa=function(a){if(a&1){var b=u();F(0,"button",10);O("click",function(){v(b);var c=P(2),d=new hi;c.date=d;c.dateSelectionChange.emit(d);gLa(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return x(c.saveClicked.emit())});Q(1,"Today");H()}},iLa=function(a){if(a&1){var b=u();F(0,"button",11);O("click",function(){v(b);var c=P(2);c.date=void 0;
c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return x(c.saveClicked.emit())});Q(1,"None");H()}},jLa=function(a){a&1&&(F(0,"div",1),C(1,hLa,2,0,"button",8)(2,iLa,2,0,"button",9),J(3,"mat-divider"),H());a&2&&(a=P(),A(),E("ngIf",a.todayButtonEnabled),A(),E("ngIf",a.noneButtonEnabled&&!a.required))},kLa=function(a){a&1&&(J(0,"div"),T(1,"lowercase"));a&2&&(a=P(3),Zf("bv2-edit-icon ",U(1,3,a.type),""))},lLa=function(a){a&1&&(F(0,"div")(1,"label"),Q(2),H(),C(3,kLa,2,5,"div",16),H());a&2&&
(a=P(2),Zf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),A(2),R(" ",a.title," "),A(),E("ngIf",!a.readonly&&!a.disabled))},mLa=function(a){a&1&&dg(0)},nLa=function(a){if(a&1){var b=u();F(0,"div",19);O("menuClosed",function(){v(b);var d=P(3);return x(up(d,null,!1,!0))});C(1,mLa,1,0,"ng-container",20);H()}if(a&2){P(2);a=M(7);P();var c=M(7);E("matMenuTriggerFor",c);A();E("ngTemplateOutlet",a)}},pLa=function(a,b){a&1&&(F(0,"a",24),Q(1),H());a&2&&(a=b.ngIf,b=P(4),Qf("aria-label","customfield",
b.customFieldId,":",a,""),E("queryParams",Hg(5,oLa,"customfield"+b.customFieldId+':"'+a+'"')),A(),R(" ",a," "))},qLa=function(a){a&1&&Q(0," -- ")},rLa=function(a){if(a&1){var b=u();F(0,"div",21);C(1,pLa,2,7,"a",22)(2,qLa,1,0,"ng-template",null,5,Mg);J(4,"br");F(5,"button",23);O("menuClosed",function(){v(b);var e=P(3);return x(up(e,null,!1,!0))});Q(6," Edit ");H()()}if(a&2){a=M(3);var c=P(3),d=M(7);A();E("ngIf",c.getDisplayValue(""))("ngIfElse",a);A(4);Pf("aria-label","Edit item for ",c.title,"");
E("matMenuTriggerFor",d)}},sLa=function(a){a&1&&(K(0),C(1,nLa,2,2,"div",18)(2,rLa,7,5,"ng-template",null,4,Mg),L());if(a&2){a=M(3);var b=P(2);A();E("ngIf",!(b.choices.length>50)||b.customFieldId===0)("ngIfElse",a)}},tLa=function(a){a&1&&dg(0)},uLa=function(a){a&1&&(F(0,"div",25),C(1,tLa,1,0,"ng-container",20),H());a&2&&(P(),a=M(7),A(),E("ngTemplateOutlet",a))},vLa=function(a){a&1&&J(0,"b-user-membership-chip",33);a&2&&(a=P(5),E("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",
!0))},wLa=function(a){a&1&&J(0,"b-user-image",34);a&2&&(a=P(5),E("email",a.value))},xLa=function(a){a&1&&(F(0,"span",35)(1,"b-person-hovercard",36),Q(2),H()());a&2&&(a=P(5),A(),E("email",a.value),A(),R(" ",a.getDisplayValue("--")," "))},yLa=function(a){a&1&&(K(0),F(1,"div",29),C(2,vLa,1,4,"b-user-membership-chip",30)(3,wLa,1,1,"b-user-image",31)(4,xLa,3,2,"span",32),H(),L());a&2&&(a=P(4),A(2),E("ngIf",a.enableTeamAnnotations&&!!a.value),A(),E("ngIf",!a.enableTeamAnnotations&&!!a.value),A(),E("ngIf",
!a.enableTeamAnnotations))},zLa=function(a){a&1&&(F(0,"div"),C(1,yLa,5,3,"ng-container",11),H());a&2&&(a=P(3),A(),E("ngIf",a.isUser))},ALa=function(a){a&1&&J(0,"b-truncated-span",42);a&2&&(a=P(4),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},BLa=function(a){a&1&&J(0,"b-truncated-span",43);a&2&&(a=P(4),E("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},CLa=function(a){a&1&&J(0,"b-truncated-span",42);
a&2&&(a=P(4),Zf("chippy status-",a.value,""),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},DLa=function(a){a&1&&J(0,"b-truncated-span",44);a&2&&(a=P(4),E("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},ELa=function(a){a&1&&J(0,"div",45)},GLa=function(a){a&1&&(F(0,"div"),C(1,ALa,1,3,"b-truncated-span",37)(2,BLa,1,4,"b-truncated-span",38)(3,CLa,1,6,"b-truncated-span",39)(4,DLa,1,3,"b-truncated-span",40)(5,ELa,1,0,"div",41),H());a&2&&
(a=P(3),A(),E("ngIf",!Gg(5,FLa).includes(a.title)),A(),E("ngIf",a.title==="Priority"),A(),E("ngIf",a.title==="Status"),A(),E("ngIf",a.title==="Triage phase"),A(),E("ngIf",!a.title&&!a.readonly&&!a.disabled))},HLa=function(a){a&1&&(F(0,"div",46),J(1,"mat-icon",47),H())},ILa=function(a){a&1&&(F(0,"div",48),J(1,"mat-icon",49),H())},KLa=function(a){if(a&1){var b=u();F(0,"div",26,6);O("keydown",function(c){v(b);var d=P(2);return x(JLa(d,c))})("click",function(c){v(b);var d=P(2);return x(up(d,c,!0,!1))});
C(2,zLa,2,1,"div",11)(3,GLa,6,6,"div",11)(4,HLa,2,0,"div",27)(5,ILa,2,0,"div",28);H()}a&2&&(a=P(2),Wf("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),A(2),E("ngIf",a.isUser),A(),E("ngIf",!a.isUser),A(),E("ngIf",a.type!="ENUM"),A(),E("ngIf",a.type=="ENUM"))},LLa=function(a){if(a&1){var b=u();F(0,"div",15,2);O("click",function(c){v(b);var d=P();return x(up(d,c,!0,!1))})("keydown",function(c){v(b);var d=P();return x(JLa(d,c))})("keydown.escape",function(){v(b);var c=M(2);return x(c.hide())});
C(3,lLa,4,5,"div",16)(4,sLa,4,2,"ng-container",11)(5,uLa,2,1,"div",17)(6,KLa,6,8,"ng-template",null,3,Mg);H()}a&2&&(a=P(),Zf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),Wf("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),Qf("aria-label","",a.title," value is ",a.getDisplayValue("empty"),""),E("matTooltip",a.getTooltip()),Nf("aria-disabled",!1),A(3),E("ngIf",a.title),A(),E("ngIf",a.type==="ENUM"),A(),E("ngIf",a.type!=="ENUM"))},MLa=function(a){if(a&1){var b=u();F(0,"div",
53);O("click",function(){v(b);var c=P(2);return x(c.setFieldValue(!c.value))});F(1,"label");Q(2);H()()}a&2&&(a=P(2),Zf("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),A(2),yg(a.title))},OLa=function(a){if(a&1){var b=u();F(0,"div",50);C(1,MLa,3,4,"div",51);F(2,"b-slide-toggle",52);O("modelChange",function(){v(b);var d=P();return x(d.setFieldValue(!d.value))});H()()}if(a&2){var c;a=P();Zf("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");E("ngClass",Ig(10,NLa,a.disabled,
a.readonly))("matTooltip",a.getTooltip());Nf("aria-disabled",!1);A();E("ngIf",a.title);A();E("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",(c=a.value)!==null&&c!==void 0?c:void 0)}},PLa=function(a){a&1&&J(0,"b-availability-chip",55);a&2&&(a=P(2),E("user",a.value))},QLa=function(a){a&1&&(K(0),C(1,PLa,1,1,"b-availability-chip",54),L());a&2&&(a=P(),A(),E("ngIf",a.value&&a.enableWaldoAvailability))},RLa=function(a){if(a&1){var b=u();F(0,"button",58);O("click",function(){v(b);var c=P(2);
return x(c.clearFieldValue())});F(1,"span",59);J(2,"mat-icon",60);H();Q(3," \u00a0 ");H()}a&2&&(a=P(2),Wf("b-menu-item-checked",a.value==null),E("disabled",a.value==null))},SLa=function(a){a&1&&(F(0,"span",64),Q(1),H());a&2&&(a=P().$implicit,A(),yg(a.hotkey.displayAs))},TLa=function(a,b){if(a&1){var c=u();F(0,"button",61);O("click",function(){var d=v(c).$implicit,e=P(2);return x(e.setFieldValue(d.value))})("onHotkey",function(){var d=v(c).$implicit,e=P(2);e.setFieldValue(d.value);return x(e.enumMenuTrigger.closeMenu())});
F(1,"span",62)(2,"span",59);J(3,"mat-icon",60);H();Q(4);C(5,SLa,2,1,"span",63);H()()}a&2&&(a=b.$implicit,b=P(2),Wf("b-menu-item-checked",b.value==a.value),E("disabled",b.value==a.value)("matTooltip",a.altText||"")("hotkey",a.hotkey),Nf("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),A(4),R(" ",a.displayText," "),A(),E("ngIf",a.hotkey&&b.showHotkeyHint))},ULa=function(a){a&1&&C(0,RLa,4,3,"button",56)(1,TLa,6,9,"button",57);a&2&&(a=P(),E("ngIf",a.clearable),A(),E("ngForOf",
a.choices))},VLa=function(a){a&1&&dg(0)},WLa=function(a){a&1&&dg(0)},XLa=function(a){if(a&1){var b=u();F(0,"div",53);O("click",function(d){v(b);return x(d.stopPropagation())});F(1,"b-date-time-picker-content",69);O("dateSelectionChange",function(d){v(b);var e=P(2);return x(e.googDateValue=d!==null&&d!==void 0?d:null)})("saveClicked",function(){v(b);var d=P(2);return x(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){v(b);var d=P(2);return x(up(d,null,!1,!1))});H()()}if(a&2){var c;a=
P(2);A();E("required",!(a.clearable&&a.type==="DATE"))("date",(c=a.googDateValue)!==null&&c!==void 0?c:void 0)}},ZLa=function(a){if(a&1){var b=u();F(0,"textarea",78);Cg("ngModelChange",function(c){v(b);var d=P(4);Bg(d.textBuffer,c)||(d.textBuffer=c);return x(c)});O("keydown",function(c){v(b);var d=P(4);return x(YLa(d,c))});H()}a&2&&(a=P(4),Ag("ngModel",a.textBuffer),Nf("aria-label",a.title))},aMa=function(a){if(a&1){var b=u();F(0,"input",79);Cg("ngModelChange",function(c){v(b);var d=P(4);Bg(d.textBuffer,
c)||(d.textBuffer=c);return x(c)});O("keydown",function(c){v(b);var d=P(4);return x($La(d,c))});H()}a&2&&(a=P(4),Ag("ngModel",a.textBuffer),Nf("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},bMa=function(a){a&1&&(F(0,"div"),C(1,ZLa,1,2,"textarea",76)(2,aMa,1,3,"input",77),H());a&2&&(a=P(3),A(),E("ngIf",a.multiline),A(),E("ngIf",!a.multiline))},cMa=function(a){if(a&1){var b=u();F(0,"textarea",82);Cg("ngModelChange",function(c){v(b);var d=P(4);Bg(d.textBuffer,c)||(d.textBuffer=c);
return x(c)});O("keydown",function(c){v(b);var d=P(4);return x(YLa(d,c))})("autocompleteActive",function(c){v(b);var d=P(4);return x(d.autocompleteActive=c)});H()}a&2&&(a=P(4),Ag("ngModel",a.textBuffer),E("bContactAutocomplete","MULTI"),Nf("aria-label",a.title))},dMa=function(a){if(a&1){var b=u();F(0,"input",83);Cg("ngModelChange",function(c){v(b);var d=P(4);Bg(d.textBuffer,c)||(d.textBuffer=c);return x(c)});O("keydown",function(c){v(b);var d=P(4);return x($La(d,c))})("autocompleteActive",function(c){v(b);
var d=P(4);return x(d.autocompleteActive=c)});H()}a&2&&(a=P(4),Ag("ngModel",a.textBuffer),E("bContactAutocomplete","SINGLE"),Nf("type",a.type==="NUMERIC"?"number":"text")("aria-label",a.title))},eMa=function(a){a&1&&(F(0,"div"),C(1,cMa,1,3,"textarea",80)(2,dMa,1,4,"input",81),H());a&2&&(a=P(3),A(),E("ngIf",a.multiline),A(),E("ngIf",!a.multiline))},gMa=function(a){if(a&1){var b=u();F(0,"div",70);O("click",function(c){v(b);return x(c.stopPropagation())});C(1,bMa,3,2,"div",11)(2,eMa,3,2,"div",11);F(3,
"div",71)(4,"button",72);O("click",function(){v(b);var c=P(2);return x(fMa(c))});J(5,"mat-icon",73);H();F(6,"button",74);O("click",function(c){v(b);var d=P(2);return x(up(d,c,!1,!0))});J(7,"mat-icon",75);H()();F(8,"div",46);J(9,"mat-icon",47);H()()}a&2&&(a=P(2),A(),E("ngIf",!a.isUser),A(),E("ngIf",a.isUser),A(2),Pf("aria-label","Apply change to ",a.title,""),kg("matTooltip","Apply change to ",a.title,""),E("disabled",a.value==a.textBuffer),A(2),Pf("aria-label","Discard change to ",a.title,""),kg("matTooltip",
"Discard change to ",a.title,""))},hMa=function(a){a&1&&(F(0,"div",65,7),C(2,VLa,1,0,"ng-container",66)(3,WLa,1,0,"ng-container",66)(4,XLa,2,2,"div",67)(5,gMa,10,11,"div",68),H());a&2&&(a=P(),Zf("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),E("ngSwitch",a.type),A(2),E("ngSwitchCase","ENUM"),A(),E("ngSwitchCase","BOOL"),A(),E("ngSwitchCase","DATE"))},iMa=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}},jMa=function(a){a&1&&dg(0)},mMa=function(a){if(a&1){var b=u();F(0,"div",1);O("keydown",function(c){v(b);var d=P();return x(d.processKeydown(c))});F(1,"div",2);C(2,jMa,1,0,"ng-container",3);H();F(3,"div",4)(4,"button",5);O("click",function(){v(b);var c=P();return x(kMa(c))});Q(5,"Save");H();F(6,"button",6);O("click",function(){v(b);var c=P();return x(lMa(c))});Q(7,"Cancel");H()()()}a&2&&(a=P(),E("cdkTrapFocusAutoCapture",!0),A(2),E("ngTemplateOutlet",
a.editorTemplate),A(2),E("disabled",a.saveDisabled))},oMa=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new vp(new nMa(a,d))},qMa=function(){return new pMa(jd.apply(0,arguments))},sMa=function(){return new rMa(jd.apply(0,arguments))},uMa=function(){var a=jd.apply(0,arguments);return a.length===1?a[0]:new tMa(a)},vMa=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))},wMa=function(a){if(a&1){var b=u();F(0,"input",4,2);O("peoplekitAutocompleteSelectionChange",
function(c){v(b);var d=P();c.length>0&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return x()});Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.inputValue,c)||(d.inputValue=c);return x(c)});H()}a&2&&(a=P(),E("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions),Ag("ngModel",a.inputValue))},xMa=function(a){a&1&&dg(0)},zMa=function(a){a&1&&(K(0),C(1,xMa,1,0,"ng-container",6),L());a&2&&(a=P(),A(),E("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",
Hg(2,yMa,a.email)))},AMa=function(a){a&1&&Q(0);a&2&&(a=P(),R(" ",a.email," "))},BMa=function(a){a&1&&(Fd(),F(0,"svg",7),J(1,"path",8),H())},CMa=function(a){a&1&&J(0,"b-user-membership-chip",4);if(a&2){var b;a=P().$implicit;var c=P();E("email",a)("teamId",(b=c.teamId)!==null&&b!==void 0?b:"")("enableSmallChip",!0)}},DMa=function(a,b){a&1&&C(0,CMa,1,3,"b-user-membership-chip",3);a&2&&E("ngIf",b.$implicit)},EMa=function(a){a&1&&J(0,"div",2)},FMa=function(a){a&1&&(K(0),jg(1),L())},GMa=function(a){a&1&&
(Fd(),F(0,"svg",1),J(1,"path",2),H());a&2&&(a=P(),E("matTooltip",a.warning))},HMa=function(a){if(a&1){var b=u();K(0);F(1,"b-edit-field",3,1);T(3,"async");T(4,"async");O("valueChange",function(d){v(b);var e=M(2);P().valueChange.emit({editField:e,newEmail:d!==null&&d!==void 0?d:""});return x()});H();L()}if(a&2){var c;a=P();A();E("name",a.name)("title",a.title)("type",a.FieldType.TEXT)("value",a.value)("user",a.user)("isUser",!0)("readonly",!U(3,10,a.hasAclToEdit$))("disabled",!!a.isSaving)("showAvailability",
!0)("teamId",(c=U(4,12,a.teamId$))!==null&&c!==void 0?c:"")}},IMa=function(a){if(a&1){var b=u();F(0,"onedev-edit-field")(1,"onedev-field-label");Q(2);H();F(3,"onedev-field-value",4)(4,"b-user-picker",5);T(5,"async");T(6,"async");O("emailChange",function(d){v(b);P().emailChange.emit(d);return x()});H()()()}if(a&2){var c;a=P();A(2);yg(a.title);A();E("thinking",!!a.isSaving);A();E("user",a.user)("teamId",(c=U(5,5,a.teamId$))!==null&&c!==void 0?c:"")("disabled",!U(6,7,a.hasAclToEdit$))}},xp=function(a,
b){return JMa(wp.viewIssue.routeDeclarationPath,{id:a,params:b})},NMa=function(a,b,c,d,e){c=KMa(c);d=LMa(d);return MMa("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)},KMa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},LMa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},JMa=function(a,b){b=b===void 0?{}:b;return b.id==null?"":yp(a,b)},yp=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=OMa(f,d));e&&(f=f+"#"+e);return f},PMa=function(a){if(a&1){var b=u();F(0,"b-star-toggle",9);T(1,"async");T(2,"async");O("starClicked",function(){v(b);var c=P(2);return x(c.starClicked.emit())});H()}a&2&&(a=P(2),E("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!U(1,4,zp(a.isSavingStar,a.hotlist.hotlistId)))("starred",U(2,6,zp(a.starredHotlists,a.hotlist.hotlistId))))},QMa=function(a){a&
1&&(F(0,"p",10),Q(1),H());a&2&&(a=P(2),A(),R(" ",a.hotlist.description," "))},RMa=function(a){if(a&1){var b=u();F(0,"div",1)(1,"div",2)(2,"label",3);Q(3);H();F(4,"span",4);C(5,PMa,3,8,"b-star-toggle",5);F(6,"a",6);O("click",function(c){v(b);return x(c.stopPropagation())})("keydown.enter",function(c){v(b);return x(c.stopPropagation())});J(7,"mat-icon",7);H()()();C(8,QMa,2,1,"p",8);H()}a&2&&(a=P(),A(3),R(" ",a.hotlist.name," "),A(2),E("ngIf",a.shouldShowStar(a.hotlist)),A(),E("routerLink",a.ROUTES.viewHotlist.makeHref(a.hotlist.hotlistId)),
A(2),E("ngIf",!a.isCompact&&a.hotlist.description))},SMa=function(a){a&1&&jg(0,4)},TMa=function(a){a&1&&(F(0,"div",11),J(1,"input",12),F(2,"div",13),Fd(),F(3,"svg",14),J(4,"path",15),H(),zd.currentNamespace=null,J(5,"div",16),H()());a&2&&(a=P(),Wf("mdc-checkbox--disabled",a.disabled),A(),E("checked",a.selected)("disabled",a.disabled))},UMa=function(a){a&1&&(F(0,"div",17),J(1,"input",18),F(2,"div",19),J(3,"div",20)(4,"div",21),H()());a&2&&(a=P(),Wf("mdc-radio--disabled",a.disabled),A(),E("checked",
a.selected)("disabled",a.disabled))},VMa=function(){},WMa=function(a){a&1&&(F(0,"span",4),C(1,VMa,0,0,"ng-template",6),H());a&2&&(P(),a=M(3),A(),E("ngTemplateOutlet",a))},XMa=function(){},YMa=function(a){a&1&&(F(0,"span",5),C(1,XMa,0,0,"ng-template",6),H());a&2&&(P(),a=M(5),A(),E("ngTemplateOutlet",a))},ZMa=function(){},$Ma=function(a){a&1&&C(0,ZMa,0,0,"ng-template",6);a&2&&(P(),a=M(1),E("ngTemplateOutlet",a))},aNa=function(){},bNa=function(a){a&1&&(F(0,"span",9),C(1,aNa,0,0,"ng-template",6),H());
a&2&&(P(),a=M(3),A(),E("ngTemplateOutlet",a))},cNa=function(){},dNa=function(a){a&1&&(F(0,"span",9),C(1,cNa,0,0,"ng-template",6),H());a&2&&(P(),a=M(5),A(),E("ngTemplateOutlet",a))},eNa=function(){},fNa=function(a){a&1&&C(0,eNa,0,0,"ng-template",6);a&2&&(P(),a=M(1),E("ngTemplateOutlet",a))},gNa=function(a){a&1&&dg(0)},hNa=function(a){a&1&&(K(0),C(1,gNa,1,0,"ng-container",9),L());a&2&&(P(),a=M(12),A(),E("ngTemplateOutlet",a))},iNa=function(a){a&1&&dg(0)},jNa=function(a){a&1&&(K(0),C(1,iNa,1,0,"ng-container",
9),L());a&2&&(P(),a=M(6),A(),E("ngTemplateOutlet",a))},mNa=function(a){if(a&1){var b=u();F(0,"button",10);O("click",function(){v(b);var c=P();return x(kNa(c))});Q(1," Create ");H()}a&2&&(a=P(),E("disabled",!(lNa(a).length>0)))},nNa=function(a){if(a&1){var b=u();F(0,"button",11);O("click",function(){v(b);var c=P();return x(Ap(c))});Q(1);H()}a&2&&(a=P(),E("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),Nf("aria-label",a.saveBtnTooltip),A(),R(" ",a.saveBtnLabel," "))},pNa=
function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=P(2),d=ii(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),Ap(c)):oNa(c,d);return x()});Q(1);T(2,"async");F(3,"span",21);Q(4,"(add hotlist by ID)");H()()}a&2&&(a=P(2),A(),R(" ",U(2,1,a.query$)," "))},qNa=function(a){if(a&1){var b=u();F(0,"button",22);O("click",function(){v(b);P(2).showCreateNewPane=!0;return x()});Q(1);T(2,"async");F(3,"span",21);Q(4,"(create new)");H()()}a&2&&(a=P(2),A(),R(" ",U(2,1,
a.query$)," "))},rNa=function(a,b){if(a&1){var c=u();K(0);F(1,"div",25,6);T(3,"async");F(4,"mat-list-option",26);T(5,"async");O("focus",function(){v(c);var f=M(2);return x(f.show())})("blur",function(){v(c);var f=M(2);return x(f.hide())});F(6,"hotlist-matlist-option",27);O("starClicked",function(){var f=v(c).$implicit,h=P(3);return x(h.toggleStar(f.hotlistId))});H()()();L()}if(a&2){var d,e;a=b.$implicit;b=P(3);A();E("matTooltip",((d=U(3,10,a.permissions$))==null?null:d.appender)===!1?b.NO_ACCESS_MESSAGE:
"");A(3);Vf("height","auto");E("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",((e=U(5,12,a.permissions$))==null?null:e.appender)===!1)("value",a.hotlistId);A(2);E("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},sNa=function(a){if(a&1){var b=u();K(0);F(1,"div",28)(2,"span",21);Q(3," The number of hotlists is too large to show at once. ");H();F(4,"button",29);O("click",function(){v(b);var c=P(3);return x(c.forceShowOverflow$.next(!0))});
Q(5," Show all anyway ");H()();L()}},tNa=function(a,b){if(a&1){var c=u();K(0);F(1,"mat-selection-list",23);O("selectionChange",function(d){v(c);var e=P(2);return x(e.onChangeMatList(d))})("keydown.meta.enter",function(){v(c);var d=P(2);return x(d.usePreviousSelectedHotlists=!0)})("keydown.shift.enter",function(){v(c);var d=P(2);return x(d.usePreviousSelectedHotlists=!0)})("keydown.control.enter",function(){v(c);var d=P(2);return x(d.usePreviousSelectedHotlists=!0)});C(2,rNa,7,14,"ng-container",24);
H();C(3,sNa,6,0,"ng-container",19);T(4,"async");L()}a&2&&(a=b.$implicit,b=P(2),A(2),E("ngForOf",a)("ngForTrackBy",b.trackByHotlistId),A(),E("ngIf",U(4,3,b.isOverflowMode$)))},uNa=function(a){if(a&1){var b=u();F(0,"header",12)(1,"h2");Q(2,"Search for Hotlists");H();F(3,"div",13);J(4,"mat-icon",14);F(5,"input",15,4);O("input",function(){v(b);var c=M(6);P().query$.next(c.value);return x()});H()()();F(7,"section",16,5);C(9,pNa,5,3,"button",17);T(10,"async");C(11,qNa,5,3,"button",18);T(12,"async");C(13,
tNa,5,5,"ng-container",19);T(14,"async");H()}a&2&&(a=P(),A(9),E("ngIf",U(10,3,a.showLoadById$)),A(2),E("ngIf",U(12,5,a.showCreateNew$)),A(2),E("ngIf",U(14,7,a.visibleHotlists$)))},vNa=function(a){a&1&&(F(0,"header",12)(1,"h2"),Q(2,"Create new hotlist"),H()(),F(3,"section",30)(4,"div",31)(5,"form",32)(6,"label",33),Q(7,"Name"),H(),J(8,"input",34),F(9,"label",35),Q(10,"Description"),H(),J(11,"textarea",36),F(12,"p",21),Q(13," Note: Access controls can be adjusted after the hotlist is created. "),H()()()());
a&2&&(a=P(),A(5),E("formGroup",a.hotlistUnderEdit))},wNa=function(a,b){return a.name.localeCompare(b.name)},xNa=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)},yNa=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)"]},zNa=function(a,b){a&1&&(F(0,"mat-option",14),Q(1),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",a," "))},ANa=function(a,b){a&1&&(F(0,"mat-option",14),J(1,"b-issue-priority-display",8),H());a&2&&(a=b.$implicit,E("value",a),A(),E("issuePriority",a))},BNa=function(a,b){if(a&1){var c=u();F(0,"b-hotlist-chip-smart",19);O("removeHotlist",function(){var d=v(c).$implicit,e=P(2).ngIf,f=P();return x(f.onHotlistRemoved(d,e.issueId))});
H()}a&2&&E("id",b.$implicit)},CNa=function(a,b){if(a&1){var c=u();F(0,"div",15)(1,"button",16);O("click",function(){v(c);var d=P(2);return x(d.openHotlistModal())});J(2,"mat-icon",17);Q(3," Add ");H();C(4,BNa,1,1,"b-hotlist-chip-smart",18);H()}a&2&&(a=b.$implicit,A(4),E("ngForOf",a))},ENa=function(a,b){if(a&1){var c=u();K(0);F(1,"h4",1);Q(2,"Verify Fields");H();F(3,"div",2)(4,"div",3);Q(5,"Severity");H();F(6,"div")(7,"mat-form-field",4)(8,"mat-select",5);Cg("ngModelChange",function(f){v(c);var h=
P();Bg(h.selectedSeverity,f)||(h.selectedSeverity=f);return x(f)});C(9,zNa,2,2,"mat-option",6);H()()()();F(10,"div",2)(11,"div",3);Q(12,"Priority");H();F(13,"div")(14,"mat-form-field",7)(15,"mat-select",5);Cg("ngModelChange",function(f){v(c);var h=P();Bg(h.selectedPriority,f)||(h.selectedPriority=f);return x(f)});F(16,"mat-select-trigger");J(17,"b-issue-priority-display",8);H();C(18,ANa,2,2,"mat-option",6);H()()()();F(19,"h4",1);Q(20,"Optional");H();F(21,"div",2)(22,"div",3);Q(23,"Hotlists");H();
C(24,CNa,5,1,"div",9);H();F(25,"div",2)(26,"div",3);Q(27,"Assignee");H();F(28,"div")(29,"b-single-user-control",10);O("valueChange",function(f){v(c);P().currentAssignee=f.newEmail;return x()})("emailChange",function(f){v(c);P().currentAssignee=f;return x()});H()()();F(30,"div",11)(31,"button",12);O("click",function(){var f=v(c).ngIf,h=P();return x(DNa(h,f))});Q(32);H();F(33,"button",13);O("click",function(){v(c);var f=P();return x(f.cancelAction.emit())});Q(34,"Cancel");H()();L()}if(a&2){var d,e;
a=b.ngIf;b=P();A(8);Ag("ngModel",b.selectedSeverity);A();E("ngForOf",b.severityChoices);A(6);Ag("ngModel",b.selectedPriority);A(2);E("issuePriority",b.selectedPriority);A();E("ngForOf",b.priorityChoices);A(6);E("ngIf",a.snapshot[0].hotlistId);A(5);E("issueId",a.issueId)("name","assignee")("title",b.currentAssignee?"":"None")("value",(d=b.currentAssignee)!==null&&d!==void 0?d:null)("user",(e=a.snapshot[0].assigneeUser)!==null&&e!==void 0?e:void 0);A(2);E("disabled",b.isSaving);A();yg(b.isSaving?"Saving":
"Move to confirmed")}},Bp=function(a,b,c){c=c===void 0?2:c;var d=(new Date).getTime()/1E3;d=Math.floor(d-a);if(d<300)return"just now";if(!(d<0)){for(var e=[],f=l(FNa),h=f.next();!h.done;h=f.next()){var k=l(h.value);h=k.next().value;k=k.next().value;if(e.length>=c)break;var q=Math.floor(d/k);if(q>=1)b?e.push(""+q+GNa[h]):q===1?e.push(q+" "+h):e.push(q+" "+h+"s");else if(e.length)break;d-=q*k;if(q>1)break}if(e.length)return e.join(" ")+" ago";console.error("epochToDateAgo() unhandled input. Seconds:",
a)}},HNa=function(a,b){a&1&&(K(0),F(1,"time",1),T(2,"async"),Q(3),H(),L());if(a&2){a=b.ngIf;b=P();A();var c=Of(u(),"padding-left: ",b.paddingLeftPx,"px");bla($ka,ala,c,!1);E("title",a.title);Nf("datetime",U(2,6,b.timestampIso$));A(2);yg(a.formatted)}},INa=function(a,b){a&1&&J(0,"b-hotlist-chip-smart",29);a&2&&E("id",b.$implicit)("removable",!1)},JNa=function(a,b){a&1&&(F(0,"div",27),C(1,INa,1,2,"b-hotlist-chip-smart",28),H());a&2&&(a=b.$implicit,A(),E("ngForOf",a))},KNa=function(a){a&1&&(J(0,"b-note-container",
36),T(1,"async"));if(a&2){var b;a=P().ngIf;var c=P().ngIf,d=P(2).ngIf,e=P();E("issueId",d)("note",a)("issueAccessLevel",U(1,4,e.accessLevel$))("formattingMode",(b=c[0].formattingMode)!==null&&b!==void 0?b:e.FormattingMode.PLAIN)}},LNa=function(a,b){a&1&&(K(0),C(1,KNa,2,6,"b-note-container",35),L());a&2&&(a=b.ngIf,A(),E("ngIf",a.unlinkifiedComment!==""))},MNa=function(a){a&1&&(J(0,"b-note-container",44),T(1,"async"));if(a&2){var b;a=P().$implicit;var c=P(4).ngIf,d=P();E("issueId",c)("issueAccessLevel",
U(1,4,d.accessLevel$))("note",d.getEventAsNote(a))("formattingMode",(b=a.formattingMode)!==null&&b!==void 0?b:d.FormattingMode.PLAIN)}},NNa=function(a){a&1&&J(0,"mat-divider")},ONa=function(a,b){a&1&&(F(0,"div",33)(1,"div",39)(2,"div"),J(3,"b-user-image",40),T(4,"async"),J(5,"b-user-membership-chip",41),H(),J(6,"b-formatted-date-time",42),H(),F(7,"div"),C(8,MNa,2,6,"b-note-container",43),H(),C(9,NNa,1,0,"mat-divider",14),H());if(a&2){var c;a=b.$implicit;b=b.last;var d=P(5);A(3);E("size","small")("email",
d.getUserEmailIfAvailable(a))("teamId",U(4,8,d.teamId$));A(2);E("user",a.userPerformingActionUser)("email",(c=d.getUserEmailIfAvailable(a))!==null&&c!==void 0?c:"");A();E("timestamp",a.modifiedDate);A(2);E("ngIf",d.isNonemptyCommentEvent(a)&&!d.isRedacted(a)&&!d.isDeleted(a));A();E("ngIf",!b)}},PNa=function(a,b){a&1&&(F(0,"mat-tab",37),T(1,"async"),C(2,ONa,10,10,"div",38),H());if(a&2){var c;a=b.ngIf;b=P(4);kg("label","Comments (",(c=U(1,3,b.comments$))==null?null:c.length,")");A(2);E("ngForOf",a)}},
QNa=function(a){a&1&&(F(0,"div",30)(1,"mat-tab-group",31)(2,"mat-tab",32)(3,"div",33),C(4,LNa,2,1,"ng-container",14),T(5,"async"),H()(),C(6,PNa,3,5,"mat-tab",34),T(7,"async"),H()());a&2&&(a=P(3),A(4),E("ngIf",U(5,2,a.firstNote$)),A(2),E("ngIf",U(7,4,a.comments$)))},RNa=function(a){a&1&&dg(0)},SNa=function(a){a&1&&C(0,RNa,1,0,"ng-container",45);a&2&&(P(2),a=M(22),E("ngTemplateOutlet",a))},TNa=function(a){a&1&&dg(0)},UNa=function(a){a&1&&C(0,TNa,1,0,"ng-container",45);a&2&&(P(2),a=M(24),E("ngTemplateOutlet",
a))},VNa=function(a){a&1&&dg(0)},WNa=function(a){a&1&&C(0,VNa,1,0,"ng-container",45);a&2&&(P(2),a=M(26),E("ngTemplateOutlet",a))},XNa=function(a){a&1&&(K(0),C(1,SNa,1,1,"ng-container")(2,UNa,1,1,"ng-container")(3,WNa,1,1,"ng-container"),L());if(a&2){var b;a=P(3);A();$f((b=a.selectedTriageAction)===a.TriageActionKey.SET_NEEDS_INFO?1:b===a.TriageActionKey.SET_CONFIRMED?2:b===a.TriageActionKey.CLOSE_ISSUE?3:-1)}},ZNa=function(a){if(a&1){var b=u();F(0,"button",47);T(1,"async");O("click",function(){v(b);
var d=P().$implicit,e=P(4).ngIf,f=P();return x(YNa(f,d.key,e))});Q(2);H()}if(a&2){a=P().$implicit;var c=P(5);E("disabled",!U(1,2,c.hasAclToEdit$));A(2);R(" ",a.displayAs," ")}},$Na=function(a,b){a&1&&C(0,ZNa,3,4,"button",46);a&2&&(a=b.$implicit,b=P(3).ngIf,$f(a.isEligible(b)?0:-1))},bOa=function(a,b){a&1&&bg(0,$Na,1,1,null,null,aOa);a&2&&(a=P(4),cg(a.PHASE_TO_ACTIONS.get(b)))},cOa=function(a){a&1&&(C(0,bOa,2,0),T(1,"async"));if(a&2){var b;a=P(3);$f((b=U(1,1,a.issuePhase$))?0:-1,b)}},eOa=function(a){if(a&
1){var b=u();F(0,"div",48)(1,"div",49);Q(2,"Needs more info");H();F(3,"needs-more-info",50);O("cancelAction",function(){v(b);var c=P(3);return x(c.cancelAction())})("completeAction",function(c){v(b);var d=P(3);return x(dOa(d,c))});H()()}},fOa=function(a){if(a&1){var b=u();F(0,"div",48)(1,"div",49);Q(2,"Confirm issue");H();F(3,"verify-fields",50);O("cancelAction",function(){v(b);var c=P(3);return x(c.cancelAction())})("completeAction",function(c){v(b);var d=P(3);return x(dOa(d,c))});H()()}},gOa=function(a){if(a&
1){var b=u();F(0,"div",48)(1,"div",49);Q(2,"Close issue");H();F(3,"close-issue",50);O("cancelAction",function(){v(b);var c=P(3);return x(c.cancelAction())})("completeAction",function(c){v(b);var d=P(3);return x(d.completeAction(c))});H()()}},hOa=function(a,b){a&1&&(K(0),F(1,"div",15)(2,"div",16)(3,"div",17),Q(4),H(),F(5,"div",18)(6,"div")(7,"span",19),Q(8),T(9,"enumToHuman"),H()(),F(10,"div")(11,"span",20),J(12,"b-issue-priority-display",21),H()(),J(13,"mat-divider",22),C(14,JNa,2,1,"div",23),H()(),
C(15,QNa,8,6,"div",24),T(16,"async"),H(),F(17,"div",25),C(18,XNa,4,1,"ng-container",26)(19,cOa,2,3,"ng-template",null,0,Mg)(21,eOa,4,0,"ng-template",null,1,Mg)(23,fOa,4,0,"ng-template",null,2,Mg)(25,gOa,4,0,"ng-template",null,3,Mg),H(),L());if(a&2){a=b.ngIf;b=M(20);var c=P(2);A(4);yg(a.snapshot[0].title);A(4);yg(U(9,8,a.snapshot[0].type));A(4);E("issuePriority",a.snapshot[0].priority);A();E("vertical",!0);A();E("ngIf",a.snapshot[0].hotlistId);A();E("ngIf",U(16,10,c.events$));A(3);E("ngIf",c.displaySecondaryFooter)("ngIfElse",
b)}},iOa=function(a,b){if(a&1){var c=u();F(0,"div",5)(1,"div",6)(2,"div",7);K(3);F(4,"a",8);Q(5);H();F(6,"a",9);J(7,"mat-icon",10);H();L();H();F(8,"div",11)(9,"button",12);O("click",function(){v(c);var d=P();return x(d.triageService.closeSidebar())});J(10,"mat-icon",13);H()()();C(11,hOa,27,12,"ng-container",14);T(12,"async");H()}a&2&&(a=b.ngIf,b=P(),A(4),kg("href","/issues/",a,"",cf),A(),R(" ",a," "),A(),kg("href","/issues/",a,"",cf),A(5),E("ngIf",U(12,6,b.issue$)))},jOa=function(a){var b={attributeFilter:["aria-label",
"aria-valuenow"]};return new ce(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)})},kOa=function(a){a&1&&(Fd(),F(0,"svg",11),J(1,"circle",12),H());a&2&&(a=P(),Nf("viewBox",a._viewBox()),A(),Vf("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),Nf("r",
a._circleRadius()))},lOa=function(){return{diameter:100}},mOa=function(a){a&1&&J(0,"mat-spinner",2);a&2&&(a=P(),E("diameter",36),Nf("aria-label",a.ariaLabel))},nOa=function(a){a&1&&J(0,"mat-spinner",3);a&2&&(a=P(),E("diameter",16)("strokeWidth",2),Nf("aria-label",a.ariaLabel))},oOa=function(a,b){a&1&&(F(0,"p",0)(1,"a",8),Q(2),T(3,"async"),H()());a&2&&(a=P(),A(),E("href",a.ROUTES.viewTriagePhase.makeHref(b,a.phaseToUrlSlug.get(a.phase$.value)),cf),A(),R(" ",U(3,2,a.heading$)," "))},pOa=function(a,
b){a&1&&Q(0);a&2&&(a=P(),zg(" ",b.length,"",b.length===a.FETCH_SIZE?"+":""," "))},qOa=function(a){a&1&&Q(0," ... ")},rOa=function(a,b){a&1&&J(0,"i",10);if(a&2){a=b.$implicit;b=b.$index;var c=P(2);a=Of(u(),"height: ",a*100,"%;");bla($ka,ala,a,!1);mg("title","Modified ",b," days ago: ",c[b]," Issues")}},sOa=function(a,b){a&1&&bg(0,rOa,1,6,"i",9,pla);a&2&&cg(b)},tOa=function(a){a&1&&(C(0,sOa,2,0),T(1,"async"));if(a&2){var b;a=P();$f((b=U(1,1,a.ratioDaysOld$))?0:-1,b)}},vOa=function(a,b){a&1&&(F(0,"a",
7),Q(1," View as search results "),H());a&2&&(a=P(),E("href",a.ROUTES.listIssues.makeHref(Hg(2,uOa,b)),cf)("title",b))},xOa=function(a){return(wOa-a/1E3)/864E5},AOa=function(a){var b=a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(yOa).length;var c=a.filter(function(d){return!yOa(d)}).filter(zOa).length;return{filters:b,text:a.length-b-c,resourceIds:c}},zOa=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:Cp(a)},yOa=function(a){return!!a.match(/\w:\w/g)},BOa=function(a,b){a&1&&(F(0,"span",4),Q(1),H());a&2&&(E("title",b.description),A(),yg(b.name))},COa=function(a){a&1&&(F(0,"code",5),Q(1),T(2,"async"),H());a&2&&(a=P(),A(),yg(U(2,1,a.id$)))},DOa=function(a,b){a&1&&(F(0,"div",8),J(1,"phase-card-contents",9)(2,"phase-card-contents",9)(3,"phase-card-contents",9)(4,"phase-card-contents",9)(5,"phase-card-contents",9),H());a&2&&(a=P(),A(),E("phase",
a.TriagePhase.NEW)("teamId",b),A(),E("phase",a.TriagePhase.CONFIRMED)("teamId",b),A(),E("phase",a.TriagePhase.IN_PROGRESS)("teamId",b),A(),E("phase",a.TriagePhase.FIXED)("teamId",b),A(),E("phase",a.TriagePhase.WONT_FIX)("teamId",b))},Dp=function(a){if(!a.unlinkifiedComment)return ij("Can't getClMetadata from an event with no unlinkifiedComment",a),{};if(ej(a)){var b=a.unlinkifiedComment;var c=b.trim().split("\n");if(c.length<9)b={};else{var d,e,f=(e=(d=c[7])==null?void 0:d.trim())!=null?e:"";f===
""&&ij("failed to parse a title from GitWatcher comment, which is unexpected.",b);var h,k=(h=b.match(/^Author: .* <(.+)>/m))==null?void 0:h[1];k==null?ij("failed to parse an author from GitWatcher comment, which is unexpected.",b):k=k.endsWith("@google.com")?k.split("@")[0]:k;var q,t;c=(t=(q=c[c.length-1])==null?void 0:q.trim())!=null?t:"";c===""&&ij("failed to parse a link from GitWatcher comment, which is unexpected.",b);b={author:k,title:f,link:c,reviewer:void 0,delta:void 0}}}else{q=a.unlinkifiedComment;
h=q.trim().split("\n");var w,y;t=(y=(w=h[0])==null?void 0:w.trim())!=null?y:"";var D;h=(D=h[2])==null?void 0:D.trim();D=(k=t.match(/^Change\s+(\d+)/))==null?void 0:k[1];D==null&&ij("failed to parse an id from Critique comment, which is unexpected.",q);t=(c=t.match(/^Change.*by (\S+)@/))==null?void 0:c[1];t==null&&ij("failed to parse an author from Critique comment, which is unexpected.",q);c=(f=q.match(/[\^\s]R=(\S+)/))==null?void 0:f[1];f=(b=q.match(/[\^\s]DELTA=(\d+)/))==null?void 0:b[1];b={id:Di(D),
author:t,title:h,reviewer:c,delta:Di(f),link:"cl/"+D}}return b},EOa=function(a){var b;return(b=Dp(a).id)!=null?b:0},FOa=function(a){var b;return(b=Dp(a).link)!=null?b:""},GOa=function(a){return[].concat(r(a.preDiffs),r(a.postDiffs)).map(function(b){return"Changed "+(b.displayName||b.name)+" "+(b.newValue?"to "+b.newValue:"")}).join("\n")},IOa=function(a){if(a==null)return"";var b,c,d=(c=(b=a.userPerformingActionUser)==null?void 0:b.emailAddress)!=null?c:"";if(dj(a)||ej(a)){if(a=Dp(a).author)return a.includes("@")?
a:a+"@google.com"}else if(d==="product-feedback-gathering@prod.google.com")return HOa(a,"reporter")||d;return d},JOa=function(a,b){var c,d,e;return(e=[].concat(r((c=a.preDiffs)!=null?c:[]),r((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.oldValue},HOa=function(a,b){var c,d,e;return(e=[].concat(r((c=a.preDiffs)!=null?c:[]),r((d=a.postDiffs)!=null?d:[])).find(function(f){return f.name===b}))==null?void 0:e.newValue},KOa=function(a){if(a==null)return"default";if(Xi(a)&&
a.commentNumber===1)return"create";if(dj(a)||ej(a))return"changelist";var b,c=(b=a.preDiffs)!=null?b:[],d;b=(d=a.postDiffs)!=null?d:[];c=new Set([].concat(r(c),r(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=HOa(a,"assignee");a=JOa(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":Xi(a)?"comment":c.has("component")?"component":"default"},LOa=function(a,b){a&1&&(F(0,"span",9),Q(1," by "),J(2,"b-user-display-name",10),H());a&2&&(a=b.ngIf,A(2),E("email",a)("hovercardEnabled",!1))},MOa=function(a,b){a&1&&(F(0,"div")(1,"span"),Q(2),H(),J(3,"b-formatted-date-time",11),H());a&2&&(a=b.ngIf,b=P().ngIf,A(2),yg(b.pending?"Created on: ":"Submitted on: "),A(),E("timestamp",a))},NOa=function(a,b){a&1&&(K(0),J(1,"br"),Q(2),L());a&2&&(a=b.$implicit,A(2),R("",a,
" "))},OOa=function(a,b){a&1&&(K(0),F(1,"div",3)(2,"a",4),Q(3," CL "),F(4,"span"),Q(5),H()(),C(6,LOa,3,2,"span",5),J(7,"br")(8,"br"),C(9,MOa,4,2,"div",2),F(10,"div",6),J(11,"div",7)(12,"br"),F(13,"div"),Q(14," Affected files: "),C(15,NOa,3,1,"ng-container",8),H()()(),L());a&2&&(a=b.ngIf,b=P(),A(2),E("href","http://critique.corp.google.com/"+b.changelistId,cf),A(3),yg(b.changelistId),A(),E("ngIf",a.author),A(3),E("ngIf",a.timestamp),A(2),E("innerHTML",a.description,bf),A(4),E("ngForOf",a.affectedFiles))},
POa=function(a){a&1&&J(0,"b-changelist-card",4,1);if(a&2){a=M(1);var b=P();E("onedevIsHovercardReady",a.init)("changelistId",b.id)}},QOa=function(a){a&1&&(K(0),Q(1," created "),F(2,"b-issue-reference-widget",5),Q(3),H(),J(4,"b-formatted-date-time",6),L());a&2&&(a=P(),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate))},ROa=function(a){a&1&&(K(0),J(1,"changelist-link-plain",7),L());a&2&&(a=P(2),A(),E("id",a.getChangelistNumber(a.event)))},
SOa=function(a){a&1&&(K(0),F(1,"a",8),Q(2),H(),L());a&2&&(a=P(2),A(),E("href",a.getLink(a.event),cf),A(),yg(a.getLink(a.event)))},TOa=function(a,b){a&1&&(K(0),Q(1," \u2014 "),F(2,"span",9),Q(3),H(),L());a&2&&(a=b.$implicit,A(2),E("title",a),A(),yg(a))},UOa=function(a){a&1&&(K(0),Q(1," submitted "),C(2,ROa,2,1,"ng-container",4)(3,SOa,3,2,"ng-container",4),J(4,"b-formatted-date-time",6),C(5,TOa,4,2,"ng-container",4),L());a&2&&(a=P(),A(2),E("ngIf",a.isCritiqueComment(a.event)),A(),E("ngIf",a.isGerritComment(a.event)),
A(),E("timestamp",a.event.modifiedDate),A(),E("ngIf",a.getClMetadata(a.event).title))},VOa=function(a){a&1&&(K(0),Q(1," commented on "),F(2,"b-issue-reference-widget",5),Q(3),H(),J(4,"b-formatted-date-time",6),L());a&2&&(a=P(),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate))},WOa=function(a){a&1&&(K(0),Q(1," set priority "),J(2,"b-issue-priority-display",10),Q(3," on "),F(4,"b-issue-reference-widget",5),Q(5),H(),
J(6,"b-formatted-date-time",6),L());a&2&&(a=P(),A(2),E("issuePriority",a.toIssuePriority(a.getNewDiffValue(a.event,"priority"))),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate))},XOa=function(a,b){a&1&&(K(0),Q(1," set status "),F(2,"span"),Q(3),H(),Q(4," on "),L());a&2&&(a=b.$implicit,b=P(2),A(2),Zf("chippy xs status-",b.STATUS_CODE_FROM_DISPLAY_STRING[a],""),A(),R(" ",a," "))},YOa=function(a){a&1&&(K(0),C(1,XOa,
5,4,"ng-container",4),F(2,"b-issue-reference-widget",5),Q(3),H(),J(4,"b-formatted-date-time",6),L());a&2&&(a=P(),A(),E("ngIf",a.getNewDiffValue(a.event,"status")),A(),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate))},ZOa=function(a,b){a&1&&(K(0),Q(1," \u2014 "),F(2,"span",11),Q(3),H(),L());a&2&&(a=b.$implicit,A(2),E("title",a),A(),yg(a))},$Oa=function(a){a&1&&(K(0),Q(1," set status update on "),F(2,"b-issue-reference-widget",
5),Q(3),H(),J(4,"b-formatted-date-time",6),C(5,ZOa,4,2,"ng-container",4),L());a&2&&(a=P(),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate),A(),E("ngIf",a.event.statusUpdate==null?null:a.event.statusUpdate.updateText))},aPa=function(a){a&1&&(K(0),Q(1," assigned "),F(2,"b-issue-reference-widget",5),Q(3),H(),Q(4," to "),J(5,"b-user-email",0)(6,"b-formatted-date-time",6),L());if(a&2){var b;a=P();A(2);E("href",xp(a.event.issueId))("issueId",
a.event.issueId);A();R("b/",a.event.issueId,"");A(2);E("ldapOnly",!0)("email",(b=a.getNewDiffValue(a.event,"assignee"))!==null&&b!==void 0?b:"");A();E("timestamp",a.event.modifiedDate)}},bPa=function(a){a&1&&(K(0),Q(1," self-assigned "),F(2,"b-issue-reference-widget",5),Q(3),H(),J(4,"b-formatted-date-time",6),L());a&2&&(a=P(),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate))},cPa=function(a){a&1&&(K(0),Q(1," unassigned self from "),
F(2,"b-issue-reference-widget",5),Q(3),H(),J(4,"b-formatted-date-time",6),L());a&2&&(a=P(),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate))},dPa=function(a){a&1&&(K(0),Q(1," unassigned "),J(2,"b-user-email",0),Q(3," from "),F(4,"b-issue-reference-widget",5),Q(5),H(),J(6,"b-formatted-date-time",6),L());if(a&2){var b;a=P();A(2);E("ldapOnly",!0)("email",(b=a.getPreviousDiffValue(a.event,"assignee"))!==null&&b!==void 0?
b:"");A(2);E("href",xp(a.event.issueId))("issueId",a.event.issueId);A();R("b/",a.event.issueId,"");A();E("timestamp",a.event.modifiedDate)}},ePa=function(a){a&1&&(K(0),Q(1," moved "),F(2,"b-issue-reference-widget",5),Q(3),H(),Q(4," to another component "),J(5,"b-formatted-date-time",6),L());a&2&&(a=P(),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(2),E("timestamp",a.event.modifiedDate))},fPa=function(a){a&1&&(K(0),F(1,"span",12),Q(2," updated "),H(),
F(3,"b-issue-reference-widget",5),Q(4),H(),J(5,"b-formatted-date-time",6),L());a&2&&(a=P(),A(),E("title",a.shorthandAllDiffs(a.event)),A(2),E("href",xp(a.event.issueId))("issueId",a.event.issueId),A(),R("b/",a.event.issueId,""),A(),E("timestamp",a.event.modifiedDate))},gPa=function(a,b){a&1&&(K(0),Q(1," \u2014 "),F(2,"span",13),Q(3),H(),L());a&2&&(a=b.$implicit,A(2),E("title",a),A(),yg(a))},hPa=function(a){a&1&&(K(0),C(1,gPa,4,2,"ng-container",4),L());a&2&&(a=P(),A(),E("ngIf",a.event.unlinkifiedComment))},
iPa=function(a,b){a&1&&(K(0),Q(1," \u2014 "),F(2,"span",14),Q(3),H(),L());a&2&&(a=b.$implicit,A(2),E("title",a),A(),yg(a))},jPa=function(a){a&1&&(K(0),C(1,iPa,4,2,"ng-container",4),L());if(a&2){a=P();A();var b,c;a=(b=a.issueFridge.peek(a.event.issueId))==null?void 0:(c=b.snapshot[0])==null?void 0:c.title;E("ngIf",a)}},kPa=function(a,b){a&1&&J(0,"recent-event-row",5);a&2&&E("event",b.$implicit)},lPa=function(a,b){a&1&&(F(0,"p",3),Q(1),H(),C(2,kPa,1,1,"recent-event-row",4));if(a&2){a=P();var c=P(3);
A();R("Last 24 hours ",c.printStats(a["<24h"]),"");A();E("ngForOf",b)}},mPa=function(a,b){a&1&&J(0,"recent-event-row",5);a&2&&E("event",b.$implicit)},nPa=function(a,b){a&1&&(F(0,"p",6),Q(1),H(),C(2,mPa,1,1,"recent-event-row",4));if(a&2){a=P();var c=P(3);A();R("1-7 days ago ",c.printStats(a["24h-7d"]),"");A();E("ngForOf",b)}},oPa=function(a,b){a&1&&J(0,"recent-event-row",5);a&2&&E("event",b.$implicit)},pPa=function(a,b){a&1&&(F(0,"p",6),Q(1),H(),C(2,oPa,1,1,"recent-event-row",4));if(a&2){a=P();var c=
P(3);A();R("1-4 weeks ago ",c.printStats(a["7d-30d"]),"");A();E("ngForOf",b)}},qPa=function(a,b){a&1&&J(0,"recent-event-row",5);a&2&&E("event",b.$implicit)},rPa=function(a,b){a&1&&(F(0,"p",6),Q(1),H(),C(2,qPa,1,1,"recent-event-row",4));if(a&2){a=P();var c=P(3);A();R(">30 days ago ",c.printStats(a[">30d"]),"");A();E("ngForOf",b)}},sPa=function(a){if(a&1){var b=u();F(0,"button",7);O("click",function(){v(b);var c=P(4);c.numDisplayed$.value<100?c.numDisplayed$.next(100):c.numDisplayed$.next(c.defaultNumEvents);
return x()});Q(1);H()}a&2&&(a=P(4),A(),R(" ",a.numDisplayed$.value>a.defaultNumEvents?"Show less":"Show more"," "))},tPa=function(a){a&1&&(C(0,lPa,3,2)(1,nPa,3,2)(2,pPa,3,2)(3,rPa,3,2)(4,sPa,2,1,"button",2),T(5,"async"));if(a&2){var b,c,d,e,f;a=P();var h=P(2);$f((b=a["<24h"])?0:-1,b);A();$f((c=a["24h-7d"])?1:-1,c);A();$f((d=a["7d-30d"])?2:-1,d);A();$f((e=a[">30d"])?3:-1,e);A();$f(((f=(f=U(5,5,h.events$))==null?null:f.length)!==null&&f!==void 0?f:0)>h.defaultNumEvents?4:-1)}},uPa=function(a){a&1&&
(C(0,tPa,6,7),T(1,"async"));if(a&2){var b;a=P(2);$f((b=U(1,1,a.bucketedEventStats$))?0:-1,b)}},vPa=function(a){a&1&&(F(0,"div",0),Q(1," Recent activity "),J(2,"input",1),H(),C(3,uPa,2,3),T(4,"async"));if(a&2){var b;a=P();A(2);E("formControl",a.quickFilter);A();$f((b=U(4,2,a.bucketedEvents$))?3:-1,b)}},wPa=function(a){return function(b){var c;if(a){var d="";if(dj(b)||ej(b)){var e=Dp(b);d="submitted "+e.link+" "+e.title}e="b/"+b.issueId;var f=IOa(b),h=KOa(b),k=GOa(b);b=b==null||dj(b)||ej(b)?"":((c=
b.unlinkifiedComment)!=null?c:"").slice(0,999);c=[e,f,h,d,k,b].join(" ").toLowerCase().includes(a.toLowerCase())}else c=!0;return c}},xPa=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(Gi);return a.length===0?"":"\u2014 "+a.join(", ")},yPa=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},zPa=function(a,b){var c;a=(c=b[a])!=null?c:[];var d={n:a.length,pptCounts:{}};a.forEach(function(e){var f=KOa(e),h=IOa(e);if(e.unlinkifiedComment&&f!=="changelist"){var k;d.comment=((k=d.comment)!=null?k:0)+1;var q;d.pptCounts[h]=((q=d.pptCounts[h])!=null?q:0)+1}if(f==="changelist"){var t;d.clCount=((t=d.clCount)!=null?t:0)+1;var w;d.pptCounts[h]=((w=d.pptCounts[h])!=null?w:0)+1}else if(f==="create"){var y;d.created=((y=d.created)!=
null?y:0)+1;var D;d.pptCounts[h]=((D=d.pptCounts[h])!=null?D:0)+1}else if(f==="status"&&HOa(e,"status")==="Fixed"){var G;d.fixed=((G=d.fixed)!=null?G:0)+1}});return d},APa=function(a){a&1&&dg(0)},BPa=function(a){if(a&1){var b=u();F(0,"div",3);O("mouseenter",function(){v(b);var c=P();return x(c.toggle(!0))})("mouseleave",function(){v(b);var c=P();return x(c.toggle(!1))})("mousemove",function(){v(b);P().activity.next();return x()});C(1,APa,1,0,"ng-container",4);H()}a&2&&(a=P(),E("ngClass",a.bubbleStyle)("@fade",
void 0),A(),E("ngTemplateOutlet",a.panelTemplate))},CPa=function(a){a&1&&(K(0),F(1,"span",4),Q(2),H(),L());a&2&&(a=P(2),A(),Wf("xs",a.compactMode),E("ngClass",a.chipClass),A(),R(" ",a.chipText," "))},DPa=function(a){a&1&&(F(0,"div",7),Q(1),F(2,"a",8),Q(3," Learn more"),H()());a&2&&(a=P(3),A(),R(" ",a.bubbleText," "),A(),E("href",Ep(a.documentationLinks),cf))},EPa=function(a){a&1&&(F(0,"xap-bubble",5)(1,"span",6),Q(2),H(),C(3,DPa,4,2,"ng-template",null,1,Mg),H());if(a&2){a=M(4);var b=P(2);E("panelTemplate",
a);A();Wf("xs",b.compactMode);E("ngClass",b.chipClass);A();R(" ",b.chipText," ")}},FPa=function(a){a&1&&(K(0),C(1,CPa,3,4,"ng-container",3)(2,EPa,5,5,"ng-template",null,0,Mg),L());if(a&2){a=M(3);var b=P();A();E("ngIf",b.labelOnlyMode)("ngIfElse",a)}},GPa=function(a){a&1&&(K(0),Q(1,"Un-"),L())},IPa=function(a,b){if(a&1){var c=u();F(0,"div",7)(1,"b-contact-chip",8);O("chipSelection",function(){var d=v(c).index,e=P();e.selectedChipIndex!==d&&Fp(e,d)&&(HPa(e),e.selectedChipIndex=d,e.items[d].isSelected=
!0);return x()})("chipClear",function(){v(c);var d=P();return x(HPa(d))})("chipRemove",function(){var d=v(c).index,e=P();return x(e.removeItem(d))});H()()}a&2&&(a=b.$implicit,b=P(),A(),E("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()))},LPa=function(a){if(a&1){var b=u();F(0,
"input",9,0);O("autocompleteActive",function(){v(b);var c=P();return x(c.chipifyFn())});Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.typedText,c)||(d.typedText=c);return x(c)});O("focus",function(){v(b);var c=P();return x(JPa(c))})("blur",function(){v(b);var c=P();KPa(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return x()});H()}a&2&&(a=P(),E("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn),Ag("ngModel",a.typedText),E("disabled",a.isWidgetDisabled()))},
MPa=function(a){a&1&&(F(0,"span"),Q(1," Groups cannot be granted Restricted+ reader permission. "),F(2,"a",10),Q(3,"Learn more"),H()());a&2&&(a=P(),A(2),Nf("href",Ep(a.documentationLinks)+"#components",cf))},NPa=function(a){a&1&&(F(0,"span"),Q(1," Invalid user(s). "),H())},OPa=function(a){a&1&&(F(0,"span"),Q(1,' "Public" or external users are not allowed for component designated as "internal access". '),H())},PPa=function(a){a&1&&(F(0,"span"),Q(1,' "Public" is not allowed for components designated as "external partner access". '),
H())},QPa=function(a){a&1&&(F(0,"span"),Q(1," SLO lead can not be a group. "),H())},RPa=function(a){a&1&&(F(0,"span"),Q(1," SLO lead can only be a full-time Googler. "),H())},WPa=function(a,b){if(!b||!a)return SPa;var c;return!TPa((c=b.readers)!=null?c:[])||UPa(a)?VPa:SPa},TPa=function(a){return a.some(function(b){return b.alias!==void 0?b.alias==="public"||b.alias==="public_non_google":!1})},UPa=function(a){return a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"},XPa=function(a,b){a&1&&(F(0,"a",9),Q(1,
" Learn more. "),H());a&2&&E("href",b.$implicit,cf)},YPa=function(a,b){a&1&&J(0,"b-multi-user-input",11);a&2&&(E("users",b),Nf("disabled",!0))},ZPa=function(a){a&1&&(K(0,10),J(1,"br"),F(2,"h2"),Q(3,"Users who can view"),H(),C(4,YPa,1,2,"b-multi-user-input",11),T(5,"async"),L());if(a&2){var b;a=P(2);E("onedevIsHovercardReady",a.showHovercard$);A(4);$f((b=U(5,2,a.viewers$))?4:-1,b)}},aQa=function(a){if(a&1){var b=u();K(0);F(1,"span",3,0);T(3,"async");T(4,"async");O("focus",function(){v(b);var e=M(2);
P().loadTooltipOnce();e.disabled=!1;return x(e.show())})("blur",function(){v(b);var e=M(2);e.disabled=!0;return x(e.hide())});Q(5);T(6,"async");H();F(7,"onedev-hovercard",null,1)(9,"div",4)(10,"div",5)(11,"div",6);Q(12);T(13,"async");C(14,XPa,2,1,"a",7)(15,ZPa,6,4,"ng-container",8);H()()()();L()}if(a&2){var c;a=M(8);var d=P();A();Wf("xs",d.compactMode);E("onedevHovercardTrigger",a)("matTooltipDisabled",!0)("matTooltip",(c=U(3,9,d.tooltipText$))!==null&&c!==void 0?c:"")("ngClass",U(4,11,d.chipClass$));
A(4);R(" ",U(6,13,d.chipText$)," ");A(7);R(" ",U(13,15,d.bubbleText$)," ");A(2);E("ngIf",$Pa(d.documentationLinks))}},bQa=function(a){return a==="visible_to_listed_partners"||a==="visible_to_listed_public_users"},cQa=function(a){a&1&&J(0,"b-issue-visibility-chip",6);a&2&&(a=P(2),E("issueId",a.issueId))},dQa=function(a){a&1&&J(0,"b-component-access-level-indicator",7);a&2&&(a=P(2),E("labelOnlyMode",!0)("accessLevel",a.issue.accessLimit==null?null:a.issue.accessLimit.accessLevel))},eQa=function(a){a&
1&&(F(0,"span"),Q(1," Assigned to "),J(2,"b-user-display",17),H());a&2&&(a=P(2).ngIf,A(2),E("model",a.assigneeUser)("hovercardEnabled",!1))},fQa=function(a){a&1&&(F(0,"span"),Q(1," Accepted by "),J(2,"b-user-display",17),H());a&2&&(a=P(2).ngIf,A(2),E("model",a.assigneeUser)("hovercardEnabled",!1))},gQa=function(a){a&1&&(F(0,"span"),Q(1," Duplicate of "),F(2,"a",3),Q(3),H()());if(a&2){a=P(2).ngIf;var b=P();A(2);Pf("aria-label","Go to issue ",a.duplicateOfIssueId,"");E("href",b.ROUTES.viewIssue.makeHref(a.duplicateOfIssueId),
cf);A();R(" ",a.duplicateOfIssueId," ")}},hQa=function(a){a&1&&(F(0,"span"),Q(1),H());if(a&2){a=P().ngIf;var b=P(2);A();R(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},iQa=function(a,b){a&1&&(K(0,14),C(1,eQa,3,2,"span",15)(2,fQa,3,2,"span",15)(3,gQa,4,4,"span",15)(4,hQa,2,1,"span",16),L());a&2&&(E("ngSwitch",b.ngIf),A(),E("ngSwitchCase","ASSIGNED"),A(),E("ngSwitchCase","ACCEPTED"),A(),E("ngSwitchCase","DUPLICATE"))},jQa=function(a,b){a&1&&(K(0),J(1,"b-app-vote-button",18),L());if(a&2){var c;a=b.ngIf;b=P().ngIf;
var d=P(2);A();E("issueId",d.issueId)("voteCount",b.voteCount)("upvoted",(c=a.voted)!==null&&c!==void 0?c:!1)}},kQa=function(a){a&1&&(K(0),C(1,jQa,2,3,"ng-container",1),L());a&2&&(a=P(2),A(),E("ngIf",a.issue.userData))},mQa=function(a){if(a&1){var b=u();K(0);F(1,"button",19);O("click",function(){v(b);var c=P(2);return x(lQa(c,c.childContextId))});Q(2," Unlink parent ");H();L()}},nQa=function(a,b){a&1&&(F(0,"li"),Q(1," Last updated by "),J(2,"b-user-display",17),Q(3," on: "),J(4,"b-formatted-date-time",
20),H());a&2&&(a=b.ngIf,b=P().ngIf,A(2),E("model",a)("hovercardEnabled",!1),A(2),E("timestamp",b.modifiedTimeMicros/1E3))},oQa=function(a,b){a&1&&(K(0),C(1,nQa,5,3,"li",1),F(2,"li"),Q(3," Reported by "),J(4,"b-user-display",17),Q(5," on: "),J(6,"b-formatted-date-time",20),H(),L());a&2&&(a=b.ngIf,b=P().ngIf,A(),E("ngIf",a.lastModifier),A(3),E("model",b.reporterUser)("hovercardEnabled",!1),A(2),E("timestamp",a.createdTimeMicros/1E3))},pQa=function(a){a&1&&(F(0,"li",21),J(1,"b-note-container",22),H());
if(a&2){var b;a=P(2);A();var c=E("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)}},sQa=function(a,b){if(a&1){var c=u();K(0);F(1,
"div",2)(2,"h3")(3,"a",3);Q(4);H();Q(5," \u00a0 ");F(6,"span",4);Q(7);H()();F(8,"ul")(9,"li",5);C(10,cQa,1,1,"b-issue-visibility-chip",6)(11,dQa,1,2,"b-component-access-level-indicator",7);H();F(12,"li",8)(13,"span",9);Q(14);H();Q(15," \u00a0 ");C(16,iQa,5,4,"ng-container",10);H()();F(17,"div",11)(18,"b-cc-button",12);O("onCc",function(f){v(c);var h=P();h.location&&f&&h.analytics.trackEvent(h.location+"_issueCard","add","CC");return x()});H();C(19,kQa,2,1,"ng-container",1)(20,mQa,3,0,"ng-container",
1);H();F(21,"ul");C(22,oQa,7,4,"ng-container",1)(23,pQa,2,4,"li",13);H()();L()}if(a&2){var d,e;a=b.ngIf;b=P();A(3);Pf("aria-label","Go to issue ",b.issueId,"");E("href",b.ROUTES.viewIssue.makeHref(b.issueId),cf);A();yg(b.issueId);A(3);yg(a.title);A(3);$f(b.enableNewVisibilityChips?10:11);A(3);E("ngClass",b.priorityClass(a.priority));A();yg(b.ISSUE_PRIORITY_TEXT_JS[(d=a.priority)!==null&&d!==void 0?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);A(2);E("ngIf",a.status);A(2);E("issueId",b.issueId)("ccState",
qQa(b,(e=a.ccUsers)!==null&&e!==void 0?e:Gg(15,rQa)));A();E("ngIf",b.issue.aggregatedData);A();E("ngIf",b.childContextId);A(2);E("ngIf",b.issue.aggregatedData);A();E("ngIf",b.firstEvent==null?null:b.firstEvent.unlinkifiedComment)}},tQa=function(a){a&1&&dg(0)},uQa=function(a){a&1&&(F(0,"span"),Q(1,"Details"),H())},vQa=function(a){a&1&&(F(0,"span"),Q(1,"Members"),H())},xQa=function(a){a&1&&(F(0,"div",13)(1,"a",14),C(2,uQa,2,0,"span",15)(3,vQa,2,0,"span",15),H()());if(a&2){a=P(2);A();if(a.email===void 0)var b=
"";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=wQa(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":Zra(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}E("href",b,cf);A();E("ngIf",wQa(a.email));A();E("ngIf",!wQa(a.email))}},yQa=function(a){a&1&&(K(0),F(1,"span",3),C(2,tQa,1,0,"ng-container",4),H(),F(3,"onedev-hovercard",null,1)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),
Q(11),H()(),F(12,"div",10),J(13,"mat-icon",11),F(14,"span"),Q(15),H()()(),C(16,xQa,4,3,"div",12),H()()()(),L());if(a&2){a=M(4);var b=P(),c=M(2);A();E("onedevHovercardTrigger",a);A();E("ngTemplateOutlet",c);A(9);yg(b.getName());A(4);yg(b.email);A();E("ngIf",b.shouldShowLinks())}},zQa=function(a){a&1&&jg(0)},AQa=function(a,b){a&1&&J(0,"mat-icon",8);a&2&&E("svgIcon",b.ngIf)},BQa=function(a){a&1&&(F(0,"b-person-hovercard",9),Q(1),H());a&2&&(a=P(),E("email",a.value),A(),R(" ",a.displayText," "))},CQa=
function(a){a&1&&(F(0,"b-group-email-card",9),Q(1),H());a&2&&(a=P(),E("email",a.value),A(),R(" ",a.displayText," "))},DQa=function(a){a&1&&(F(0,"div"),Q(1),H());a&2&&(a=P(),A(),R(" ",a.displayText," "))},EQa=function(a){if(a&1){var b=u();F(0,"div",10);O("click",function(){v(b);var c=P();return x(c.chipRemove.emit())})("keydown.enter",function(){v(b);var c=P();return x(c.chipRemove.emit())});J(1,"mat-icon",11);H()}a&2&&(a=P(),kg("matTooltip","'Remove ",a.displayText,"'"),Nf("aria-label","Remove "+
a.displayText))},FQa=function(a,b){a&1&&(F(0,"div",19),J(1,"b-contact-chip",20),H());a&2&&(a=b.$implicit,b=P(2),A(),E("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},GQa=function(a){a&1&&(F(0,"div",12)(1,"div",13)(2,"div",14),C(3,FQa,2,5,"div",15),F(4,"div",16),J(5,"div",17)(6,"div",18),H()()()());a&2&&(a=P(),A(3),E("ngForOf",a.nestedChips))},HQa=function(a){a&1&&(F(0,"p",12),Q(1),H());a&2&&(a=P().$implicit,
A(),yg(a.description))},IQa=function(a,b){a&1&&(F(0,"mat-list-option",8)(1,"div",9)(2,"label",10),Q(3),H()(),C(4,HQa,2,1,"p",11),H());a&2&&(a=b.$implicit,b=P(2),Vf("height","auto"),E("selected",b.selectedIds.has(a.searchId))("value",a.searchId),A(3),yg(a.name),A(),E("ngIf",a.description))},JQa=function(a,b){if(a&1){var c=u();K(0);F(1,"mat-selection-list",6);O("selectionChange",function(d){v(c);var e=P();return x(e.onChangeMatList(d))});C(2,IQa,5,6,"mat-list-option",7);H();L()}a&2&&(a=b.$implicit,
b=P(),A(2),E("ngForOf",a)("ngForTrackBy",b.trackBySearchId))},KQa=function(a,b){if(a&1){var c=u();F(0,"div",1,0);O("@panelAnimation.done",function(d){v(c);var e=P();return x(e._animationDone.next(d))});jg(2);H()}a&2&&(a=b.id,b=P(),Xf(b._classList),Wf("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"),E("id",b.id)("@panelAnimation",b.isOpen?"visible":"hidden"),Nf("aria-label",
b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},LQa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}},MQa=function(a,b){a&1&&J(0,"b-user-image",2);a&2&&E("email",b.$implicit)},NQa=function(a,b){if(a&1){var c=u();K(0);F(1,"button",3);O("click",function(){v(c);var d=P(2);return x(d.limit+=d.LIMIT_INCREMENT)});Q(2);H();L()}a&2&&(a=b.$implicit,A(),kg("title","",a," more participant(s). Click to show."),A(),R("",
a," more"))},OQa=function(a){a&1&&(K(0),C(1,NQa,3,3,"ng-container",1),L());a&2&&(a=P(),A(),E("ngIf",a.emails.length-a.limit))},Gp=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"},PQa=function(a,b){b=b===void 0?[]:b;return"http://cl/search/cl:("+[].concat(r(a),r(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},QQa=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(" ")},Hp=function(a){return"hotlist-"+a},Ip=function(a){return"savedsearch-"+a},Kp=function(a){if(a!=null){if(RQa.includes(a))return a;var b=a.match(/\bhotlists?\b/)?Jp(a):void 0;if(b)return"hotlist";b=a.match(/\bsavedsearch(?:es|)\b/)?
Jp(a):void 0;if(b)return"savedsearch";b=/\bb\/\d+\b/;b=a.match(/\bissues?\b/)||a.match(b)?Jp(a):void 0;b||(a=a.trim(),b=a.length<3?!1:!!a.match(/^\d+$/));if(b)return"issue"}},SQa=function(a){switch(Kp(a)){case "hotlist":return"Hotlist";case "savedsearch":return"Saved Search";case "issue":return"Issue"}},Jp=function(a){if(a!=null)return a.split(/[^\d]+/).filter(Boolean).pop()},TQa=function(a){var b=Jp(a);if(b!=null)switch(Kp(a)){case "hotlist":return"/hotlists/"+b;case "savedsearch":return"/savedsearches/"+
b;default:return"/issues/"+b}},UQa=function(a){var b=Jp(a);if(b!=null&&Kp(a)==="issue")return"/issues?q="+encodeURIComponent("id:"+b+" OR parentid:"+b+"+")},VQa=function(a){for(var b={},c={},d=l(a),e=d.next();!e.done;e=d.next())e=e.value,c[e.issueId]=e;d=a.slice();d.sort(function(q,t){var w,y;return(((w=t.descendantCount)!=null?w:0)-((y=q.descendantCount)!=null?y:0))*-1});d=l(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=l((h=f.parentIssueIds)!=
null?h:[]);for(h=f.next();!h.done;h=f.next())if(h=c[h.value],h!=null){var k=void 0;b[h.issueId]=(k=b[h.issueId])!=null?k:0;b[h.issueId]+=1+e}}return a.map(function(q){var t,w=(t=b[q.issueId])!=null?t:0;return[[w,q.openDescendantCount+w*10],q]})},WQa=function(a,b){a=a.results;if(a.length<(b===void 0?50:b))return[];a=VQa(a);a.sort(function(f,h){f=l(f);f=l(f.next().value);f.next();f=f.next().value;h=l(h);h=l(h.next().value);h.next();return h.next().value-f});b=a.filter(function(f){f=l(f);return l(f.next().value).next().value>
0}).map(function(f){f=l(f);f.next();return f.next().value}).filter(function(f){return f.descendantCount>=2}).filter(Wsa);var c={};a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(d.value);d=e.next().value;e=e.next().value;c[e.issueId]=d}return b.map(function(f){var h,k;return{title:(h=f.snapshot)==null?void 0:(k=h[0])==null?void 0:k.title,ref:f.issueId,suggestionRationale:f.descendantCount+" descendants and "+c[f.issueId][0]+" recent personal touchpoints."}})},YQa=function(a){a&1&&(F(0,"a",5),
Q(1),H());a&2&&(a=P(2),E("href",a.makeCritiqueUrl(Gg(2,XQa),a.pending),cf),A(),R("(",a.pending.length," pending)"))},ZQa=function(a,b){a&1&&(F(0,"div",1),J(1,"img",2),Q(2," \u00a0 "),F(3,"a",3),Q(4),H(),Q(5," \u00a0 "),C(6,YQa,2,3,"a",4),H());a&2&&(a=b.$implicit,b=P(),A(3),E("href",b.makeCritiqueUrl(b.submitted,b.pending),cf),A(),R("",a," CLs"),A(2),E("ngIf",b.pending.length>0))},$Qa=function(a){a&1&&(F(0,"a",2),Q(1),H());a&2&&(a=P(2),E("routerLink",a.searchPageUrl),A(),R(" ",a.count," Issues "))},
aRa=function(a){a&1&&C(0,$Qa,2,2,"a",3);a&2&&(a=P(),E("ngIf",a.count!=null))},bRa=function(a){a&1&&Q(0);a&2&&(a=P(),R(" ",a.count," Issues "))},cRa=function(a){a&1&&J(0,"mat-icon",2)},dRa=function(a){a&1&&(F(0,"span",6),T(1,"date"),Q(2),H());a&2&&(a=P(2),kg("title","Start Date: ",Kg(1,4,a.startDate,"longDate"),""),A(2),zg(" ",a.startDateShortStr," ",a.JOINING_ARROW," "))},eRa=function(a){a&1&&(F(0,"span",4),T(1,"date"),Q(2),H());a&2&&(a=P(2),kg("title","End Date: ",Kg(1,3,a.endDate,"longDate"),""),
A(2),R(" ",a.endDateShortStr," "))},fRa=function(a){a&1&&(F(0,"span",5),Q(1,"?"),H())},gRa=function(a){a&1&&(F(0,"div",1),C(1,cRa,1,0,"mat-icon",2)(2,dRa,3,7,"span",3)(3,eRa,3,6,"span",4)(4,fRa,2,0,"span",5),H());a&2&&(a=P(),A(),$f(a.showIcon?1:-1),A(),E("ngIf",a.startDate),A(),$f(a.endDate?3:4))},hRa=function(a){if(a&1){var b=u();F(0,"div",1);O("click",function(){v(b);var c=P();return x(c.useXofYLabel=!c.useXofYLabel)});J(1,"div",2);F(2,"span");Q(3);T(4,"number");H();F(5,"span");Q(6);H()()}a&2&&
(a=P(),mg("title","",a.closed," of ",a.total," issues closed in this work area"),A(),Nf("style",a.makePie(a.closed/a.total),Yia),A(),Wf("display-none",a.useXofYLabel),A(),R("",Kg(4,11,a.closed/a.total*100,"1.0-0"),"% complete"),A(2),Wf("display-none",!a.useXofYLabel),A(),zg("",a.closed," of ",a.total," closed"))},iRa=function(a,b){a&1&&J(0,"avatar-bunch",7);a&2&&E("emails",b.$implicit)},jRa=function(a,b){a&1&&(F(0,"a",8),Q(1," View in TaskFlow "),J(2,"mat-icon",9),H());a&2&&E("href",b.$implicit,cf)},
kRa=function(a,b){a&1&&J(0,"progress-pie",4);a&2&&(a=b.$implicit,E("closed",a.closed)("total",a.total))},mRa=function(a,b){a&1&&(J(0,"cl-counts",5),T(1,"async"));if(a&2){var c;a=b.$implicit;b=P();E("submitted",a.changelists)("pending",(c=U(1,2,b.pendingCls$))!==null&&c!==void 0?c:Gg(4,lRa))}},nRa=function(a){a&1&&J(0,"gerrit-changes-count",6);a&2&&(a=P(),E("changes",a))},oRa=function(a,b){a&1&&C(0,nRa,1,1,"gerrit-changes-count",6);a&2&&$f(b&&b.length>0?0:-1)},pRa=function(a){a&1&&(C(0,oRa,1,1),T(1,
"async"));if(a&2){var b;a=P();$f((b=U(1,1,a.gerritChanges$))?0:-1,b)}},qRa=function(a){a&1&&J(0,"avatar-bunch",7);a&2&&(a=P(),E("emails",a))},rRa=function(a,b){a&1&&C(0,qRa,1,1,"avatar-bunch",7);a&2&&$f(b.length>0?0:-1)},sRa=function(a){return a},tRa=function(a){a==="UNKNOWN_SOURCE"&&console.error("an UNKNOWN TaskSources snuck in");return a},uRa=function(a,b,c){var d=c[b];return d==null?!1:[].concat(r(a)).map(function(e){return Lp[e]}).every(function(e){return e==null?!0:e.check(d,b,c)})},vRa=function(a){return!!Lp[a]},
wRa=function(a){a&1&&(K(0),F(1,"div",2),Q(2),H(),L());if(a&2){var b;a=P();A();Wf("muted",!a.isNumeric(a.countDisplay)||a.isDisabled());A();yg((b=a.countDisplay)!==null&&b!==void 0?b:"\u00a0")}},xRa=function(a){a&1&&(F(0,"div",0),J(1,"qif-stat",1),T(2,"async"),J(3,"qif-stat",2),T(4,"async"),H());a&2&&(a=P(),A(),E("prefKey",a.id)("metadata",U(2,4,a.metadata$)),A(2),E("prefKey",a.id)("metadata",U(4,6,a.metadata$)))},yRa=function(a){a&1&&(F(0,"span",12),Q(1),H());a&2&&(a=P(2),A(),R(" ",a.name," "))},
zRa=function(a){a&1&&(K(0),Q(1," Trackers are distinct communities with their own branding. "),L())},ARa=function(a){a&1&&(F(0,"a",10),Q(1,"Learn More"),H());a&2&&(a=P(2),E("href",a.documentationLinks.baseDocumentationUrl+"/concepts/trackers",cf))},BRa=function(a){a&1&&(K(0),F(1,"button",2),J(2,"img",3)(3,"img",4),C(4,yRa,2,1,"span",5),H(),F(5,"onedev-hovercard",null,0)(7,"div",6)(8,"div",7)(9,"span",8),Q(10),C(11,zRa,2,0,"ng-container",1),H(),F(12,"div",9)(13,"a",10),Q(14),H(),C(15,ARa,2,1,"a",11),
H()()()(),L());if(a&2){a=M(6);var b=P();A();Wf("xs",b.compactMode);E("onedevHovercardTrigger",a)("onedevHovercardActive",b.showHovercard);A();E("src",b.logoLight,cf);A();E("src",b.logoDark,cf);A();E("ngIf",!b.compactMode);A(6);R(" This component or issue is part of ",b.extendedName,". ");A();E("ngIf",!b.isGlobalBuganizer);A(2);E("href",b.redirectUrl,cf);A();R("View ",b.extendedName,"");A();E("ngIf",!b.isGlobalBuganizer)}},CRa=function(a){a&1&&(J(0,"b-tracker-chip",1),T(1,"async"));a&2&&(a=P(),E("tracker",
U(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},DRa=function(a){a&1&&J(0,"div",2)},ERa=function(a){a&1&&(K(0),jg(1),L())},GRa=function(a){if(a&1){var b=u();F(0,"span",11);O("onedevHovercardShown",function(){v(b);var d=P(2);return x(FRa(d))});Q(1);H()}if(a&2){a=P(2);var c=M(7);E("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);A();yg(a.title||"--")}},HRa=function(a){a&1&&(F(0,"span",8),Q(1),H());
a&2&&(a=P(2),A(),yg(a.title||"--"))},IRa=function(a){if(a&1){var b=u();K(0);C(1,GRa,2,3,"span",7)(2,HRa,2,1,"span",8);F(3,"a",9);O("keydown",function(c){v(b);P();c.key==="Enter"&&c.stopPropagation();return x()})("click",function(c){v(b);return x(c.stopPropagation())});J(4,"mat-icon",10);H();L()}a&2&&(a=P(),A(),$f(a.enableHovercard?1:2),A(2),E("routerLink","/"+a.link)("target",a.anchorTarget)("matTooltipShowDelay",250))},JRa=function(a){if(a&1){var b=u();F(0,"a",12);O("keydown",function(d){v(b);P();
d.key==="Enter"&&d.stopPropagation();return x()})("click",function(d){v(b);return x(d.stopPropagation())})("onedevHovercardShown",function(){v(b);var d=P();return x(FRa(d))});Q(1);H()}if(a&2){a=P();var c=M(7);E("routerLink","/"+a.link)("target",a.anchorTarget)("onedevHovercardTrigger",c)("onedevHovercardActive",a.enableHovercard);A();yg(a.title||"--")}},KRa=function(a,b){a&1&&(F(0,"span",13),Q(1),H());if(a&2){var c;a=b.$implicit;Xf(a.cssClass);Qf("aria-label","",a.title," - ",a.tooltip,"");E("matTooltip",
(c=a.tooltip)!==null&&c!==void 0?c:"");A();yg(a.title)}},LRa=function(a){a&1&&J(0,"b-issue-card",14);a&2&&(a=P(),E("issueId",a.issue.issueId))},MRa=function(a){if(a&1){var b=u();F(0,"button",4);O("click",function(c){v(b);P().expansionChange.emit();c.stopPropagation();return x()});J(1,"b-icon",5);H()}a&2&&(a=P(),Wf("collapsed",!a.expanded),Nf("aria-label",a.expanded?"Collapse children":"Expand children"))},NRa=function(a){a&1&&J(0,"div",6)},ORa=function(a){a&1&&(F(0,"b-person-hovercard",3),Q(1),H());
a&2&&(a=P(),E("email",a.assignee),A(),R(" ",a.assignee," "))},PRa=function(a){a&1&&Q(0,"--")},QRa=function(a){if(a&1){var b=u();F(0,"div",0);O("keydown",function(c){v(b);var d=P();return x(d.processKeydown(c))});jg(1);H()}a&2&&(a=P(),Xf(a.className),Nf("id",a.id))},RRa=function(a){a&1&&J(0,"mat-icon",11)},SRa=function(a){a&1&&(F(0,"span",28),Q(1),H());a&2&&(a=P(3),A(),yg(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},TRa=function(a){a&1&&(F(0,"span",28),Q(1),H());a&2&&(a=P(4),A(),yg(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},
URa=function(a){if(a&1){var b=u();F(0,"div",17)(1,"label",18);Q(2,"Issue shortlink");H();F(3,"input",29,5);O("onHotkey",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))})("focus",function(){v(b);var d=M(4);return x(d.select())});H();C(5,TRa,2,1,"span",20);F(6,"button",30);O("onHotkey",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))})("click",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))});J(7,"mat-icon",22);H()()}if(a&2){a=M(4);var c=P(3);A();E("htmlFor",a.id);A(2);E("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",
c.enableHotkeys);Nf("value",c.getAppBaseUrl().replace(/^.*?:\/\//,""));A(2);E("ngIf",c.enableHotkeys);A();E("hotkey",c.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",c.enableHotkeys)}},VRa=function(a){a&1&&(F(0,"span",28),Q(1),H());a&2&&(a=P(3),A(),yg(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},WRa=function(a){a&1&&(F(0,"span",28),Q(1),H());a&2&&(a=P(3),A(),yg(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},XRa=function(a){a&1&&(F(0,"span",28),Q(1),H());a&2&&(a=P(4),A(),yg(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},
YRa=function(a){if(a&1){var b=u();F(0,"div",17)(1,"label",18);Q(2,"Issue email");H();F(3,"input",31,6);O("onHotkey",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))})("focus",function(){v(b);var d=M(4);return x(d.select())});H();C(5,XRa,2,1,"span",20);F(6,"button",32);O("onHotkey",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))})("click",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))});J(7,"mat-icon",22);H()()}if(a&2){a=M(4);var c=P(3);A();E("htmlFor",a.id);A(2);E("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
c.enableHotkeys);Nf("value","buganizer-system"+(km(c.activeSession.session)?"":"-qa")+("+"+c.componentId+"+"+c.issueId)+"@google.com");A(2);E("ngIf",c.enableHotkeys);A();E("hotkey",c.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",c.enableHotkeys)}},ZRa=function(a){a&1&&(F(0,"span",28),Q(1),H());a&2&&(a=P(4),A(),yg(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},$Ra=function(a){if(a&1){var b=u();F(0,"div",17)(1,"label",18);Q(2,"TODO comment");H();F(3,"input",33,7);O("onHotkey",function(){v(b);var d=M(4),
e=P(3);return x(Mp(e,d))})("focus",function(){v(b);var d=M(4);return x(d.select())});H();C(5,ZRa,2,1,"span",20);F(6,"button",34);O("onHotkey",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))})("click",function(){v(b);var d=M(4),e=P(3);return x(Mp(e,d))});J(7,"mat-icon",22);H()()}if(a&2){a=M(4);var c=P(3);A();E("htmlFor",a.id);A(2);E("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys);Nf("value","TODO: "+c.getAppBaseUrl().replace(/^.*?:\/\//,"")+" - ");A(2);E("ngIf",c.enableHotkeys);
A();E("hotkey",c.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",c.enableHotkeys)}},aSa=function(a){if(a&1){var b=u();F(0,"div",16)(1,"div",17)(2,"label",18);Q(3,"Issue ID");H();F(4,"input",19,2);O("onHotkey",function(){v(b);var f=M(5),h=P(2);return x(Mp(h,f))})("focus",function(){v(b);var f=M(5);return x(f.select())});H();C(6,SRa,2,1,"span",20);F(7,"button",21);O("onHotkey",function(){v(b);var f=M(5),h=P(2);return x(Mp(h,f))})("click",function(){v(b);var f=M(5),h=P(2);return x(Mp(h,f))});J(8,"mat-icon",
22);H()();C(9,URa,8,7,"div",23);F(10,"div",17)(11,"label",18);Q(12,"Issue URL");H();F(13,"input",24,3);O("onHotkey",function(){v(b);var f=M(14),h=P(2);return x(Mp(h,f))})("focus",function(){v(b);var f=M(14);return x(f.select())});H();C(15,VRa,2,1,"span",20);F(16,"button",25);O("onHotkey",function(){v(b);var f=M(14),h=P(2);return x(Mp(h,f))})("click",function(){v(b);var f=M(14),h=P(2);return x(Mp(h,f))});J(17,"mat-icon",22);H()();F(18,"div",17)(19,"label",18);Q(20,"URL and title");H();F(21,"input",
26,4);O("onHotkey",function(){v(b);var f=M(22),h=P(2);return x(Mp(h,f))})("focus",function(){v(b);var f=M(22);return x(f.select())});H();C(23,WRa,2,1,"span",20);F(24,"button",27);O("onHotkey",function(){v(b);var f=M(22),h=P(2);return x(Mp(h,f))})("click",function(){v(b);var f=M(22),h=P(2);return x(Mp(h,f))});J(25,"mat-icon",22);H()();C(26,YRa,8,7,"div",23)(27,$Ra,8,7,"div",23);H()}if(a&2){a=M(5);var c=M(14),d=M(22),e=P(2);E("cdkTrapFocusAutoCapture",!0);A(2);E("htmlFor",a.id);A(2);E("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",
e.enableHotkeys);Nf("value",e.issueId);A(2);E("ngIf",e.enableHotkeys);A();E("hotkey",e.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",e.enableHotkeys);A(2);E("ngIf",e.activeSession.isInternalSession()&&!Np(e.activeSession));A(2);E("htmlFor",c.id);A(2);E("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);Nf("value",e.getIssueUrl());A(2);E("ngIf",e.enableHotkeys);A();E("hotkey",e.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",e.enableHotkeys);A(3);E("htmlFor",d.id);A(2);E("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",
e.enableHotkeys);Nf("value",e.getAppBaseUrl(e.isExternalIssue)+" "+e.issueTitle);A(2);E("ngIf",e.enableHotkeys);A();E("hotkey",e.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",e.enableHotkeys);A(2);E("ngIf",e.activeSession.isInternalSession()&&!Np(e.activeSession));A();E("ngIf",e.activeSession.isInternalSession()&&!Np(e.activeSession))}},bSa=function(a){if(a&1){var b=u();K(0);F(1,"button",12,0);O("onHotkey",function(){v(b);var d=P();d.disabled||d.trigger.open();return x()})("onedevPopupPanelTriggerOpened",
function(){v(b);var d=P();return x(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){v(b);var d=P();return x(d.isOpen=!1)})("click",function(){v(b);var d=P();d.disabled||d.trigger.open();return x()});J(3,"mat-icon",13);H();F(4,"onedev-popup-panel",14,1);C(6,aSa,28,25,"div",15);H();L()}if(a&2){a=M(5);var c=P();A();E("onedevPopupPanelTriggerFor",a)("hotkey",c.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",c.enableHotkeys);Nf("aria-label","Show links for the issue "+c.issueId);A(5);E("ngIf",c.isOpen)}},
cSa=function(a){a&1&&J(0,"b-issue-id-picker",2);a&2&&(a=P(),E("issueId",a.id)("showCopyOptions",!1))},dSa=function(a,b){a&1&&(F(0,"a",4),Q(1," Fix Pending "),H());a&2&&(a=P(),Zf("chippy status-",a.IssueStatus.FIXED,""),kg("href","http://cl/",b.changelistNumber,"",cf),mg("matTooltip","Open cl/",b.changelistNumber," from ",b.author,""))},eSa=function(a,b){a&1&&(F(0,"div",6),Q(1),H());a&2&&(a=b.ngIf,b=P(2),Zf("chippy status-",a,""),E("title",b.STATUS_JS_FULL_TEXT[a]),A(),R(" ",b.STATUS_JS_TERSE[a]," "))},
fSa=function(a){a&1&&C(0,eSa,2,5,"div",5);if(a&2){a=P();var b=M(4);E("ngIf",a.status)("ngIfElse",b)}},gSa=function(a){a&1&&Q(0,"--")},hSa=function(a,b){b=b===void 0?"":b;return a.filter(function(c){return c.fixedIssueIds.includes(b)})[0]},iSa=function(a){if(a&1){var b=u();F(0,"a",16);O("click",function(){v(b);var c=P();return x(c.trackClick("viewTeamAssociationOnComponent"))});F(1,"button",11);Q(2,"View team association on component");H()()}a&2&&(a=P(),E("href",a.ROUTES.editComponent.makeHref(a.componentId),
cf))},jSa=function(a){if(a&1){var b=u();F(0,"a",6);O("click",function(){v(b);var d=P(2);return x(d.trackClick("viewTeamInMoma"))});F(1,"span");Q(2);J(3,"mat-icon",7);H()()}if(a&2){a=P(2);var c=M(3);kg("href","https://moma.corp.google.com/team/",a.teamId,"",cf);E("onedevHovercardTrigger",c);Nf("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");A();Nf("id",a.teamLinkId);A();R("",a.teamName?a.teamName:a.teamId," ")}},kSa=function(a){a&
1&&(F(0,"span",8),Q(1),H());if(a&2){a=P(2);var b=M(3);E("onedevHovercardTrigger",b);A();yg(a.teamName?a.teamName:a.teamId)}},lSa=function(a){a&1&&(K(0),C(1,jSa,4,7,"a",4)(2,kSa,2,2,"span",5),L());a&2&&(a=P(),A(),E("ngIf",a.anchorLinkEnabled),A(),E("ngIf",!a.anchorLinkEnabled))},mSa=function(a){a&1&&J(0,"span",11)},nSa=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(2),A(),yg(a.teamNotAssignedMessage))},oSa=function(a){a&1&&C(0,mSa,1,0,"span",9)(1,nSa,2,1,"span",10);a&2&&(a=P(),E("ngIf",a.teamId!=
"0"),A(),E("ngIf",a.teamId=="0"))},pSa=function(a){a&1&&J(0,"b-team-display",3);a&2&&(a=P(),E("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},qSa=function(a){a&1&&Q(0,"--")},rSa=function(a){a&1&&(K(0),Q(1),T(2,"enumToHuman"),L());a&2&&(a=P(),A(),yg(U(2,1,a.type)))},sSa=function(a){a&1&&Q(0,"--")},tSa=function(a){a&1&&J(0,"b-formatted-date-time",3);a&2&&(a=P(),E("mode",a.mode)("timestamp",a.createdTime)("paddingLeftPx",0))},uSa=function(a){a&1&&Q(0,"--")},vSa=function(a){a&
1&&(K(0),J(1,"b-issue-priority-display",3),L());a&2&&(a=P(),A(),E("issuePriority",a.priority))},wSa=function(a){a&1&&Q(0,"--")},Op=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]]}))})},Pp=function(a){a=a===void 0?0:a;return new Promise(function(b){setTimeout(b,a)})},xSa=function(a){a&1&&(F(0,"span",3),jg(1,1),H())},ySa=function(a){a&1&&(F(0,"span",6),jg(1,2),H())},zSa=function(a){a&1&&(F(0,"span",3),
jg(1,1),F(2,"span",8),Fd(),F(3,"svg",9),J(4,"path",10),H()()())},ASa=function(a){a&1&&(F(0,"span",6),jg(1,2),H())},BSa=function(a){a&1&&jg(0,2)},CSa=function(a){a&1&&(F(0,"thead",0),dg(1,1),H(),F(2,"tbody",0),dg(3,2)(4,3),H(),F(5,"tfoot",0),dg(6,4),H())},DSa=function(a){a&1&&dg(0,1)(1,2)(2,3)(3,4)},ESa=function(a,b){return a.concat(Array.from(b))},FSa=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},GSa=function(a){a&1&&jg(0,2)},HSa=function(a){a&1&&(F(0,"thead",0),dg(1,1),H(),F(2,"tbody",2),dg(3,3)(4,4),H(),F(5,"tfoot",0),dg(6,5),H())},ISa=function(a){a&1&&dg(0,1)(1,3)(2,4)(3,5)},JSa=function(a,b){a&1&&(F(0,"div",15)(1,"div",16),Q(2,"CURRENT ISSUE"),H(),F(3,"div",17),Q(4),H()());a&2&&(a=b.ngIf,A(4),R(" ",a==null?null:a.snapshot[0].title," "))},KSa=function(a){a&1&&J(0,"mat-icon",18)},LSa=function(a){a&1&&J(0,"mat-icon",19)},MSa=function(a,b){a&1&&C(0,KSa,1,0,"mat-icon",
18)(1,LSa,1,0,"mat-icon",19);a&2&&(a=P(),$f(b===a.SearchSource.SEMANTIC_SEARCH?0:1))},NSa=function(a){if(a&1){var b=u();F(0,"mat-select",20);T(1,"async");O("selectionChange",function(c){v(b);P().selectedSearchSource$.next(c.value);return x()});F(2,"mat-option",21);Q(3);H();F(4,"mat-option",22);Q(5);H()()}a&2&&(a=P(),E("value",U(1,5,a.selectedSearchSource$)),A(2),E("value",a.SearchSource.SEMANTIC_SEARCH),A(),R(" ",a.SearchSource.SEMANTIC_SEARCH," "),A(),E("value",a.SearchSource.EXACT_MATCH),A(),R(" ",
a.SearchSource.EXACT_MATCH," "))},OSa=function(a){if(a&1){var b=u();F(0,"mat-chip-listbox",34)(1,"mat-chip-option",35,2);O("keydown.enter",function(){v(b);var d=M(2);return x(d.openMenu())})("keyup.space",function(){v(b);var d=M(2);return x(d.openMenu())});F(3,"span");Q(4);H();J(5,"mat-icon",36);H()()}if(a&2){P();a=M(7);var c=P(3);E("selectable",!1);A();E("matMenuTriggerFor",a);A(3);yg(c.selectedScopeFilter.displayAs)}},QSa=function(a){if(a&1){var b=u();F(0,"button",37);O("click",function(){v(b);
var c=P(4);return x(PSa(c,c.componentFilter))});J(1,"mat-icon",38);Q(2);H()}a&2&&(a=P(4),E("matTooltip",a.componentFilter.tooltip||""),A(),Wf("invisible",a.componentFilter!==a.selectedScopeFilter),A(),R(" ",a.componentFilter.displayAs," "))},RSa=function(a){if(a&1){var b=u();F(0,"button",37);O("click",function(){v(b);var c=P(4);return x(PSa(c,c.teamFilter))});J(1,"mat-icon",38);Q(2);H()}a&2&&(a=P(4),E("matTooltip",a.teamFilter.tooltip||""),A(),Wf("invisible",a.teamFilter!==a.selectedScopeFilter),
A(),R(" ",a.teamFilter.displayAs," "))},SSa=function(a){if(a&1){var b=u();F(0,"button",39);O("click",function(){v(b);var c=P(4);return x(c.openLearnMore())});J(1,"mat-icon",40);H()}},TSa=function(a){if(a&1){var b=u();F(0,"div",23)(1,"mat-chip-listbox",24);O("change",function(c){v(b);var d=P(3);c.value?d.selectedFilters$.add(Qp):d.selectedFilters$.delete(Qp);return x()});F(2,"mat-chip-option",25)(3,"span",26);Q(4);H()()();C(5,OSa,6,3,"mat-chip-listbox",27);F(6,"mat-menu",28,1);C(8,QSa,3,4,"button",
29)(9,RSa,3,4,"button",29);H();F(10,"mat-chip-listbox",30);O("change",function(){v(b);var c=P(3);c.includeDescendants=!c.includeDescendants;var d=ho(c.component$),e=ho(c.team$);if(d&&e){d=UDa(d,c.includeDescendants);e=TDa(e,c.includeDescendants);var f=new Set(ho(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 x()});F(11,"mat-chip-option",31)(12,"span",32);Q(13);H()()();C(14,SSa,2,0,"button",33);H()}a&2&&(a=P(3),A(2),E("selected",a.selectedFilters$.has(a.openFilter))("value",a.openFilter),A(),E("matTooltip",a.openFilter.tooltip||""),A(),R(" ",a.openFilter.displayAs," "),A(),E("ngIf",a.selectedScopeFilter),A(3),E("ngIf",a.componentFilter),A(),E("ngIf",a.teamFilter),A(4),R(" Include sub-",a.selectedScopeFilter===a.componentFilter?"components":"teams"," "),A(),E("ngIf",
a.isInternalSession))},USa=function(a,b){a&1&&(K(0),C(1,TSa,15,9,"div",23),L());a&2&&(a=b.$implicit,b=P(2),A(),$f(a===b.SearchSource.SEMANTIC_SEARCH&&b.tableDataSource!==b.TableDataSource.ISSUE_IDS?1:-1))},VSa=function(a){a&1&&(K(0),C(1,USa,2,1,"ng-container",10),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.selectedSearchSource$)))},WSa=function(a){a&1&&J(0,"ai-spinner",42);a&2&&E("large",!0)},XSa=function(a){a&1&&J(0,"ai-spinner",43)},YSa=function(a){a&1&&J(0,"b-spinner",44)},ZSa=function(a){a&
1&&(F(0,"div",41),C(1,WSa,1,1,"ai-spinner",42),T(2,"async"),C(3,XSa,1,0,"ai-spinner",43)(4,YSa,1,0,"b-spinner",44),H());a&2&&(a=P(),A(),$f(!a.searchText$.value&&a.isSimilarIssuesUiEnabled?1:a.searchText$.value&&U(2,1,a.selectedSearchSource$)===a.SearchSource.SEMANTIC_SEARCH?3:4))},$Sa=function(a){a&1&&(F(0,"b-callout",50)(1,"b-callout-body"),Q(2," This issue was suggested by AI! Save time by exploring the suggestions first next time. "),F(3,"a",51),Q(4,"Learn more"),H()()())},aTa=function(a){a&1&&
(F(0,"h3",47),J(1,"mat-icon",52),Q(2," Possible duplicates "),H())},bTa=function(a){a&1&&(F(0,"th",71)(1,"span",72),Q(2,"Selection"),H()())},cTa=function(a,b){a&1&&(F(0,"td",73),J(1,"mat-radio-button",74),T(2,"async"),H());a&2&&(a=b.$implicit,b=P(3),A(),E("checked",U(2,3,zp(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},dTa=function(a){a&1&&(F(0,"th",71),Q(1," Title "),H())},eTa=function(a,b){a&1&&(F(0,"td",73),J(1,"b-issue-title-cell",75),H());a&2&&(a=b.$implicit,
b=P(3),A(),E("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0)("enableHovercard",!0))},fTa=function(a){a&1&&(F(0,"th",71),Q(1," Id "),H())},gTa=function(a,b){a&1&&(F(0,"td",73),J(1,"b-issue-id-cell",76),H());a&2&&(a=b.$implicit,A(),E("id",a.issueId))},hTa=function(a){a&1&&(F(0,"th",71),Q(1," Priority "),H())},iTa=function(a,b){a&1&&(F(0,"td",73),J(1,"b-issue-priority-cell",77),H());a&2&&(a=b.$implicit,A(),E("issue",a))},jTa=function(a){a&1&&(F(0,"th",78),Q(1," Status "),H())},
kTa=function(a,b){a&1&&(F(0,"td",73),J(1,"b-issue-status-cell",77),H());a&2&&(a=b.$implicit,A(),E("issue",a))},lTa=function(a){a&1&&(F(0,"th",71),Q(1," Dupes "),H())},mTa=function(a,b){a&1&&(F(0,"td",79),Q(1),H());if(a&2){var c;a=b.$implicit;A();R(" ",(c=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&c!==void 0?c:0," ")}},nTa=function(a){a&1&&(F(0,"th",80)(1,"span",72),Q(2,"Votes"),H(),J(3,"mat-icon",81),H())},oTa=function(a,b){a&1&&(F(0,"td",79),Q(1),H());
a&2&&(a=b.$implicit,A(),R(" ",a.aggregatedData.voteCount," "))},pTa=function(a){a&1&&(F(0,"th",82),Q(1," Created "),H())},qTa=function(a,b){a&1&&(F(0,"td",73),J(1,"b-issue-created-time-cell",83),H());a&2&&(a=b.$implicit,A(),E("issue",a))},rTa=function(a){a&1&&J(0,"tr",84)},sTa=function(a,b){if(a&1){var c=u();F(0,"tr",85);O("keydown",function(d){var e=v(c),f=e.$implicit;e=e.index;var h=P(3);return x(h.onRowKeydown(e,f,d))})("keydown.enter",function(){var d=v(c).$implicit,e=P(3);return x(e.selectIssue(d.issueId))})("focusin",
function(){var d=v(c).$implicit,e=P(3);return x(Rp(e.focusManager,d))})("click",function(){var d=v(c),e=d.$implicit;d=d.index;var f=P(3);f.selectIssue(e.issueId);return x(f.focusManager.setActiveItem(d))});H()}a&2&&E("row",b.$implicit)},uTa=function(a){if(a&1){var b=u();F(0,"table",53);O("contentChanged",function(){v(b);var d=P().ngIf,e=P();return x(tTa(e,d))});K(1,54);C(2,bTa,3,0,"th",55);F(3,"mat-radio-group",56);O("change",function(d){v(b);var e=P(2);return x(e.selectIssue(d.value))});C(4,cTa,
3,5,"td",57);H();L();K(5,58);C(6,dTa,2,0,"th",55)(7,eTa,2,4,"td",57);L();K(8,59);C(9,fTa,2,0,"th",55)(10,gTa,2,1,"td",57);L();K(11,60);C(12,hTa,2,0,"th",55)(13,iTa,2,1,"td",57);L();K(14,61);C(15,jTa,2,0,"th",62)(16,kTa,2,1,"td",57);L();K(17,63);C(18,lTa,2,0,"th",55)(19,mTa,2,1,"td",64);L();K(20,65);C(21,nTa,4,0,"th",66)(22,oTa,2,1,"td",64);L();K(23,67);C(24,pTa,2,0,"th",68)(25,qTa,2,1,"td",57);L();C(26,rTa,1,0,"tr",69)(27,sTa,1,1,"tr",70);H()}if(a&2){a=P().ngIf;var c=P();E("dataSource",a)("trackBy",
c.trackByIssueId);A(26);E("matHeaderRowDef",c.tableColumns);A();E("matRowDefColumns",c.tableColumns)}},vTa=function(a){a&1&&(F(0,"div",86)(1,"span",87),Q(2,"No results found"),H()())},wTa=function(a,b){a&1&&(K(0),F(1,"div",45),C(2,$Sa,5,0,"b-callout",46)(3,aTa,3,0,"h3",47)(4,uTa,28,4,"table",48)(5,vTa,3,0,"div",49),H(),L());a&2&&(a=b.ngIf,b=P(),A(2),E("ngIf",b.isSimilarIssuesUiEnabled&&b.isPasteResultInSuggestion),A(),$f(b.searchText$.value||b.isLoading||!b.isSimilarIssuesUiEnabled?-1:3),A(),E("ngIf",
!b.isLoading&&a&&a.length),A(),E("ngIf",!b.isLoading&&(a==null?null:a.length)===0))},xTa=function(a){a&1&&(F(0,"span",2),Q(1),H());a&2&&(a=P().$implicit,E("matTooltip",a.tooltip),A(),R(" ",a.emoji," "))},yTa=function(a,b){a&1&&(K(0),C(1,xTa,2,2,"span",1),L());a&2&&(a=b.$implicit,b=P(),A(),E("ngIf",a.check(b.issue)))},zTa=function(a){a&1&&(F(0,"b-person-hovercard",3),Q(1),H());a&2&&(a=P(),E("email",a.reporter),A(),R(" ",a.reporter," "))},ATa=function(a){a&1&&Q(0,"--")},BTa=function(a){a&1&&(F(0,"div")(1,
"div",11),Q(2," An issue cannot reference itself. "),H()())},CTa=function(a){a&1&&(F(0,"mat-option",12)(1,"div",13),J(2,"b-spinner",14),H()());a&2&&(A(2),E("large",!0))},DTa=function(a){a&1&&(F(0,"mat-option",15),Q(1," No issues found. "),H())},ETa=function(a){a&1&&J(0,"mat-icon",25);if(a&2){a=P().$implicit;var b=P();E("svgIcon",b.STATUS_ICON[a.status])}},FTa=function(a){a&1&&J(0,"b-issue-card",26,2);if(a&2){a=M(1);var b=P().$implicit;E("onedevIsHovercardReady",a.init)("issueId",b.resourceId)}},HTa=
function(a,b){if(a&1){var c=u();F(0,"mat-option",16)(1,"div",17);C(2,ETa,1,1,"mat-icon",18);F(3,"strong",19);Q(4);H();F(5,"onedev-hovercard",null,1);C(7,FTa,2,2,"b-issue-card",20);H();F(8,"a",21);O("click",function(e){v(c);return x(e.stopPropagation())});J(9,"mat-icon",22);H();F(10,"span",23);Q(11);H();J(12,"div",24);T(13,"boldPrefixMatches");H()()}if(a&2){a=b.$implicit;b=M(6);var d=P();E("value",a);A();Nf("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");
A();E("ngIf",a.status);A();lg("title",a.resourceId);A();R(" ",a.resourceId," ");A(4);E("onedevHovercardTrigger",b)("href",d.getIssueLink(a),cf);A(3);yg(GTa(a));A();lg("title",a.displayText);E("innerHTML",Kg(13,10,a.displayText,d.query),bf)}},ITa=function(a,b){a&1&&(F(0,"a",13),Q(1),H());a&2&&(a=b.$implicit,b=b.last,kg("href","issues/",a.resourceId,"",cf),A(),zg(" ",a.resourceId,"",b?"":","," "))},JTa=function(a){a&1&&(F(0,"div",11),C(1,ITa,2,4,"a",12),H());a&2&&(a=P(),A(),E("ngForOf",a.selectedIssues))},
KTa=function(a){a&1&&(F(0,"div",11)(1,"a",14)(2,"span",15),Q(3),H(),F(4,"span"),J(5,"mat-icon",16),H()()());a&2&&(a=P(),A(),kg("href","issues/",a.selectedIssues[0].resourceId,"",cf),A(2),R(" ",a.selectedIssues[0].displayText," "))},MTa=function(a){if(a&1){var b=u();F(0,"div",17)(1,"div",18);O("click",function(){v(b);var c=P();return x(LTa(c))})("keyup.space",function(){v(b);var c=P();return x(LTa(c))});H()()}a&2&&(a=P(),A(),E("matTooltip",a.isQueryRestricted?"Searching in current component tree":
"Click to search in current component tree"),Nf("aria-checked",a.isQueryRestricted))},Sp=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))},NTa=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:Bc(a)}},PTa=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=OTa(b),f=b.nextElementSibling&&OTa(b.nextElementSibling),h=b.previousElementSibling&&OTa(b.previousElementSibling);if(a==="top"){var k;if(((k=b.previousElementSibling)==null?0:k.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 t;if(((t=b.nextElementSibling)==null?0:t.classList.contains("dragging"))&&e===f)return d="none",c();d="after";return c()}d="current";return c()},OTa=function(a){return Number(a.dataset.level)},QTa=function(a){var b;return Tp((b=a.dataset.ancestorchain)!=null?b:"")},RTa=function(a){a&1&&(F(0,"button",7,1),J(2,"mat-icon",8),H());if(a&2){a=P();var b=M(2);E("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);Nf("aria-label",a.buttonLabel);A(2);E("svgIcon",a.buttonIcon)}},STa=
function(a){a&1&&(F(0,"div",9),Q(1),H());a&2&&(a=P(),A(),yg(a.header))},TTa=function(a){a&1&&J(0,"mat-icon",8);a&2&&(a=P(2).$implicit,E("svgIcon",a.icon))},UTa=function(a){a&1&&(F(0,"span",14),Q(1),H());a&2&&(a=P(2).$implicit,A(),yg(a.hintText))},VTa=function(a){a&1&&J(0,"mat-icon",8);a&2&&(a=P(2).$implicit,E("svgIcon",a.icon))},WTa=function(a){a&1&&(F(0,"span",14),Q(1),H());a&2&&(a=P(2).$implicit,A(),yg(a.hintText))},XTa=function(a){if(a&1){var b=u();F(0,"button",17);O("click",function(d){v(b);var e=
P().$implicit,f=P(3);return x(f.onAction(d,e))})("mouseup",function(d){v(b);var e=P().$implicit,f=P(3);return x(f.onAction(d,e))});C(1,VTa,1,1,"mat-icon",12);Q(2);C(3,WTa,2,1,"span",13);H()}if(a&2){a=P().$implicit;var c=P(2).$implicit;E("disabled",a.disabled)("ngClass",c.className);Nf("title",a.title);A();E("ngIf",a.icon);A();R(" ",a.label," ");A();E("ngIf",a.hintText)}},YTa=function(a){if(a&1){var b=u();F(0,"button",18);O("click",function(d){v(b);var e=P().$implicit,f=P(3);return x(f.onAction(d,
e))})("mouseup",function(d){v(b);var e=P().$implicit,f=P(3);return x(f.onAction(d,e))});F(1,"span",19);J(2,"mat-icon",20);H();Q(3);H()}if(a&2){a=P().$implicit;var c=P(2).$implicit;Wf("b-menu-item-checked",a.selected);E("disabled",a.disabled)("ngClass",c.className);Nf("title",a.title);A(3);R(" ",a.label," ")}},ZTa=function(a,b){a&1&&(K(0),C(1,XTa,4,6,"button",15)(2,YTa,4,6,"button",16),L());a&2&&(a=b.$implicit,A(),E("ngIf",a.type==="action"),A(),E("ngIf",a.type==="select"))},$Ta=function(a){a&1&&(K(0),
F(1,"button",11),C(2,TTa,1,1,"mat-icon",12),Q(3),C(4,UTa,2,1,"span",13),H(),F(5,"mat-menu",null,2),C(7,ZTa,3,2,"ng-container",6),H(),L());if(a&2){a=M(6);var b=P().$implicit,c=P();A();E("matMenuTriggerFor",a);A();E("ngIf",b.icon);A();R(" ",b.label," ");A();E("ngIf",b.hintText);A(3);E("ngForOf",b.items)("ngForTrackBy",c.trackByIndex)}},aUa=function(a){a&1&&J(0,"mat-icon",8);a&2&&(a=P(3).$implicit,E("svgIcon",a.icon))},bUa=function(a){a&1&&(F(0,"span",14),Q(1),H());a&2&&(a=P(3).$implicit,A(),yg(a.hintText))},
cUa=function(a){if(a&1){var b=u();F(0,"button",17);O("click",function(c){v(b);var d=P(2).$implicit,e=P();return x(e.onAction(c,d))})("mouseup",function(c){v(b);var d=P(2).$implicit,e=P();return x(e.onAction(c,d))});C(1,aUa,1,1,"mat-icon",12);Q(2);C(3,bUa,2,1,"span",13);H()}a&2&&(a=P(2).$implicit,E("disabled",a.disabled)("ngClass",a.className),Nf("title",a.title),A(),E("ngIf",a.icon),A(),R(" ",a.label," "),A(),E("ngIf",a.hintText))},dUa=function(a){if(a&1){var b=u();F(0,"button",18);O("click",function(c){v(b);
var d=P(2).$implicit,e=P();return x(e.onAction(c,d))})("mouseup",function(c){v(b);var d=P(2).$implicit,e=P();return x(e.onAction(c,d))});F(1,"span",19);J(2,"mat-icon",20);H();Q(3);H()}a&2&&(a=P(2).$implicit,Wf("b-menu-item-checked",a.selected),E("disabled",a.disabled)("ngClass",a.className),Nf("title",a.title)("aria-label",a.label+" results per page"),A(3),R(" ",a.label," "))},eUa=function(a){a&1&&(K(0),C(1,cUa,4,6,"button",15)(2,dUa,4,7,"button",16),L());a&2&&(a=P().$implicit,A(),E("ngIf",a.type===
"action"),A(),E("ngIf",a.type==="select"))},fUa=function(a,b){a&1&&(K(0),C(1,$Ta,8,6,"ng-container",10)(2,eUa,3,2,"ng-container",10),L());a&2&&(a=b.$implicit,A(),E("ngIf",a.type==="submenu"),A(),E("ngIf",a.type!=="submenu"))},gUa=function(a){var b=a.userIsExternal;a=a.issueIsExternal;return b&&a},hUa=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},iUa=function(a){a&1&&J(0,"th",30)},jUa=function(a){if(a&1){var b=u();F(0,"td",31,0);O("click",function(c){var d=v(b).$implicit,e=M(1),f=P();e.focus();Rp(f.focusManager,d);return x(c.stopPropagation())});H()}},kUa=function(a){a&1&&J(0,"th",30)},lUa=function(a){if(a&1){var b=u();F(0,"td",32,1);O("click",function(c){var d=v(b).$implicit,e=M(1),f=P();e.focus();Rp(f.focusManager,d);return x(c.stopPropagation())})("dragstart",function(c){v(b);var d=P();return x(d.handleDragStart(c))});J(2,
"mat-icon",33);H()}},mUa=function(a){a&1&&(F(0,"th",30),Q(1," Id "),H())},nUa=function(a,b){a&1&&(F(0,"td",34),J(1,"b-issue-id-cell",35),H());a&2&&(a=b.$implicit,A(),E("id",a.id))},oUa=function(a){a&1&&(F(0,"th",30),Q(1," Id "),H())},pUa=function(a){a&1&&(F(0,"td",34),Q(1,"--"),H())},qUa=function(a){a&1&&(F(0,"th",30),Q(1," Title "),H())},rUa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-expandable-issue-title-cell",36);T(2,"async");T(3,"async");O("expansionChange",function(){var d=v(c).$implicit,
e=P();return x(e.toggleExpansion(d))});H()()}a&2&&(a=b.$implicit,A(),E("issue",U(2,4,a.issue$))("expandable",U(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},sUa=function(a){a&1&&(F(0,"th",30),Q(1," Type "),H())},tUa=function(a,b){a&1&&(F(0,"td",34),J(1,"b-issue-type-cell",37),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,1,a.issue$)))},uUa=function(a){a&1&&dg(0)},vUa=function(a){a&1&&(K(0),Q(1,"Assignee"),L())},wUa=function(a){a&1&&(F(0,"th",30),K(1,38),C(2,uUa,1,
0,"ng-container",39)(3,vUa,2,0,"ng-container",40),L(),H());a&2&&(a=P(),A(),E("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),A(),E("ngSwitchCase","avatar-if-open"))},xUa=function(a,b){a&1&&J(0,"b-user-image",43);a&2&&E("email",b.$implicit)},yUa=function(a){a&1&&(K(0),C(1,xUa,1,1,"b-user-image",42),L());if(a&2){a=P().$implicit;var b=P(3);A();E("ngIf",b.getAssigneeString(a))}},zUa=function(a,b){a&1&&(K(0),C(1,yUa,2,1,"ng-container",23),L());a&2&&(a=b.$implicit,b=P(3),A(),E("ngIf",b.isOpen(a)))},
AUa=function(a){a&1&&(K(0),C(1,zUa,2,1,"ng-container",23),T(2,"async"),L());a&2&&(a=P().$implicit,A(),E("ngIf",U(2,1,a.issue$)))},BUa=function(a){a&1&&(J(0,"b-issue-assignee-cell",37),T(1,"async"));a&2&&(a=P().$implicit,E("issue",U(1,1,a.issue$)))},CUa=function(a){a&1&&(F(0,"td",34),K(1,38),C(2,AUa,3,3,"ng-container",39)(3,BUa,2,3,"b-issue-assignee-cell",41),L(),H());a&2&&(a=P(),A(),E("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),A(),E("ngSwitchCase","avatar-if-open"))},DUa=function(a){a&
1&&(F(0,"th",30),Q(1," Status "),H())},EUa=function(a,b){a&1&&(F(0,"td",34),J(1,"b-issue-status-cell",44),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,2,a.issue$))("showPendingFix",!0))},FUa=function(a){a&1&&(F(0,"th",30),Q(1," Team "),H())},GUa=function(a,b){a&1&&(F(0,"td",34),J(1,"b-issue-team-cell",37),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,1,a.issue$)))},HUa=function(a){a&1&&J(0,"th",30)},IUa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-actions-menu",45);O("click",
function(d){v(c);return x(d.stopPropagation())});H()()}a&2&&(a=b.$implicit,b=P(),A(),E("menuItems",b.getMenuItems(a)))},JUa=function(a){a&1&&J(0,"th",30)},LUa=function(a){if(a&1){var b=u();F(0,"b-actions-menu",45);O("click",function(d){v(b);return x(d.stopPropagation())});H()}if(a&2){a=P().$implicit;var c=P();E("menuItems",KUa(c,a))}},MUa=function(a){a&1&&J(0,"b-spinner")},NUa=function(a,b){a&1&&(F(0,"td",46),C(1,LUa,1,1,"b-actions-menu",47)(2,MUa,1,0,"ng-template",null,2,Mg),H());a&2&&(a=b.$implicit,
b=M(3),A(),E("ngIf",!a.saving)("ngIfElse",b))},PUa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"b-async-data-placeholder",48);T(2,"async");F(3,"b-button",49);O("onAction",function(){var d=v(c).$implicit,e=P();return x(OUa(e,d))});F(4,"span",50);Q(5);H()()()()}a&2&&(a=b.$implicit,b=P(),Vf("padding-left",a.level*24+b.TITLE_FIXED_OFFSET_PX,"px"),Nf("colspan",b.tableColumns.length),A(),E("isReady",!!U(2,5,a.parentIssue$)),A(4),R("Display ",a.truncatedSiblingCount," more"))},QUa=function(a){a&1&&(F(0,
"th",30),Q(1," Title "),H())},RUa=function(a,b){if(a&1){var c=u();F(0,"td",34)(1,"div",51)(2,"b-text-input-cell",52);Cg("valueChange",function(d){var e=v(c).$implicit;Bg(e.title,d)||(e.title=d);return x(d)});O("commit",function(){var d=v(c).$implicit,e=P();return x(e.saveDraft(d))});H();F(3,"b-button",53);O("onAction",function(){var d=v(c).$implicit,e=P();return x(e.saveDraft(d))});Q(4," Create ");H();F(5,"b-button",54);O("onAction",function(){var d=v(c).$implicit,e=P();return x(Up(e,d))});Q(6," Cancel ");
H()()()}a&2&&(a=b.$implicit,Vf("padding-left",(a.level+1)*24,"px"),A(2),Ag("value",a.title),E("readonly",a.saving),A(),E("disabled",!a.title||a.saving),A(2),E("disabled",a.saving))},SUa=function(a){a&1&&J(0,"tr",56)},TUa=function(a){a&1&&(K(0),C(1,SUa,1,0,"tr",55),L());a&2&&(a=P(),A(),E("matHeaderRowDef",a.tableColumns))},VUa=function(a,b){if(a&1){var c=u();F(0,"tr",57);T(1,"async");T(2,"async");O("click",function(d){var e=v(c).$implicit,f=P();return x(f.navigateToIssue(d,e))})("mouseup",function(d){var e=
v(c).$implicit,f=P();return x(f.navigateToIssue(d,e))})("focusin",function(){var d=v(c).$implicit,e=P();return x(Rp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=P();return x(f.onRowKeydown(e,d))});H()}a&2&&(a=b.$implicit,b=P(),Wf("selected",U(1,8,UUa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(U(2,10,a.issue$))),E("row",a),Nf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},WUa=function(a,b){if(a&1){var c=u();F(0,"tr",58);O("focusin",
function(){var d=v(c).$implicit,e=P();return x(Rp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=P();return x(f.onRowKeydown(e,d))});H()}a&2&&(a=b.$implicit,E("row",a),Nf("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},XUa=function(a,b){if(a&1){var c=u();F(0,"tr",59);O("keydown",function(d){var e=v(c).$implicit,f=P();return x(f.onRowKeydown(e,d))})("keydown.escape",function(){var d=v(c).$implicit,e=P();return x(Up(e,d))})("keydown.backspace",
function(){var d=v(c).$implicit,e=P();return x(d.title||Up(e,d))})("focusin",function(){var d=v(c).$implicit,e=P();return x(Rp(e.focusManager,d))});H()}a&2&&(a=b.$implicit,E("row",a),Nf("data-type",a.type))},YUa=function(a,b){if(a&&a.length)return a.map(b)},ZUa=function(a){var b=a.getFilename();var c=Zk(a,2,Ai(Bi));return{filename:b,lineNumber:c,changeNumber:a.getChangeNumber_asLegacyNumberOrString()}},aVa=function(a){var b=Zh(a,1);a=Yj(a,$Ua,2,Ai(Bi));return{packageName:b,fileMentionSet:YUa(a,ZUa)}},
cVa=function(a){var b=Lj(a,1),c=hk(a,2);a=Yj(a,bVa,3,Ai(Bi));return{totalMentions:b,truncated:c,packageMentionSet:YUa(a,aVa)}},Vp=function(a){var b=dVa(a.open);a=dVa(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},dVa=function(a){var b=a.count;a=a.exact;return b===0||a?""+b:b+"+"},eVa=function(a){return"("+dVa(a)+")"},Wp=function(a){return{count:a>99?99:a,exact:a>99?!1:!0}},fVa=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:Bc(b)}},gVa=function(a){if(a&1){var b=u();F(0,"div",2);O("@arrowPosition.start",function(){v(b);var c=P();return x(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){v(b);var c=P();return x(c._disableViewStateAnimation=!1)});J(1,"div",3);F(2,"div",4);J(3,"div",5)(4,"div",6)(5,"div",7);H()()}a&2&&(a=P(),E("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",
a._getArrowDirectionState()),A(2),E("@indicator",a._getArrowDirectionState()),A(),E("@leftPointer",a._getArrowDirectionState()),A(),E("@rightPointer",a._getArrowDirectionState()))},hVa=function(a){a&1&&J(0,"th",41)},iVa=function(a){a&1&&J(0,"td",42)},jVa=function(a){a&1&&(F(0,"th",41),Q(1," Id "),H())},kVa=function(a,b){a&1&&(F(0,"td",43),J(1,"b-issue-id-cell",44),H());a&2&&(a=b.$implicit,A(),E("id",a.id))},lVa=function(a){a&1&&(F(0,"th",41),Q(1," Title "),H())},mVa=function(a,b){a&1&&(F(0,"td",43),
J(1,"b-issue-title-cell",45),T(2,"async"),T(3,"async"),H());if(a&2){var c;a=b.$implicit;b=P();A();Wf("bold",b.showReadStatus&&b.isUnread(U(2,8,a.issue$)));lg("anchorTarget",(b.options.navigationOptions==null?0:b.options.navigationOptions.alwaysOpenNewTab)?"_blank":void 0);E("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)}},nVa=function(a){a&1&&(F(0,"th",46),Q(1," Type "),H())},oVa=function(a,b){a&1&&(F(0,"td",43),J(1,"b-issue-type-cell",47),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,1,a.issue$)))},pVa=function(a){a&1&&dg(0)},qVa=function(a){a&1&&(K(0),Q(1,"Assignee"),L())},rVa=function(a){a&1&&(F(0,"th",48),K(1,49),C(2,pVa,1,0,"ng-container",50)(3,qVa,
2,0,"ng-container",51),L(),H());a&2&&(a=P(),A(),E("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),A(),E("ngSwitchCase","avatar-if-open"))},sVa=function(a,b){a&1&&J(0,"b-user-image",54);a&2&&E("email",b.$implicit)},tVa=function(a){a&1&&(K(0),C(1,sVa,1,1,"b-user-image",53),L());if(a&2){a=P().$implicit;var b=P(3);A();E("ngIf",b.getAssigneeString(a))}},uVa=function(a,b){a&1&&(K(0),C(1,tVa,2,1,"ng-container",52),L());a&2&&(a=b.$implicit,b=P(3),A(),E("ngIf",b.isOpen(a)))},vVa=function(a){a&
1&&(K(0),C(1,uVa,2,1,"ng-container",52),T(2,"async"),L());a&2&&(a=P().$implicit,A(),E("ngIf",U(2,1,a.issue$)))},wVa=function(a){a&1&&(K(0),J(1,"b-issue-assignee-cell",47),T(2,"async"),L());a&2&&(a=P().$implicit,A(),E("issue",U(2,1,a.issue$)))},xVa=function(a){a&1&&(F(0,"td",43),K(1,49),C(2,vVa,3,3,"ng-container",50)(3,wVa,3,3,"ng-container",51),L(),H());a&2&&(a=P(),A(),E("ngSwitch",a.options.modes==null?null:a.options.modes.assignee),A(),E("ngSwitchCase","avatar-if-open"))},yVa=function(a){a&1&&(F(0,
"th",55),Q(1," Reporter "),H())},zVa=function(a,b){a&1&&(F(0,"td",43),J(1,"b-issue-reporter-cell",47),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,1,a.issue$)))},AVa=function(a){a&1&&(F(0,"th",56),Q(1," P "),H())},BVa=function(a,b){a&1&&(F(0,"td",43),J(1,"b-issue-priority-display",57),H());a&2&&(a=b.$implicit,b=P(),A(),E("issuePriority",b.getPriority(a)))},CVa=function(a){a&1&&(F(0,"th",58),Q(1," Status "),H())},DVa=function(a,b){a&1&&(F(0,"td",43),J(1,"b-issue-status-cell",47),T(2,"async"),
H());a&2&&(a=b.$implicit,A(),E("issue",U(2,1,a.issue$)))},EVa=function(a){a&1&&(F(0,"th",41),Q(1," Team "),H())},FVa=function(a,b){a&1&&(F(0,"td",43),J(1,"b-issue-team-cell",47),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,1,a.issue$)))},GVa=function(a){a&1&&(F(0,"th",41),Q(1," Dupes "),H())},HVa=function(a){a&1&&(K(0),Q(1),L());if(a&2){var b;a=P().$implicit;A();R(" ",(b=a.snapshot[0].duplicateIssueId==null?null:a.snapshot[0].duplicateIssueId.length)!==null&&b!==void 0?b:0," ")}},IVa=function(a){a&
1&&(K(0),C(1,HVa,2,1,"ng-container",52),L());a&2&&(P(2),A(),E("ngIf",!0))},JVa=function(a,b){a&1&&(F(0,"td",43),C(1,IVa,2,1,"ng-container",52),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("ngIf",U(2,1,a.issue$)))},KVa=function(a){a&1&&(F(0,"th",41),Q(1," +1s "),H())},LVa=function(a){a&1&&(K(0),F(1,"span",59),Q(2),H(),L());a&2&&(a=P().$implicit,A(),kg("title","",a.aggregatedData==null?null:a.aggregatedData.voteCount," votes"),A(),R(" ",a.aggregatedData==null?null:a.aggregatedData.voteCount," "))},MVa=
function(a){a&1&&(K(0),C(1,LVa,3,3,"ng-container",52),L());a&2&&(P(2),A(),E("ngIf",!0))},NVa=function(a,b){a&1&&(F(0,"td",43),C(1,MVa,2,1,"ng-container",52),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("ngIf",U(2,1,a.issue$)))},OVa=function(a){a&1&&(F(0,"th",41),Q(1," 7d Views "),H())},PVa=function(a){a&1&&(K(0),F(1,"span",59),Q(2),H(),L());a&2&&(a=P().$implicit,A(),kg("title","",a.userActivityStats==null?null:a.userActivityStats.sevenDayViewCount," views in last 7 days"),A(),R(" ",a.userActivityStats==
null?null:a.userActivityStats.sevenDayViewCount," "))},QVa=function(a){a&1&&(K(0),C(1,PVa,3,3,"ng-container",52),L());a&2&&(P(2),A(),E("ngIf",!0))},RVa=function(a,b){a&1&&(F(0,"td",43),C(1,QVa,2,1,"ng-container",52),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("ngIf",U(2,1,a.issue$)))},SVa=function(a){a&1&&(F(0,"th",60),Q(1," Created "),H())},TVa=function(a,b){a&1&&(F(0,"td",43),J(1,"b-issue-created-time-cell",61),T(2,"async"),H());if(a&2){var c;a=b.$implicit;b=P();A();E("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)}},UVa=function(a){a&1&&(F(0,"th",62),Q(1," Last Modified "),H())},VVa=function(a,b){a&1&&(K(0),J(1,"b-formatted-date-time",64),L());if(a&2){var c;a=b.ngIf;b=P(2);A();E("timestamp",a/1E3)("mode",(c=b.options.modes==null?null:b.options.modes.modifiedTime)!==null&&c!==void 0?c:b.DEFAULT_DATETIME_MODE)("paddingLeftPx",0)}},WVa=function(a){a&1&&Q(0,"--")},XVa=function(a,b){a&1&&(F(0,"td",43),C(1,VVa,
2,3,"ng-container",63)(2,WVa,1,0,"ng-template",null,0,Mg),H());if(a&2){a=b.$implicit;b=M(3);var c=P();A();E("ngIf",c.getModifiedTimeMicros(a))("ngIfElse",b)}},YVa=function(a){a&1&&(F(0,"th",65),Q(1," Last action "),H())},ZVa=function(a){a&1&&J(0,"b-user-image",68);if(a&2){a=P().$implicit;var b=P(3);E("email",b.userToString(a.aggregatedData==null?null:a.aggregatedData.lastModifier))("teamId",b.teamId)}},$Va=function(a){a&1&&(K(0),C(1,ZVa,1,2,"b-user-image",67),L());a&2&&(P(3),A(),E("ngIf",!0))},aWa=
function(a,b){a&1&&(K(0),C(1,$Va,2,1,"ng-container",52),T(2,"async"),J(3,"b-formatted-date-time",64),L());a&2&&(a=b.ngIf,b=P().$implicit,A(),E("ngIf",U(2,4,b.issue$)),A(2),E("timestamp",a/1E3)("mode","relativepasttiny")("paddingLeftPx",4))},bWa=function(a){a&1&&Q(0,"--")},cWa=function(a,b){a&1&&(F(0,"td",66),C(1,aWa,4,6,"ng-container",63)(2,bWa,1,0,"ng-template",null,1,Mg),H());if(a&2){a=b.$implicit;b=M(3);var c=P();A();E("ngIf",c.getModifiedTimeMicros(a))("ngIfElse",b)}},dWa=function(a){a&1&&J(0,
"th",41)},eWa=function(a){a&1&&J(0,"b-issue-indicators-cell",70);if(a&2){a=P().$implicit;var b=P(2);E("indicators",b.indicators)("issue",a)}},fWa=function(a){a&1&&(K(0),C(1,eWa,1,2,"b-issue-indicators-cell",69),L());a&2&&(P(2),A(),E("ngIf",!0))},gWa=function(a,b){a&1&&(F(0,"td",66),C(1,fWa,2,1,"ng-container",52),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("ngIf",U(2,1,a.issue$)))},hWa=function(a){a&1&&(F(0,"th",71),Q(1," Timeframe "),H())},iWa=function(a,b){a&1&&(F(0,"td",43),J(1,"issue-timeframe",
72),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,2,a.issue$))("showIcon",!1))},jWa=function(a){a&1&&(F(0,"th",73),Q(1," Progress "),H())},kWa=function(a,b){a&1&&(F(0,"td",43),J(1,"progress-pie",47),T(2,"async"),H());a&2&&(a=b.$implicit,A(),E("issue",U(2,1,a.issue$)))},lWa=function(a){a&1&&J(0,"th",41)},mWa=function(a,b){if(a&1){var c=u();F(0,"td",43)(1,"b-actions-menu",74);O("click",function(f){v(c);return x(f.stopPropagation())});H()()}if(a&2){var d,e;a=b.$implicit;b=P();A();E("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))}},nWa=function(a){a&1&&J(0,"tr",75)},pWa=function(a,b){if(a&1){var c=u();F(0,"tr",76,2);T(2,"async");O("click",function(d){v(c);var e=M(1),f=P();return x(oWa(f,d,e))})("mouseup",function(d){v(c);var e=M(1),f=P();return x(oWa(f,d,
e))})("focusin",function(){var d=v(c).$implicit,e=P();return x(e.focusManager==null?null:Rp(e.focusManager,d))})("keydown",function(d){var e=v(c).$implicit,f=P();return x(f.onRowKeydown(e,d))});H()}a&2&&(a=b.$implicit,b=P(),Wf("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),E("row",a))},qWa=function(a){if(a&1){var b=u();K(0);F(1,"button",78);O("click",function(){v(b);var c=P(5);return x(c.rowLimit$.next(void 0))});Q(2," Show more ");H();L()}},rWa=function(a){a&1&&(K(0),C(1,qWa,3,0,"ng-container",52),L());if(a&2){a=P().$implicit;var b=P().$implicit;A();E("ngIf",a.length<b)}},sWa=function(a){if(a&1){var b=u();K(0);F(1,"button",78);O("click",function(){v(b);var c=P(5);return x(c.rowLimit$.next(c.options.rowLimit))});Q(2," Show less ");H();L()}},tWa=function(a){a&
1&&C(0,sWa,3,0,"ng-container",52);if(a&2){a=P().$implicit;var b=P(3);E("ngIf",a.length>b.options.rowLimit)}},uWa=function(a){a&1&&(K(0),C(1,rWa,2,1,"ng-container",63),T(2,"async"),C(3,tWa,1,1,"ng-template",null,3,Mg),L());if(a&2){a=M(4);var b=P(3);A();E("ngIf",U(2,2,b.rowLimit$))("ngIfElse",a)}},vWa=function(a){a&1&&(K(0),C(1,uWa,5,4,"ng-container",52),T(2,"async"),L());a&2&&(a=P(2),A(),E("ngIf",U(2,1,a.rows$)))},wWa=function(a){a&1&&(F(0,"div",77),C(1,vWa,3,3,"ng-container",52),T(2,"async"),H());
a&2&&(a=P(),A(),E("ngIf",U(2,1,a.rowCountAfterFilters$)))},xWa=function(a,b){return(a==null?void 0:a.id)===(b==null?void 0:b.id)},cj=function(a){return ho(a.issue$)},yWa=function(a){var b,c,d;return(b=ho(a.issue$))==null?void 0:(c=b.snapshot)==null?void 0:(d=c[0])==null?void 0:d.priority},zWa=function(a){var b,c;return(b=ho(a.issue$))==null?void 0:(c=b.aggregatedData)==null?void 0:c.modifiedTimeMicros},AWa=function(a,b){if(!b)return a;switch(b.column){case "status":return Isa()(a,b.direction);case "assignee":return Jsa()(a,
b.direction);case "reporter":return Lsa()(a,b.direction);case "type":return Ksa()(a,b.direction);case "createdTime":return Msa(cj)(a,b.direction);case "modifiedTime":case "lastAction":return Nsa(cj)(a,b.direction);case "priority":return Qsa(cj)(a,b.direction);case "progress":return Rsa()(a,b.direction);default:return console.warn("b-issues-table sort by '"+b.column+"' not implemented"),a}},BWa=function(a){a&1&&dg(0)},CWa=function(a){a&1&&C(0,BWa,1,0,"ng-container",6);a&2&&(P(),a=M(14),E("ngTemplateOutlet",
a))},DWa=function(a,b){a&1&&J(0,"b-issues-table",7);a&2&&(a=P(2),E("issueIds",b)("tableColumns",a.tableColumns)("menuItemFactory",a.getMenuItems)("filters",a.filters)("initialSort",a.initialSort)("options",a.tableOptions))},EWa=function(a){a&1&&(C(0,DWa,1,6,"b-issues-table",7),T(1,"async"));if(a&2){var b;a=P();$f((b=U(1,1,a.blockerIds$))?0:-1,b)}},FWa=function(a){a&1&&dg(0)},GWa=function(a){a&1&&(F(0,"div")(1,"span",5),Q(2,"This issue is not blocked "),F(3,"span",8),Q(4,"\ud83c\udf89"),H()(),C(5,
FWa,1,0,"ng-container",6),H());a&2&&(P(),a=M(14),A(5),E("ngTemplateOutlet",a))},HWa=function(a,b){if(a&1){var c=u();F(0,"p",5);Q(1);F(2,"button",9);O("click",function(){v(c);var d=P();return x(d.shouldResetFilters.next())});Q(3,"Show all");H()()}a&2&&(A(),zg(" Filtering ",b," issue",b===1?"":"s",". "))},JWa=function(a){if(a&1){var b=u();F(0,"b-button",10);T(1,"async");O("onAction",function(){v(b);var c=P();return x(IWa(c))});Q(2," Add blocker ");H()}a&2&&(a=P(),E("disabled",!U(1,1,a.canEdit$)))},
KWa=function(a,b){a&1&&(K(0),J(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=P(),A(),E("issueIds",a)("tableColumns",b.tableColumns)("options",b.tableOptions)("filters",b.filters)("issueUrlFactory",b.ROUTES.issueDependencies.makeHref)("menuItemFactory",b.getMenuItems))},LWa=function(a,b){a&1&&(F(0,"span",10),Q(1),H());a&2&&(a=b.ngIf,kg("title","",a," applied filter(s)"),A(),yg(a))},MWa=function(a){a&1&&(K(0),C(1,LWa,2,3,"span",9),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.internalSelectedOptions.size$)))},
NWa=function(a){a&1&&(F(0,"h1",11),Q(1),H());a&2&&(a=P(),A(),yg(a.overlayTitle))},OWa=function(a){a&1&&(F(0,"h1"),Q(1),H());a&2&&(a=P().$implicit,A(),yg(a.title))},PWa=function(a){a&1&&(F(0,"p"),Q(1),H());a&2&&(a=P().$implicit,A(),yg(a.description))},QWa=function(a,b){if(a&1){var c=u();F(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);T(3,"async");O("change",function(d){var e=v(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 x()});H();F(4,"div");C(5,OWa,2,1,"h1",4)(6,PWa,2,1,"p",4);H()()()}a&2&&(a=b.$implicit,b=P(),A(2),E("checked",U(3,3,zp(b.internalSelectedOptions,a.key))),A(3),E("ngIf",a.title),A(),E("ngIf",a.description))},RWa=function(a){if(a&1){var b=u();K(0);J(1,"mat-divider");F(2,"div",15)(3,"button",16);O("click",function(){v(b);var c=P(),d=M(1);return x(c.cancel(d))});Q(4);H();F(5,"button",17);O("click",function(){v(b);var c=P(),d=M(1);return x(c.confirm(d))});Q(6);H()();L()}a&2&&(a=P(),A(4),yg(a.cancelButtonLabel),
A(2),yg(a.confirmButtonLabel))},SWa=function(a){a&1&&J(0,"b-spinner")},TWa=function(a){a&1&&dg(0)},UWa=function(a){a&1&&(K(0),C(1,TWa,1,0,"ng-container",26),L());a&2&&(P(2),a=M(12),A(),E("ngTemplateOutlet",a))},VWa=function(a){a&1&&(J(0,"b-parents-table",27),T(1,"async"),T(2,"async"));if(a&2){a=P().ngIf;var b=P();E("issueId",a)("parentIds",U(1,3,b.parentIds$))("filters",U(2,5,b.issueFilters.value$))}},WWa=function(a){a&1&&dg(0)},YWa=function(a){a&1&&(K(0),C(1,WWa,1,0,"ng-container",28),T(2,"async"),
L());if(a&2){a=P(2);var b=M(10);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(4,XWa,U(2,2,a.parentsTable==null?null:a.parentsTable.hiddenRowCount$)))}},ZWa=function(a){a&1&&dg(0)},$Wa=function(a){a&1&&(F(0,"div")(1,"span",29),Q(2,"This issue has no parents"),H(),C(3,ZWa,1,0,"ng-container",26),H());a&2&&(P(2),a=M(12),A(3),E("ngTemplateOutlet",a))},aXa=function(a){a&1&&dg(0)},bXa=function(a){a&1&&(K(0),C(1,aXa,1,0,"ng-container",26),L());a&2&&(P(2),a=M(14),A(),E("ngTemplateOutlet",a))},cXa=
function(a){a&1&&(F(0,"div",30)(1,"section",31)(2,"div",32),Q(3," Progress: "),H(),F(4,"div",32),Q(5),T(6,"async"),T(7,"number"),T(8,"async"),T(9,"number"),H(),F(10,"div",33),T(11,"async"),F(12,"div",34),J(13,"div",35),T(14,"async"),F(15,"onedev-hovercard",null,4)(17,"div",36)(18,"div",37),Q(19),T(20,"async"),H()()()()(),J(21,"mat-icon",38),F(22,"onedev-hovercard",null,5)(24,"div",36)(25,"div",39)(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. "),
H()()()()()());if(a&2){a=M(16);var b=M(23),c=P(2);A(5);zg(" ",Kg(7,11,U(6,9,c.totalDaysComplete$),"1.0-2")," of ",Kg(9,16,U(8,14,c.totalDaysCount$),"1.0-2")," days complete ");A(5);Pf("aria-label","",U(11,19,c.totalDaysDisplayPercent$)," Percentage of effort completed");A(2);E("onedevHovercardTrigger",a);A();Vf("width",U(14,21,c.totalDaysDisplayPercent$),"%");A(6);R(" ",U(20,23,c.progressHovercardContent$)," ");A(2);E("onedevHovercardTrigger",b)}},dXa=function(a){a&1&&J(0,"rollups-project",40);a&
2&&(a=P().ngIf,E("id",a))},eXa=function(a){a&1&&dg(0)},fXa=function(a){a&1&&(K(0),C(1,eXa,1,0,"ng-container",28),T(2,"async"),L());if(a&2){a=P(2);var b=M(10);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(4,XWa,U(2,2,a.relationsTable==null?null:a.relationsTable.hiddenRowCount$)))}},gXa=function(a){a&1&&dg(0)},hXa=function(a){a&1&&(F(0,"span",29),Q(1,"This issue has no children"),H(),C(2,gXa,1,0,"ng-container",26));a&2&&(P(3),a=M(14),A(2),E("ngTemplateOutlet",a))},iXa=function(a){a&1&&(F(0,
"p",41)(1,"a",42),Q(2," View as search results "),H()());if(a&2){a=P(2).ngIf;var b=P();A();E("href",b.makeIlpUrlForParentIssue(a),cf)}},jXa=function(a){a&1&&(K(0),C(1,hXa,3,1),T(2,"async"),T(3,"async"),C(4,iXa,3,1,"p",41),L());if(a&2){var b;a=P(2);A();$f(U(2,1,a.unarchivedChildIssueCount$)===0&&(((b=U(3,3,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:b.length)||0)===0?1:4)}},kXa=function(a,b){if(a&1){var c=u();F(0,"div",12)(1,"section",13)(2,"div",14)(3,"h4",15)(4,"div",16);J(5,
"mat-icon",17);H();Q(6);T(7,"async");H();C(8,UWa,2,1,"ng-container",7);T(9,"async");H();C(10,VWa,3,7,"b-parents-table",18);T(11,"async");C(12,YWa,3,6,"ng-container",7);T(13,"async");C(14,$Wa,4,1,"ng-template",null,3,Mg);H();F(16,"section")(17,"b-blockers-table",19);T(18,"async");O("shouldResetFilters",function(){v(c);var h=P();return x(h.shouldResetFilters())});H()();F(19,"section")(20,"div",20)(21,"h4",15)(22,"div",21);J(23,"mat-icon",22);H();Q(24);T(25,"async");H();C(26,bXa,2,1,"ng-container",7);
T(27,"async");T(28,"async");H();C(29,cXa,28,25,"div",23);T(30,"async");T(31,"async");C(32,dXa,1,1,"rollups-project",24);J(33,"b-issue-relations-table",25);T(34,"async");T(35,"async");T(36,"async");C(37,fXa,3,6,"ng-container",7);T(38,"async");C(39,jXa,5,5,"ng-container",7);T(40,"async");H()()}if(a&2){var d,e;a=b.ngIf;b=M(15);var f=P();A(6);R(" Parents ",U(7,18,f.counts.countParentsDisplay$)," ");A(2);E("ngIf",U(9,20,f.parentsCount$));A(2);E("ngIf",U(11,22,f.parentsCount$))("ngIfElse",b);A(2);E("ngIf",
U(13,24,f.issueFilters.value$));A(5);E("filters",U(18,26,f.issueFilters.value$));A(7);R(" Child issues ",U(25,28,f.counts.countChildrenDisplay$)," ");A(2);E("ngIf",U(27,30,f.unarchivedChildIssueCount$)||(((d=U(28,32,f.relationsTable==null?null:f.relationsTable.rows$))==null?null:d.length)||0)>0);A(3);E("ngIf",f.isTotalEstimatesEnabled&&U(30,34,f.unarchivedChildIssueCount$)&&U(31,36,f.totalDaysCount$));A(3);E("ngIf",f.isInternalSession&&f.enableRollupStatsUi);A();Wf("hidden",!((e=U(34,38,f.relationsTable==
null?null:f.relationsTable.rows$))==null?0:e.length)&&!U(35,40,f.relationsTable==null?null:f.relationsTable.hiddenRowCount$));kg("saveExpansionAtKey","project-expansion-",a,"");E("rootIssueId",a)("filters",U(36,42,f.issueFilters.value$));A(4);E("ngIf",U(38,44,f.issueFilters.value$));A(2);E("ngIf",U(40,46,f.unarchivedChildIssueCount$)!==null)}},lXa=function(a){if(a&1){var b=u();F(0,"p",29);Q(1);F(2,"button",44);O("click",function(){v(b);var c=P(2);return x(c.issueFilters.reset([]))});Q(3,"Show all");
H()()}a&2&&(a=P().filteredCount,A(),zg(" Filtering ",a," issue",a===1?"":"s",". "))},mXa=function(a,b){a&1&&C(0,lXa,4,2,"p",43);a&2&&E("ngIf",b.filteredCount)},oXa=function(a){if(a&1){var b=u();F(0,"b-button",45);T(1,"async");O("onAction",function(){v(b);var c=P();return x(nXa(c))});Q(2," Add parent ");H()}a&2&&(a=P(),E("disabled",!U(1,1,a.canEdit$)))},pXa=function(a){if(a&1){var b=u();F(0,"b-button",48);T(1,"async");O("onAction",function(){v(b);var c=P(2);return x(c.createChild())});Q(2," Create new child ");
H()}a&2&&(a=P(2),E("disabled",!U(1,1,a.canEdit$)))},qXa=function(a){if(a&1){var b=u();C(0,pXa,3,3,"b-button",46);F(1,"b-button",47);T(2,"async");O("onAction",function(){v(b);var c=P();return x(c.addChild())});Q(3," Add existing child ");H()}a&2&&(a=P(),E("ngIf",a.isNonPublicSession),A(),E("disabled",!U(2,2,a.canEdit$)))},rXa=function(a,b){return we([a,b]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return d===0?0:Math.round(c*100/d*100)/100}))},sXa=function(a){return a===1?a+" day":
a+" days"},tXa=function(a){a&1&&(J(0,"one-work-area-list",0),T(1,"async"));a&2&&(a=P(2),E("searchString",U(1,4,a.issueFilter$))("prefKey",a.entityReference)("reference",a.entityReference)("onlyShowTableWhenFiltered",a.onlyShowTableWhenFiltered))},vXa=function(a){if(a&1){var b=u();F(0,"aside",4)(1,"p",5);Q(2,"This issue has no children.");H();F(3,"button",6);O("click",function(){v(b);var c;(c=P(5).relationsTable)==null||uXa(c);return x()});Q(4," Create new child ");H();F(5,"button",7);O("click",function(){v(b);
var c;(c=P(5).relationsTable)==null||c.addExistingChild();return x()});Q(6," Add existing ");H()()}},wXa=function(a,b){a&1&&(C(0,vXa,7,0,"aside",4),T(1,"async"));if(a&2){var c;a=P(4);$f(b.descendantCount===0&&(((c=U(1,1,a.relationsTable==null?null:a.relationsTable.rows$))==null?null:c.length)||0)===0?0:-1)}},xXa=function(a){a&1&&(J(0,"b-issue-relations-table",3),C(1,wXa,2,3),T(2,"async"));if(a&2){var b;a=P(2);var c=P();kg("saveExpansionAtKey","project-expansion-",a,"");E("rootIssueId",a)("filters",
c.getFilters())("tableColumns",c.TREE_COLUMNS)("options",c.TREE_OPTIONS)("defaultExpansionLevel",0);A();$f((b=U(2,8,c.issue$))?1:-1,b)}},yXa=function(a){a&1&&(J(0,"rollups-project",2)(1,"stat-cards-project",2),C(2,xXa,3,10));if(a&2){a=P();var b=P();E("id",a);A();E("id",a);A();$f(b.showTable()?2:-1)}},zXa=function(a){a&1&&Q(0);a&2&&(a=P(2),R(" Unhandled entity type: ",a.entityType," "))},AXa=function(a){a&1&&(J(0,"recent-events",1),T(1,"async"));a&2&&(a=P(2),E("query",U(1,2,a.issueFilter$))("numEvents",
a.numRecentActivityEvents))},BXa=function(a){a&1&&C(0,tXa,2,6,"one-work-area-list",0)(1,yXa,3,3)(2,zXa,1,1)(3,AXa,2,4,"recent-events",1);a&2&&(a=P(),$f(a.entityType==="hotlist"||a.entityType==="savedsearch"?0:a.entityType==="issue"?1:2),A(3),$f(a.hideRecentActivity?-1:3))},CXa=function(a){return{filter:a!=null?a:void 0,pageSize:500,sort:"modified_time:desc"}},DXa=function(a){a&1&&(J(0,"b-issues-table",2),T(1,"async"));a&2&&(a=P(),E("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))},EXa=function(a){a&1&&(F(0,"button",13),J(1,"mat-icon",14),Q(2," Add "),H());a&2&&(P(),a=M(9),E("matMenuTriggerFor",a))},FXa=function(a){a&1&&J(0,"b-issue-card",29);a&2&&(a=P().$implicit,E("issueId",a.ref))},HXa=function(a,b){if(a&1){var c=u();F(0,"li",25);O("click",function(){var d=v(c).$implicit,e=P(3);return x(GXa(e,d.ref))});F(1,"p",26);Q(2);H();F(3,"p",27);Q(4);H();
F(5,"onedev-hovercard",null,2);C(7,FXa,1,1,"b-issue-card",28);H()()}a&2&&(a=b.$implicit,b=M(6),kg("title","Click to add\n\rWhy this? ",a.suggestionRationale,""),A(2),yg(a.title),A(),E("onedevHovercardTrigger",b),A(),R("b/",a.ref,""),A(3),E("ngIf",a.ref))},IXa=function(a){a&1&&(K(0),F(1,"div",22)(2,"h4"),Q(3,"Suggestions:"),H(),F(4,"ol",23),C(5,HXa,8,6,"li",24),H()(),L());a&2&&(a=P(2),A(5),E("ngForOf",a.suggestions))},JXa=function(a){a&1&&(F(0,"section",15)(1,"div",16),J(2,"img",17),C(3,IXa,6,1,"ng-container",
18),H(),F(4,"p",19),Q(5," Use work areas to closely monitor a hotlist, saved search, or a parent/child project issue. "),H(),F(6,"button",20),J(7,"mat-icon",21),Q(8," Add work area "),H()());if(a&2){a=P();var b=M(9);A(2);E("src",a.EMPTY_STATE_IMG,cf);A();E("ngIf",a.suggestions.length>0);A(3);E("matMenuTriggerFor",b)}},KXa=function(a){a&1&&(F(0,"a",44),J(1,"mat-icon",45),Q(2," View Issue "),H(),F(3,"a",46),J(4,"mat-icon",45),Q(5," View as search results "),H());if(a&2){a=P(2).$implicit;var b=P(2);
E("routerLink",b.makeBuganizerUrl(a));A(3);E("href",b.makeIlpUrlForParentIssue(a),cf)}},LXa=function(a){a&1&&(F(0,"a",37),J(1,"mat-icon",45),Q(2),H());if(a&2){a=P(2).$implicit;var b=P(2);E("routerLink",b.makeBuganizerUrl(a));A(2);R(" View ",b.getEntityTypeName(a)," ")}},MXa=function(a,b){if(a&1){var c=u();F(0,"button",11);O("click",function(){var d=v(c).$implicit,e=P(4);e.clipboard.copy(d);Xp(e.butterBar,"ID copied",2E3);return x()});J(1,"mat-icon",47);Q(2);H()}a&2&&(a=b.$implicit,A(2),R(" Copy ID: ",
a," "))},OXa=function(a){if(a&1){var b=u();Q(0);F(1,"button",34);O("click",function(h){v(b);return x(h.stopPropagation())});J(2,"mat-icon",35);H();F(3,"mat-menu",36,3);C(5,KXa,6,2)(6,LXa,3,2,"a",37)(7,MXa,3,1,"button",38);J(8,"mat-divider");F(9,"button",39);O("click",function(){v(b);var h=P().$implicit,k=P(2);return x(NXa(k.prefsService,h,-1))});J(10,"mat-icon",40);Q(11," Move Left ");H();F(12,"button",39);O("click",function(){v(b);var h=P().$implicit,k=P(2);return x(NXa(k.prefsService,h,1))});J(13,
"mat-icon",41);Q(14," Move Right ");H();F(15,"button",42);O("click",function(){v(b);var h=P().$implicit,k=P(2).prefsService;if(h!=null){var q,t=((q=k.prefs.workAreaUrls)!=null?q:[]).slice();h=t.indexOf(h);h<0||(t.splice(h,1),Yp(k,{workAreaUrls:t}))}return x()});J(16,"mat-icon",43);Q(17," Remove ");H()()}if(a&2){a=M(4);var c=P(),d=c.$implicit,e=c.first;c=c.last;var f=P(2);R(" ",f.titles[d]||d," ");A();E("matMenuTriggerFor",a);A(4);$f(f.inferEntityType(d)==="issue"?5:6);A(2);E("ngIf",f.extractLastDigits(d));
A(2);E("disabled",e);A(3);E("disabled",c);A(3);kg("title","Hide the work area '",d,"' from this section")}},PXa=function(a){a&1&&J(0,"one-work-area",48);if(a&2){a=P().$implicit;var b=P(2);E("reference",a)("refreshWorkArea",b.refreshData)}},QXa=function(a){a&1&&(K(0),F(1,"mat-tab"),C(2,OXa,18,8,"ng-template",32)(3,PXa,1,2,"ng-template",33),H(),L())},SXa=function(a){if(a&1){var b=u();F(0,"mat-tab-group",30);O("selectedIndexChange",function(c){v(b);var d=P();return x(RXa(d.prefsService,d.SECTION_SLUG,
c))});C(1,QXa,4,0,"ng-container",31);H()}a&2&&(a=P(),E("selectedIndex",a.INITIAL_TAB_INDEX),A(),E("ngForOf",a.workAreaReferences))},TXa=function(a){if(a&1){var b=u();F(0,"div",1);O("click",function(){v(b);var c=P();return x(c._onBackdropClicked())});H()}a&2&&(a=P(),Wf("mat-drawer-shown",a._isShowingBackdrop()))},UXa=function(a){a&1&&(F(0,"mat-drawer-content"),jg(1,2),H())},VXa=function(){return!1},WXa=function(a){if(a&1){var b=u();F(0,"div",1);O("click",function(){v(b);var c=P();return x(c._onBackdropClicked())});
H()}a&2&&(a=P(),Wf("mat-drawer-shown",a._isShowingBackdrop()))},XXa=function(a){a&1&&(F(0,"mat-sidenav-content"),jg(1,2),H())},YXa=function(a,b){return b.length?a.filter(function(c){return[].concat(r(b)).some(function(d){return d.check(c)})}):a},ZXa=function(a,b){if(a&1){var c=u();F(0,"button",10);O("click",function(){var d=v(c).$implicit,e=P(2);return x(e.pageSizeChange.emit(d))});F(1,"span",11);J(2,"mat-icon",12);H();Q(3);H()}a&2&&(a=b.$implicit,b=P(2),Wf("b-menu-item-checked",a===b.pageSize),Nf("aria-checked",
a===b.pageSize),A(3),R(" ",a," "))},$Xa=function(a){a&1&&(K(0),F(1,"button",6),J(2,"mat-icon",7),H(),F(3,"mat-menu",null,0)(5,"div",8),Q(6,"Results per page:"),H(),C(7,ZXa,4,4,"button",9),H(),L());if(a&2){a=M(4);var b=P();A();E("matMenuTriggerFor",a);A(6);E("ngForOf",b.pageSizeOptions)}},aYa=function(a){a&1&&(F(0,"span"),Q(1," - "),F(2,"strong"),Q(3),H()());a&2&&(a=P(),A(3),yg(a.endIndex))},bYa=function(a){a&1&&J(0,"div",2)},cYa=function(){var a=Xc(vh),b=a?a.location:null;return{getPathname:function(){return b?
b.pathname+b.search:""}}},dYa=function(a,b){a&1&&(J(0,"mat-tab",20),T(1,"async"));if(a&2){var c;a=b.$implicit;b=P(2);E("label",(c=(c=U(1,1,b.tabDisplayText$))==null?null:c.get(a))!==null&&c!==void 0?c:"")}},eYa=function(a){a&1&&J(0,"mat-progress-bar",21)},fYa=function(a,b){a&1&&(K(0),F(1,"mat-chip-option",25),T(2,"async"),F(3,"span",26),Q(4),H()(),L());a&2&&(a=b.$implicit,b=P(5),A(),E("value",a.key)("selected",U(2,5,zp(b.selectedFilterKeys,a.key))),A(2),E("matTooltip",a.tooltip),A(),zg(" ",a.displayAs,
" (",a.count,") "))},gYa=function(a){if(a&1){var b=u();F(0,"mat-chip-listbox",23);O("change",function(c){v(b);P(4).selectedFilterKeys.reset(c.value.filter(Gi));return x()});C(1,fYa,5,7,"ng-container",24);H()}a&2&&(a=P(),E("multiple",!0),A(),E("ngForOf",a))},hYa=function(a,b){a&1&&C(0,gYa,2,2,"mat-chip-listbox",22);a&2&&$f(b.length?0:-1)},iYa=function(a){a&1&&(C(0,hYa,1,1),T(1,"async"));if(a&2){var b;a=P(2);$f((b=U(1,1,a.availableFiltersInCurrentPhase$))?0:-1,b)}},kYa=function(a){if(a&1){var b=u();
F(0,"b-issues-table",28);T(1,"async");O("activeIssueChange",function(f){v(b);var h=P(3);h.triageService.setIssueId(f);h.triageService.openSidebar();return x()})("rowClick",function(f){v(b);var h=P(3);h.triageService.setIssueId(f);h.triageService.openSidebar();return x()})("sortChange",function(f){v(b);var h=P(3);return x(h.onSortChange(f))});H()}if(a&2){var c;a=P();var d=P(),e=P();E("issueIds",a)("tableColumns",e.tableColumns)("options",e.tableOptions)("teamId",d.teamId)("showReadStatus",!0)("indicators",
(c=U(1,6,e.issueIndicatorsForCurrentPhase$))!==null&&c!==void 0?c:Gg(8,jYa))}},lYa=function(a,b){a&1&&C(0,kYa,2,9,"b-issues-table",27);a&2&&(P(2),a=M(3),E("ngIf",b.length)("ngIfElse",a))},pYa=function(a,b){if(a&1){var c=u();F(0,"div",1)(1,"header",2)(2,"a",3);J(3,"mat-icon",4);H();F(4,"button",5);O("onHotkey",function(){v(c);var y=P();return x(y.refreshTable())})("click",function(){v(c);var y=P();return x(y.refreshTable())});J(5,"mat-icon",6);H();F(6,"h2",7);Q(7," Triage: ");F(8,"span",8);Q(9);H()();
F(10,"mat-tab-group",9);T(11,"async");O("selectedIndexChange",function(y){v(c);var D=P();y=mYa.get(D.PHASES[y]);var G=ho(D.teamId$);y=wp.viewTriagePhase.makeHref(G,y);D.bLocation.setUrl(y,!0);return x()});C(12,dYa,2,3,"mat-tab",10);H();F(13,"b-paginator",11);T(14,"async");T(15,"async");T(16,"async");T(17,"async");T(18,"async");T(19,"async");T(20,"async");T(21,"async");O("pageSizeChange",function(y){v(c);var D=P();return x(nYa(D,y))})("prevPage",function(){v(c);var y=P();y.pageNumber$.next(y.pageNumber$.value-
1);return x()})("nextPage",function(){v(c);var y=P();y.pageNumber$.next(y.pageNumber$.value+1);return x()});H();F(22,"a",12);J(23,"mat-icon",13);H()();C(24,eYa,1,0,"mat-progress-bar",14);T(25,"async");C(26,iYa,2,3);T(27,"async");F(28,"div",15)(29,"div",16);C(30,lYa,1,2,"b-issues-table",17);T(31,"async");H();F(32,"b-resizable-sidebar",18);T(33,"async");O("widthChanged",function(y){v(c);var D=P();y<D.RIGHT_SIDEBAR_MIN_WIDTH||(D.sidebarWidthPreference$.next(y),oYa("triage-sidebar-width")(y));return x()});
F(34,"issue-triage-sidebar",19);O("refreshTable",function(){v(c);var y=P();return x(y.refreshTable())});H()()()()}if(a&2){var d,e,f,h,k,q,t,w;a=P();A(2);E("href",a.ROUTES.viewTriage.makeHref(b.teamId),cf);A(2);E("hotkey",a.HOTKEYS.REFRESH_ISSUE);A(4);E("title",b.description);A();yg(b.name);A();E("selectedIndex",U(11,24,a.selectedTabIndex$));A(2);E("ngForOf",a.PHASES);A();Wf("invisible",!((d=U(14,26,a.issueIdsToRender$))==null?0:d.length));E("showPageSizeSelector",!0)("startIndex",(e=U(15,28,a.startIndex$))!==
null&&e!==void 0?e:1)("endIndex",(f=U(16,30,a.endIndex$))!==null&&f!==void 0?f:0)("totalNumber",(h=U(17,32,a.filteredTotalCount$))!==null&&h!==void 0?h:1)("hasPreviousPage",U(18,34,a.pageNumber$)>1)("hasNextPage",U(19,36,a.filteredTotalCount$)>U(20,38,a.endIndex$))("pageSize",(k=U(21,40,a.pageSize$))!==null&&k!==void 0?k:0);A(9);E("href",a.ROUTES.editTeam.makeHref(b.teamId,"triage"),cf);A(2);E("ngIf",U(25,42,a.isLoading$));A(2);$f(((q=U(27,44,a.allIssuesInPhase$))==null?0:q.length)?26:-1);A(4);$f((t=
U(31,46,a.issueIdsToRender$))?30:-1,t);A(2);E("disableToggleBtn",!0)("hideToggleBtnOnOpen",!0)("minWidth",a.RIGHT_SIDEBAR_MIN_WIDTH)("maxWidth",a.RIGHT_SIDEBAR_MAX_WIDTH)("size",(w=U(33,48,a.sidebarWidth$))!==null&&w!==void 0?w:0)}},qYa=function(a){a&1&&(F(0,"div",29),J(1,"img",30),Q(2," All clean! There are no issues in this phase. "),H());a&2&&(a=P(),A(),E("src",a.EMPTY_STATE_IMG,cf))},rYa=function(a,b){if(!b)return a;switch(b.column){case "createdTime":return Msa(esa)(a,b.direction);case "lastAction":return Nsa(esa)(a,
b.direction);case "priority":return Qsa(esa)(a,b.direction);default:return console.warn("b-triage-phase sort by '"+b.column+"' not implemented"),a}},sYa=function(a,b){return a.filter(function(c){return Zsa(c)===b})},tYa=function(a,b){if(a&1){var c=u();F(0,"li",15)(1,"span",16);Q(2);F(3,"small",11);Q(4);H()();F(5,"a",17);Q(6,"Triage view");H();Q(7," \u00a0 ");F(8,"a",18);J(9,"mat-icon",19);H();F(10,"button",20);O("click",function(){var d=v(c).$implicit,e=P(2);return x(e.onClickRemove(d.teamId))});
J(11,"mat-icon",21);H()()}a&2&&(a=b.$implicit,b=P(2),A(2),R(" ",a.name," \u00a0 "),A(2),R("[",a.teamId,"]"),A(),E("href",b.ROUTES.viewTriage.makeHref(a.teamId),cf),A(3),E("href",b.ROUTES.editTeam.makeHref(a.teamId,"triage"),cf))},uYa=function(a,b){a&1&&(F(0,"ol",4),C(1,tYa,12,4,"li",14),H());a&2&&(A(),E("ngForOf",b))},vYa=function(a,b){if(a&1){var c=u();F(0,"li")(1,"button",22);O("click",function(){var d=v(c).$implicit,e=P(2);return x(e.onClickAdd(d.teamId))});Q(2);H();Q(3," \u00a0 ");F(4,"small",
11);Q(5);H();F(6,"span",11);Q(7);H()()}a&2&&(a=b.$implicit,b=P(),A(2),R(" ",a.name," "),A(3),R(" [",a.teamId,"] "),A(2),R(" (",b[a.teamId]," recent edits) "))},xYa=function(a){a&1&&(bg(0,vYa,8,3,"li",null,wYa),T(2,"async"));a&2&&(a=P(),cg(U(2,0,a.suggestedTeams$)))},yYa=function(a){a&1&&(F(0,"p",11),Q(1,"..."),H())},zYa=function(a){var b={};a.forEach(function(c){b[c]=~~b[c]+1});return b},AYa=function(a){a&1&&(F(0,"button",16)(1,"span"),Q(2,"Edit"),H(),J(3,"b-icon",17),H());if(a&2){a=P();var b=M(7);
E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},BYa=function(a){a&1&&(F(0,"button",16)(1,"span"),Q(2,"Link"),H(),J(3,"b-icon",17),H());if(a&2){a=P();var b=M(69);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},CYa=function(a){a&1&&(F(0,"button",16)(1,"span"),Q(2,"CC"),H(),J(3,"b-icon",17),H());if(a&2){a=P();var b=M(85);E("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},DYa=function(a){if(a&1){var b=u();F(0,"button",11);O("click",function(){v(b);var c=P();return x(c.bulkEdit("ESTIMATED_EFFORT"))});
Q(1,"Estimated Effort");H()}},EYa=function(a,b){if(a&1){var c=u();F(0,"button",11);O("click",function(){var d=v(c).$implicit,e=P();return x(e.quickBulkEdit("PRIORITY",d))});Q(1);H()}a&2&&(a=b.$implicit,A(),R(" ",a," "))},FYa=function(a,b){if(a&1){var c=u();F(0,"button",11);O("click",function(){var d=v(c).$implicit,e=P();return x(e.quickBulkEdit("SEVERITY",d))});Q(1);H()}a&2&&(a=b.$implicit,A(),R(" ",a," "))},GYa=function(a,b){if(a&1){var c=u();F(0,"button",11);O("click",function(){var d=v(c).$implicit,
e=P();return x(e.quickBulkEdit("STATUS",d))});Q(1);H()}a&2&&(a=b.$implicit,b=P(),A(),R(" ",b.STATUS_JS_FULL_TEXT[a]," "))},HYa=function(a,b){if(a&1){var c=u();F(0,"button",18);O("click",function(){var e=v(c).$implicit,f=P();return x(f.quickBulkEdit("TYPE",e))});Q(1);H()}if(a&2){var d;a=b.$implicit;b=P();E("matTooltip",(d=b.constants.issueTypesShortDescriptions.get(a))!==null&&d!==void 0?d:"");A();R(" ",b.constants.issueTypesDisplayNames.get(a)," ")}},IYa=function(a){if(a&1){var b=u();F(0,"button",
5);O("click",function(){v(b);var c=P(2);return x(c.exportCsvClicked.emit())});Q(1,"Export issues to CSV ");H()}},JYa=function(a){if(a&1){var b=u();F(0,"button",5);O("click",function(){v(b);var c=P(2);return x(c.flagAsSpamClicked.emit())});Q(1,"Flag issues as spam ");H()}},KYa=function(a){a&1&&(K(0),F(1,"button",2)(2,"span"),Q(3,"More"),H(),J(4,"b-icon",3),H(),F(5,"mat-menu",null,0),C(7,IYa,2,0,"button",4)(8,JYa,2,0,"button",4),H(),L());if(a&2){a=M(6);var b=P();A();E("disabled",b.isAnonymous)("matMenuTriggerFor",
a);A(6);E("ngIf",b.showExportCsv);A();E("ngIf",b.showFlagIssuesAsSpam)}},LYa=function(a){a&1&&(K(0),Q(1," Network connection has been interrupted. "),L())},MYa=function(a){a&1&&Q(0," Network connection has been interrupted or login credentials may have expired. ")},PYa=function(a){if(a&1){var b=u();F(0,"button",5);O("click",function(c){v(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=xc(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 k=h==="unsafe-url";h=d.noreferrer;if(f&&h){if(k)throw Error("ge");h=!1}f=d.target||"/refreshSso".target;k=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":k.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;case "attributionsrc":k.push(q+
(d[q]?"="+d[q]:""));break;default:k.push(q+"="+(d[q]?1:0))}q=k.join(",");Ka()&&c.navigator&&c.navigator.standalone&&f&&f!="_self"?(q=Zp(document,"A"),q.href=NYa(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=OYa("",c,f,q),d=vc(e),c&&(c.opener=null,d===""&&(d="javascript:''"),d=Kh('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+
$p(d)+'">'),(c=c.document)&&c.write&&(c.write(Mh(d)),c.close()))):((c=OYa(e,c,f,q))&&d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return x()});Q(1," Log in again ");H()}},QYa=function(a){a&1&&(F(0,"b-callout",2)(1,"b-callout-body"),C(2,LYa,2,0,"ng-container",3)(3,MYa,1,0,"ng-template",null,0,Mg),H(),F(5,"b-callout-actions"),C(6,PYa,2,0,"button",4),H()());if(a&2){a=M(4);var b=P();E("messageType","error");A(2);E("ngIf",b.isAnonymous)("ngIfElse",a);A(4);E("ngIf",!b.isAnonymous)}},RYa=
function(a){a&1&&(F(0,"a",1),Q(1," Hiring!\n"),H())},SYa=function(a,b){a&1&&(F(0,"tr")(1,"td",5),Q(2),H(),F(3,"td"),Q(4,":"),H(),F(5,"td",6),Q(6),H()());a&2&&(a=b.$implicit,A(2),yg(a.displayAs),A(4),yg(a.description))},TYa=function(a,b){a&1&&(F(0,"thead")(1,"tr"),J(2,"th",3),F(3,"th",4),Q(4),H()(),C(5,SYa,7,2,"tr",1),H());a&2&&(a=b.$implicit,A(4),yg(a.title),A(),E("ngForOf",a.hotkeys))},UYa=function(a){a=a===void 0?!1:a;var b=ICa(),c=b.total,d=b.redundancyRatio;Jn("after-60s","xhr","redundant",b.redundant);
Jn("after-60s","xhr","total",c);Jn("after-60s","xhr","redundancyRatio",d);a&&(console.table(HCa()),console.log(b))},bq=function(a){a==="duplicateOfIssueId"&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new aq({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):b===0?a=null:(a={customFieldId:b},a=new aq({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},VYa=function(a){a=cq(a);if(dq(a))return null;var b=a.split(":");if(b.length!==2||dq(b[1]))return null;
a=b[1].toLowerCase()==="asc"?"ASCENDING":"DESCENDING";return(b=bq(b[0]))&&a?new eq(b,a):null},YYa=function(a,b){var c=new WYa;XYa(c,a,b);return c},XYa=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 k;a.isClosed=!((k=$i[d.status])==null?0:k.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=vi(d.reporterUser);a.assignee=vi(d.assigneeUser);a.assigneeEmail=yi(d.assigneeUser);a.verifier=vi(d.verifierUser);a.verifierEmail=yi(d.verifierUser);a.cc=wi(d.ccUsers);a.collaborator=wi(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=vi((q=b.aggregatedData)==null?void 0:q.lastModifier);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap={};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=l(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=l(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},fq=function(a,b){b=b===void 0?jm():b;var c,d=(c=b.tracker)==null?void 0:c.name;b=b.config.appName;d=d||b;return a?a+" - "+d:d},ZYa=function(a){a&1&&J(0,"bug-screensaver")},$Ya=function(a){a&1&&(K(0),J(1,"img",4),F(2,"span",5),Q(3),H(),Q(4," Powered by Google "),F(5,"span",2),Q(6,"|"),H(),L());a&2&&(a=P(2),A(),E("src",a.trackerLogo,cf),A(2),R("",a.trackerName," Issue Tracker"))},aZa=function(a){a&1&&(F(0,"div")(1,
"span",2),Q(2,"|"),H(),F(3,"a",6),Q(4,"Code of Conduct"),H()());a&2&&(a=P(2),A(3),E("href",a.trackerCoc,cf))},bZa=function(a){a&1&&(F(0,"footer"),C(1,$Ya,7,2,"ng-container",0),F(2,"a",1),Q(3,"Privacy"),H(),F(4,"span",2),Q(5,"|"),H(),F(6,"a",3),Q(7,"Terms"),H(),C(8,aZa,5,1,"div",0),H());a&2&&(a=P(),A(),E("ngIf",a.currentTracker),A(7),E("ngIf",a.trackerCoc))},cZa=function(a,b){if(a&1){var c=u();K(0);F(1,"b-fab-segmented",1);O("clickMain",function(e){v(c);var f=P(2);return x(f.trackClick(e))})("clickSegment",
function(e){v(c);var f=P(2);return x(f.trackClick(e))});H();L()}if(a&2){a=b.ngIf;b=P().ngIf;var d=P();A();E("label",a)("icon",d.buttonIcon)("href",d.createIssuePath)("segments",b)}},dZa=function(a){a&1&&(K(0),C(1,cZa,2,4,"ng-container",0),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.buttonLabel$)))},eZa=function(a){a&1&&dg(0)},fZa=function(a){a&1&&dg(0)},gZa=function(a){a&1&&(K(0),C(1,fZa,1,0,"ng-container",1),L());a&2&&(a=P(),A(),E("ngTemplateOutlet",a.content))},hZa=function(a){a&1&&Q(0," Archived ")},
iZa=function(a){if(a&1){var b=u();F(0,"button",17);O("click",function(c){v(b);return x(c.stopPropagation())});J(1,"mat-icon",18);H()}a&2&&(P(),a=M(5),E("matMenuTriggerFor",a))},jZa=function(a){if(a&1){var b=u();F(0,"button",19);O("click",function(){v(b);var c=P(3).$implicit;return x(c.unstar())});Q(1," Unstar ");H()}},kZa=function(a){if(a&1){var b=u();F(0,"button",19);O("click",function(){v(b);var c=P(3).$implicit;return x(c.unarchive())});Q(1," Unarchive ");H()}},lZa=function(a){if(a&1){var b=u();
F(0,"button",19);O("click",function(){v(b);var c=P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupOpen(c.id))});Q(1," Open ");H();F(2,"button",19);O("click",function(){v(b);var c=P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");H();F(4,"button",19);O("click",function(){v(b);var c=P(2).$implicit,d=P(3);return x(d.openEditBookmarkGroup(c.id))});Q(5," Settings ");H();C(6,jZa,2,0,"button",20)(7,kZa,2,0,"button",20)}a&2&&(a=P(2).$implicit,A(6),E("ngIf",a.isUnstarable()),
A(),E("ngIf",a.isEditable()))},mZa=function(a){a&1&&(F(0,"div",13)(1,"span",14),Q(2),H(),C(3,iZa,2,1,"button",15),F(4,"mat-menu",null,4),C(6,lZa,8,2,"ng-template",16),H()());a&2&&(a=P().$implicit,Pf("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),A(2),yg(a.name),A(),E("ngIf",a))},nZa=function(a,b){if(a&1){var c=u();F(0,"li",23)(1,"a",24);O("click",function(d){var e=v(c).$implicit,f=P(5);return x(f.onAnchorClick(e.href,d))});F(2,"span",14);Q(3);H()()()}a&2&&(a=b.$implicit,b=P(2).$implicit,Wf("selected-indented",
a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",a.type=="SAVED_SEARCH"),Qka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),E("title",a.name),A(),E("href",a.href,cf),A(2),R(" ",a.name," "))},oZa=function(a){a&1&&(F(0,"ul",21),C(1,nZa,4,13,"li",22),H());a&2&&(a=P().$implicit,A(),E("ngForOf",a.items))},pZa=function(a,b){a&1&&(F(0,"li",11)(1,"sidebar-zippy",12),C(2,mZa,7,4,"ng-template",null,2,Mg)(4,oZa,2,1,"ng-template",null,3,Mg),
H()());if(a&2){a=b.$implicit;b=M(3);var c=M(5);E("title",a.name);A();E("header",b)("content",c)}},qZa=function(a){a&1&&(F(0,"button",28),J(1,"mat-icon",18),H());a&2&&(P(),a=M(6),E("matMenuTriggerFor",a))},rZa=function(a){if(a&1){var b=u();F(0,"button",19);O("click",function(){v(b);var c=P(2).$implicit;return x(c.unstar())});Q(1," Unstar ");H()}},sZa=function(a){if(a&1){var b=u();F(0,"button",19);O("click",function(){v(b);var c=P(2).$implicit;return x(c.unarchive())});Q(1," Unarchive ");H()}},tZa=
function(a){if(a&1){var b=u();F(0,"button",19);O("click",function(){v(b);var c=P().$implicit,d=P(3);return x(d.openEditHotlist(c.id))});Q(1," Settings ");H();C(2,rZa,2,0,"button",20)(3,sZa,2,0,"button",20)}a&2&&(a=P().$implicit,A(2),E("ngIf",a.isUnstarable()),A(),E("ngIf",a.isEditable()))},uZa=function(a,b){if(a&1){var c=u();F(0,"li",25)(1,"a",26);O("click",function(d){var e=v(c).$implicit,f=P(3);return x(f.onAnchorClick(e.href,d))});F(2,"span",14);Q(3);H()();C(4,qZa,2,1,"button",27);F(5,"mat-menu",
null,5);C(7,tZa,4,2,"ng-template",16);H()()}a&2&&(a=b.$implicit,Wf("selected",a.isSelected()),kg("id","bv2-user-hotlists-archived-hotlist-item-",a.id,""),E("title",a.name),A(),E("href",a.href,cf),A(2),yg(a.name),A(),E("ngIf",a))},vZa=function(a){a&1&&(F(0,"ul",8),C(1,pZa,6,3,"li",9)(2,uZa,8,8,"li",10),H());a&2&&(a=P(2),A(),E("ngForOf",a.bookmarkGroups),A(),E("ngForOf",a.hotlists))},wZa=function(a){a&1&&(F(0,"div"),J(1,"hr"),F(2,"sidebar-zippy",7),C(3,hZa,1,0,"ng-template",null,0,Mg)(5,vZa,3,2,"ng-template",
null,1,Mg),H()());if(a&2){a=M(4);var b=M(6);A(2);E("header",a)("content",b)}},xZa=function(a){a&1&&J(0,"b-spinner")},yZa=function(a){if(a&1){var b=u();F(0,"b-star-toggle",15);O("starClicked",function(){v(b);var c=P().$implicit,d=P();return x(d.toggleStar(c))});H()}a&2&&(a=P().$implicit,E("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},zZa=function(a){a&1&&J(0,"b-hotlist-card",16);a&2&&(a=P().$implicit,E("hotlist",a))},AZa=function(a){a&1&&J(0,"b-bookmark-group-card",
17);a&2&&(a=P().$implicit,E("bookmarkGroup",a))},BZa=function(a,b){a&1&&(F(0,"mat-option",9)(1,"div",10),C(2,yZa,1,3,"b-star-toggle",11),F(3,"onedev-hovercard",null,2),C(5,zZa,1,1,"b-hotlist-card",12)(6,AZa,1,1,"b-bookmark-group-card",13),H(),F(7,"span",14),Q(8),H()()());if(a&2){a=b.$implicit;b=M(4);var c=P();E("value",a);A();Wf("bv2-bookmark-group",c.showHotlists&&a.isGroup);A();E("ngIf",c.shouldShowStar(a));A(3);E("ngIf",!a.isGroup);A();E("ngIf",!!a.isGroup);A();E("onedevHovercardTrigger",b);A();
yg(a.name)}},CZa=function(){return Xja(function(){return fe(Promise.resolve(void 0))})},DZa=function(a){a&1&&J(0,"a",1)},EZa=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);O("itemSelect",function(c){v(b);var d=P();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return x()});H()()()}a&2&&(a=P(),A(2),E("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},FZa=function(a){if(a&
1){var b=u();F(0,"span");Q(1,"Bookmark groups");H();F(2,"b-hotlist-search-popup",8);O("itemSelect",function(c){v(b);var d=P();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return x()})("click",function(c){v(b);return x(c.stopPropagation())});H()}a&2&&(A(2),E("showHotlists",!1))},GZa=function(a){if(a&1){var b=u();F(0,"button",18);O("click",function(c){v(b);return x(c.stopPropagation())});J(1,"mat-icon",19);H()}a&2&&(P(),a=M(5),E("matMenuTriggerFor",a))},HZa=function(a){if(a&1){var b=u();
F(0,"button",20);O("click",function(){v(b);var c=P(3).$implicit;return x(c.unstar())});Q(1," Unstar ");H()}},IZa=function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=P(3).$implicit;return x(c.archive())});Q(1," Archive ");H()}},JZa=function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=P(3).$implicit;return x(c.setAsPreferredHomepage())});Q(1," Set as homepage ");H()}},KZa=function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=
P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupOpen(c.id))});Q(1," Open ");H();F(2,"button",20);O("click",function(){v(b);var c=P(2).$implicit,d=P(3);return x(d.handleBookmarkGroupDashboard(c.id))});Q(3," Dashboard ");H();F(4,"button",20);O("click",function(){v(b);var c=P(2).$implicit,d=P(3);return x(d.editBookmarkGroup(c.id))});Q(5," Settings ");H();C(6,HZa,2,0,"button",21)(7,IZa,2,0,"button",21)(8,JZa,2,0,"button",21)}a&2&&(a=P(2).$implicit,A(6),E("ngIf",a.isUnstarable()),A(),E("ngIf",a.isEditable()),
A(),E("ngIf",!a.isPreferredHomepage()))},LZa=function(a){a&1&&(F(0,"div",14)(1,"span",15),Q(2),H(),C(3,GZa,2,1,"button",16),F(4,"mat-menu",null,4),C(6,KZa,9,3,"ng-template",17),H()());a&2&&(a=P().$implicit,Pf("id","bv2-user-bookmarkgroup-item-",a.id,""),A(2),yg(a.name),A(),E("ngIf",a))},MZa=function(a){a&1&&(F(0,"button",27),J(1,"mat-icon",19),H());a&2&&(P(),a=M(6),E("matMenuTriggerFor",a))},NZa=function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=P(2).$implicit;return x(c.unstar())});
Q(1," Unstar ");H()}},OZa=function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=P(2).$implicit;return x(c.setAsPreferredHomepage())});Q(1," Set as homepage ");H()}},PZa=function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=P().$implicit,d=P(5);c.type==="HOTLIST"?d.location.setUrl(wp.editHotlist.makeHref(c.id)):d.location.setUrl(d.paths.editSavedSearch(c.id));return x()});Q(1," Settings ");H();C(2,NZa,2,0,"button",21)(3,OZa,2,0,"button",21)}a&2&&(a=
P().$implicit,A(2),E("ngIf",a.isUnstarable()),A(),E("ngIf",!a.isPreferredHomepage()))},QZa=function(a,b){if(a&1){var c=u();F(0,"li",24)(1,"a",25);O("click",function(d){var e=v(c).$implicit,f=P(5);return x(f.onAnchorClick(e.href,d))});F(2,"span",15);Q(3);H()();C(4,MZa,2,1,"button",26);F(5,"mat-menu",null,5);C(7,PZa,4,2,"ng-template",17);H()()}a&2&&(a=b.$implicit,b=P(2).$implicit,Wf("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item",a.type=="HOTLIST")("bv2-bookmark-group-saved-search-item",
a.type=="SAVED_SEARCH"),Qka("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),E("title",a.getDisplayName()),A(),E("href",a.href,cf),A(2),R(" ",a.getDisplayName()," "),A(),E("ngIf",b))},RZa=function(a){a&1&&(F(0,"ul",22),C(1,QZa,8,14,"li",23),H());a&2&&(a=P().$implicit,A(),E("ngForOf",a.items))},SZa=function(a,b){a&1&&(F(0,"li",12)(1,"sidebar-zippy",13),C(2,LZa,7,4,"ng-template",null,2,Mg)(4,RZa,2,1,"ng-template",null,3,Mg),H()());if(a&2){a=b.$implicit;b=M(3);var c=M(5);E("title",a.name);A();
E("header",b)("content",c)("expanded",!1)}},TZa=function(a){a&1&&(F(0,"ul",10),C(1,SZa,6,4,"li",11),H());a&2&&(a=P(2),A(),E("ngForOf",a.bookmarkGroups))},UZa=function(a){a&1&&C(0,TZa,2,1,"ul",9);a&2&&(a=P(),E("ngIf",a.bookmarkGroups))},VZa=function(a){if(a&1){var b=u();F(0,"span");Q(1,"Hotlists");H();F(2,"b-hotlist-search-popup",5);O("itemSelect",function(c){v(b);var d=P();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.setUrl(c.href);return x()})("click",function(c){v(b);return x(c.stopPropagation())});
H()}a&2&&(A(2),E("showGroups",!1))},WZa=function(a){a&1&&(F(0,"button",14),J(1,"mat-icon",15),H());a&2&&(P(),a=M(6),E("matMenuTriggerFor",a))},XZa=function(a){if(a&1){var b=u();F(0,"button",17);O("click",function(){v(b);var c=P(2).$implicit,d=P(3);return x(d.addToMissionControl(c.id))});J(1,"mat-icon",19);Q(2," Add to 'Home' screen ");H()}},YZa=function(a){if(a&1){var b=u();F(0,"button",17);O("click",function(){v(b);var c=P(2).$implicit;return x(c.setAsPreferredHomepage())});J(1,"mat-icon",20);Q(2,
" Set as preferred homepage ");H()}},ZZa=function(a){if(a&1){var b=u();F(0,"button",17);O("click",function(){v(b);var c=P(2).$implicit;return x(c.unstar())});J(1,"mat-icon",21);Q(2," Unstar ");H()}},$Za=function(a){if(a&1){var b=u();C(0,XZa,3,0,"button",16)(1,YZa,3,0,"button",16);F(2,"button",17);O("click",function(){v(b);var d=P().$implicit,e=P(3);return x(e.openEditHotlist(d.id))});J(3,"mat-icon",18);Q(4," Settings ");H();C(5,ZZa,3,0,"button",16)}if(a&2){a=P().$implicit;var c=P(3);E("ngIf",c.ENABLE_MISSION_CONTROL);
A();E("ngIf",!a.isPreferredHomepage());A(4);E("ngIf",a.isUnstarable())}},a_a=function(a,b){if(a&1){var c=u();F(0,"li",9)(1,"a",10);O("click",function(d){var e=v(c).$implicit,f=P(3);return x(f.onAnchorClick(e.href,d))});F(2,"span",11);Q(3);H()();C(4,WZa,2,1,"button",12);F(5,"mat-menu",null,2);C(7,$Za,6,3,"ng-template",13);H()()}a&2&&(a=b.$implicit,Wf("selected",a.isSelected()),kg("id","bv2-user-hotlists-hotlist-item-",a.id,""),E("title",a.name),A(),E("href",a.href,cf),A(2),yg(a.name),A(),E("ngIf",
a))},b_a=function(a){a&1&&(F(0,"ul",7),C(1,a_a,8,8,"li",8),H());a&2&&(a=P(2),A(),E("ngForOf",a.hotlists))},c_a=function(a){a&1&&C(0,b_a,2,1,"ul",6);a&2&&(a=P(),E("ngIf",a.hotlists))},d_a=function(a){a&1&&(F(0,"span"),Q(1,"Saved searches"),H())},e_a=function(a){if(a&1){var b=u();F(0,"button",15);O("click",function(){v(b);var c=P(2).$implicit,d=P(3);return x(d.addToMissionControl(c.id))});J(1,"mat-icon",18);Q(2," Add to 'Home' screen ");H()}},f_a=function(a){if(a&1){var b=u();F(0,"button",15);O("click",
function(){v(b);var c=P(2).$implicit;return x(c.setAsPreferredHomepage())});J(1,"mat-icon",19);Q(2," Set as preferred homepage ");H()}},h_a=function(a){if(a&1){var b=u();C(0,e_a,3,0,"button",14)(1,f_a,3,0,"button",14);F(2,"button",15);O("click",function(){v(b);var d=P().$implicit,e=P(3);return x(e.openEditSavedSearch(d.id))});J(3,"mat-icon",16);Q(4," Settings ");H();F(5,"button",15);O("click",function(){v(b);var d=P().$implicit,e=P(3);return x(g_a(e,d))});J(6,"mat-icon",17);Q(7," Delete ");H()}if(a&
2){a=P().$implicit;var c=P(3);E("ngIf",c.ENABLE_MISSION_CONTROL);A();E("ngIf",!a.isPreferredHomepage())}},i_a=function(a,b){if(a&1){var c=u();F(0,"li",8)(1,"a",9);O("click",function(d){var e=v(c).$implicit,f=P(3);return x(f.onAnchorClick(e.href,d))});F(2,"span",10);Q(3);H()();F(4,"button",11);J(5,"mat-icon",12);H();F(6,"mat-menu",null,2);C(8,h_a,8,2,"ng-template",13);H()()}a&2&&(a=b.$implicit,b=M(7),Wf("selected",a.isSelected()),Pf("id","bv2-saved-searches-search-item-",a.id,""),E("title",a.name),
A(),E("href",a.href,cf),A(2),yg(a.name),A(),E("matMenuTriggerFor",b))},j_a=function(a){a&1&&(F(0,"ul",6),C(1,i_a,9,8,"li",7),H());a&2&&(a=P(2),A(),E("ngForOf",a.searches))},k_a=function(a){a&1&&C(0,j_a,2,1,"ul",5);a&2&&(a=P(),E("ngIf",a.searches))},l_a=function(a,b){a&1&&J(0,"mat-icon",27);a&2&&(a=b.ngIf,E("matBadge",a>99?"99+":a)("matBadgeHidden",a===0)("matBadgeDescription","Badge indicating "+a+" tasks need attention"))},m_a=function(a){a&1&&J(0,"mat-icon",28)},n_a=function(a){a&1&&(F(0,"button",
29),J(1,"mat-icon",30),H());a&2&&(P(),a=M(12),E("matMenuTriggerFor",a))},p_a=function(a){if(a&1){var b=u();F(0,"button",31);O("click",function(){v(b);var c=P(2);o_a(c,"MISSION_CONTROL");return x()});Q(1," Set as homepage ");H()}},q_a=function(a){if(a&1){var b=u();K(0);F(1,"li",24)(2,"a",11);O("click",function(d){v(b);var e=P();e.onAnchorClick(e.missionControlPath,d);return x()});C(3,l_a,1,3,"mat-icon",25);T(4,"async");T(5,"async");C(6,m_a,1,0,"ng-template",null,1,Mg);Q(8," Home ");H();C(9,n_a,2,1,
"button",26);T(10,"async");F(11,"mat-menu",null,2);C(13,p_a,2,0,"ng-template",13);H()();L()}if(a&2){a=M(7);var c=P();A();Wf("selected",!!c.location.path().match(/^\/home\b/));A();E("href",c.missionControlPath,cf);A();E("ngIf",!U(4,6,c.hideBadgeInNav$)&&U(5,8,c.missionControlTaskCount$))("ngIfElse",a);A(6);E("ngIf",!U(10,10,c.isHomepageMissionControl$))}},r_a=function(a){a&1&&(K(0),F(1,"button",32),J(2,"mat-icon",30),H(),L());a&2&&(P(),a=M(13),A(),E("matMenuTriggerFor",a))},s_a=function(a){if(a&1){var b=
u();F(0,"button",31);O("click",function(){v(b);var c=P();o_a(c,"ASSIGNED_TO_ME");return x()});Q(1," Set as homepage ");H()}},u_a=function(a){a&1&&(F(0,"ul",33)(1,"li")(2,"a",23),J(3,"mat-icon",34),Q(4," Triage "),H()()());a&2&&(a=P(3),A(),Wf("selected",t_a(a)),A(),E("href",a.ROUTES.overviewTriage.makeHref(),cf))},v_a=function(a){a&1&&(F(0,"ul",33)(1,"li")(2,"a",23),J(3,"mat-icon",34),Q(4," Triage "),H()()());if(a&2){a=P();var b=P(2);A();Wf("selected",t_a(b));A();E("href",b.ROUTES.viewTriage.makeHref(a[0].teamId),
cf)}},w_a=function(a){a&1&&Q(0,"Triage")},x_a=function(a,b){a&1&&(F(0,"li")(1,"a",38),Q(2),H()());if(a&2){a=b.$implicit;b=P(5);var c=a.teamId;t_a(b)?(c=new RegExp("\\b"+c+"\\b"),c=!!b.location.path().match(c)):c=!1;Wf("selected",c);A();mg("title","",a.name," [",a.teamId,"]");E("href",b.ROUTES.viewTriage.makeHref(a.teamId),cf);A();R(" ",a.name," ")}},y_a=function(a){a&1&&(F(0,"ul",36),C(1,x_a,3,7,"li",37),H());a&2&&(a=P(2),A(),E("ngForOf",a))},z_a=function(a){a&1&&(J(0,"hr"),F(1,"sidebar-zippy",35),
C(2,w_a,1,0,"ng-template",null,3,Mg)(4,y_a,2,1,"ng-template",null,4,Mg),H());if(a&2){a=M(3);var b=M(5);A();E("header",a)("content",b)}},A_a=function(a,b){a&1&&C(0,u_a,5,3,"ul",33)(1,v_a,5,3,"ul",33)(2,z_a,6,2);if(a&2){var c;$f((c=b.length)===0?0:c===1?1:2)}},C_a=function(a){a&1&&(C(0,A_a,3,1),T(1,"async"));if(a&2){var b;a=P();$f((b=(b=U(1,1,a.starredTeams$))!==null&&b!==void 0?b:Gg(3,B_a))?0:-1,b)}},D_a=function(a){a&1&&(K(0),J(1,"mat-icon",12),L())},E_a=function(a){if(a&1){var b=u();K(0);F(1,"button",
13);O("mousedown",function(c){v(b);var d=P();return x(d.back(c))});J(2,"mat-icon",14);H();L()}},F_a=function(a){if(a&1){var b=u();K(0);F(1,"button",15);O("mousedown",function(c){v(b);var d=P();return x(d.expand(d.componentOption,c))});J(2,"mat-icon",16);H();L()}a&2&&(a=P(),A(),E("matTooltip","View child components of "+a.componentOption.name),Nf("aria-label","View child components of "+a.componentOption.name),A(),E("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},G_a=function(a){if(a&
1){var b=u();K(0);F(1,"a",19);T(2,"toString");T(3,"boldPrefixMatches");O("mousedown",function(d){v(b);var e=P().$implicit;P(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return x()});H();L()}if(a&2){a=P().$implicit;var c=P(2);A();E("innerHtml",Kg(3,3,U(2,1,a.name),c.query),bf)}},H_a=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a.name," "))},I_a=function(a){a&1&&(K(0),Q(1,"\u00a0>\u00a0"),L())},J_a=function(a,b){a&1&&(K(0),C(1,G_a,4,6,"ng-container",8)(2,H_a,1,1,"ng-template",
null,1,Mg)(4,I_a,2,0,"ng-container",18),L());if(a&2){a=b.$implicit;b=b.last;var c=M(3);A();E("ngIf",a.name!=a.id)("ngIfElse",c);A(3);E("ngIf",!b)}},K_a=function(a){a&1&&(K(0),C(1,J_a,5,3,"ng-container",17),L());a&2&&(a=P(),A(),E("ngForOf",a.componentOption.componentPath))},L_a=function(a,b){if(a&1){var c=u();K(0);F(1,"a",20);O("mousedown",function(d){var e=v(c).ngIf;P(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return x()});Q(2);H();L()}a&2&&(a=b.ngIf,A(2),R(" ",a.name,
" "))},M_a=function(a){a&1&&C(0,L_a,3,1,"ng-container",18);a&2&&(a=P(),E("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},N_a=function(a){a&1&&(F(0,"span",21),Q(1," [Archived] "),H())},O_a=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},P_a=function(a){return{type:"team",id:a.id,name:a.name,description:a.description,expanded:!1}},Q_a=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,k){return{id:h,name:f[k],pathText:f.slice(0,k+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}},R_a=function(a){return new Map([].concat(r(a.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return[b,c.map(P_a)]}))},S_a=function(a){a&1&&J(0,"img",8);a&2&&(a=P(),
Nf("src",a.getLogoUrl(),cf))},T_a=function(a){a&1&&(F(0,"span",12),Q(1,"no components"),H())},U_a=function(a){a&1&&(F(0,"div",9),J(1,"div",10),T(2,"boldPrefixMatches"),C(3,T_a,2,0,"span",11),H());a&2&&(a=P(),A(),E("innerHtml",Kg(2,2,a.teamOption.name,a.query),bf),A(2),E("ngIf",a.hasNoComponent))},V_a=function(a){if(a&1){var b=u();K(0);F(1,"a",16);O("mousedown",function(c){v(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 x()});Q(2);H();L()}a&2&&(a=P(2).$implicit,A(2),yg(a))},W_a=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,yg(a))},X_a=function(a){a&1&&(K(0),C(1,V_a,3,1,"ng-container",15)(2,W_a,1,1,"ng-template",null,1,Mg),K(4),Q(5," \u00b7 "),L()());if(a&2){a=M(3);var b=P(3);A();E("ngIf",b.allowSegmentSelection)("ngIfElse",a)}},Y_a=function(a){a&1&&(K(0),F(1,"strong",17),Q(2),H(),L());a&2&&(a=P(2).$implicit,A(2),yg(a))},Z_a=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,yg(a))},$_a=
function(a){a&1&&C(0,Y_a,3,1,"ng-container",15)(1,Z_a,1,1,"ng-template",null,2,Mg);if(a&2){a=M(2);var b=P(3);E("ngIf",b.compact)("ngIfElse",a)}},a0a=function(a,b){a&1&&(K(0),C(1,X_a,6,2,"ng-container",15)(2,$_a,3,2,"ng-template",null,0,Mg),L());a&2&&(a=b.last,b=M(3),A(),E("ngIf",!a)("ngIfElse",b))},b0a=function(a){a&1&&(F(0,"div",13),C(1,a0a,4,2,"ng-container",14),H());a&2&&(a=P(),A(),E("ngForOf",a.teamOption.pathNames))},c0a=function(a){if(a&1){var b=u();F(0,"button",12);O("mousedown",function(c){v(b);
P().clearQuery();return x(gq(c))});J(1,"mat-icon",13);H()}},d0a=function(a){a&1&&(F(0,"div",15),Q(1," Checking for admin access... "),H())},e0a=function(a){a&1&&(F(0,"div",17),Q(1," You do not have admin access to this component. "),F(2,"a",18),Q(3,"View component admins"),H()());a&2&&(a=P(3),A(2),E("href",wp.editComponentAccess.makeHref(a.selectedComponent.componentId),cf))},f0a=function(a){a&1&&C(0,e0a,4,1,"div",16);a&2&&(a=P(2),E("ngIf",!a.hasAccess&&a.selectedComponent))},g0a=function(a){a&1&&
(F(0,"div"),C(1,d0a,2,0,"div",14)(2,f0a,1,1,"ng-template",null,5,Mg),H());if(a&2){a=M(3);var b=P();A();E("ngIf",b.checkingAccess)("ngIfElse",a)}},h0a=function(a){a&1&&J(0,"mat-progress-bar",25)},i0a=function(a){a&1&&(K(0),Q(1,"s"),L())},k0a=function(a,b){if(a&1){var c=u();K(0);F(1,"div",31);O("mousedown",function(e){var f=v(c).$implicit,h=P(5);j0a(h.searchState,f);return x(gq(e))});F(2,"team-row",32);O("selectTeamId",function(e){v(c);var f=P(5);return x(hq(f.searchState,e))});H()();L()}if(a&2){a=
b.$implicit;b=P(5);var d=M(3);A();E("data",a);A();E("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},l0a=function(a){a&1&&(F(0,"div",28)(1,"div",29),Q(2," Filter components by my teams "),F(3,"span"),Q(4),C(5,i0a,2,0,"ng-container",11),H()(),C(6,k0a,3,4,"ng-container",30),J(7,"mat-divider"),H());a&2&&(a=P().ngIf,A(4),R("",a.length," team"),A(),E("ngIf",a.length>1),A(),E("ngForOf",a))},m0a=function(a,b){a&1&&(K(0),C(1,l0a,8,3,"div",27),L());a&2&&(a=b.ngIf,A(),
E("ngIf",a.length))},n0a=function(a){a&1&&dg(0)},p0a=function(a){a&1&&(K(0),C(1,m0a,2,1,"ng-container",11),T(2,"async"),C(3,n0a,1,0,"ng-container",26),L());if(a&2){a=P(2);var b=M(12);A();E("ngIf",U(2,3,a.searchState.myTeams$));A(2);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(5,o0a,a.searchState.recentComponents))}},q0a=function(a){a&1&&(K(0),Q(1,"s"),L())},r0a=function(a){a&1&&dg(0)},u0a=function(a,b){a&1&&(K(0),C(1,r0a,1,0,"ng-container",26),L());if(a&2){a=b.$implicit;b=b.index;P(5);var c=
M(10);A();E("ngTemplateOutlet",c)("ngTemplateOutletContext",Ig(4,s0a,a,Hg(2,t0a,b)))}},v0a=function(a){if(a&1){var b=u();F(0,"button",34);O("mousedown",function(){v(b);var c=P(5);return x(c.searchState.showAllTeams$.next(!0))});J(1,"mat-icon",35);Q(2," Show all teams ");H()}},w0a=function(a,b){a&1&&(F(0,"div",28)(1,"div",29),Q(2," Filter components by teams "),F(3,"span"),Q(4),C(5,q0a,2,0,"ng-container",11),H()(),C(6,u0a,2,7,"ng-container",30),T(7,"async"),C(8,v0a,3,0,"button",33),T(9,"async"),J(10,
"mat-divider"),H());a&2&&(a=b.ngIf,b=P(4),A(4),R("",a," team"),A(),E("ngIf",a>1),A(),E("ngForOf",U(7,4,b.searchState.filteredTeamOptions$)),A(2),E("ngIf",U(9,6,b.searchState.hasHiddenTeams$)))},x0a=function(a,b){a&1&&(K(0),C(1,w0a,11,8,"div",27),L());a&2&&(a=b.ngIf,A(),E("ngIf",a.length))},y0a=function(a){a&1&&dg(0)},A0a=function(a){a&1&&(K(0),C(1,x0a,2,1,"ng-container",11),T(2,"async"),C(3,y0a,1,0,"ng-container",26),L());if(a&2){a=P(2);var b=M(12);A();E("ngIf",U(2,3,a.searchState.teamOptions$));
A(2);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(5,z0a,a.searchState.componentOptions))}},B0a=function(a){a&1&&dg(0)},D0a=function(a,b){a&1&&(K(0),C(1,B0a,1,0,"ng-container",26),L());if(a&2){a=b.$implicit;b=b.index;P(7);var c=M(10);A();E("ngTemplateOutlet",c)("ngTemplateOutletContext",Ig(4,s0a,a,Hg(2,C0a,b)))}},E0a=function(a){a&1&&(F(0,"div",43),C(1,D0a,2,7,"ng-container",30),H());a&2&&(a=P(2).ngIf,A(),E("ngForOf",a))},H0a=function(a){if(a&1){var b=u();K(0);C(1,E0a,2,1,"div",42);F(2,"button",
34);O("mousedown",function(c){v(b);var d=P(5),e=d.searchState.teamScope$.value;e.expanded?F0a(d.searchState,e):G0a(d.searchState,e);return x(gq(c))});J(3,"mat-icon",35);Q(4);H();L()}a&2&&(a=P(5),A(),E("ngIf",a.searchState.teamScope$.value.expanded),A(2),Wf("expanded",a.searchState.teamScope$.value.expanded),A(),R(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},I0a=function(a,b){a&1&&(K(0),C(1,H0a,5,4,"ng-container",11),L());a&2&&(a=b.ngIf,A(),E("ngIf",a.length))},L0a=
function(a){if(a&1){var b=u();F(0,"div",37)(1,"div",29);Q(2," Filtering by team: ");H();F(3,"div",38)(4,"team-row",39);O("selectTeamId",function(d){v(b);var e=P(3);return x(hq(e.searchState,d))});H();F(5,"button",40);O("mousedown",function(d){v(b);var e=P(3);J0a(e.searchState);return x(gq(d))});J(6,"mat-icon",41);H()();C(7,I0a,2,1,"ng-container",11);H()}if(a&2){a=P(3);var c=M(3);A(3);E("data",a.searchState.teamScope$.value)("listOrder",Gg(7,K0a));A();E("teamOption",a.searchState.teamScope$.value)("query",
c.value)("compact",!0)("allowSegmentSelection",!0);A(3);E("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},M0a=function(a){a&1&&dg(0)},O0a=function(a){a&1&&(K(0),C(1,L0a,8,8,"div",36)(2,M0a,1,0,"ng-container",26),L());if(a&2){a=P(2);var b=M(12);A();E("ngIf",a.searchState.teamScope$.value);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Ig(3,N0a,a.searchState.componentOptions,a.searchState.teamScope$.value))}},R0a=function(a){if(a&1){var b=u();F(0,"div",45)(1,"div",46);
Q(2,"Component Tree Browser");H();F(3,"component-row",47);O("goBack",function(){v(b);var c=P(3);return x(P0a(c.searchState))})("selectComponentId",function(c){v(b);var d=P(3);return x(Q0a(d.searchState,c))});H()()}a&2&&(a=P(3),A(3),E("componentOption",a.searchState.componentScope))},S0a=function(a){a&1&&dg(0)},U0a=function(a){a&1&&(K(0),C(1,R0a,4,1,"div",44)(2,S0a,1,0,"ng-container",26),L());if(a&2){a=P(2);var b=M(12);A();E("ngIf",a.searchState.componentScope);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",
Hg(3,T0a,a.searchState.componentOptions))}},V0a=function(a){if(a&1){var b=u();F(0,"div",19,6);O("mousedown",function(c){v(b);P();return x(gq(c))});F(2,"div",20);C(3,h0a,1,0,"mat-progress-bar",21);H();F(4,"div",22);K(5,23);T(6,"async");C(7,p0a,4,7,"ng-container",24)(8,A0a,4,7,"ng-container",24)(9,O0a,3,6,"ng-container",24)(10,U0a,3,5,"ng-container",24);L();H()()}a&2&&(a=P(),A(3),E("ngIf",a.isLoading()),A(2),E("ngSwitch",U(6,6,a.searchState.state$)),A(2),E("ngSwitchCase","default"),A(),E("ngSwitchCase",
"global"),A(),E("ngSwitchCase","team_scope"),A(),E("ngSwitchCase","component_scope"))},W0a=function(a){if(a&1){var b=u();F(0,"button",51);O("mousedown",function(c){v(b);var d=P().team,e=P();d.expanded?F0a(e.searchState,d):G0a(e.searchState,d);return x(gq(c))});J(1,"mat-icon",52);H()}a&2&&(a=P().team,A(),Wf("expanded",a.expanded))},X0a=function(a){a&1&&dg(0)},Z0a=function(a,b){a&1&&(K(0),C(1,X0a,1,0,"ng-container",26),L());if(a&2){a=b.$implicit;b=b.index;var c=P(2),d=c.level;c=c.order;P();var e=M(10);
A();E("ngTemplateOutlet",e)("ngTemplateOutletContext",Jg(2,Y0a,a,d+1,c.concat(b)))}},$0a=function(a){a&1&&(K(0),C(1,Z0a,2,6,"ng-container",30),L());if(a&2){a=P().team;var b=P();A();E("ngForOf",b.searchState.getChildTeams(a.id))}},a1a=function(a,b){if(a&1){var c=u();F(0,"div",48);O("mousedown",function(h){var k=v(c).team,q=P();j0a(q.searchState,k);return x(gq(h))});F(1,"div",49);C(2,W0a,2,2,"button",50);F(3,"team-row",32);O("selectTeamId",function(h){v(c);var k=P();return x(hq(k.searchState,h))});
H()()();C(4,$0a,2,1,"ng-container",11)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=P(),f=M(3);E("listOrder",b)("data",a);A();Vf("margin-left",d*28,"px");A();E("ngIf",e.searchState.getChildTeams(a.id).length);A();Wf("indent",!e.searchState.getChildTeams(a.id).length);E("teamOption",a)("query",f.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));A();E("ngIf",a.expanded)}},b1a=function(a){a&1&&(K(0),Q(1,"s"),L())},d1a=function(a,b){if(a&1){var c=u();F(0,"div",56);O("mousedown",function(f){var h=
v(c).$implicit,k=P(3);c1a(k.searchState,h.id);return x(gq(f))});F(1,"component-row",57);O("selectComponentId",function(f){v(c);var h=P(3);return x(c1a(h.searchState,f))})("expandComponent",function(f){v(c);var h=P(3);return x(h.searchState.expandComponent(f))});H()()}if(a&2){a=b.$implicit;b=P(2).mode;var d=P(),e=M(3);E("data",a);A();E("showFolderSpecialIcon",Np(d.activeSession))("componentOption",a)("query",e.value)("mode",b)}},e1a=function(a,b){a&1&&(F(0,"div",54)(1,"div",29),Q(2),F(3,"span"),Q(4),
C(5,b1a,2,0,"ng-container",11),H()(),C(6,d1a,2,5,"div",55),H());if(a&2){a=b.ngIf;var c=P();b=c.$implicit;c=c.mode;A(2);R(" ",c==="recent"?"Select recent component":"Select component"," ");A(2);R("",a," component");A();E("ngIf",a>1);A();E("ngForOf",b)}},f1a=function(a){a&1&&(K(0),Q(1," No recent components "),L())},g1a=function(a){a&1&&(K(0),Q(1," No child components "),L())},h1a=function(a){a&1&&(K(0),Q(1),J(2,"mat-icon",61),Q(3," above ("),F(4,"a",62),Q(5,"learn more "),J(6,"mat-icon",63),H(),Q(7,
" about team associations)"),L());a&2&&(a=P(4).teamScope,A(),R(" for ",a.name,". Remove the team filter by clicking on the "))},i1a=function(a){a&1&&(K(0),Q(1," No components found "),C(2,h1a,8,1,"ng-container",11),L());a&2&&(a=P(3).teamScope,A(2),E("ngIf",a))},j1a=function(a){a&1&&(F(0,"div",59),K(1,23),C(2,f1a,2,0,"ng-container",24)(3,g1a,2,0,"ng-container",24)(4,i1a,3,1,"ng-container",60),L(),H());a&2&&(a=P(2).mode,A(),E("ngSwitch",a),A(),E("ngSwitchCase","recent"),A(),E("ngSwitchCase","leaf"))},
k1a=function(a){a&1&&C(0,j1a,5,3,"div",58);a&2&&(a=P(2),E("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},l1a=function(a,b){a&1&&C(0,e1a,7,4,"div",53)(1,k1a,1,1,"ng-template",null,7,Mg);a&2&&(a=b.$implicit,b=M(2),E("ngIf",a.length)("ngIfElse",b))},m1a=function(a,b){b=l([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},n1a=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},o1a=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)},q1a=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;p1a++;var d=156;d+=(p1a-1)*
12;return function(e){e=e===void 0?b:e;var f,h=(f=document.getElementById(a))!=null?f:n1a(a,d);o1a(h,e,c)}},C1a=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,k){return k.modifiedDate-h.modifiedDate});return["## "+d.title,"ID: http://b/"+a.issueId,"Priority: "+d.priority,"Status: "+d.status,"Modified: "+Bp(a.majorModifiedTimeMicros/1E3/1E3),r1a(a),s1a(a),t1a(a,c),u1a(a),v1a(a),
w1a(a),x1a(a),y1a(a),z1a(f),A1a(a),B1a(b)].filter(Boolean).join("\n").trim()+"\n\n---\n\n"},t1a=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(", ")},B1a=function(a){if(a.length!==0){var b=a.map(D1a).filter(Boolean).join("\n\n");return"\n### Comments ("+a.length+")\n"+b}},E1a=function(a,b){b=b===void 0?300:b;if(a!=null)return a=a.replaceAll(/\n/g," "),a=sFa(a,b)},D1a=function(a){if(a!=null){var b=
E1a(a.unlinkifiedComment);if(b!=null){var c,d=(c=a.lastCommentEditorUser)==null?void 0:c.emailAddress;a=Bp(a.modifiedDate/1E3);return d+": "+b+" ("+a+")"}}},z1a=function(a){if(a!=null&&(a=E1a(a.unlinkifiedComment,600),a!=null))return"\n### Description\n"+a},w1a=function(a){a=a.descendantCount;if(!(a<=0))return"Descendant count: "+a},u1a=function(a){var b;a=((b=l(a.snapshot).next().value.blockingIssueId)!=null?b:[]).length;if(!(a<=0))return"Blocking "+a+" issue(s)"},v1a=function(a){var b;a=((b=l(a.snapshot).next().value.blockedByIssueId)!=
null?b:[]).length;if(!(a<=0))return"Blocked by "+a+" issue(s)"},r1a=function(a){var b;return(a=((b=l(a.snapshot).next().value.assigneeUser)!=null?b:{}).emailAddress)?"Assignee: "+a:void 0},s1a=function(a){var b;return(a=((b=l(a.snapshot).next().value.reporterUser)!=null?b:{}).emailAddress)?"Reporter: "+a:void 0},x1a=function(a){var b,c;a=(c=(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0;if(!(a<=0))return"Upvotes: "+a},A1a=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=Bp((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+")"}},y1a=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},F1a=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():"")},G1a=function(a,
b){if(a&1){var c=u();K(0);F(1,"iframe",6);O("load",function(){v(c);var d=P();return x(d.contentLoaded=!0)});H();L()}a&2&&(a=b.$implicit,b=P(),A(),Wf("loading",!b.contentLoaded),E("src",a,Zia))},H1a=function(a){a&1&&J(0,"mat-spinner",7)},J1a=function(a){return I1a.some(function(b){return b.test(a)})},N1a=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&&K1a.includes(d)?d:c&&K1a.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))?Qh(L1a,a):Qh(M1a,a,d)},P1a=function(a,b,c,d){if(O1a)return O1a;var e=N1a(a,d);return O1a=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=Zp(document,"SCRIPT");Dc(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=
function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})},R1a=function(a,b,c,d){if(Q1a)return Q1a;var e=N1a(a,d);return Q1a=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(f,h){var k=Zp(document,"SCRIPT");Dc(k,e);k.onload=function(){b.feedbackV2GlobalObject?f(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};
c.body.appendChild(k)})},S1a=function(a,b,c,d,e){e=e===void 0?!0:e;var f,h,k,q,t;return ge(function(w){switch(w.nextAddress){case 1:return f=Date.now(),ie(w,P1a(a,c,d,b),2);case 2:h=w.yieldResult;if(!(e||((q=a.initializationData)==null?0:q.useNightlyRelease)||((t=a.initializationData)==null?0:t.isLocalServer))){k=h.initializeFeedbackClient(a,f,b);w.jumpTo(3);break}return ie(w,h.initializeFeedbackClientAsync(a,f,b),4);case 4:k=w.yieldResult;case 3:return k.initiateAloha(),w.return(k)}})},T1a=function(a,
b,c,d){var e,f,h;return ge(function(k){if(k.nextAddress==1)return e=Date.now(),ie(k,R1a(a,c,d.document,b),2);if(k.nextAddress!=3)return f=k.yieldResult,ie(k,f.initializeFeedbackClientAsync(a,e,b,d),3);h=k.yieldResult;h.initiateAloha();return k.return(h)})},U1a=function(a,b,c){var d=!0;d=d===void 0?!0:d;var e,f,h,k,q,t,w,y,D,G;return ge(function(I){e=c||Ba;if((f=b)==null?0:(k=(h=f).getEnableAlohaBinarySplit)==null?0:k.call(h)){q=e;if(q.isFormOpened)throw t=Error("je"),t.name="DuplicateFormError",t;
q.isFormOpened=!0;a.callbacks=a.callbacks||{};w=a.callbacks.onClose||function(){};a.callbacks.onClose=function(N){q.isFormOpened=!1;w(N)};try{return I.return(T1a(a,b,q,e))}catch(N){throw q.isFormOpened=!1,N;}}else{y=e;if(y.isFormOpened)throw D=Error("je"),D.name="DuplicateFormError",D;y.isFormOpened=!0;a.callbacks=a.callbacks||{};G=a.callbacks.onClose||function(){};a.callbacks.onClose=function(N){y.isFormOpened=!1;G(N)};try{return I.return(S1a(a,b,y,e.document,d))}catch(N){throw y.isFormOpened=!1,
N;}}me(I)})},Y1a=function(a,b){return ge(function(c){return c.return(new Promise(function(d){var e=V1a(b!=null?b:"")+"/aloha_form_properties?productId="+a;W1a(e,function(f){f=f.target;var h=null;try{h=Vqa(X1a,JSON.stringify(f.getResponseJson(")]}'\n")))}catch(k){f=new X1a,h=new iq,h=jk(h,5,!0),h=jk(h,2,!0),h=jk(h,4,!1),h=jk(h,8,!0),h=jk(h,9,!0),h=jk(h,7,!0),h=jk(h,10,!0),h=jk(h,12,!0),h=jk(h,13,!1),h=jk(h,14,!0),h=jk(h,15,!0),h=jk(h,20,!1),h=Pj(f,iq,1,h)}d(h)},"GET","",{},2E3,!0)}))})},V1a=function(a){return J1a(a)?
a:"https://www.google.com/tools/feedback"},Z1a=function(a){return a.toLocaleString("en-US",{timeZone:"America/Los_Angeles"})+" (US Pacific time)"},$1a=function(a){a&1&&(F(0,"div",0),J(1,"router-outlet"),H())},b2a=function(a){if(a&1){var b=u();F(0,"a",9);O("keydown.enter",function(){v(b);var c=P(3);return x(a2a(c))})("keydown.space",function(){v(b);var c=P(3);return x(a2a(c))})("click",function(){v(b);var c=P(3);return x(a2a(c))});Q(1," Dismiss");H()}},c2a=function(a){a&1&&(F(0,"div",5)(1,"div",6),
J(2,"span",7),C(3,b2a,2,0,"a",8),H()());a&2&&(a=P(2),A(2),E("innerHtml",a.announcement.message,bf),A(),E("ngIf",a.announcement.dismissible))},e2a=function(a){if(a&1){var b=u();F(0,"b-resizable-sidebar",10);O("widthChanged",function(c){v(b);var d=P(2);c!==d.matSidebarWidth&&(d.matSidebarWidth=c,d2a(d,c));return x()});J(1,"b-sidebar");H()}a&2&&(a=P(2),E("size",a.matSidebarWidth)("disableToggleBtn",!0))},f2a=function(a){a&1&&(J(0,"b-hiring-banner")(1,"b-terms-of-service"),C(2,c2a,4,2,"div",1),J(3,"b-sso-expired-callout-outlet"),
F(4,"div",2),C(5,e2a,2,2,"b-resizable-sidebar",3),F(6,"div",4),J(7,"router-outlet"),H()(),J(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){a=P();A(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||!ep(a.activeSession,"canSeeAnnouncementBanner")?!1:c.dismissible?a.dismissedMessageId==null?!1:c.messageId!==a.dismissedMessageId:!0}else b=!1;E("ngIf",b);A(3);E("ngIf",!a.isAnonymous)}},g2a=function(a){switch(a){case "COMFORTABLE":return"d-comfort";
case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},h2a=function(a){a&1&&(F(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. "),F(2,"a",13),Q(3," Learn more "),H()());a&2&&(a=P(2),A(2),E("href",a.getRestrictedAccessHelpLink(),cf))},j2a=function(a){a&1&&(K(0),C(1,h2a,4,1,"div",8),L());a&2&&(a=P(),A(),E("ngIf",i2a(a)))},k2a=function(a){a&
1&&(F(0,"div",2)(1,"span",14),Q(2," You do not have access to view this attachment. "),H()())},l2a=function(a){a&1&&J(0,"mat-spinner",15)},m2a=function(a){a&1&&J(0,"b-formatted-date-time",4);a&2&&(a=P(),E("date",a.value))},n2a=function(a){a&1&&(K(0),Q(1,"---"),L())},o2a=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"mat-checkbox",10);O("change",function(){var d=v(c).$implicit,e=P();return x(e.changeSelection(d))})("click",function(d){v(c);return x(d.stopPropagation())});Q(2);H()()}a&2&&(a=b.$implicit,
b=P(),E("title",b.getDisplayString(a)),A(),E("checked",!!b.valueMap.get(a))("indeterminate",b.valueMap.get(a)===null),A(),R(" ",b.getDisplayString(a)," "))},q2a=function(a){if(a&1){var b=u();F(0,"input",11,1);O("keydown",function(c){v(b);var d=P();c.key==="Enter"&&(p2a(d)&&d.addValue(),c.preventDefault());return x()})("click",function(c){v(b);return x(c.stopPropagation())});Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.filterValue,c)||(d.filterValue=c);return x(c)});H()}a&2&&(a=P(),E("type",
a.type==="REPEATED_NUMERIC"?"number":"text"),Ag("ngModel",a.filterValue),E("placeholder",a.type==="REPEATED_ENUM"?"Filter values":"Add or filter values"))},r2a=function(a){a&1&&J(0,"mat-divider")},s2a=function(a){if(a&1){var b=u();F(0,"div",12);O("click",function(c){v(b);var d=P();c.stopPropagation();return x(d.addValue())});Q(1," Add ");H()}},t2a=function(a){if(a&1){var b=u();F(0,"div")(1,"b-date-time-input",13);Cg("valueChange",function(c){v(b);var d=P();Bg(d.currentSelectedDate,c)||(d.currentSelectedDate=
c);return x(c)});H();F(2,"div",14);O("click",function(c){v(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 x()});Q(3," Add ");H()()}a&2&&(a=P(),A(),Ag("value",a.currentSelectedDate))},u2a=function(a){if(a&1){var b=u();F(0,"div",6);Fd();F(1,"svg",7);J(2,"path",8);H();zd.currentNamespace=null;F(3,"input",9,0);O("input",function(){v(b);var c=M(4),d=P();return x(d.filterText$.next(c.value))});
H()()}},v2a=function(a){a&1&&dg(0)},x2a=function(a){if(a&1){var b=u();F(0,"div",12);O("click",function(){v(b);var d=P(2);return x(d.select(void 0))});C(1,v2a,1,0,"ng-container",13);H()}if(a&2){P();a=M(4);var c=P();E("option",void 0);Nf("aria-selected",c.isSelected(void 0));A();E("ngTemplateOutlet",a)("ngTemplateOutletContext",Gg(4,w2a))}},y2a=function(a){a&1&&dg(0)},A2a=function(a){if(a&1){var b=u();F(0,"div",12);O("click",function(){v(b);var e=P().$implicit,f=P(2);return x(f.select(e))});C(1,y2a,
1,0,"ng-container",13);H()}if(a&2){a=P().$implicit;P();var c=M(4),d=P();E("option",a);Nf("aria-selected",d.isSelected(a));A();E("ngTemplateOutlet",c)("ngTemplateOutletContext",Hg(4,z2a,a))}},B2a=function(a,b){a&1&&(K(0),C(1,A2a,2,6,"div",10),L());a&2&&(a=b.$implicit,A(),E("ngIf",a))},C2a=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P(2).$implicit,A(),R(" ",a," "))},D2a=function(a){a&1&&(F(0,"span",15),Q(1,"--"),H())},E2a=function(a){a&1&&(K(0),C(1,C2a,2,1,"ng-container",14)(2,D2a,2,0,"ng-template",null,
3,Mg),L());if(a&2){a=M(3);var b=P().$implicit;A();E("ngIf",b!=null)("ngIfElse",a)}},F2a=function(a){a&1&&dg(0)},G2a=function(a){a&1&&C(0,F2a,1,0,"ng-container",13);if(a&2){a=P().$implicit;var b=P(2);E("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Hg(2,z2a,a))}},H2a=function(a){a&1&&C(0,E2a,4,2,"ng-container",14)(1,G2a,1,4,"ng-template",null,2,Mg);if(a&2){a=M(2);var b=P(2);E("ngIf",!b.optionTemplate)("ngIfElse",a)}},I2a=function(a,b){a&1&&(K(0),C(1,x2a,2,5,"div",10)(2,B2a,2,1,"ng-container",
11)(3,H2a,3,2,"ng-template",null,1,Mg),L());a&2&&(a=b.ngIf,b=P(),A(),E("ngIf",b.includeEmptyOption),A(),E("ngForOf",a))},J2a=function(a){a&1&&dg(0)},L2a=function(a){a&1&&(K(0),C(1,J2a,1,0,"ng-container",11),L());a&2&&(a=P(),A(),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Hg(2,K2a,a.value)))},M2a=function(a){a&1&&dg(0)},N2a=function(a){a&1&&(K(0),C(1,M2a,1,0,"ng-container",11),L());a&2&&(a=P(2),A(),E("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Hg(2,K2a,a.value)))},
O2a=function(a){a&1&&C(0,N2a,2,4,"ng-container",7);if(a&2){a=P();var b=M(8);E("ngIf",a.optionTemplate)("ngIfElse",b)}},P2a=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P(2),A(),R(" ",a.value," "))},Q2a=function(a){a&1&&(F(0,"span",12),Q(1,"--"),H())},R2a=function(a){a&1&&C(0,P2a,2,1,"ng-container",7)(1,Q2a,2,0,"ng-template",null,4,Mg);if(a&2){a=M(2);var b=P();E("ngIf",b.value!=null)("ngIfElse",a)}},S2a=function(a){a&1&&(Fd(),F(0,"svg",13),J(1,"path",14),H())},T2a=function(a){a&1&&(F(0,"div"),Q(1," The selected issues have no custom fields in common. "),
H())},U2a=function(a){a&1&&(F(0,"span"),Q(1,"*"),H())},V2a=function(a){if(a&1){var b=u();F(0,"input",16);Cg("ngModelChange",function(c){v(b);var d=P(2).$implicit;Bg(d.textValue,c)||(d.textValue=c);return x(c)});H()}a&2&&(a=P(2).$implicit,P(),Ag("ngModel",a.textValue),Nf("aria-labelledby",jq(a)))},W2a=function(a){if(a&1){var b=u();F(0,"input",17);Cg("ngModelChange",function(c){v(b);var d=P(2).$implicit;Bg(d.numericValue,c)||(d.numericValue=c);return x(c)});H()}a&2&&(a=P(2).$implicit,P(),Ag("ngModel",
a.numericValue),Nf("aria-labelledby",jq(a)))},Y2a=function(a){if(a&1){var b=u();F(0,"div")(1,"b-date-time-input",18);O("valueChange",function(e){v(b);var f=P(2).$implicit;P();return x(f.dateValue=e?Qm(e):void 0)});H()()}if(a&2){var c;a=P(2).$implicit;var d=P();A();E("value",(c=X2a(a.dateValue))!==null&&c!==void 0?c:void 0)("required",d.isCustomFieldRequired(a))("customAriaLabelledBy",jq(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},$2a=function(a){if(a&1){var b=u();F(0,"onedev-single-select",
19);Cg("valueChange",function(d){v(b);var e=P(2).$implicit;Bg(e.enumValue,d)||(e.enumValue=d);return x(d)});H()}if(a&2){var c;a=P(2).$implicit;P();Ag("value",a.enumValue);E("options",(c=a.allowedValue)!==null&&c!==void 0?c:Gg(3,Z2a));Nf("aria-labelledby",jq(a))}},b3a=function(a){if(a&1){var b=u();F(0,"b-bulk-repeated-field-picker",20);O("onSave",function(e){v(b);var f=P(2).$implicit,h=P();return x(a3a(h,f.customFieldId,e))});H()}if(a&2){var c;a=P(2).$implicit;var d=P();E("type",d.getCustomFieldType(a))("originalValueMap",
d.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",(c=a.allowedValue)!==null&&c!==void 0?c:Gg(3,Z2a))}},c3a=function(a){a&1&&(K(0,10),C(1,V2a,1,2,"input",11)(2,W2a,1,2,"input",12)(3,Y2a,2,4,"div",13)(4,$2a,1,4,"onedev-single-select",14)(5,b3a,1,4,"b-bulk-repeated-field-picker",15),L());if(a&2){a=P().$implicit;var b=P();E("ngSwitch",b.getCustomFieldType(a));A();E("ngSwitchCase","TEXT");A();E("ngSwitchCase","NUMERIC");A();E("ngSwitchCase","DATE");A();E("ngSwitchCase","ENUM")}},d3a=function(a){if(a&
1){var b=u();F(0,"span");Q(1," Multiple values ");H();F(2,"a",21);O("click",function(){v(b);var c=P().$implicit,d=P();return x(d.clearCustomFieldValue(c))});Q(3,"X");H()}},e3a=function(a,b){a&1&&(F(0,"div",6)(1,"div",7)(2,"label",8),Q(3),C(4,U2a,2,0,"span",2),H()(),C(5,c3a,6,5,"ng-template",9)(6,d3a,4,0,"ng-template",null,0,Mg),H());a&2&&(a=b.$implicit,b=M(7),P(),A(2),E("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]"),Nf("id",jq(a)),A(),R(" ",a.name," "),A(),E("ngIf",a.required),A(),
E("ngIf",!a.hasMultipleValues)("ngIfElse",b))},f3a=function(a){a&1&&(F(0,"div",8),J(1,"b-spinner"),H())},g3a=function(a){a&1&&J(0,"code",22);a&2&&(a=P(2).$implicit,P(2),E("innerHtml",Mh(a.formattingModeDiff),bf))},h3a=function(a){a&1&&(F(0,"code",23),Q(1),H());a&2&&(a=P(2).$implicit,A(),R(" ",a.formattingMode," "))},i3a=function(a){a&1&&(F(0,"p",19),Q(1," Formatting: "),C(2,g3a,1,1,"code",20)(3,h3a,2,1,"code",21),H());a&2&&(a=P(3),A(2),E("ngIf",a.diffView),A(),E("ngIf",!a.diffView))},j3a=function(a){if(a&
1){var b=u();F(0,"div")(1,"span",24)(2,"b-person-hovercard",25);T(3,"omitObfuscatedEmail");Q(4);T(5,"appendDomain");H()();F(6,"a",26);O("click",function(c){v(b);var d=P().$implicit,e=P(2);d=d.version;c.stopPropagation();c=xp(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return x()});Q(7);H()()}a&2&&(a=P().$implicit,P(2),A(2),E("email",U(3,7,yi(a.lastEditorUser))),A(2),R(" <",U(5,9,yi(a.lastEditorUser)),"> "),A(2),Pf("aria-label","Comment version ",a.version,""),kg("id",
"bv2-edit-issue-comment-",a.version,""),A(),R(" #",a.version,""))},k3a=function(a){a&1&&(F(0,"div",30),Q(1),H());a&2&&(a=P(2).$implicit,A(),yg(a.preview))},l3a=function(a){a&1&&(F(0,"div",31),Q(1,"Comment deleted."),H())},m3a=function(a){a&1&&(F(0,"div",32),Q(1,"Comment history restricted."),H())},n3a=function(a){a&1&&(K(0),C(1,k3a,2,1,"div",27)(2,l3a,2,0,"div",28)(3,m3a,2,0,"div",29),L());a&2&&(a=P().$implicit,A(),E("ngIf",!a.restricted&&!a.deleted),A(),E("ngIf",!a.restricted&&a.deleted),A(),E("ngIf",
a.restricted))},o3a=function(a){a&1&&(F(0,"div",35),Q(1,"Comment deleted."),H())},p3a=function(a){a&1&&(J(0,"div",36),T(1,"async"));if(a&2){a=P(2).$implicit;var b=P(2);Wf("codefont",U(1,3,b.codefont.codefont$));E("innerHtml",a.unlinkifiedComment,bf)}},q3a=function(a){a&1&&(J(0,"div",36),T(1,"async"));if(a&2){a=P(2).$implicit;var b=P(2);Wf("codefont",U(1,3,b.codefont.codefont$));E("innerHtml",Mh(a.diff),bf)}},r3a=function(a){a&1&&(F(0,"div",32),Q(1," This comment is not available due to present or past restrictions on the comment. "),
H())},s3a=function(a){a&1&&(K(0),C(1,o3a,2,0,"div",33)(2,p3a,2,5,"div",34)(3,q3a,2,5,"div",34)(4,r3a,2,0,"div",29),L());if(a&2){a=P().$implicit;var b=P(2);A();E("ngIf",!a.restricted&&a.deleted);A();E("ngIf",!b.diffView&&!a.restricted&&!a.deleted);A();E("ngIf",b.diffView&&!a.restricted&&!a.deleted);A();E("ngIf",a.restricted)}},t3a=function(a,b){if(a&1){var c=u();F(0,"li",11)(1,"div",12);J(2,"b-user-image",13);H();F(3,"div",14);O("click",function(){var d=v(c).$implicit;return x(d.open=!d.open)});J(4,
"b-user-display",15)(5,"b-formatted-date-time",16);C(6,i3a,4,2,"p",17)(7,j3a,8,11,"div",18)(8,n3a,4,3,"ng-container",18);H();C(9,s3a,5,4,"ng-container",18);H()}a&2&&(a=b.$implicit,P(2),Wf("comment-version-open",a.open),A(2),E("email",yi(a.lastEditorUser)),A(2),E("model",a.lastEditorUser),A(),E("timestamp",a.lastModified),A(),E("ngIf",!a.deleted),A(),E("ngIf",a.open),A(),E("ngIf",!a.open),A(),E("ngIf",a.open))},u3a=function(a){a&1&&(F(0,"ul",9),C(1,t3a,10,9,"li",10),H());a&2&&(a=P(),A(),E("ngForOf",
a.history)("ngForTrackBy",a.trackByIndex))},x3a=function(a,b){var c=new v3a;a=kq(c,a,b);w3a(c,a);c=a.map(function(d){var e=d[0];d=d[1];switch(e){case -1:return Oh("span",{"class":"diff-removed"},d);case 1:return Oh("span",{"class":"diff-added"},d);case 0:return Oh("span",{"class":void 0},d);default:throw Error("ne`"+e);}});return Nh(c)},y3a=function(a){var b;return((b=a.entityStatus)==null?void 0:b.status)==="DELETED"},z3a=function(a){return new Set(a.map(function(b){return gi(b)}))},lq=function(a,
b,c){return a.has(b)?c:""},A3a=function(a,b,c){return a.has(b)?c:[]},mq=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},D3a=function(a){if(!a)return"";var b=B3a.get(a.retentionSelection),c=a.retentionPeriodDays,d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=C3a.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},
F3a=function(a){if(!a)return"";var b=a.inherit,c=E3a.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},G3a=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},H3a=function(a){a&1&&(F(0,"li")(1,"a",4),Q(2," Create an issue in this component"),H()());a&2&&(a=P(2),A(),E("href",a.createIssueUrl,cf))},I3a=function(a,b){a&1&&(K(0),F(1,"h3"),Q(2),H(),F(3,"p"),Q(4),H(),J(5,"b-component-access-level-indicator",3),F(6,"p"),Q(7),H(),F(8,"ul")(9,
"li")(10,"a",4),Q(11," View recent open issues"),H()(),C(12,H3a,3,1,"li",2),F(13,"li")(14,"a",4),Q(15," View component"),H()()(),L());a&2&&(a=b.ngIf,b=P(),A(2),yg(a.name),A(2),R("ID: ",b.componentId,""),A(),E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),A(2),yg(a.description),A(3),E("href",b.recentIssuesUrl,cf),A(2),E("ngIf",!b.isAnonymous),A(2),E("href",b.viewComponentUrl,cf))},J3a=function(a,b){a&1&&(F(0,"mat-option",17),Q(1),H());a&2&&(a=b.$implicit,E("value",
a),A(),R(" ",a," "))},K3a=function(a){if(a&1){var b=u();F(0,"mat-form-field",14)(1,"mat-select",16,0);O("selectionChange",function(c){v(b);var d=P(2);return x(d._changePageSize(c.value))});bg(3,J3a,2,2,"mat-option",17,ag);H();F(5,"div",18);O("click",function(){v(b);var c=M(2);return x(c.open())});H()()}a&2&&(a=P(2),E("appearance",a._formFieldAppearance)("color",a.color),A(),E("value",a.pageSize)("disabled",a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",
a.selectConfig.disableOptionCentering),A(2),cg(a._displayedPageSizeOptions))},L3a=function(a){a&1&&(F(0,"div",15),Q(1),H());a&2&&(a=P(2),A(),yg(a.pageSize))},M3a=function(a){a&1&&(F(0,"div",3)(1,"div",13),Q(2),H(),C(3,K3a,6,7,"mat-form-field",14)(4,L3a,2,1,"div",15),H());a&2&&(a=P(),A(),Nf("id",a._pageSizeLabelId),A(),R(" ",a._intl.itemsPerPageLabel," "),A(),$f(a._displayedPageSizeOptions.length>1?3:-1),A(),$f(a._displayedPageSizeOptions.length<=1?4:-1))},N3a=function(a){if(a&1){var b=u();F(0,"button",
19);O("click",function(){v(b);var c=P();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return x()});Fd();F(1,"svg",8);J(2,"path",20);H()()}a&2&&(a=P(),E("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),Nf("aria-label",a._intl.firstPageLabel))},O3a=function(a){if(a&1){var b=u();F(0,"button",21);O("click",function(){v(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 x()});Fd();F(1,"svg",8);J(2,"path",22);H()()}a&2&&(a=P(),E("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),Nf("aria-label",a._intl.lastPageLabel))},P3a=function(a){if(a&1){var b=u();F(0,"mat-paginator",4);O("page",function(c){v(b);var d=P(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);
return x()});H()}a&2&&(a=P(),E("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},Q3a=function(a,b){if(a&1){var c=u();F(0,"li")(1,"a",5);O("click",function(){var e=v(c).$implicit,f=P();return x(f.onVisit.emit(e))});Q(2);H();F(3,"onedev-hovercard",null,0);J(5,"b-component-card",6);H()()}if(a&2){a=b.$implicit;b=M(4);var d=P();A();E("onedevHovercardTrigger",b)("href",d.ROUTES.editComponent.makeHref(a.componentId),cf);A();R(" ",a.name," ");A(3);E("componentId",a.componentId.toString())}},
R3a=function(a){if(a&1){var b=u();F(0,"button",6);O("click",function(){v(b);var c=P();return x(c.onClickCopyIssueShortLinks.emit())});Q(1);H()}a&2&&(a=P(),A(),R(" Copy '",a.shortLinkPrefix,"'' links "))},S3a=function(a){if(a&1){var b=u();F(0,"div",2)(1,"button",3);O("click",function(){v(b);var c=P();return x(c.action())});Q(2);H()()}a&2&&(a=P(),A(2),yg(a.data.action))},T3a=function(){},U3a=function(a,b){a&1&&(F(0,"span",6)(1,"a",7),Q(2),H(),F(3,"onedev-hovercard",null,0),J(5,"b-component-card",8),
H()());a&2&&(a=b.$implicit,b=M(4),A(),E("onedevHovercardTrigger",b)("routerLinkObj",a.route),A(),yg(a.name),A(3),E("componentId",a.id.toString()))},V3a=function(a){a&1&&(F(0,"span",9),Q(1,"[Archived]"),H())},nq=function(a,b){b=b===void 0?uo: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,k){var q;k=(q=f[k])!=null?q:String(h);q=b(h);return{id:h,name:k,route:q}})},W3a=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&
(a=P().$implicit,A(),yg(a.text))},X3a=function(a){a&1&&(F(0,"span"),J(1,"b-component-access-level-indicator",2),H());a&2&&(a=P().$implicit,A(),E("accessLevel",a.accessLevel))},Y3a=function(a,b){a&1&&(F(0,"span"),C(1,W3a,2,1,"span",1)(2,X3a,2,1,"span",1),H());a&2&&(a=b.$implicit,P(),A(),E("ngIf",a.text!==void 0),A(),E("ngIf",a.text===void 0))},$3a=function(a,b){var c=Z3a.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return a>=0?{accessLevel:b,startOfMatch:a,endOfMatch:a+c.length}:null},a4a=
function(a){if(a&1){var b=u();F(0,"div");J(1,"br");F(2,"mat-radio-group",8);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.setLimitViewTrusted,c)||(d.setLimitViewTrusted=c);return x(c)});F(3,"mat-radio-button",9);Q(4,"Mark this issue as Limited Visibility + Google. Information will only be shared with Googlers and listed public users.");H();F(5,"mat-radio-button",10);Q(6,"Leave issue unrestricted. All information in this issue is suitable for external sharing.");H()()()}a&2&&(a=P(2),A(2),Ag("ngModel",
a.setLimitViewTrusted),A(),E("value",!0),A(2),E("value",!1))},b4a=function(a){if(a&1){var b=u();F(0,"div");J(1,"br");F(2,"mat-checkbox",11);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.acknowledged,c)||(d.acknowledged=c);return x(c)});H();F(3,"span");Q(4,"All information in this issue is suitable for external sharing.");H()()}a&2&&(a=P(2),A(2),Ag("ngModel",a.acknowledged))},c4a=function(a){a&1&&(F(0,"div"),C(1,a4a,7,3,"div",5)(2,b4a,5,1,"div",5),H());a&2&&(a=P(),A(),E("ngIf",a.isLimitNoneIssueTrackerMove),
A(),E("ngIf",!a.isLimitNoneIssueTrackerMove))},d4a=function(a){if(a&1){var b=u();F(0,"button",12);O("click",function(){v(b);var c=P();return x(c.allow())});Q(1," Move Issue ");H()}a&2&&(a=P(),E("disabled",!a.acknowledged))},e4a=function(a){if(a&1){var b=u();F(0,"a",18);O("click",function(){v(b);var c=P().$implicit,d=P();return x(d.showChildren(c))});J(1,"mat-icon",19);H()}},f4a=function(a){if(a&1){var b=u();F(0,"a",20);O("click",function(){v(b);var c=P().$implicit;return x(c.showChildren=!1)});J(1,
"mat-icon",21);H()}},h4a=function(a){a&1&&(F(0,"a",22),Q(1," (Recent Issues) "),H());if(a&2){a=P().$implicit;var b=P();E("href",b.paths.listIssues(Hg(1,g4a,"status:open componentid:"+a.componentId)),cf)}},i4a=function(a){a&1&&(F(0,"span"),Q(1,"[Archived]"),H())},j4a=function(a){a&1&&(F(0,"a",23),Q(1," Create issue "),H());if(a&2){a=P().$implicit;var b=P();E("href",b.paths.createIssue()+"?component="+a.componentId,cf)}},k4a=function(a){a&1&&(F(0,"div",28),Q(1," No child components found. "),H())},
l4a=function(a){a&1&&(F(0,"div",29),J(1,"b-spinner"),H())},m4a=function(a){if(a&1){var b=u();F(0,"component-subtree-list",30);O("childClosed",function(d){v(b);var e=P(3);return x(e.onSubtreeChildClosed(d))});H()}if(a&2){a=P(2).$implicit;var c=P();E("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},n4a=function(a){a&1&&(F(0,"div",24),C(1,k4a,2,0,"div",25)(2,l4a,2,0,"div",26)(3,m4a,1,4,"component-subtree-list",27),H());a&2&&(a=P().$implicit,
A(),E("ngIf",a.noChildren),A(),E("ngIf",!(a.noChildren||a.children)),A(),E("ngIf",a.children))},o4a=function(a,b){if(a&1){var c=u();F(0,"li",2);O("click",function(d){var e=v(c).$implicit,f=P();return x(f.setSelected(e.componentId,d))});F(1,"div",3);J(2,"div",4);F(3,"div",5);C(4,e4a,2,0,"a",6)(5,f4a,2,0,"a",7);H();F(6,"div",8)(7,"div")(8,"a",9);Q(9);H();C(10,h4a,2,3,"a",10)(11,i4a,2,0,"span",11);J(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);H();F(14,"div",14);Q(15);H()();
F(16,"div",15);C(17,j4a,2,1,"a",16);H()();C(18,n4a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=P(),kg("id","component-",a.componentId,""),A(4),E("ngIf",!a.showChildren),A(),E("ngIf",a.showChildren),A(3),E("href",b.ROUTES.editComponent.makeHref(a.componentId),cf),A(),R(" ",a.name," "),A(),E("ngIf",!a.archived),A(),E("ngIf",a.archived),A(),E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),A(),E("trackerId",a.trackerId),A(2),yg(a.description),A(2),E("ngIf",!a.archived),A(),E("ngIf",a.showChildren))},
p4a=function(a){if(a&1){var b=u();F(0,"a",18);O("click",function(){v(b);var c=P().$implicit,d=P();return x(d.showChildren(c))});J(1,"mat-icon",19);H()}},q4a=function(a){if(a&1){var b=u();F(0,"a",20);O("click",function(){v(b);var c=P().$implicit;return x(c.showChildren=!1)});J(1,"mat-icon",21);H()}},s4a=function(a){a&1&&(F(0,"a",22),Q(1," (Recent Issues) "),H());if(a&2){a=P().$implicit;var b=P();E("href",b.paths.listIssues(Hg(1,r4a,"status:open componentid:"+a.componentId)),cf)}},t4a=function(a){a&
1&&(F(0,"span"),Q(1,"[Archived]"),H())},u4a=function(a){a&1&&(F(0,"a",23),Q(1," Create issue "),H());if(a&2){a=P().$implicit;var b=P();E("href",b.paths.createIssue()+"?component="+a.componentId,cf)}},v4a=function(a){a&1&&(F(0,"div",28),Q(1," No child components found. "),H())},w4a=function(a){a&1&&(F(0,"div",29),J(1,"b-spinner"),H())},x4a=function(a){if(a&1){var b=u();F(0,"component-subtree-list",30);O("childClosed",function(d){v(b);var e=P(3);return x(e.onSubtreeChildClosed(d))});H()}if(a&2){a=P(2).$implicit;
var c=P();E("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},y4a=function(a){a&1&&(F(0,"div",24),C(1,v4a,2,0,"div",25)(2,w4a,2,0,"div",26)(3,x4a,1,4,"component-subtree-list",27),H());a&2&&(a=P().$implicit,A(),E("ngIf",a.noChildren),A(),E("ngIf",!(a.noChildren||a.children)),A(),E("ngIf",a.children))},z4a=function(a,b){if(a&1){var c=u();F(0,"li",2);O("click",function(d){var e=v(c).$implicit,f=P();return x(f.setSelected(e.componentId,
d))});F(1,"div",3);J(2,"div",4);F(3,"div",5);C(4,p4a,2,0,"a",6)(5,q4a,2,0,"a",7);H();F(6,"div",8)(7,"div")(8,"a",9);Q(9);H();C(10,s4a,2,3,"a",10)(11,t4a,2,0,"span",11);J(12,"b-component-access-level-indicator",12)(13,"b-tracker-chip-smart",13);H();F(14,"div",14);Q(15);H()();F(16,"div",15);C(17,u4a,2,1,"a",16);H()();C(18,y4a,4,3,"div",17);H()}a&2&&(a=b.$implicit,b=P(),E("id","component-"+a.componentId),A(4),E("ngIf",!a.showChildren),A(),E("ngIf",a.showChildren),A(3),E("href",b.ROUTES.editComponent.makeHref(a.componentId),
cf),A(),R(" ",a.name," "),A(),E("ngIf",!a.archived),A(),E("ngIf",a.archived),A(),E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),A(),E("trackerId",a.trackerId),A(2),yg(a.description),A(2),E("ngIf",!a.archived),A(),E("ngIf",a.showChildren))},A4a=function(a){a&1&&J(0,"b-changelist-card",5,1);if(a&2){a=M(1);var b=P();E("onedevIsHovercardReady",a.init)("changelistId",b.changelistId)}},B4a=function(a){a&1&&J(0,"b-changelist-chip",0);a&2&&(a=P(),E("changelistId",a.changelist))},C4a=
function(a){a&1&&J(0,"b-gerrit-change-chip",1);a&2&&(a=P(),E("gerritChange",a.gerritChange))},D4a=function(a,b){a&1&&(K(0),F(1,"mat-list-option",11),Q(2),H(),L());a&2&&(a=b.$implicit,b=P(),A(),Vf("height","auto"),E("selected",b.selectedValues.has(a))("value",a),A(),R(" ",a," "))},E4a=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)"]},F4a=function(a){if(a&1){var b=u();F(0,"mat-checkbox",9);O("click",function(d){v(b);return x(d.stopPropagation())})("change",function(){v(b);var d=P().$implicit,e=P();return x(e.toggleSelection(d))});Q(1);H()}if(a&2){a=P().$implicit;var c=P();E("checked",c.selectedValuesMap[a]);A();R(" ",a," ")}},G4a=function(a){a&1&&(F(0,"div",10),Q(1),H());a&2&&(a=P().$implicit,A(),R(" ",a," "))},H4a=function(a,b){a&1&&(F(0,"mat-option",
6),C(1,F4a,2,2,"mat-checkbox",7)(2,G4a,2,1,"div",8),H());a&2&&(a=b.$implicit,b=P(),E("value",a),A(),E("ngIf",b.allowMultiSelect),A(),E("ngIf",!b.allowMultiSelect))},J4a=function(a){if(a&1){var b=u();F(0,"div",11)(1,"button",12);O("click",function(){v(b);var c=P();return x(I4a(c))})("keydown.enter",function(){v(b);var c=P();return x(I4a(c))});J(2,"mat-icon",13);H();F(3,"button",14);O("click",function(){v(b);var c=P();return x(c.cancel())})("keydown.esc",function(){v(b);var c=P();return x(I4a(c))});
J(4,"mat-icon",15);H()()}a&2&&(a=P(),A(),Pf("aria-label","Apply changes to ",a.customFieldTitle,""),E("disabled",!a.hasPendingChanges),A(2),Pf("aria-label","Discard changes to ",a.customFieldTitle,""))},K4a=function(a){a&1&&J(0,"b-icon",7);a&2&&(a=P(),E("name",a.iconName))},L4a=function(a){a&1&&(F(0,"span",8),Q(1),H());a&2&&(a=P(),A(),yg(a.title))},M4a=function(a){a&1&&(F(0,"div",9),Q(1,"\u00a0"),H())},Q4a=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"?N4a(a,b):(d==="input"||d==="select"||d==="textarea")&&O4a(a,b);P4a("canvas",a,b,N4a);P4a("input, textarea, select",a,b,O4a);return b},P4a=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])},O4a=function(a,b){b.type!=="file"&&(b.value=a.value);b.type==="radio"&&b.name&&(b.name="mat-clone-"+b.name+"-"+R4a++)},N4a=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,
0)}catch(c){}},S4a=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}},T4a=function(a,b,c){var d=a.bottom,e=a.left,f=a.right;return c>=a.top&&c<=d&&b>=e&&b<=f},oq=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},U4a=function(a,b,c){var d=a.right,e=a.bottom,f=a.left,h=a.width*.05,k=a.height*.05;return c>a.top-k&&c<e+k&&b>f-h&&b<d+h},V4a=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},W4a=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)}},pq=function(a,b){var c=b?"":"none";W4a(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})},Y4a=function(a,b){W4a(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},X4a)},Z4a=function(a,b){return b&&b!="none"?a+" "+b:a},a5a=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=$4a(b.left,b.top)},$4a=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},b5a=function(a){var b=a.toLowerCase().indexOf("ms")>-1?1:1E3;return parseFloat(a)*b},d5a=function(a){a=getComputedStyle(a);var b=
c5a(a,"transition-property"),c=b.find(function(d){return d==="transform"||d==="all"});if(!c)return 0;b=b.indexOf(c);c=c5a(a,"transition-duration");a=c5a(a,"transition-delay");return b5a(c[b])+b5a(a[b])},c5a=function(a,b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},qq=function(a){return a.type[0]==="t"},e5a=function(a){a.preventDefault()},rq=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}},f5a=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},g5a=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},h5a=function(a){a&1&&(F(0,"label"),Q(1),H());a&2&&(a=P(),A(),R(" ",a.title," "))},i5a=function(a){a&1&&J(0,"mat-icon",29)},k5a=function(a){if(a&1){var b=u();F(0,"span",30);O("click",function(){v(b);var c=P();return x(j5a(c))})("keydown.enter",function(){v(b);var c=P();return x(j5a(c))})("keydown.space",
function(){v(b);var c=P();return x(j5a(c))});Q(1," Skip to edit ");H()}a&2&&(a=P(),Vf("opacity",a.focusOnTitle?1:0),Nf("aria-label","Skip to edit "+a.title))},m5a=function(a,b){a&1&&(F(0,"div",34),dg(1,35),H());if(a&2){a=b.$implicit;b=b.index;P(2);var c=M(15);A();E("ngTemplateOutletContext",Ig(2,l5a,a,b))("ngTemplateOutlet",c)}},o5a=function(a){a&1&&(F(0,"collapsible-panel",31),C(1,m5a,2,5,"div",32),dg(2,33),H());if(a&2){a=P();var b=M(17);E("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",
!0)("title",a.collapsiblePanelTitle);A();E("ngForOf",n5a(a))("ngForTrackBy",a.trackByIndex);A();E("ngTemplateOutlet",b)}},p5a=function(a,b){a&1&&(F(0,"div",34),dg(1,35),H());if(a&2){a=b.$implicit;b=b.index;P(2);var c=M(15);A();E("ngTemplateOutletContext",Ig(2,l5a,a,b))("ngTemplateOutlet",c)}},q5a=function(a){a&1&&(F(0,"div"),Q(1,"--"),H())},r5a=function(a){a&1&&(K(0),C(1,p5a,2,5,"div",32),dg(2,33),C(3,q5a,2,0,"div",21),L());if(a&2){a=P();var b=M(17);A();E("ngForOf",n5a(a))("ngForTrackBy",a.trackByIndex);
A();E("ngTemplateOutlet",b);A();E("ngIf",!(a.values==null?0:a.values.length))}},u5a=function(a){if(a&1){var b=u();F(0,"button",43);O("menuOpened",function(){v(b);var d=P(3);s5a(d);d.enumPendingValues=new Set(d.values||[]);return x()})("menuClosed",function(){v(b);var d=P(3);return x(t5a(d))});Q(1,"Edit ");H()}if(a&2){a=P(3);var c=M(19);E("matMenuTriggerFor",c);Nf("aria-label","Add item to "+a.title)}},v5a=function(a){a&1&&(F(0,"button",44,7),Q(2,"Edit "),H());if(a&2){a=P(3);var b=M(26);E("xapInlineDialogClick",
b)("overlayPositions",a.OVERLAY_POSITION_LIST);Nf("aria-label","Edit items for "+a.title)}},x5a=function(a){if(a&1){var b=u();F(0,"button",45,7);O("click",function(){v(b);var c=P(3);return x(w5a(c))});Q(2,"Edit ");H()}a&2&&(a=P(3),Nf("aria-label","Edit items for "+a.title))},y5a=function(a){a&1&&(K(0),C(1,u5a,2,2,"button",40)(2,v5a,3,3,"button",41)(3,x5a,3,1,"button",42),L());a&2&&(a=P(2),A(),E("ngIf",!sq(a)),A(),E("ngIf",sq(a)&&!a.enableNewCustomRepeatedEnumUi),A(),E("ngIf",sq(a)&&a.enableNewCustomRepeatedEnumUi))},
z5a=function(a){a&1&&(F(0,"button",46),Q(1,"Add "),H());if(a&2){a=P(2);var b=M(24);Pf("aria-label","Add item to ",a.title,"");E("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},A5a=function(a){if(a&1){var b=u();F(0,"button",47);O("beforeOpened",function(){v(b);var d=P(2);return x(d.invalidMessage="")});Q(1,"Add ");H()}if(a&2){a=P(2);var c=M(22);Pf("aria-label","Add item to ",a.title,"");kg("dialogLabel","Add item to ",a.title,"");kg("matTooltip","Add item to ",a.title,"");E("xapInlineDialogClick",
c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},B5a=function(a){a&1&&(K(0,36),C(1,y5a,4,3,"ng-container",37)(2,z5a,2,4,"button",38)(3,A5a,2,8,"button",39),L());a&2&&(a=P(),E("ngSwitch",a.type),A(),E("ngSwitchCase","REPEATED_ENUM"),A(),E("ngSwitchCase","REPEATED_DATE"))},C5a=function(a){a&1&&(F(0,"div"),J(1,"b-code-change-chip",54),H());a&2&&(a=P(2).item,A(),E("codeChange",a))},D5a=function(a){a&1&&(F(0,"div")(1,"a",55),Q(2),H()());if(a&2){a=P(3).item;var b=P();A();switch(b.environmentType){case "NIGHTLY":case "PROD":b=
"https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}E("href",b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId,cf);Nf("aria-label","Workspace"+a.workspaceId);A();R(" ",a.workspaceName," ")}},E5a=function(a){a&1&&C(0,D5a,3,3,"div",51);if(a&2){P();a=M(6);P();var b=P();E("ngIf",b.type==="WORKSPACES")("ngIfElse",a)}},F5a=function(a){a&1&&(F(0,"div"),J(1,"b-team-display",56),H());a&2&&(a=P(3).item,A(),E("teamId",a.teamId)("componentId",
a.componentId))},G5a=function(a){a&1&&C(0,F5a,2,2,"div",51);if(a&2){P();a=M(8);P();var b=P();E("ngIf",b.type==="TEAM")("ngIfElse",a)}},H5a=function(a){if(a&1){var b=u();F(0,"div")(1,"a",57);O("click",function(){v(b);var c=P(4);return x(c.trackClick("postmortem"))});Q(2);H()()}a&2&&(a=P(3).item,A(),Pf("aria-label","Postmortem ",a,""),kg("href","https://pm.corp.google.com/",a,"",cf),A(),R(" ",a," "))},I5a=function(a){a&1&&C(0,H5a,3,5,"div",51);if(a&2){P();a=M(10);P();var b=P();E("ngIf",b.type==="POSTMORTEMS")("ngIfElse",
a)}},K5a=function(a){if(a&1){var b=u();F(0,"div",59)(1,"a",60);O("click",function(){v(b);var d=P(4);return x(d.trackClick("repeated-enum"))});Q(2);H()()}if(a&2){a=P(3).item;var c=P();E("matTooltip",a);A();Qf("aria-label","Search issues for customfield",c.customFieldId,":",a,"");E("queryParams",Hg(6,J5a,"customfield"+c.customFieldId+':"'+a+'"'));A();R(" ",a," ")}},L5a=function(a){a&1&&C(0,K5a,3,8,"div",58);if(a&2){P();a=M(12);P();var b=P();E("ngIf",b.type==="REPEATED_ENUM"&&sq(b))("ngIfElse",a)}},
M5a=function(a){a&1&&(F(0,"div"),J(1,"b-truncated-span",62),H());if(a&2){a=P(3).item;var b=P();A();E("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},N5a=function(a){a&1&&J(0,"b-user-membership-chip",67);if(a&2){a=P(4).item;var b=P();E("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)("enableGroupIcon",!0)}},O5a=function(a){a&1&&J(0,"b-icon",68)},P5a=function(a){a&1&&(F(0,"b-person-hovercard",69),Q(1),H());a&2&&(a=P(4).item,E("email",a),A(),R(" ",a," "))},Q5a=function(a){a&
1&&(F(0,"div",63),C(1,N5a,1,5,"b-user-membership-chip",64)(2,O5a,1,0,"b-icon",65),T(3,"async"),C(4,P5a,2,2,"b-person-hovercard",66),H());if(a&2){var b;a=P(3).item;var c=P();A();E("ngIf",c.enableTeamAnnotations);A();E("ngIf",!c.enableTeamAnnotations&&((b=U(3,3,c.groups$))==null?null:b.has(a)));A(2);E("ngIf",!c.enableTeamAnnotations)}},R5a=function(a){a&1&&C(0,M5a,2,3,"div",21)(1,Q5a,5,5,"div",61);if(a&2){a=P(2).item;var b=P();E("ngIf",!b.isUser&&b.isString(a));A();E("ngIf",b.isUser&&b.isString(a))}},
T5a=function(a){if(a&1){var b=u();F(0,"button",70);T(1,"async");O("click",function(){v(b);var c=P(3);return x(c.toggleAccessLimits.emit())});J(2,"b-icon",71);T(3,"async");H()}a&2&&(a=P(3),E("disabled",!U(1,2,a.hasAclToAdmin$)),A(2),E("ngClass",Hg(6,S5a,!U(3,4,a.hasAclToAdmin$))))},U5a=function(a){if(a&1){var b=u();F(0,"button",73,14);O("click",function(){v(b);var d=P(3).$index,e=P();return x(e.removeItem(d))});H()}if(a&2){a=P(3).item;var c=P();Qf("aria-label","Remove ",a," from ",c.title,"");E("disabled",
c.listFieldDisabled)("matTooltip","Remove item")}},V5a=function(a){a&1&&C(0,U5a,2,5,"button",72);a&2&&(a=P(3),E("ngIf",a.readonly?!1:a.type==="REPEATED_ENUM"?sq(a)&&!a.enableNewCustomRepeatedEnumUi?!0:!1:!0))},W5a=function(a){a&1&&(F(0,"div",49)(1,"div",50),C(2,C5a,2,1,"div",51)(3,E5a,1,2,"ng-template",null,8,Mg)(5,G5a,1,2,"ng-template",null,9,Mg)(7,I5a,1,2,"ng-template",null,10,Mg)(9,L5a,1,2,"ng-template",null,11,Mg)(11,R5a,2,2,"ng-template",null,12,Mg),H(),C(13,T5a,4,8,"button",52),T(14,"async"),
C(15,V5a,1,1,"ng-template",null,13,Mg),J(17,"div",53),H());if(a&2){var b;a=M(4);var c=M(16),d=P().item,e=P();A(2);E("ngIf",e.type==="CODE_CHANGES")("ngIfElse",a);A(11);E("ngIf",e.type==="USERCHIP"&&e.toggleAccessLimits.observed&&((b=U(14,4,e.groups$))==null?null:b.has(d)))("ngIfElse",c)}},X5a=function(a,b){a&1&&C(0,W5a,18,6,"div",48);if(a&2){a=b.item;b=b.$index;var c=P();E("ngIf",(c.showingAll||b<c.defaultLineCount||!!c.values&&c.values.length===c.defaultLineCount+1)&&(c.type!=="CODE_CHANGES"||c.showCodeChanges(a)))}},
Y5a=function(a){if(a&1){var b=u();F(0,"div",75,15);O("click",function(c){v(b);var d=P(2);return x(tq(d,!1,c))})("keydown.enter",function(c){v(b);var d=P(2);return x(tq(d,!1,c))})("keydown.space",function(c){v(b);var d=P(2);return x(tq(d,!1,c))});Q(2," (show fewer) ");H()}a&2&&(a=P(2),Qf("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),kg("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},Z5a=function(a){if(a&1){var b=u();F(0,"div")(1,"div",76);Q(2);
F(3,"span",77,16);O("click",function(c){v(b);var d=P(2);return x(tq(d,!0,c))})("keydown.enter",function(c){v(b);var d=P(2);return x(tq(d,!0,c))})("keydown.space",function(c){v(b);var d=P(2);return x(tq(d,!0,c))});Q(5," (show all) ");H()()()}a&2&&(a=P(2),A(2),R(" ... and ",a.values.length-a.defaultLineCount," more "),A(),Qf("aria-label","Show all ",a.values==null?null:a.values.length," ",a.title," items"),kg("matTooltip","Show all ",a.values==null?null:a.values.length," items in the list"))},a6a=function(a){a&
1&&C(0,Y5a,3,5,"div",74)(1,Z5a,6,6,"div",21);a&2&&(a=P(),E("ngIf",a.showingAll&&$5a(a)),A(),E("ngIf",!a.showingAll&&$5a(a)))},c6a=function(a,b){if(a&1){var c=u();F(0,"button",79);O("click",function(d){var e=v(c).$implicit,f=P(2),h=e.value;f.enumPendingValues.has(h)?f.enumPendingValues.delete(h):f.enumPendingValues.add(h);f.liveAnnouncer.announce(b6a(f,e));d==null||d.stopPropagation();return x()});F(1,"span",80);J(2,"mat-icon",81);H();Q(3);H()}a&2&&(a=b.$implicit,b=P(2),Wf("b-menu-item-checked",b.enumPendingValues.has(a.value)),
E("disabled",b.listFieldDisabled),Nf("aria-label",b6a(b,a)),A(3),R(" ",a.displayText," "))},d6a=function(a){a&1&&C(0,c6a,4,5,"button",78);a&2&&(a=P(),E("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},e6a=function(a){a&1&&J(0,"input",90);a&2&&(a=P(2),Pf("aria-label","Addition to ",a.title,""),E("bContactAutocomplete","MULTI"))},f6a=function(a){a&1&&J(0,"input",91);a&2&&(a=P(2),Pf("aria-label","Addition to ",a.title,""),E("type",a.type==="REPEATED_NUMERIC"?"number":"text"))},g6a=function(a){a&
1&&(F(0,"mat-error"),Q(1),H());a&2&&(a=P(2),Qf("aria-label","",a.title," error: ",a.invalidMessage,""),A(),R(" ",a.invalidMessage," "))},i6a=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",82,17);O("ngSubmit",function(){v(b);var d=M(3),e=M(4),f=P();return x(h6a(f,d,e))});C(5,e6a,1,3,"input",83)(6,f6a,1,3,"input",84);F(7,"div",85)(8,"button",86);J(9,"mat-icon",87);H();F(10,"button",88);O("click",function(){v(b);var d=P();return x(uq(d,!0))});J(11,"mat-icon",
89);H()();C(12,g6a,2,4,"mat-error",21);H()()()}if(a&2){a=M(3);var c=P();A(5);E("ngIf",c.isUser);A();E("ngIf",!c.isUser);A(2);Pf("aria-label","Apply addition to ",c.title,"");E("disabled",!a.valid||c.listFieldDisabled);A(2);Pf("aria-label","Discard addition to ",c.title,"");A(2);E("ngIf",c.invalidMessage)}},j6a=function(a){if(a&1){var b=u();F(0,"b-date-time-picker-content",92);O("dateChange",function(c){v(b);var d=P();return x(c&&d.addItems(c))})("cancelClicked",function(){v(b);var c=P();return x(uq(c,
!1))});H()}a&2&&E("required",!0)("renderPanel",!1)},m6a=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-custom-repeated-enum-picker",93);O("onApplyChanges",function(c){v(b);var d=P();return x(k6a(d,c))})("onCancelChanges",function(){v(b);var c=P();return x(uq(c,!0))});H()()()}a&2&&(a=P(),A(2),E("allowMultiSelect",!0)("customFieldTitle",a.title)("allowedValues",l6a(a))("selectedValues",a.values))},vq=function(a,b){return{originX:a,originY:b}},wq=function(a,
b){return{overlayX:a,overlayY:b}},n6a=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}},q6a=function(a){if(a&1){var b=u();F(0,"b-edit-field",3);O("valueChange",function(e){v(b);var f=P(2);return x(f.save.emit(e))});H()}if(a&2){var c;a=P().ngIf;var d=P();E("readonly",d.readonly)("name","customField"+d.field.customFieldId)("title",
d.field.name)("type",d.field.type)("tooltip",d.getTooltip())("clearable",!d.field.required)("value",o6a(d))("displayValueOverride",d.getDisplayValue())("choices",(c=a.choices)!==null&&c!==void 0?c:Gg(12,p6a))("showEnumTitle",!0)("disabled",d.disabled)("customFieldId",d.field.customFieldId)}},s6a=function(a){if(a&1){var b=u();F(0,"b-list-field",4);O("valuesChange",function(d){v(b);var e=P(2);return x(e.save.emit(d.values))});H()}if(a&2){a=P().ngIf;var c=P();E("readonly",c.readonly)("defaultLineCount",
3)("title",c.field.name)("type",c.field.type)("customFieldId",c.field.customFieldId)("tooltip",c.getTooltip())("values",r6a(c))("displayValuesOverride",a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},t6a=function(a,b){a&1&&(K(0),C(1,q6a,1,13,"b-edit-field",1)(2,s6a,1,10,"b-list-field",2),L());a&2&&(a=b.ngIf,A(),E("ngIf",!a.isRepeated()),A(),E("ngIf",a.isRepeated()))},u6a=function(a){a&1&&(F(0,"div"),Q(1," Loading custom fields... "),H())},v6a=function(a){a&1&&(F(0,"div"),
Q(1),H());a&2&&(a=P(2),A(),R(" There are no custom fields in component ",a.selectedComponent.name,". "))},w6a=function(a,b){a&1&&(F(0,"mat-option",9),Q(1),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",a.name," "))},x6a=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",6)(2,"mat-label");Q(3,"Custom field");H();F(4,"mat-select",7);O("selectionChange",function(c){v(b);var d=P(2);return x(d.fieldSelected.emit(c.value))});C(5,w6a,2,2,"mat-option",8);H()()()}a&2&&(a=P(2),A(5),E("ngForOf",a.customFields))},
y6a=function(a){a&1&&(F(0,"div",4),C(1,u6a,2,0,"div",5)(2,v6a,2,1,"div",5)(3,x6a,6,1,"div",5),H());a&2&&(a=P(),A(),E("ngIf",a.customFields==null),A(),E("ngIf",a.customFields&&!a.customFields.length),A(),E("ngIf",a.customFields==null?null:a.customFields.length))},z6a=function(a){a&1&&dg(0)},A6a=function(){},B6a=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().value,A(),yg(a.textValue))},C6a=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",5),L());if(a&2){a=P().value;var b=P();A();E("date",b.toDate(a.dateValue))}},
D6a=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().value,A(),yg(a.enumValue))},E6a=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().value,A(),yg(a.numericValue))},F6a=function(a,b){a&1&&(K(0),Q(1),L());a&2&&(a=b.$implicit,b=b.last,A(),zg("",a,"",b?"":", ",""))},G6a=function(a){a&1&&(K(0),C(1,F6a,2,2,"ng-container",6),L());a&2&&(a=P().value,A(),E("ngForOf",a.repeatedTextValue.values))},H6a=function(a,b){a&1&&(K(0),J(1,"b-formatted-date-time",5),Q(2),L());if(a&2){a=b.$implicit;b=b.last;var c=P(3);A();E("date",
c.toDate(a));A();yg(b?"":", ")}},I6a=function(a){a&1&&(K(0),C(1,H6a,3,2,"ng-container",6),L());a&2&&(a=P().value,A(),E("ngForOf",a.repeatedDateValue.values))},J6a=function(a,b){a&1&&(K(0),Q(1),L());a&2&&(a=b.$implicit,b=b.last,A(),zg("",a,"",b?"":", ",""))},K6a=function(a){a&1&&(K(0),C(1,J6a,2,2,"ng-container",6),L());a&2&&(a=P().value,A(),E("ngForOf",a.repeatedEnumValue.values))},L6a=function(a,b){a&1&&(K(0),Q(1),L());a&2&&(a=b.$implicit,b=b.last,A(),zg("",a,"",b?"":", ",""))},M6a=function(a){a&
1&&(K(0),C(1,L6a,2,2,"ng-container",6),L());a&2&&(a=P().value,A(),E("ngForOf",a.repeatedNumericValue.values))},N6a=function(a,b){a&1&&C(0,B6a,2,1,"ng-container",4)(1,C6a,2,1,"ng-container",4)(2,D6a,2,1,"ng-container",4)(3,E6a,2,1,"ng-container",4)(4,G6a,2,1,"ng-container",4)(5,I6a,2,1,"ng-container",4)(6,K6a,2,1,"ng-container",4)(7,M6a,2,1,"ng-container",4);a&2&&(a=b.value,b=P(),E("ngIf",a.textValue!=null),A(),E("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),A(),E("ngIf",a.enumValue!=null),A(),E("ngIf",
a.numericValue!=null),A(),E("ngIf",a.repeatedTextValue!=null),A(),E("ngIf",a.repeatedDateValue!=null),A(),E("ngIf",a.repeatedEnumValue!=null),A(),E("ngIf",a.repeatedNumericValue!=null))},xq=function(a){var b;a=a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel;return a==="EXTERNAL_PARTNER"||a==="EXTERNAL_PUBLIC"},O6a=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?void 0:b.accessLevel)==="EXTERNAL_PARTNER"},yq=function(a){var b;return(a==null?void 0:(b=a.accessLimit)==null?
void 0:b.accessLevel)==="EXTERNAL_PUBLIC"},P6a=function(a,b){return a?a.join(" > "):String(b)},Q6a=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""}},R6a=function(a){a&1&&(F(0,"div")(1,
"p"),Q(2),H()());a&2&&(a=P(),A(2),zg(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},S6a=function(a,b){a&1&&(F(0,"li"),Q(1),H());a&2&&(a=b.$implicit,A(),zg(" ",a.issueId," - ",a.title," "))},T6a=function(a){a&1&&(F(0,"div")(1,"p"),Q(2),H(),F(3,"ul"),C(4,S6a,2,2,"li",9),H()());a&2&&(a=P(),A(2),R(" You do not have permissions to mark ",a.protectedIssues.length," issues. These will not be flagged as spam. "),A(2),E("ngForOf",
a.protectedIssues))},U6a=function(a){if(a&1){var b=u();F(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");Q(3);H();F(4,"input",5);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.numericEstimatedEffort,c)||(d.numericEstimatedEffort=c);return x(c)});O("keypress",function(c){v(b);var d=P();return x(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});H()()()}a&2&&(a=P(),A(3),R(" ",a.effortSpecName," "),A(),Ag("ngModel",a.numericEstimatedEffort))},V6a=function(a){if(a&1){var b=u();F(0,
"div",6)(1,"label");Q(2);H();F(3,"onedev-single-select",7);Cg("valueChange",function(c){v(b);var d=P();Bg(d.currentEnumLabel,c)||(d.currentEnumLabel=c);return x(c)});H()()}a&2&&(a=P(),A(2),R(" ",a.effortSpecName," "),A(),Ag("value",a.currentEnumLabel),E("includeEmptyOption",!0)("options",a.allowedLabels))},$6a=function(a,b){if(a&1){var c=u();F(0,"div",21,4);O("click",function(){var e=v(c).$implicit,f=P(2);W6a(f,e)||zq(f,e);return x()});F(2,"mat-pseudo-checkbox",22);O("click",function(e){var f=v(c).$implicit,
h=P(2);e.stopPropagation();return x(X6a(h,f))});H();F(3,"span");Q(4);H()()}if(a&2){a=b.$implicit;b=b.index;var d=P(2);Vf("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");Wf("focused",b===d.focusedRowIndex);lg("title",a.name);Nf("id","hotlist-item-"+a.hotlistId)("aria-checked",Y6a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",W6a(d,a));A(2);E("state",Z6a(d.selectedHotlistMap[a.hotlistId]))("disabled",W6a(d,a));A(2);R(" ",a.name," ")}},a7a=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&
(a=P(2),A(),R(" (",a.filterText,")"))},b7a=function(a){if(a&1){var b=u();F(0,"div",23,5);O("click",function(){v(b);var c=P(2);return x(c.loadHotlist())})("keydown.enter",function(){v(b);var c=P(2);return x(c.loadHotlist())});Q(2,"Load hotlist from id ");F(3,"span");Q(4);H()()}a&2&&(a=P(2),Wf("focused",a.focusedRowIndex===a.choices.length+1),Nf("aria-label","Load hotlist from"+a.filterText),A(4),R("(",a.filterText,")"))},d7a=function(a){if(a&1){var b=u();F(0,"div",24,6);O("click",function(){v(b);var c=
P(2);return x(c7a(c))})("keydown.enter",function(){v(b);var c=P(2);return x(c7a(c))});Q(2,"Apply");H()}a&2&&(a=P(2),Wf("focused",a.focusedRowIndex===a.choices.length+2))},e7a=function(a){if(a&1){var b=u();F(0,"div",11)(1,"div",15,2);C(3,$6a,5,11,"div",16);H()();J(4,"mat-divider");F(5,"div",17,3);O("click",function(){v(b);var c=P();return x(c.createHotlist())})("keydown.enter",function(){v(b);var c=P();return x(c.createHotlist())});Q(7,"Create new hotlist ");C(8,a7a,2,1,"span",18);H();C(9,b7a,5,4,
"div",19)(10,d7a,3,2,"div",20)}a&2&&(a=P(),A(3),E("ngForOf",a.choices),A(2),Wf("focused",a.focusedRowIndex===a.choices.length),E("disabled",!a.canCreate),Nf("aria-label","Create new hotlist"+a.filterText),A(3),E("ngIf",!!a.filterText),A(),E("ngIf",a.canLoad),A(),E("ngIf",a.pendingChanges))},Aq=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},Bq=function(a,b){for(var c in a)if(c.toLowerCase()===
b.toLowerCase())return a[c]},f7a=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},h7a=function(a){a=tc(a);for(var b=0;b<g7a.length;++b){var c=g7a[b],d=Bq(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,f7a(a,c))}return a},i7a=function(a){a=tc(a);f7a(a,"X-Goog-Upload-Status");return a},k7a=function(a){if(a&1){var b=u();F(0,"button",3);O("fileSelected",function(c){v(b);var d=P();return x(j7a(d,c))});J(1,"mat-icon",4);H()}a&2&&(a=P(),E("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",
!0)("disabled",a.disabled))},l7a=function(a){if(a&1){var b=u();F(0,"button",5);O("fileSelected",function(c){v(b);var d=P();return x(j7a(d,c))});J(1,"mat-icon",4);Q(2," Add attachments ");H()}a&2&&(a=P(),E("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},m7a=function(a){a&1&&(F(0,"span"),Q(1),T(2,"humanFileSize"),T(3,"humanFileSize"),H());if(a&2){var b;a=P().$implicit;A();zg(" ",U(2,2,a.transferredBytes)," of ",U(3,4,(b=a.size)!==null&&b!==void 0?
b:0)," ")}},n7a=function(a){a&1&&(F(0,"span",11),Q(1),H());a&2&&(a=P().$implicit,A(),R(" ",a.errorMessage," "))},o7a=function(a){a&1&&(F(0,"span",11),Q(1),T(2,"humanFileSize"),H());if(a&2){var b;a=P().$implicit;A();R(" ",U(2,1,(b=a.size)!==null&&b!==void 0?b:0)," ")}},q7a=function(a,b){if(a&1){var c=u();F(0,"div",3)(1,"div",4);J(2,"mat-icon",5);F(3,"span",6);Q(4);H();F(5,"span",7);C(6,m7a,4,6,"span",8)(7,n7a,2,1,"span",9)(8,o7a,3,3,"span",9);H()();F(9,"button",10);O("click",function(){var d=v(c).$implicit,
e=P(2);return x(e.cancel(d))});H()()}a&2&&(a=b.$implicit,b=P(2),E("ngClass",Hg(8,p7a,a.state===b.uploadStates.ERROR)),A(3),E("matTooltip",a.name),A(),yg(a.name),A(2),E("ngIf",a.state===b.uploadStates.UPLOADING),A(),E("ngIf",a.state===b.uploadStates.ERROR),A(),E("ngIf",a.state===b.uploadStates.COMPLETE),A(),E("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),Nf("aria-label","Remove attachment"+a.name))},r7a=function(a){a&1&&(F(0,"div",1),C(1,q7a,10,10,"div",2),H());
a&2&&(a=P(),A(),E("ngForOf",a.uploads))},s7a=function(a){this.action=a;this.wfv=!1},t7a=function(a,b){s7a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},u7a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},w7a=function(a,b){var c=b&&b.getWindow()||window;if(u7a(b))a();else if(v7a)v7a.push(a);else var d=v7a=[a],e=c.setInterval(function(){if(u7a(b)){c.clearInterval(e);for(var f=0;f<d.length;f++)d[f]();v7a=null}},100)},y7a=function(a,b){var c=new Cq(a);Dq(b,c);var d=
{passive:!1};b.listen(c,"mousewheel",function(e){return void x7a(a,e)},d).listen(a,"scroll",function(e){return void x7a(a,e)},d)},x7a=function(a,b){var c;a:{for(c=b.target;c;){if(c.nodeType==1){var d=Eq(c,"overflowY");if(d=="auto"||d=="scroll")break a}c=c.parentNode}c=null}if(!c||!z7a(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()},A7a=function(a){if(a&1){var b=u();F(0,"div",
1);J(1,"mat-icon",2);F(2,"div",3);Q(3," Comment and vote +1 on this issue to increase visibility ");H();F(4,"div",4)(5,"button",5);O("click",function(c){v(b);var d=P();return x(d.onClick(c))});Q(6,"Comment and vote +1");H()()()}a&2&&(A(),E("matTooltip","The +1 button is located in the top right corner of the issue details page"))},B7a=function(a){if(a&1){var b=u();K(0);F(1,"b-plus-one-comment-callout",8);O("onSubmitComment",function(c){v(b);P().onSubmit.emit(c);return x()});H();L()}a&2&&(a=P(),A(),
E("isPlusOneText",a.comment.value.trim()==="+1"))},C7a=function(a){if(a&1){var b=u();F(0,"b-drive-attachment",13);O("onPickDoc",function(c){v(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 x()})("onCloneBlob",function(c){v(b);var d=P(2);return x(d.addUpload(c))});H()}a&2&&(a=P(2),E("disabled",a.attachmentsDisabled))},D7a=function(a){if(a&1){var b=u();K(0);F(1,"button",
16);O("click",function(){v(b);var c=P(3);return x(c.onRestrict.emit())});J(2,"mat-icon",17);H();L()}a&2&&(a=P(3),A(),E("disabled",a.attachmentsDisabled))},E7a=function(a){if(a&1){var b=u();F(0,"button",18);O("click",function(){v(b);var c=P(3);return x(c.onRestrict.emit())});J(1,"mat-icon",17);Q(2);H()}a&2&&(a=P(3),A(2),R(" ",a.getRestrictedLabel()," "))},F7a=function(a){a&1&&(F(0,"div",14),C(1,D7a,3,1,"ng-container",15)(2,E7a,3,1,"ng-template",null,1,Mg),H());if(a&2){a=M(3);var b=P(2);A();E("ngIf",
!b.isRestricted())("ngIfElse",a)}},G7a=function(a){if(a&1){var b=u();F(0,"div",9);jg(1,2,[1,"goog-inline-block"]);F(2,"b-attachment-selector",10);O("onSelect",function(c){v(b);var d=P();return x(d.uploadFile(c))});H();C(3,C7a,1,1,"b-drive-attachment",11)(4,F7a,4,2,"div",12);H()}a&2&&(a=P(),A(2),E("disabled",a.attachmentsDisabled),A(),E("ngIf",!a.currentTracker),A(),E("ngIf",a.showRestrictionOptions))},H7a=function(a){a&1&&(F(0,"div"),J(1,"b-live-preview",19),H());a&2&&(a=P(),A(),E("comment",a.comment.value)("issueId",
a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},I7a=function(a){a&1&&(F(0,"li")(1,"a",1),Q(2),H(),J(3,"b-issue-visibility-chip",2),H());a&2&&(a=P().$implicit,A(),kg("href","issues/",a.issueId,"",cf),A(),R("b/",a.issueId,""),A(),E("issueId",a.issueId))},J7a=function(a,b){a&1&&C(0,I7a,4,4,"li");a&2&&$f(b.$implicit.type==="issue"?0:-1)},K7a=function(a){a&1&&(F(0,"ul"),bg(1,J7a,1,1,null,null,pla),H(),Q(3," within: "));a&2&&(a=P(2),A(),cg(a.externalWarnings))},L7a=function(a){a&
1&&(F(0,"li"),Q(1),J(2,"b-component-access-level-indicator",3),H());a&2&&(a=P().$implicit,A(),R(" ",a.path," "),A(),E("accessLevel",a.accessLevel))},M7a=function(a,b){a&1&&C(0,L7a,3,2,"li");a&2&&$f(b.$implicit.type==="component"?0:-1)},N7a=function(a){a&1&&(F(0,"div",0)(1,"div")(2,"strong"),Q(3,"You are editing issues in components that may have external viewers:"),H()(),C(4,K7a,4,0),F(5,"ul"),bg(6,M7a,1,1,null,null,pla),H()());a&2&&(a=P(),A(4),$f(a.enableNewVisibilityChips?4:-1),A(2),cg(a.externalWarnings))},
P7a=function(a,b){if(a&1){var c=u();F(0,"button",13);O("click",function(){var d=v(c).$implicit,e=P(3);return x(O7a(e.issueEditBuilder,d))});Q(1);H()}a&2&&(a=b.$implicit,b=P(3),E("disabled",b.issueEditBuilder.issueState==a),A(),R(" ",a.displayValue," "))},Q7a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");Q(2,"Multiple");H();F(3,"a",28);O("click",function(){v(b);var c=P(4);return x(c.issueEditBuilder.clearAssignee())});Q(4,"X");H()()}},R7a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");
Q(2,"Possibly multiple");H();F(3,"a",28);O("click",function(){v(b);var c=P(4);return x(c.issueEditBuilder.clearAssignee())});Q(4,"X");H()()}},T7a=function(a){if(a&1){var b=u();F(0,"div")(1,"input",29);Cg("ngModelChange",function(c){v(b);var d=P(4);Bg(d.issueEditBuilder.commonAssignee,c)||(d.issueEditBuilder.commonAssignee=c);return x(c)});O("ngModelChange",function(){v(b);var c=P(4);return x(S7a(c.issueEditBuilder))});H()()}a&2&&(a=P(4),A(),Ag("ngModel",a.issueEditBuilder.commonAssignee),E("bContactAutocomplete",
"SINGLE"),Nf("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},U7a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");Q(2);H();F(3,"a",30);O("click",function(){v(b);var c=P(4);return x(c.issueEditBuilder.clearVerifier())});Q(4,"X");H()()}a&2&&(a=P(4),Wf("bv2-invalid-multiple-user-chip",!Fq(a.issueEditBuilder)),A(2),R(" Multiple ",Fq(a.issueEditBuilder)?"":"(some unset)"," "))},V7a=function(a){if(a&1){var b=u();F(0,"div",27)(1,"span");Q(2);H();F(3,"a",30);O("click",function(){v(b);
var c=P(4);return x(c.issueEditBuilder.clearVerifier())});Q(4,"X");H()()}a&2&&(a=P(4),Wf("bv2-invalid-multiple-user-chip",!Fq(a.issueEditBuilder)),A(2),R(" Possibly multiple ",Fq(a.issueEditBuilder)?"":"(some unset)"," "))},W7a=function(a){if(a&1){var b=u();F(0,"div")(1,"input",31);Cg("ngModelChange",function(c){v(b);var d=P(4);Bg(d.issueEditBuilder.commonVerifier,c)||(d.issueEditBuilder.commonVerifier=c);return x(c)});H()()}a&2&&(a=P(4),A(),Ag("ngModel",a.issueEditBuilder.commonVerifier),E("required",
(a.issueEditBuilder.issueState==null?null:a.issueEditBuilder.issueState.status)=="VERIFIED")("bContactAutocomplete","SINGLE"),Nf("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},X7a=function(a){a&1&&(F(0,"div")(1,"div",21)(2,"label",22),Q(3," Assignee "),H(),F(4,"div",15),C(5,Q7a,5,0,"div",23)(6,R7a,5,0,"div",23)(7,T7a,2,3,"div",24),H()(),F(8,"div",21)(9,"label",25),Q(10," Verifier "),H(),F(11,"div",15),C(12,U7a,5,3,"div",26)(13,V7a,5,3,"div",26)(14,W7a,2,4,"div",24),H()()());a&2&&(a=
P(3),A(4),E("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),A(),E("ngSwitchCase","MULTIPLE"),A(),E("ngSwitchCase","POSSIBLY_MULTIPLE"),A(5),E("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),A(),E("ngSwitchCase","MULTIPLE"),A(),E("ngSwitchCase","POSSIBLY_MULTIPLE"))},Y7a=function(a){if(a&1){var b=u();F(0,"div",21)(1,"label",32);Q(2," Issue ID ");H();F(3,"input",33);O("ngModelChange",function(c){v(b);var d=P(3).issueEditBuilder;c=xFa(c);return x(d.commonDuplicateOf=c.length===1?c[0]:"")});
H()()}a&2&&(a=P(3),A(3),E("ngModel",a.issueEditBuilder.commonDuplicateOf),Nf("cdkFocusInitial",a.focus===a.FocusableField.DUPE_ID||null))},Z7a=function(a){if(a&1){var b=u();F(0,"div",10)(1,"button",11)(2,"span");Q(3);H();J(4,"b-icon",12);H();F(5,"mat-menu",null,2)(7,"button",13);O("click",function(){v(b);var d=P(2);return x(d.issueEditBuilder.issueState=void 0)});Q(8,"No change ");H();C(9,P7a,2,2,"button",14);H();F(10,"div",15);C(11,X7a,15,6,"div",16)(12,Y7a,4,2,"div",17);H();F(13,"div")(14,"b-comment-box",
18);O("onSubmit",function(){v(b);var d;(d=P(2).matDialogRef)==null||d.close(!0);return x()});H()();J(15,"div",19)(16,"b-external-warnings",20);H()}if(a&2){a=M(6);var c=P(2);A();E("matMenuTriggerFor",a);A(2);yg(c.issueEditBuilder.issueState?c.issueEditBuilder.issueState.displayValue:"No change");A(4);E("disabled",!c.issueEditBuilder.issueState);A(2);E("ngForOf",c.issueStates);A();E("ngSwitch",!c.issueEditBuilder.issueState||c.issueEditBuilder.issueState.status!=="DUPLICATE");A();E("ngSwitchCase",!0);
A(3);E("comment",c.comment)("showToolbar",!1);A(2);E("externalWarnings",c.externalWarnings)}},$7a=function(a){if(a&1){var b=u();F(0,"div",34)(1,"b-recaptcha",35);O("onUpdate",function(c){v(b);var d=P(2);return x(d.issueEditBuilder.recaptchaResponse=c)});H()()}},b8a=function(a){a&1&&(F(0,"form",null,1)(2,"h1",3),Q(3,"Change issue status"),H(),F(4,"div",4)(5,"span"),Q(6,"Enter updated issue status information below"),H(),C(7,Z7a,17,9,"div",5),H(),C(8,$7a,2,0,"div",6),F(9,"div",7)(10,"button",8),Q(11,
" Cancel "),H(),F(12,"button",9),Q(13," Save "),H()()());if(a&2){var b=M(1);a=P();A(7);E("ngIf",a.issueEditBuilder);A();E("ngIf",a.issueEditBuilder&&a.enableRecaptcha);A(2);E("mat-dialog-close",!1);A(2);var c=E("mat-dialog-close",!0);if(!(b=b.invalid))a:{if(a.issueEditBuilder!=null){b=a8a(a.issueEditBuilder);var d=b.get("status");if(d==="DUPLICATE"){b=!b.get("duplicateOfIssueId");break a}if(d==="VERIFIED"){b=!Fq(a.issueEditBuilder)&&!b.get("verifier");break a}}b=!1}c("disabled",b||!(!a.enableRecaptcha||
a.issueEditBuilder.recaptchaResponse!==""))}},d8a=function(a){if(a&1){var b=u();F(0,"b-app-bar-bulk-edit-menus",6);T(1,"async");O("onBulkEdit",function(d){v(b);var e=P();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){v(b);var e=P();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){v(b);var e=P();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){v(b);var d=P();return x(d.bulkMarkIssueRead())});H()}if(a&2){var c;a=P();E("readStatePrompt",c8a(a))("enableBulkEstimatedEffortOption",
(c=U(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)}},h8a=function(a){if(a&1){var b=u();F(0,"b-copy-issue-id-button",7);O("onClickCopyIssueIds",function(){v(b);var c=P();return x(e8a(c.copyIssueIdService,Gq(c)))})("onClickCopyIssueShortLinks",function(){v(b);var c=P();return x(f8a(c.copyIssueIdService,Gq(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=P();return x(g8a(c.copyIssueIdService,Gq(c)))});H()}a&2&&(a=P(),E("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",
a.activeSession.isInternalSession()))},i8a=function(a){if(a&1){var b=u();F(0,"div",8)(1,"b-hotlist-picker",9);O("onApply",function(c){v(b);var d=P();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=P();return x(d.onCreateHotlist.emit(c))})("onLoad",function(c){v(b);var d=P();return x(d.onLoadHotlist.emit(c))});H()()}a&2&&(a=P(),A(),E("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},k8a=function(a){if(a&1){var b=u();F(0,"b-comment-box",16);Cg("commentChange",
function(c){v(b);var d=P(2);Bg(d.comment,c)||(d.comment=c);return x(c)});O("onSubmit",function(){v(b);var c=P(2);return x(j8a(c))});H()}a&2&&(a=P(2),Ag("comment",a.comment),E("showToolbar",!1))},l8a=function(a){if(a&1){var b=u();F(0,"div",17)(1,"b-recaptcha",18);O("onUpdate",function(c){v(b);var d=P(2);return x(d.recaptchaResponse=c)});H()()}},m8a=function(a){a&1&&(F(0,"h1",10),Q(1,"Add comment"),H(),F(2,"mat-dialog-content"),C(3,k8a,1,2,"b-comment-box",11),J(4,"b-external-warnings",12),H(),C(5,l8a,
2,0,"div",13),F(6,"mat-dialog-actions")(7,"button",14),Q(8," Cancel "),H(),F(9,"button",15),Q(10," Save "),H()());a&2&&(a=P(),A(3),E("ngIf",a.comment),A(),E("externalWarnings",a.externalWarnings),A(),E("ngIf",a.enableRecaptcha),A(2),E("mat-dialog-close",!1),A(2),E("disabled",a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",!0))},Iq=function(a){for(var b=l(n8a),c=b.next();!c.done;c=b.next())if(c=c.value,c.accessLevel===a)return c.title;return Hq.title},o8a=function(a){a&1&&J(0,"mat-icon",
10);a&2&&(a=P(),E("matTooltip",a.disabledDropdownTooltip))},p8a=function(a,b){if(a&1){var c=u();F(0,"button",11);O("click",function(){var d=v(c).$implicit,e=P();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return x()});F(1,"div",12);J(2,"mat-icon",13);F(3,"span",14);Q(4);H()();F(5,"div",15);Q(6);H()()}a&2&&(a=b.$implicit,b=P(),A(2),E("svgIcon",a.icon),A(2),R(" ",a.title," "),A(2),R(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess,
" "))},q8a=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},r8a=function(a){a&1&&(F(0,"span"),Q(1,"Edit"),H())},s8a=function(a){a&1&&(F(0,"span"),Q(1,"Cancel"),H())},y8a=function(a){if(a&1){var b=u();K(0);F(1,"td")(2,"div")(3,"div",17);Q(4);H();F(5,"div",18)(6,"a",
19);Q(7);H()()()();F(8,"td",10)(9,"mat-radio-button",20);O("change",function(d){v(b);var e=P(2);return x(t8a(e,d.value))});H()();F(10,"td",10)(11,"b-button",21);O("onAction",function(){v(b);var d=P().$implicit,e=P();return x(u8a(e,d))});C(12,r8a,2,0,"span",15)(13,s8a,2,0,"span",15);H()();F(14,"td",10)(15,"b-button",22);O("onAction",function(){v(b);var d=P().$implicit,e=P();return x(v8a(e,d))});Q(16," Delete ");H()();L()}if(a&2){a=P().$implicit;var c=P();A(3);Wf("selected",Jq(c,a));A();R(" ",a.name,
" ");A(2);E("href",w8a(c,a),cf);Nf("aria-label",a.name+"- Click to create a new issue");A();R(" ",w8a(c,a)," ");A(2);kg("id","template-default-radio-",a.index,"");E("checked",c.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);A(2);E("bAriaLabel",Jq(c,a)?"Cancel editing "+a.name:"Edit "+a.name);A();E("ngIf",!Jq(c,a));A();E("ngIf",Jq(c,a));A(2);E("bAriaLabel","Delete "+a.name)("disabled",!x8a(c,a))}},z8a=function(a){a&1&&(F(0,"h2",76),Q(1," Create Template "),
H())},A8a=function(a){a&1&&(F(0,"h2",76),Q(1),H());a&2&&(a=P(2).$implicit,A(),zg(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?"(changed)":""," "))},B8a=function(a){if(a&1){var b=u();K(0);F(1,"div",26)(2,"b-slide-toggle",77);O("modelChange",function(){v(b);var c=P(2).$implicit.editableTemplate;c.inheritable=!c.inheritable;c.dirty=!0;return x()});H();F(3,"span",27)(4,"label",78);Q(5,"Inherited by all child components");H();J(6,"mat-icon",79);H()();L()}a&2&&(a=P(2).$implicit,A(2),E("model",
a.editableTemplate.inheritable))},C8a=function(a,b){a&1&&(F(0,"mat-option",86),Q(1),H());a&2&&(a=b.$implicit,lg("value",a),A(),R(" ",a," "))},D8a=function(a){if(a&1){var b=u();F(0,"div",80)(1,"div",27)(2,"label",81);Q(3,"Collaborator Groups");H();J(4,"mat-icon",82);H();F(5,"mat-form-field",83)(6,"mat-select",84);Cg("ngModelChange",function(d){v(b);var e=P(2).$implicit;Bg(e.editableTemplate.collaboratorGroups,d)||(e.editableTemplate.collaboratorGroups=d);return x(d)});O("ngModelChange",function(){v(b);
P(2).$implicit.editableTemplate.dirty=!0;return x()});F(7,"mat-select-trigger");Q(8);H();C(9,C8a,2,2,"mat-option",85);H()()()}if(a&2){a=P(2).$implicit;var c=P();A(4);lg("matTooltip",c.COLLABORATOR_GROUPS_TOOLTIP);A(2);Ag("ngModel",a.editableTemplate.collaboratorGroups);A(2);R(" ",a.editableTemplate.getCollaboratorGroupsString()," ");A();E("ngForOf",c.trackerCollaboratorGroups)}},F8a=function(a,b){if(a&1){var c=u();F(0,"button",87);O("click",function(){var e=v(c).$implicit,f=P(2).$implicit,h=P();f.issueType=
e.value;return x(E8a(h))});Q(1);H()}if(a&2){var d;a=b.$implicit;b=P(2).$implicit;E("disabled",b.issueType===a.value)("matTooltip",(d=a.altText)!==null&&d!==void 0?d:"");A();R(" ",a.displayText," ")}},G8a=function(a,b){if(a&1){var c=u();F(0,"button",88);O("click",function(){var d=v(c).$implicit,e=P(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return x()});Q(1);H()}a&2&&(a=b.$implicit,b=P(2).$implicit,E("disabled",b.editableTemplate.priority===a.value),A(),R(" ",a.displayText,
" "))},H8a=function(a,b){if(a&1){var c=u();F(0,"button",88);O("click",function(){var d=v(c).$implicit,e=P(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return x()});Q(1);H()}a&2&&(a=b.$implicit,b=P(2).$implicit,E("disabled",b.editableTemplate.severity===a.value),A(),R(" ",a.displayText," "))},I8a=function(a,b){if(a&1){var c=u();F(0,"div",89)(1,"b-hotlist-chip",90);O("removeHotlist",function(){var d=v(c).$implicit,e=P(3);return x(e.removeHotlist(d.hotlistId))});H()()}a&
2&&(a=b.$implicit,A(),E("hotlist",a))},J8a=function(a){a&1&&(F(0,"h3"),Q(1,"Custom issue fields"),H())},K8a=function(a){if(a&1){var b=u();F(0,"input",98);Cg("ngModelChange",function(d){v(b);var e=P().$implicit,f=P(2).$implicit;Bg(f.editableTemplate.customFieldValues[e.id].textValue,d)||(f.editableTemplate.customFieldValues[e.id].textValue=d);return x(d)});O("ngModelChange",function(){v(b);P(3).$implicit.editableTemplate.dirty=!0;return x()});H()}if(a&2){a=P().$implicit;var c=P(2).$implicit;Pf("id",
"template-cf-",a.id,"");Ag("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},L8a=function(a){if(a&1){var b=u();F(0,"input",99);Cg("ngModelChange",function(d){v(b);var e=P().$implicit,f=P(2).$implicit;Bg(f.editableTemplate.customFieldValues[e.id].numericValue,d)||(f.editableTemplate.customFieldValues[e.id].numericValue=d);return x(d)});O("ngModelChange",function(){v(b);P(3).$implicit.editableTemplate.dirty=!0;return x()});H()}if(a&2){a=P().$implicit;var c=P(2).$implicit;Pf("id","template-cf-",
a.id,"");Ag("ngModel",c.editableTemplate.customFieldValues[a.id].numericValue)}},N8a=function(a){if(a&1){var b=u();F(0,"b-edit-field",100);O("valueChange",function(h){v(b);var k=P().$implicit,q=P(2).$implicit,t=P();return x(t.setCustomField(q,k.id,h))});H()}if(a&2){var c,d;a=P().$implicit;var e=P(2).$implicit,f=P();Pf("id","template-cf-",a.id,"");E("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:Gg(7,M8a))}},O8a=function(a){if(a&1){var b=u();F(0,"bv2-input-date-picker",101);O("boundValueChange",function(e){v(b);var f=P().$implicit,h=P(2).$implicit,k=P();return x(h.editableTemplate.customFieldValues[f.id].dateValue=k.getDateValue(e))})("boundValueChange",function(){v(b);P(3).$implicit.editableTemplate.dirty=!0;return x()});H()}if(a&2){var c;a=P().$implicit;var d=P(2).$implicit;Pf("id","template-cf-",a.id,"");E("boundValue",
(c=d.editableTemplate.customFieldValues[a.id].dateValue)!==null&&c!==void 0?c:void 0)}},Q8a=function(a){if(a&1){var b=u();F(0,"b-list-field",102);O("valuesChange",function(e){v(b);var f=P().$implicit,h=P(2).$implicit,k=P();return x(k.setCustomField(h,f.id,e.values))});H()}if(a&2){a=P().$implicit;var c=P(2).$implicit,d=P();Pf("id","template-cf-",a.id,"");E("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",P8a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",
!0)}},R8a=function(a,b){a&1&&(F(0,"div")(1,"div",27)(2,"label",91),Q(3),H()(),F(4,"div",92),C(5,K8a,1,3,"input",93)(6,L8a,1,3,"input",94)(7,N8a,1,8,"b-edit-field",95)(8,O8a,1,3,"bv2-input-date-picker",96)(9,Q8a,1,7,"b-list-field",97),H()());a&2&&(a=b.$implicit,Zf("cell-",a.cellType,""),A(2),kg("for","template-cf-",a.id,""),A(),zg("",a.name," (id=",a.id,")"),A(),E("ngSwitch",a.type),A(),E("ngSwitchCase","TEXT"),A(),E("ngSwitchCase","NUMERIC"),A(),E("ngSwitchCase","ENUM"),A(),E("ngSwitchCase","DATE"))},
X8a=function(a){if(a&1){var b=u();F(0,"td",23)(1,"div",24);C(2,z8a,2,0,"h2",25)(3,A8a,2,2,"h2",25);F(4,"div",26)(5,"div",27)(6,"label",28);Q(7,"Template Name");H()();F(8,"input",29);Cg("ngModelChange",function(h){v(b);var k=P().$implicit;Bg(k.editableTemplate.name,h)||(k.editableTemplate.name=h);return x(h)});O("ngModelChange",function(){v(b);P().$implicit.editableTemplate.dirty=!0;return x()});H()();C(9,B8a,7,1,"ng-container",15);F(10,"div",26)(11,"div",27)(12,"label",30);Q(13,"Description of Template");
H()();F(14,"input",31);Cg("ngModelChange",function(h){v(b);var k=P().$implicit;Bg(k.editableTemplate.description,h)||(k.editableTemplate.description=h);return x(h)});O("ngModelChange",function(){v(b);P().$implicit.editableTemplate.dirty=!0;return x()});H()();F(15,"div",32)(16,"h3");Q(17," Standard issue fields ");H();F(18,"div",33)(19,"div",34)(20,"div",27)(21,"label",35);Q(22,"Issue Access Level");H()();F(23,"b-issue-access-limits-dropdown",36);O("updatedAccessLimitLevel",function(h){v(b);var k=
P().$implicit;return x(k.editableTemplate.onAccessLimitLevelSelected(h))});H()();C(24,D8a,10,4,"div",37);H();F(25,"div",26)(26,"div",27)(27,"label",38);Q(28,"Title");H()();F(29,"input",39);Cg("ngModelChange",function(h){v(b);var k=P().$implicit;Bg(k.editableTemplate.title,h)||(k.editableTemplate.title=h);return x(h)});O("ngModelChange",function(){v(b);P().$implicit.editableTemplate.dirty=!0;return x()});H()();F(30,"div",40)(31,"div",27)(32,"label",41);Q(33,"Type");H()();F(34,"button",42)(35,"span");
Q(36);H();J(37,"b-icon",43);H();F(38,"mat-menu",44,2);C(40,F8a,2,3,"button",45);H()();F(41,"div",40)(42,"div",27)(43,"label",46);Q(44,"Priority");H()();F(45,"button",47)(46,"span");Q(47);H();J(48,"b-icon",43);H();F(49,"mat-menu",44,3);C(51,G8a,2,2,"button",48);H()();F(52,"div",40)(53,"div",27)(54,"label",49);Q(55,"Severity");H()();F(56,"button",50)(57,"span");Q(58);H();J(59,"b-icon",43);H();F(60,"mat-menu",44,4);C(62,H8a,2,2,"button",48);H()();F(63,"div",51)(64,"div",27)(65,"label",52);Q(66,"Default Hotlists");
H()();F(67,"b-hotlist-picker",53);O("onApply",function(h){v(b);var k=P(2);return x(k.handleHotlistPickerSave(h))})("onCreate",function(h){v(b);var k=P(2);return x(k.createHotlist(h))})("onLoad",function(h){v(b);var k=P(2);return x(k.loadHotlist(h))});H();C(68,I8a,2,1,"div",54);H();J(69,"div",55);F(70,"div",56)(71,"div",27)(72,"label",57);Q(73,"Assignee");H()();F(74,"input",58);Cg("ngModelChange",function(h){v(b);var k=P().$implicit;Bg(k.editableTemplate.assignee,h)||(k.editableTemplate.assignee=h);
return x(h)});O("ngModelChange",function(){v(b);P().$implicit.editableTemplate.dirty=!0;return x()});H()();F(75,"div",56)(76,"div",27)(77,"label",59);Q(78,"Verifier");H()();F(79,"input",60);Cg("ngModelChange",function(h){v(b);var k=P().$implicit;Bg(k.editableTemplate.verifier,h)||(k.editableTemplate.verifier=h);return x(h)});O("ngModelChange",function(){v(b);P().$implicit.editableTemplate.dirty=!0;return x()});H()();F(80,"div",26)(81,"div",27)(82,"label",61);Q(83,"Collaborators");H();J(84,"mat-icon",
62);H();F(85,"input",63);O("ngModelChange",function(h){v(b);var k=P().$implicit;return x(S8a(k.editableTemplate,h))});H()();F(86,"div",26)(87,"div",27)(88,"label",64);Q(89,"CC");H()();F(90,"input",65);O("ngModelChange",function(h){v(b);var k=P().$implicit;return x(T8a(k.editableTemplate,h))});H()();F(91,"div",26)(92,"div",27)(93,"label",66);Q(94,"Initial Comment");H()();F(95,"textarea",67);Cg("ngModelChange",function(h){v(b);var k=P().$implicit;Bg(k.editableTemplate.comment,h)||(k.editableTemplate.comment=
h);return x(h)});O("ngModelChange",function(){v(b);P().$implicit.editableTemplate.dirty=!0;return x()});Q(96,"              ");H();F(97,"b-markdown-toggle",68);O("change",function(h){v(b);var k=P().$implicit;return x(k.editableTemplate.setFormattingMode(h))});H()();F(98,"div",26)(99,"div",27)(100,"label",69);Q(101,"In Prod");H()();F(102,"b-slide-toggle",70);O("modelChange",function(){v(b);var h=P().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return x()});H()()();F(103,"div",71);C(104,
J8a,2,0,"h3",15)(105,R8a,10,12,"div",72);H();F(106,"div",73)(107,"b-button",74);O("onAction",function(){v(b);var h=P(2);return x(U8a(h))});Q(108," Save ");H();F(109,"b-button",75);O("onAction",function(){v(b);var h=P(2);return x(V8a(h))});Q(110," Cancel ");H()()()()}if(a&2){a=M(39);var c=M(50),d=M(61),e=P().$implicit,f=P();A(2);E("ngIf",e.editableTemplate.new);A();E("ngIf",!e.editableTemplate.new);A(5);Ag("ngModel",e.editableTemplate.name);A();E("ngIf",f.enableTemplateInheritance);A(5);Ag("ngModel",
e.editableTemplate.description);A(9);E("disabled",!1)("defaultAccessLimitLevel",e.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",f.implicitAccessEnabled);A();E("ngIf",f.trackerCollaboratorGroups.length);A(5);Ag("ngModel",e.editableTemplate.title);A(5);E("matMenuTriggerFor",a);A(2);yg(W8a(e.issueType));A(2);E("overlapTrigger",!0);A(2);E("ngForOf",f.issueTypeChoices);A(5);E("matMenuTriggerFor",c);A(2);yg(e.editableTemplate.priority);A(2);E("overlapTrigger",!0);A(2);E("ngForOf",f.priorityChoices);
A(5);E("matMenuTriggerFor",d);A(2);yg(e.editableTemplate.severity);A(2);E("overlapTrigger",!0);A(2);E("ngForOf",f.severityChoices);A(5);E("selectedHotlistIds",f.selectedHotlistIds)("choices",f.hotlists);A();E("ngForOf",f.selectedHotlists);A(6);E("bContactAutocomplete","SINGLE");Ag("ngModel",e.editableTemplate.assignee);A(5);E("bContactAutocomplete","SINGLE");Ag("ngModel",e.editableTemplate.verifier);A(6);E("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.collaborators.join(", "));A(5);
E("bContactAutocomplete","MULTI")("ngModel",e.editableTemplate.cc.join(", "));A(5);Ag("ngModel",e.editableTemplate.comment);A(2);E("initialValue",e.editableTemplate.formattingMode);A(5);E("model",e.editableTemplate.inProd);A(2);E("ngIf",f.customFieldRows.length>0);A();E("ngForOf",f.customFieldRows);A(2);E("disabled",!e.editableTemplate.isDirty())}},Y8a=function(a,b){a&1&&(F(0,"tr"),C(1,y8a,17,16,"ng-container",15)(2,X8a,111,39,"td",16),H());a&2&&(a=b.$implicit,A(),E("ngIf",!a.editableTemplate),A(),
E("ngIf",!!a.editableTemplate))},Z8a=function(a){a&1&&(F(0,"tr")(1,"td",23)(2,"div",103)(3,"strong"),Q(4,"Templates inherited from parent components"),H()()()())},$8a=function(a){a&1&&(K(0),J(1,"b-component-card",109,6),L());if(a&2){a=M(2);var b=P().$implicit;A();E("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},a9a=function(a,b){if(a&1){var c=u();F(0,"tr")(1,"td")(2,"div")(3,"div",17);Q(4);H();F(5,"div",18)(6,"a",19);Q(7);H()()()();F(8,"td",10)(9,"mat-radio-button",20);
O("change",function(e){v(c);var f=P(2);return x(t8a(f,e.value))});H()();F(10,"td",104)(11,"div",105)(12,"div",106);Q(13,"Inherited From");H();F(14,"a",107);Q(15);H();F(16,"onedev-hovercard",null,5);C(18,$8a,3,2,"ng-container",108);H()()()()}if(a&2){a=b.$implicit;b=M(17);var d=P(2);A(3);Wf("selected",Jq(d,a));A();R(" ",a.name," ");A(2);E("href",w8a(d,a),cf);Nf("aria-label",a.name+"- Click to create a new issue");A();R(" ",w8a(d,a)," ");A(2);kg("id","template-default-radio-",a.index,"");E("checked",
d.defaultIndex===a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);A(5);E("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentTemplates.makeHref(a.componentId),cf);Nf("aria-label","Inherited from "+d.componentIdsToPaths[a.componentId]);A();R(" ",d.componentIdsToPaths[a.componentId]," ")}},b9a=function(a,b){a&1&&C(0,Z8a,5,0,"tr",15)(1,a9a,19,15,"tr",11);a&2&&(a=b.ngIf,E("ngIf",a.length),A(),E("ngForOf",a))},c9a=function(a,b){a&1&&(F(0,"div",110),Q(1),H(),F(2,
"div",111)(3,"button",112),Q(4," Cancel "),H(),F(5,"button",113),Q(6," Confirm "),H()());a&2&&(a=b.$implicit,A(),R(' Are you sure you want to delete the template "',a.name,'"? '),A(2),E("mat-dialog-close",!1),A(2),E("mat-dialog-close",!0))},d9a=function(a,b){a&1&&(F(0,"div",110),Q(1),H(),F(2,"div",111)(3,"button",114),Q(4," Cancel "),H(),F(5,"button",114),Q(6," Don't Save "),H(),F(7,"button",115),Q(8," Save "),H()());a&2&&(a=b.$implicit,A(),R(' Do you want to save changes to template "',a.name,'" before closing? '),
A(2),E("mat-dialog-close",void 0),A(2),E("mat-dialog-close",!1),A(2),E("mat-dialog-close",!0))},e9a=function(a){a&1&&(K(0),F(1,"div"),Q(2),H(),F(3,"div"),Q(4),H(),L());a&2&&(a=P(),A(2),R(" Policy: ",a.rawObjectiveDisplayText," (business) "),A(2),R("Effective: ",a.objectiveDisplayText," (calendar)"))},f9a=function(a){a&1&&(F(0,"div"),Q(1),H());a&2&&(a=P(),A(),R("Policy: ",a.rawObjectiveDisplayText," (calendar)"))},g9a=function(a){a&1&&(F(0,"div"),J(1,"b-slo-time-indicator",1),H());a&2&&(a=P(),A(),
E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},h9a=function(a){a&1&&(F(0,"div"),J(1,"b-slo-time-indicator",2),H());a&2&&(a=P(),A(),E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},i9a=function(a){a&1&&(F(0,"div"),J(1,"b-slo-time-indicator",3),H());a&2&&(a=P(),A(),E("sloStartTime",a.sloStartTime)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},
j9a=function(a){a&1&&(F(0,"div",8),J(1,"b-slo-status-summary",9),H());a&2&&(a=P(),A(),E("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric",a.onlyShowMetric))},k9a=function(a){a&1&&(K(0),Q(1," No applicable SLO rules "),L())},l9a=function(a){a&1&&(K(0),Q(1," No SLO set on issue component "),L())},m9a=function(a){a&1&&(F(0,"div",10),C(1,k9a,2,0,"ng-container",7)(2,l9a,2,0,"ng-container",7),H());a&2&&(a=P(),A(),E("ngIf",a.editSloLink),A(),E("ngIf",!a.editSloLink))},n9a=function(a){if(a&
1){var b=u();F(0,"a",12);O("click",function(){v(b);var c=P(2);return x(c.trackOpenSlo())});Q(1);H()}a&2&&(a=P(2),E("href",a.editSloLink,cf),A(),R(" ",a.sloName," "))},o9a=function(a){a&1&&(F(0,"span"),Q(1," (private) "),H())},p9a=function(a){a&1&&(F(0,"span"),Q(1," SLO definition: "),C(2,n9a,2,2,"a",11)(3,o9a,2,0,"span",7),H());a&2&&(a=P(),A(2),E("ngIf",a.sloName),A(),E("ngIf",!a.sloName))},s9a=function(a){if(a.type==="CUSTOM_FIELD")return new Kq({name:a.customFieldId?String(a.customFieldId):a.customFieldName||
"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:a.customFieldId!==void 0,tooltip:""});a=gi(a.type);a==="canonicalIssueId"&&(a="duplicateOfIssueId");return q9a.includes(a)?r9a(a):null},u9a=function(a){return t9a(a.map(s9a).filter(function(b){return!!b}))},v9a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:ii(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})},t9a=function(a){return Ni(a,function(b){return b.name})},r9a=function(a){var b={name:a,label:a.toUpperCase()},c=w9a[a];c?Object.assign(b,c):q9a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new Kq(b)},x9a=function(a,b){a&1&&J(0,"col");a&2&&Zf("",b.$implicit.name,"-col")},y9a=function(a){a&1&&dg(0)},A9a=function(a,b){a&1&&(K(0),
C(1,y9a,1,0,"ng-container",9),L());a&2&&(a=b.$implicit,b=P(),A(),E("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Hg(2,z9a,a)))},B9a=function(a){a&1&&dg(0)},D9a=function(a,b){a&1&&(K(0),C(1,B9a,1,0,"ng-container",9),L());if(a&2){a=b.$implicit;b=b.index;var c=P(),d=c.$implicit;c=c.index;var e=P().ngIf;A();E("ngTemplateOutlet",e[b])("ngTemplateOutletContext",Jg(2,C9a,d,a,c))}},E9a=function(a,b){if(a&1){var c=u();F(0,"tr",11,3);O("click",function(){var e=
v(c).index,f=P(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()})("focus",function(){var e=v(c).index,f=P(2);f.focusedRowIndex!==e&&(f.focusedRowIndex=e,f.focusedRowIndexChange.emit(e));return x()});C(2,D9a,2,6,"ng-container",7);H()}if(a&2){a=b.$implicit;b=b.index;var d=P(2);Wf("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",a.isClosed)("grid-focus",d.focusedRowIndex===b);Nf("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",
d.renderRowLabel(a,b)+(a.selected?", row starred":""));A(2);E("ngForOf",d.columns)}},F9a=function(a){a&1&&(K(0),C(1,E9a,3,12,"tr",10),L());a&2&&(a=P(),A(),E("ngForOf",a.list))},G9a=function(a,b){a&1&&(F(0,"th"),J(1,"pop-grid-default-th",12),H());a&2&&(a=b.column,A(),E("column",a))},H9a=function(a,b){a&1&&(F(0,"td"),J(1,"pop-grid-default-cell",13),H());a&2&&(a=b.row,b=b.column,A(),E("row",a)("column",b))},I9a=function(a){if(a&1){var b=u();F(0,"b-sortable-header",3);O("sortChanged",function(c){v(b);
var d=P();d.grid&&d.grid.sortChange.emit(c);return x()});H()}a&2&&(a=P(),E("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||""))},J9a=function(a){a&1&&(F(0,"span",6),Q(1),H());a&2&&(a=P(2),A(),R("column-",a.column.name,""))},K9a=function(a){a&1&&(F(0,"div",4),C(1,J9a,2,1,"span",5),Q(2),H());a&2&&(a=P(),Nf("aria-label",a.column.label),A(),E("ngIf",!a.column.label),
A(),R(" ",a.column.label," "))},L9a=function(a){if(a&1){var b=u();F(0,"div",14,3);O("menuOpened",function(){v(b);var d=P();return x(d.menuOpen=!0)})("menuClosed",function(){v(b);var d=P();return x(d.menuOpen=!1)})("keydown.enter",function(d){v(b);M(1).openMenu();d.preventDefault();return x(d.stopPropagation())})("keydown.space",function(){v(b);var d=M(1);return x(d.openMenu())});H()}if(a&2){a=P();var c=M(5);Wf("columnpicker-button-active",a.menuOpen);Pf("aria-label","",a.column.fullLabel," column configuration");
E("matMenuTriggerFor",c)}},O9a=function(a,b){if(a&1){var c=u();F(0,"button",15);O("click",function(){var d=v(c).$implicit,e=P();return x(M9a(e,d.name))});J(1,"b-icon",16);F(2,"span",17);Q(3);H()()}a&2&&(a=b.$implicit,b=P(),Wf("b-menu-item-checked",N9a(a.name).get(b.listViewPrefs)),A(3),R(" ",a.menuItem," "))},P9a=function(a){a&1&&J(0,"mat-divider")},Q9a=function(a){if(a&1){var b=u();F(0,"button",22);O("click",function(){v(b);var c=P().$implicit,d=P().before,e=P();return x(e.add(c,d))})("keydown.enter",
function(c){v(b);var d=P().$implicit,e=P().before;P().add(d,e);c.preventDefault();return x(c.stopPropagation())});Q(1);H()}a&2&&(a=P().$implicit,E("matTooltip",a.tooltip),A(),R(" ",a.fullLabel," "))},S9a=function(a){a&1&&(F(0,"button",12)(1,"span"),Q(2),H()());if(a&2){a=P().$implicit;var b=P().before;P();var c=M(18);E("matMenuTriggerFor",c)("matMenuTriggerData",Ig(3,R9a,a.columns,b));A(2);yg(a.label)}},T9a=function(a,b){a&1&&(K(0),C(1,Q9a,2,2,"button",20)(2,S9a,3,6,"button",21),L());a&2&&(a=b.$implicit,
b=P(2),A(),E("ngIf",b.isIssueGridColumn(a)),A(),E("ngIf",!b.isIssueGridColumn(a)))},V9a=function(a){if(a&1){var b=u();F(0,"button",18);O("click",function(){var c=v(b).before,d=P();return x(U9a(d,c))});Q(1," Custom Field ");H();J(2,"mat-divider");C(3,T9a,3,2,"ng-container",19)}a&2&&(a=P(),A(3),E("ngForOf",a.currentAvailableItems))},W9a=function(a,b){if(a&1){var c=u();F(0,"button",24);O("click",function(){var d=v(c).$implicit,e=P().before,f=P();return x(f.add(d,e))})("keydown.enter",function(d){var e=
v(c).$implicit,f=P().before;P().add(e,f);d.preventDefault();return x(d.stopPropagation())});Q(1);H()}a&2&&(a=b.$implicit,A(),R(" ",a.fullLabel," "))},X9a=function(a,b){a&1&&C(0,W9a,2,1,"button",23);a&2&&E("ngForOf",b.columns)},N9a=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("Ae`"+a);}},Y9a=function(a){a=
a.getIt();return{matchedPatterns:zi(a,1,Ai())}},Z9a=function(a){a&1&&(F(0,"p",12),Q(1),H());a&2&&(a=P(),A(),R(" * Status update must be less than ",a.CHAR_LIMIT," characters. "))},$9a=function(a){a&1&&(F(0,"p",13),Q(1),F(2,"a",14),Q(3," Learn more "),H()());a&2&&(a=P(),A(),R(" Your status update contains restricted words: ",Lq(a.bannedWordsChecker),". Review your status update before posting. "))},a$a=function(a){a&1&&(F(0,"div",15),J(1,"b-live-preview",16),H());a&2&&(a=P(),A(),E("comment",a.newStatusUpdate.updateText)("issueId",
a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},b$a=function(a){return!(!Yra(a.userPerformingAction)||!a.isMajorEvent)},f$a=function(a){var b=Mq(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new Nq:new c$a;if(b.startsWith("application/x-protobuf")){a=Mq(a,"Content-Transfer-Encoding");if(!a)return new d$a;if(a.toLowerCase()=="base64")return new e$a}return null},
g$a=function(a){return function(b){return Yj(b,Oq,1,Ai()).map(function(c){return{workspaceId:c.getWorkspaceId_asLegacyNumberOrString(),workspaceName:c.getName(),issueId:a}})}},h$a=function(a){a&1&&(K(0),Q(1," > "),L())},i$a=function(a,b){a&1&&(K(0),F(1,"a",7),Q(2),H(),C(3,h$a,2,0,"ng-container",3),L());a&2&&(a=b.$implicit,b=b.last,A(),Pf("aria-label","View recent issues in ",a.name,""),E("routerLinkObj",a.route),A(),yg(a.name),A(),E("ngIf",!b))},j$a=function(a){a&1&&(F(0,"span"),Q(1," [Archived]"),
H())},k$a=function(a){a&1&&(F(0,"div",5),C(1,i$a,4,5,"ng-container",6),T(2,"async"),C(3,j$a,2,0,"span",3),T(4,"async"),H());a&2&&(a=P(),A(),E("ngForOf",U(2,2,a.componentPath$)),A(2),E("ngIf",U(4,4,a.isArchived$)))},l$a=function(a,b){a&1&&(K(0),F(1,"div",8),J(2,"mat-icon",9),F(3,"div",10),Q(4),H()(),F(5,"div",11)(6,"span",10),Q(7),H(),J(8,"b-component-access-level-indicator",12),H(),F(9,"p",10),Q(10),H(),L());a&2&&(a=b.$implicit,A(4),yg(a.name),A(3),R("Component ID: ",a.componentId,""),A(),E("accessLevel",
a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0),A(2),yg(a.description))},m$a=function(a,b){a&1&&(F(0,"div",13)(1,"a",14),Q(2,"View recent open issues"),H(),F(3,"a",15),Q(4,"View component settings"),H(),F(5,"a",16),Q(6,"Create issue in this component"),H()());a&2&&(a=b.$implicit,A(),E("routerLinkObj",a.recentIssues),A(2),E("routerLinkObj",a.componentSettings),A(2),E("routerLinkObj",a.createIssue))},n$a=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),R("(",
a.disabledReason,")"))},o$a=function(a,b){a&1&&(F(0,"mat-radio-button",8),Q(1),C(2,n$a,2,1,"span",9),H());a&2&&(a=b.$implicit,E("value",a)("disabled",!a.enabled),A(),R(" ",a.displayText," "),A(),E("ngIf",!a.enabled))},p$a=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),R("(",a.disabledReason,")"))},q$a=function(a,b){a&1&&(F(0,"mat-radio-button",8),Q(1),C(2,p$a,2,1,"span",9),H());a&2&&(a=b.$implicit,E("value",a)("disabled",!a.enabled),A(),R(" ",a.displayText," "),A(),E("ngIf",!a.enabled))},
r$a=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},s$a=function(a){return"share-email-confirmation-"+a},t$a=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("Ie`"+a);}},u$a=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(),A(),R("Retain ",a.resource," as long as issue?"))},
v$a=function(a){a&1&&(F(0,"span"),Q(1,"Apply component retention settings?"),H())},w$a=function(a){a&1&&(F(0,"span")(1,"p"),Q(2),H(),F(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."),H(),J(6,"br"),Q(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),H()());a&2&&(a=P(),A(2),R("Are you sure you want to override any component retention settings, and retain this ",
a.resource," as long as issue?"))},x$a=function(a){a&1&&(F(0,"span")(1,"p"),Q(2),H()());a&2&&(a=P(),A(2),zg("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."))},y$a=function(a){if(a&1){var b=u();F(0,"mat-checkbox",9);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.acknowledgeToMatchIssueRetention,c)||(d.acknowledgeToMatchIssueRetention=c);return x(c)});Q(1," I acknowledge ");
H()}a&2&&(a=P(),Ag("ngModel",a.acknowledgeToMatchIssueRetention))},z$a=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.maxDelayMs_=512E3;this.random_=a;this.reset()},Qq=function(a){return new Pq((a instanceof Pq?a:new Pq(a)).value,!0)},A$a=function(a){if(a.oauthTokens){var b=a.oauthTokens;return se(b).then(function(c){c=new rn(c);b.subscribe(c);return new Rq(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new Sq(a.apiKey,a.appAuthTokens)):Promise.resolve(new Tq(a.apiKey,a.authUser)):
Promise.reject(Error("Te"))},B$a=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}},C$a=function(a){return{send:function(b,c,d,e,f,h,k){var q=new Wq(a);q.listen("complete",c);q.listenOnce("ready",function(){q.dispose()});h&&(q.timeoutInterval_=Math.max(0,h));k&&(q.withCredentials_=k);q.send(b,d,e,f);return q}}},
D$a=function(a){return new ce(function(b){var c=Xq(function(){b.next({});b.complete()},a);return function(){Yq(c)}})},E$a=function(a){var b=new Zq;b.setName(a);return b},G$a=function(a){a.isPrivate?(a=new $q,Xj(a,2,F$a,Bb(!0))):(a=new $q,Xj(a,1,F$a,Bb(!0)));return a},I$a=function(a){var b=new ar;a=l(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new br;if(d.value instanceof cr)d.isDecreasing?Xj(c,4,dr,Hb(d.value.toString())):Xj(c,2,dr,Hb(d.value.toString()));else if(typeof d.value===
"string")d.isDecreasing?Cj(c,3,dr,d.value):Cj(c,1,dr,d.value);else if(typeof d.value==="number")d.isDecreasing?Xj(c,9,dr,yb(d.value)):Xj(c,10,dr,yb(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?Xj(c,5,dr,kb(d.value,!1,!0,!1)):Xj(c,7,dr,kb(d.value,!1,!0,!1));else if(d.value instanceof er)if(d.isDecreasing){var e=c;d=H$a(d.value);gk(e,11,dr,d)}else e=c,d=H$a(d.value),gk(e,12,dr,d);else d.value instanceof fr&&(e=d.value.rep,typeof e==="number"?d.isDecreasing?Xj(c,9,dr,yb(e)):Xj(c,10,
dr,yb(e)):typeof e==="string"&&(d.isDecreasing?Xj(c,6,dr,e==null?e:Rca(e)):Xj(c,8,dr,e==null?e:Rca(e))));gr(b,1,br,c)}return b},M$a=function(a,b){if(a instanceof hr)return Yj(b,br,1,Ai()).length>0?null:J$a.apply(hr,r(a.parts));a=Array.of.apply(Array,r(a.root.parts));b=l(Yj(b,br,1,Ai()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,xj(c,dr)){case 4:a.push(Qq(ir(zl(c,zj(c,dr,4)))));break;case 2:a.push(new Pq(ir(zl(c,zj(c,dr,2)))));break;case 6:a.push(Qq(new fr(K$a(c,6))));break;case 8:a.push(new Pq(new fr(K$a(c,
8))));break;case 10:a.push(new Pq(new fr(jr(c,zj(c,dr,10)))));break;case 9:a.push(Qq(new fr(jr(c,zj(c,dr,9)))));break;case 3:a.push(Qq(Yn(c,3,dr)));break;case 1:a.push(new Pq(Yn(c,1,dr)));break;case 7:var d=void 0;a.push(new Pq((d=kr(c,zj(c,dr,7)))==null?void 0:new Uint8Array(Rh(d)||0)));break;case 5:d=void 0;a.push(Qq((d=kr(c,zj(c,dr,5)))==null?void 0:new Uint8Array(Rh(d)||0)));break;case 12:c=L$a(bk(c,mj,12,dr));if(c===null)return null;a.push(new Pq(c));break;case 11:c=L$a(bk(c,mj,11,dr));if(c===
null)return null;a.push(Qq(c));break;case 0:return null;default:return null}return J$a.apply(hr,r(a))},lr=function(a){return{firstPartyUri:new qp("https://"+a+"-signaler-pa.clients6.google.com"),thirdPartyUri:new qp("https://"+a+"-signaler-pa.googleapis.com")}},N$a=function(a){a&1&&(F(0,"p",12),Q(1),F(2,"a",13),Q(3," Learn more "),H()());a&2&&(a=P(),A(),R(" Your comment contains restricted words: ",Lq(a.bannedWordsChecker),". Review your comment before posting. "))},O$a=function(a){a&1&&J(0,"b-live-preview",
14);a&2&&(a=P(),E("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},P$a=function(a){if(a&1){var b=u();F(0,"section")(1,"div",15)(2,"b-recaptcha",16);O("onUpdate",function(c){v(b);var d=P();return x(d.recaptchaResponse=c)});H()()()}},Q$a=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]}}},
R$a=function(a){var b=[],c=new Map;a=l(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(r(e.relations),r(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},S$a=function(a,b){a&1&&J(0,"mat-icon",12);a&2&&(a=b.ngIf,E("svgIcon",a.icon)("matTooltip",a.tooltip),Nf("aria-label",a.tooltip))},T$a=function(a){a&1&&(K(0),Q(1,"\u2026 >"),L())},U$a=function(a){a&1&&(K(0),Q(1,"\u2026"),L())},V$a=function(a){if(a&
1){var b=u();F(0,"a",18);O("click",function(){v(b);var c=P(4);return x(c.compactMode$.next(!1))});C(1,T$a,2,0,"ng-container",9)(2,U$a,2,0,"ng-container",9);H()}a&2&&(a=P().$implicit,A(),E("ngIf",a.isSpliced),A(),E("ngIf",a.isTruncated))},W$a=function(a){a&1&&(F(0,"a",19),Q(1),H());if(a&2){a=P().$implicit;var b=M(7);Wf("muted",a.name==a.id);E("routerLinkObj",a.route)("onedevHovercardTrigger",b);A();yg(a.name)}},X$a=function(a){a&1&&(F(0,"span",20),Q(1),H());a&2&&(a=P().$implicit,Wf("muted",a.name==
a.id),A(),yg(a.name))},Y$a=function(a){a&1&&(K(0),Q(1," > "),L())},Z$a=function(a){a&1&&(K(0),J(1,"b-component-path-card",21,3),L());if(a&2){a=M(2);var b=P().$implicit;A();E("onedevIsHovercardReady",a.init)("componentId",b.id)}},$$a=function(a,b){a&1&&(K(0),C(1,V$a,3,2,"a",15)(2,W$a,2,5,"a",16)(3,X$a,2,3,"ng-template",null,1,Mg)(5,Y$a,2,0,"ng-container",9),F(6,"onedev-hovercard",null,2),C(8,Z$a,3,2,"ng-container",17),H(),L());if(a&2){a=b.$implicit;b=b.last;var c=M(4),d=P(3);A();E("ngIf",a.isSpliced||
a.isTruncated);A();E("ngIf",!d.viewOnly)("ngIfElse",c);A(3);E("ngIf",!b)}},aab=function(a,b){a&1&&(F(0,"span",13),C(1,$$a,9,4,"ng-container",14),H());a&2&&(a=b.$implicit,A(),E("ngForOf",a))},bab=function(a){a&1&&(F(0,"span"),Q(1,"[Archived]"),H())},cab=function(a){if(a&1){var b=u();F(0,"button",22);O("click",function(){v(b);P(2).editing=!0;return x()});J(1,"mat-icon",23);H()}},dab=function(a){a&1&&(F(0,"a",24),T(1,"async"),J(2,"mat-icon",25),H());if(a&2){var b;a=P(2);E("routerLinkObj",a.popoutLink((b=
U(1,1,a.component$))==null?null:b.componentId))}},eab=function(a){a&1&&(F(0,"b-async-data-placeholder",5),T(1,"async"),F(2,"div",6),T(3,"async"),T(4,"async"),C(5,S$a,1,3,"mat-icon",7),T(6,"async"),C(7,aab,2,1,"span",8),T(8,"async"),C(9,bab,2,0,"span",9),T(10,"async"),C(11,cab,2,0,"button",10)(12,dab,3,3,"a",11),H()());a&2&&(a=P(),E("isReady",U(1,10,a.isReady$)),A(2),Wf("public",U(3,12,a.showPublicIndicator$))("partner",U(4,14,a.showPartnerIndicator$)),A(3),E("ngIf",U(6,16,a.folder$)),A(2),E("ngIf",
U(8,18,a.componentPath$)),A(2),E("ngIf",U(10,20,a.isArchived$)),A(2),E("ngIf",!a.viewOnly),A(),E("ngIf",a.popoutLink))},gab=function(a){if(a&1){var b=u();F(0,"b-team-component-picker",26);T(1,"async");O("selectedComponentChange",function(c){v(b);var d=P();d.editing=!1;c&&fab(d.issueEditComponentService,d.issueId,c);return x()})("dropdownClosed",function(){v(b);P().editing=!1;return x()});H()}a&2&&(a=P(),E("selectedComponent",U(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},iab=function(a,
b){if(a&1){var c=u();K(0);F(1,"mat-checkbox",21);O("click",function(d){v(c);return x(d.stopPropagation())})("change",function(d){var e=v(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 k;hab(f,(k=f.updatedAccessLimitLevel$.getValue())!=null?k:f.defaultAccessLimitLevel);
return x()});Q(2);H();L()}a&2&&(a=b.$implicit,A(),E("id",a.key)("name",a.key)("checked",a.value.specifiedOnIssue),A(),R(" ",a.key," "))},jab=function(a){a&1&&(K(0),F(1,"div")(2,"span",18),Q(3,"Add collaborator groups"),H(),J(4,"mat-icon",8),H(),F(5,"div",19),C(6,iab,3,4,"ng-container",20),T(7,"keyvalue"),H(),L());a&2&&(a=P(),A(4),lg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP),A(2),E("ngForOf",U(7,2,a.collaboratorGroupsEmailToDetailsMap)))},lab=function(a){if(a&1){var b=u();K(0);F(1,"button",22);O("click",
function(){v(b);var c=P();return x(c.onPressCancel())});Q(2," Cancel ");H();F(3,"button",23);T(4,"async");O("click",function(){v(b);var c=P();return x(c.onPressSave())});Q(5," Save ");H();L()}a&2&&(a=P(),A(3),E("disabled",!kab(a,U(4,1,a.hasAccessLimitLevelSelectionChanged$))))},mab=function(a){if(a&1){var b=u();F(0,"button",24);O("click",function(){v(b);var c=P();return x(c.onPressCancel())});Q(1," Close ");H()}},nab=function(a){a&1&&dg(0)},pab=function(a){a&1&&(K(0),C(1,nab,1,0,"ng-container",8),
L());a&2&&(a=P(),A(),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Hg(2,oab,a.value)))},qab=function(a){a&1&&Q(0);a&2&&(a=P(),yg(a.value!=null?a.value:"--"))},rab=function(a){a&1&&(Fd(),F(0,"svg",9),J(1,"path",10),H())},sab=function(a){if(a&1){var b=u();F(0,"input",11);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.editingValue,c)||(d.editingValue=c);return x(c)});H()}a&2&&(a=P(),Ag("ngModel",a.editingValue))},tab=function(a){return a!=null?Number(a):void 0},uab=function(a){a&
1&&J(0,"mat-icon",15);a&2&&(P(),a=M(5),E("onedevHovercardTrigger",a))},vab=function(a){if(a&1){var b=u();K(0);F(1,"onedev-numeric-field",16);O("valueChange",function(d){v(b);var e=P(2);e.selectedNumericEstimate=d;d==null?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return x()});H();L()}if(a&2){a=P(2);var c=M(2);A();E("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},wab=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().$implicit,
A(),R(" ",a.label," "))},xab=function(a){a&1&&Q(0," -- ")},yab=function(a,b){a&1&&C(0,wab,2,1,"ng-container",18)(1,xab,1,0,"ng-template",null,3,Mg);a&2&&(a=b.$implicit,b=M(2),E("ngIf",a)("ngIfElse",b))},Aab=function(a){if(a&1){var b=u();K(0);F(1,"onedev-single-select",17);O("valueChange",function(e){v(b);var f=P(2);return x(f.selectOption(e))});H();C(2,yab,3,2,"ng-template",null,2,Mg);L()}if(a&2){var c;a=M(3);var d=P(2);A();E("value",d.selectedOption)("options",(c=d.effortSpec.enumSpec==null?null:
d.effortSpec.enumSpec.options)!==null&&c!==void 0?c:Gg(6,zab))("includeEmptyOption",!0)("optionTemplate",a)("disabled",d.disabled)("displayArrowIcon",!d.disabled)}},Bab=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P(2),A(),R(" ",a.effort==null?null:a.effort.estimate," "))},Cab=function(a){a&1&&(F(0,"onedev-edit-field")(1,"onedev-field-label",6),Q(2),C(3,uab,1,1,"mat-icon",7),H(),F(4,"onedev-hovercard",null,1)(6,"div",8)(7,"div",9),Q(8," This estimate was made under a different configuration and needs to be updated. "),
F(9,"a",10),Q(10,"Learn more"),H()()()(),F(11,"onedev-field-value",11),K(12,12),C(13,vab,2,4,"ng-container",13)(14,Aab,4,7,"ng-container",13)(15,Bab,2,1,"ng-container",14),L(),H()());a&2&&(a=P(),A(),E("thinking",a.thinking),A(),R(" ",a.fieldName," "),A(),E("ngIf",!a.isCompatibleValue),A(8),E("thinking",a.thinking),A(),E("ngSwitch",a.fieldType),A(),E("ngSwitchCase","NUMERIC"),A(),E("ngSwitchCase","DROPDOWN"))},Dab=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P(2),A(),R(" ",a.effort==null?null:a.effort.estimate,
" "))},Eab=function(a){a&1&&Q(0);a&2&&(a=P().$implicit,R(" ",a!=null?a:"--"," "))},Fab=function(a,b){a&1&&C(0,Dab,2,1,"ng-container",18)(1,Eab,1,1,"ng-template",null,4,Mg);if(a&2){a=b.$implicit;b=M(2);var c=P();E("ngIf",c.isNaN(a))("ngIfElse",b)}},Gab=function(a){a&1&&J(0,"mat-icon",16)},Hab=function(a){a&1&&J(0,"mat-icon",17)},Iab=function(a){a&1&&J(0,"mat-icon",18)},Jab=function(a){a&1&&(F(0,"span"),J(1,"b-formatted-date-time",25),H());a&2&&(a=P(2),A(),E("timestamp",a.sloStartTime))},Kab=function(a){a&
1&&(F(0,"span"),J(1,"b-formatted-date-time",25),F(2,"span"),Q(3," (default)"),H()());a&2&&(a=P(2),A(),E("timestamp",a.issueCreationTimestamp/1E3))},Lab=function(a){if(a&1){var b=u();F(0,"slo-edit-date-time-picker",26);O("closePicker",function(){v(b);var c=P(2);return x(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){v(b);var d=P(2);return x(d.updateSloStartTime(c))});H()}a&2&&(a=P(2),E("sloStatus",a.sloStatus)("sloEditTime",a.sloStartTime))},Mab=function(a){if(a&1){var b=u();F(0,
"div",19)(1,"a",20);Q(2," Start Date: ");H();F(3,"div",21)(4,"a",22,0);O("keydown.enter",function(){v(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()})("keydown.space",function(){v(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()})("click",function(){v(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return x()});C(6,Jab,2,1,"span",23)(7,Kab,4,1,"span",23);H();C(8,Lab,1,2,"ng-template",24);H()()}if(a&
2){a=M(5);var c=P();A(6);E("ngIf",c.hasSloStartTime);A();E("ngIf",!c.hasSloStartTime);A();E("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloStartEditTimePickerOpen)}},Nab=function(a){a&1&&(F(0,"span"),Q(1," Set closure SLO "),H())},Oab=function(a){a&1&&(F(0,"span"),J(1,"b-formatted-date-time",25),H());a&2&&(a=P(2),A(),E("timestamp",a.sloEndTime))},Pab=function(a){a&1&&(F(0,"span"),J(1,"b-formatted-date-time",25),F(2,"span"),Q(3," (default)"),H()());a&2&&(a=P(2),A(),E("timestamp",a.closureSloTarget*
1E3))},Qab=function(a){if(a&1){var b=u();F(0,"slo-edit-date-time-picker",26);O("closePicker",function(){v(b);var c=P(2);return x(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){v(b);var d=P(2);return x(d.updateSloEndTime(c))});H()}a&2&&(a=P(2),E("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},Rab=function(a){if(a&1){var b=u();F(0,"div",27)(1,"a",20);Q(2," End Date: ");H();F(3,"div",21)(4,"a",28,0);O("click",function(){v(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;
return x()})("keydown.enter",function(){v(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()})("keydown.space",function(){v(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return x()});C(6,Nab,2,0,"span",23)(7,Oab,2,1,"span",23)(8,Pab,4,1,"span",23);H();C(9,Qab,1,2,"ng-template",24);H()()}if(a&2){a=M(5);var c=P();A(6);E("ngIf",!c.hasClosureSlo);A();E("ngIf",c.hasClosureSlo&&c.hasSloEndTime);A();E("ngIf",c.hasClosureSlo&&!c.hasSloEndTime);A();
E("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",c.isSloEndEditTimePickerOpen)}},Sab=function(a,b){if(a&1){var c=u();F(0,"a",31);O("click",function(){v(c);var d=P(2);return x(d.trackOpenSlo())});Q(1);H()}a&2&&(a=b.ngIf,b=P(2),Nf("href",b.editSloLink,cf),A(),R(" ",a.name," "))},Uab=function(a){a&1&&(F(0,"div",29),Q(1," SLO definition: "),C(2,Sab,2,2,"a",30),T(3,"async"),H());a&2&&(a=P(),A(2),E("ngIf",U(3,1,a.slo$)))},Vab=function(a){if(a&1){var b=u();F(0,"div",29)(1,"a",32);O("click",function(){v(b);
P();Jn("component","open","fromIssueSloBox");return x()});Q(2,"Select an SLO");H()()}a&2&&(a=P(),A(),Nf("href",a.componentSloLink,cf))},Wab=function(a){return a&&a.teamId!=="0"?a.deleted?"DELETED":"VALID":"MISSING"},Xab=function(a){a&1&&dg(0)},Yab=function(a){if(a&1){var b=u();F(0,"div",7);Q(1," Select a team from the suggestions below, or edit in ");F(2,"a",8);O("click",function(){v(b);var d=P();return x(d.trackClick("viewTeamAssociationOnComponent"))});Q(3,"component settings");H();Q(4,". ");F(5,
"mat-radio-group",9);Cg("ngModelChange",function(d){v(b);var e=P();Bg(e.teamAction,d)||(e.teamAction=d);return x(d)});F(6,"p")(7,"mat-radio-button",10);Q(8," Don't make any changes ");H()();F(9,"p")(10,"mat-radio-button",11);Q(11," Map component to selected team ");H()()();C(12,Xab,1,0,"ng-container",12);H()}if(a&2){a=P();var c=M(5);A(2);E("href",a.componentSetting,cf);A(3);Ag("ngModel",a.teamAction);A(7);E("ngTemplateOutlet",c)}},Zab=function(a){a&1&&dg(0)},$ab=function(a){a&1&&(F(0,"div",7),Q(1,
" Assigned team no longer exists, select a different team from the suggestions below, or edit/opt out of team mapping in "),F(2,"a",13),Q(3,"component settings"),H(),Q(4,". "),C(5,Zab,1,0,"ng-container",12),H());if(a&2){a=P();var b=M(5);A(2);E("href",a.componentSetting,cf);A(3);E("ngTemplateOutlet",b)}},abb=function(a){a&1&&(K(0),F(1,"span",20),Q(2),H(),L());a&2&&(a=P().$implicit,A(2),yg(a.teamPath))},bbb=function(a){a&1&&Q(0," -- ")},cbb=function(a,b){a&1&&C(0,abb,3,1,"ng-container",19)(1,bbb,1,
0,"ng-template",null,2,Mg);a&2&&(a=b.$implicit,b=M(2),E("ngIf",a)("ngIfElse",b))},dbb=function(a){if(a&1){var b=u();F(0,"div",15)(1,"onedev-single-select",16);Cg("valueChange",function(d){v(b);var e=P(2);Bg(e.selectedTeam,d)||(e.selectedTeam=d);return x(d)});O("valueChange",function(d){v(b);var e=P(2);return x(e.selectOption(d))});H();C(2,cbb,3,2,"ng-template",null,1,Mg);F(4,"a",17);O("click",function(){v(b);var d=P(2);return x(d.trackClick("viewTeamInMoma"))});J(5,"mat-icon",18);H()()}if(a&2){a=
M(3);var c=P(2);A();E("disabled",c.teamAction==="NONE");Ag("value",c.selectedTeam);E("options",c.teamOptions)("includeEmptyOption",!1)("optionTemplate",a);A(3);Nf("href",c.getMomaTeamLink(),cf)}},ebb=function(a){a&1&&C(0,dbb,6,6,"div",14);a&2&&(a=P(),E("ngIf",a.teamOptions.length>0))},fbb=function(a){if(a&1){var b=u();F(0,"b-callout-actions")(1,"b-button",2);O("click",function(){v(b);var c=P();return x(c.openDialog())});Q(2);H()()}a&2&&(a=P(),A(2),yg(a.buttonName))},gbb=function(a){switch(a){case "P0":return mr.CHANGE_ISSUE_PRIORITY_TO_P0;
case "P1":return mr.CHANGE_ISSUE_PRIORITY_TO_P1;case "P2":return mr.CHANGE_ISSUE_PRIORITY_TO_P2;case "P3":return mr.CHANGE_ISSUE_PRIORITY_TO_P3;case "P4":return mr.CHANGE_ISSUE_PRIORITY_TO_P4;case "PRIORITY_UNSPECIFIED":break;default:console.error("Unsupported issue priority in issuePriorityToHotkey")}},hbb=function(a){switch(a){case "NEW":return mr.CHANGE_ISSUE_STATUS_TO_NEW;case "ASSIGNED":return mr.CHANGE_ISSUE_STATUS_TO_ASSIGNED;case "ACCEPTED":return mr.CHANGE_ISSUE_STATUS_TO_ACCEPTED;case "FIXED":return mr.CHANGE_ISSUE_STATUS_TO_FIXED;
case "VERIFIED":return mr.CHANGE_ISSUE_STATUS_TO_VERIFIED;case "NOT_REPRODUCIBLE":return mr.CHANGE_ISSUE_STATUS_TO_NOT_REPRODUCIBLE;case "INTENDED_BEHAVIOR":return mr.CHANGE_ISSUE_STATUS_TO_INTENDED_BEHAVIOR;case "OBSOLETE":return mr.CHANGE_ISSUE_STATUS_TO_OBSOLETE;case "INFEASIBLE":return mr.CHANGE_ISSUE_STATUS_TO_INFEASIBLE;case "DUPLICATE":return mr.CHANGE_ISSUE_STATUS_TO_DUPLICATE;case "STATUS_UNSPECIFIED":break;default:console.error("Unsupported issue status in issueStatusToHotkey")}},ibb=function(a){a&
1&&(F(0,"span"),Q(1),H());a&2&&(a=P(3),A(),R(" ",a.removeSelfActionDescription," "))},jbb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(3),A(),R(" ",a.includeSelfActionDescription," "))},kbb=function(a){if(a&1){var b=u();F(0,"div",11);O("click",function(){v(b);var c=P(2);return x(c.userInclusionToggle.emit())})("keydown.enter",function(c){v(b);P(2).userInclusionToggle.emit();c.stopPropagation();c.preventDefault();return x()})("keydown.space",function(c){v(b);P(2).userInclusionToggle.emit();c.stopPropagation();
c.preventDefault();return x()});C(1,ibb,2,1,"span",12)(2,jbb,2,1,"span",12);H()}a&2&&(a=P(2),Wf("disabled",!!a.isSaving),E("matTooltip",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),Nf("aria-disabled",!!a.isSaving)("aria-label",a.isCurrentUserInCollection?a.removeSelfActionLongDescription:a.includeSelfActionLongDescription),A(),E("ngIf",a.isCurrentUserInCollection),A(),E("ngIf",!a.isCurrentUserInCollection&&a.isAllowedToEditCollection))},lbb=function(a){a&
1&&(F(0,"div",9),C(1,kbb,3,7,"div",10),H());a&2&&(a=P(),A(),E("ngIf",a.isCurrentUserInCollection||!a.isCurrentUserInCollection&&a.isAllowedToEditCollection))},mbb=function(a){a&1&&dg(0,9)},nbb=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)})},
obb=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},pbb=function(a){a&1&&dg(0)},qbb=function(a){a&1&&(K(0),C(1,pbb,1,0,"ng-container",48),L());a&2&&(P(),a=M(92),A(),E("ngTemplateOutlet",a))},sbb=function(a,b){a&1&&(J(0,"b-list-field",50),T(1,"async"));a&2&&(a=b.ngIf,b=P(3),E("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Hg(8,rbb,a))("showInternalOnlyFieldBadge",!U(1,6,b.issueIsOnInternalComponent$)))},tbb=function(a){a&1&&(K(0),
C(1,sbb,2,10,"b-list-field",49),T(2,"async"),L());a&2&&(a=P(2),A(),E("ngIf",U(2,1,a.teamHovercardInputs$)))},vbb=function(a){if(a&1){var b=u();F(0,"div",52)(1,"b-team-warning",53);T(2,"async");T(3,"async");O("updateTeam",function(){v(b);var h=P(3);h.issueFridge.poke(h.issueId);return x()});H()()}if(a&2){var c,d;a=P().ngIf;var e=P().ngIf,f=P();A();E("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:Gg(8,ubb))}},wbb=function(a){a&1&&(K(0),C(1,vbb,4,9,"div",51),T(2,"async"),L());a&2&&(a=P(2),A(),E("ngIf",U(2,1,a.shouldDisplayTeamSuggestions$)))},xbb=function(a){a&1&&dg(0)},ybb=function(a){a&1&&(K(0),C(1,xbb,1,0,"ng-container",48),L());a&2&&(P(),a=M(94),A(),E("ngTemplateOutlet",a))},zbb=function(a,b){if(a&1){var c=u();F(0,"div",55);J(1,"div",56);F(2,"span",57);T(3,"async");T(4,"async");O("click",function(){var d=v(c).ngIf,e=P(3);return x(nr(e,d))})("keydown.enter",
function(d){var e=v(c).ngIf;nr(P(3),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",function(d){var e=v(c).ngIf;nr(P(3),e);d.stopPropagation();return x(d.preventDefault())});Q(5);H()()}a&2&&(a=b.ngIf,b=P(3),A(2),Wf("disabled",!!U(3,6,b.isSaving$("status"))),E("matTooltip",a.description||""),Nf("aria-disabled",!!U(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),A(3),R(" ",a.displayText," "))},Abb=function(a){a&1&&(K(0),C(1,zbb,6,10,"div",54),T(2,"async"),L());a&
2&&(a=P(2),A(),E("ngIf",U(2,1,a.issueStatusQuickAction$)))},Bbb=function(a){a&1&&(F(0,"div",58),J(1,"b-edit-field",59,15),T(3,"async"),F(4,"div",55),J(5,"div",56),F(6,"a",60),T(7,"async"),Q(8," Open triage "),H()()());a&2&&(a=P(2),A(),E("name","phase")("title","Triage phase")("type",a.FieldType.ENUM)("value",U(3,8,a.triagePhase$))("choices",a.phaseChoices)("showHotkeyHint",!1)("disabled",!0),A(5),E("href",U(7,10,a.triagePhaseUrl$),cf))},Cbb=function(a){a&1&&(J(0,"b-issue-card",61,16),T(2,"async"));
if(a&2){a=M(1);var b=P(2);E("onedevIsHovercardReady",a.init)("issueId",U(2,2,b.canonicalIssueId$))}},Ebb=function(a){if(a&1){var b=u();F(0,"b-estimated-effort-row",62);T(1,"async");T(2,"async");T(3,"async");O("effortChange",function(e){v(b);var f=P(2);return x(Dbb(f.editIssueService,f.issueId,e))});H()}if(a&2){var c,d;a=P(2);E("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$))}},Fbb=function(a){a&
1&&(F(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. "),F(2,"a",67),Q(3,"Learn more"),H()());a&2&&(a=P(3),A(2),E("href",Ep(a.documentationLinks)+"#expanded-access",cf))},Gbb=function(a){a&1&&(F(0,"div",63)(1,"span",64),Q(2,"Expanded Access"),H(),F(3,"xap-bubble",65)(4,"xap-icon-trigger"),J(5,"mat-icon",66),H(),C(6,Fbb,4,1,"ng-template",null,17,Mg),H()());a&2&&(a=M(7),A(3),
E("panelTemplate",a))},Hbb=function(a){a&1&&(F(0,"span",71),T(1,"async"),Q(2),H());if(a&2){a=P().ngIf;var b=P(3);Wf("disabled",!!U(1,3,b.isSaving$("assignee")));A(2);R(" ",a.displayText," ")}},Ibb=function(a,b){if(a&1){var c=u();F(0,"div",69);T(1,"async");O("onHotkey",function(){var d=v(c).ngIf,e=P(3);return x(nr(e,d))})("click",function(){var d=v(c).ngIf,e=P(3);return x(nr(e,d))})("keydown.enter",function(d){var e=v(c).ngIf;nr(P(3),e);d.stopPropagation();return x(d.preventDefault())})("keydown.space",
function(d){var e=v(c).ngIf;nr(P(3),e);d.stopPropagation();return x(d.preventDefault())});J(2,"div",56);C(3,Hbb,3,5,"span",70);T(4,"async");H()}a&2&&(a=b.ngIf,b=P(3),E("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),Nf("aria-disabled",!!U(1,5,b.isSaving$("assignee")))("aria-label",a.description),A(3),E("ngIf",U(4,7,b.hasAclToEdit$)))},Jbb=function(a){a&1&&(K(0),C(1,Ibb,5,9,"div",68),T(2,"async"),L());a&2&&(a=P(2),A(),E("ngIf",U(2,1,a.issueAssigneeQuickAction$)))},
Kbb=function(a){a&1&&dg(0)},Lbb=function(a){a&1&&(K(0),C(1,Kbb,1,0,"ng-container",48),L());a&2&&(P(),a=M(96),A(),E("ngTemplateOutlet",a))},Mbb=function(a){a&1&&J(0,"b-list-field",72);if(a&2){a=P().ngIf;var b=P(2);E("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Nbb=function(a,b){a&1&&(K(0),C(1,Mbb,1,6,"b-list-field",44),T(2,"async"),L());a&2&&(a=b.ngIf,b=P(2),A(),E("ngIf",
U(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Obb=function(a){a&1&&J(0,"b-list-field",72);if(a&2){a=P().ngIf;var b=P();E("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},Qbb=function(a,b){a&1&&(F(0,"div"),dg(1,73),H());a&2&&(a=b.$implicit,P(),b=M(108),A(),E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,Pbb,a)))},Rbb=function(a){a&1&&dg(0)},Sbb=function(a){a&
1&&(K(0),C(1,Rbb,1,0,"ng-container",48),L());a&2&&(P(),a=M(106),A(),E("ngTemplateOutlet",a))},Tbb=function(a){a&1&&J(0,"hr",74)},Ubb=function(a){a&1&&dg(0)},Vbb=function(a){a&1&&(K(0),C(1,Ubb,1,0,"ng-container",48),L());a&2&&(P(2),a=M(92),A(),E("ngTemplateOutlet",a))},Wbb=function(a){a&1&&dg(0)},Xbb=function(a){a&1&&(K(0),C(1,Wbb,1,0,"ng-container",48),L());a&2&&(P(2),a=M(94),A(),E("ngTemplateOutlet",a))},Ybb=function(a){a&1&&dg(0)},Zbb=function(a){a&1&&(K(0),C(1,Ybb,1,0,"ng-container",48),L());a&
2&&(P(2),a=M(96),A(),E("ngTemplateOutlet",a))},$bb=function(a,b){a&1&&(F(0,"div"),dg(1,73),H());a&2&&(a=b.$implicit,P(2),b=M(108),A(),E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,Pbb,a)))},acb=function(a){a&1&&dg(0)},bcb=function(a){a&1&&(K(0),C(1,acb,1,0,"ng-container",48),L());a&2&&(P(2),a=M(106),A(),E("ngTemplateOutlet",a))},ccb=function(a){a&1&&(F(0,"collapsible-panel",75),T(1,"async"),C(2,Vbb,2,1,"ng-container",18),T(3,"async"),C(4,Xbb,2,1,"ng-container",18),T(5,"async"),C(6,Zbb,2,
1,"ng-container",18),T(7,"async"),C(8,$bb,2,4,"div",45),T(9,"async"),C(10,bcb,2,1,"ng-container",18),T(11,"async"),H());if(a&2){var b;a=P(2);E("titleWhenCollapsed",(b=U(1,8,a.showHiddenFieldsLabel$))!==null&&b!==void 0?b:"")("titleWhenExpanded","Hide additional fields");A(2);E("ngIf",a.showSloStatus&&!U(3,10,a.isSloStatusPrimary$));A(2);E("ngIf",!U(5,12,a.isSeverityPrimary$));A(2);E("ngIf",a.showCodeChanges&&!U(7,14,a.isChangelistPrimary$));A(2);E("ngForOf",U(9,16,a.hiddenCustomFields$))("ngForTrackBy",
a.trackCustomField);A(2);E("ngIf",!U(11,18,a.isForgottenFourPrimary$))}},dcb=function(a){if(a&1){var b=u();F(0,"b-issue-slo-box",77);T(1,"async");T(2,"async");T(3,"async");T(4,"async");T(5,"async");O("onSloStartTimeChange",function(h){v(b);var k=P(3);return x(k.editIssueService.updateSloStartTime(k.issueId,h.date))})("onSloEndTimeChange",function(h){v(b);var k=P(3);return x(k.editIssueService.updateSloEndTime(k.issueId,h.date))});H()}if(a&2){var c,d,e;a=P(2).ngIf;var f=P();E("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$))}},ecb=function(a){a&1&&C(0,dcb,6,18,"ng-template",76);a&2&&(a=P(2),E("refreshable",a.refreshMonitor.getObservable()))},gcb=
function(a){if(a&1){var b=u();F(0,"b-edit-field",78);T(1,"async");T(2,"async");O("valueChange",function(d){v(b);var e=P(2);return x(fcb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});H()}if(a&2){a=P().ngIf;var c=P();E("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")))}},
hcb=function(a){if(a&1){var b=u();F(0,"insights-graph-btn",82);O("pressed",function(){v(b);var c=P(3);return x(c.issueInsightsSidebarService.onClickButton("deployments"))});H()}},lcb=function(a){if(a&1){var b=u();F(0,"b-list-field",79);T(1,"async");T(2,"async");O("valuesChange",function(h){v(b);var k=P(2),q=[],t=[];h=l(h.values);for(var w=h.next();!w.done;w=h.next()){w=w.value;var y=Hi(w);y?q.push(y):t.push(w)}icb(k.editIssueService,k.issueId,t);jcb(k.editIssueService,k.issueId,q);return x()});F(3,
"div",80);C(4,hcb,1,0,"insights-graph-btn",81);T(5,"async");H()();J(6,"b-list-field",72);T(7,"async");T(8,"async");T(9,"async")}if(a&2){var c,d,e;a=P().ngIf;var f=P();E("readonly",!U(1,16,f.hasAclToEdit$))("defaultLineCount",3)("title","Code Changes")("inputValidator",f.codeChangesValidator)("type",f.ListFieldType.CODE_CHANGES)("values",kcb(a,f.sessionIsExternal))("listFieldDisabled",!!U(2,18,f.isSaving$("changelists")));A(4);E("ngIf",U(5,20,f.issueInsightsSidebarService.shouldShowInsightsGraphButton$));
A(2);Wf("bv2-issue-metadata-error",(c=U(7,22,f.pendingCodeChanges$))==null?null:c.hasError);E("readonly",!0)("defaultLineCount",3)("title","Pending Code Changes")("type",f.ListFieldType.CODE_CHANGES)("values",((d=U(8,24,f.pendingCodeChanges$))==null?null:d.changes)||Gg(28,ubb))("tooltip",((e=U(9,26,f.pendingCodeChanges$))==null?0:e.hasError)?"Error fetching pending changelists":"Pending code changes (auto-populated)")}},ncb=function(a){if(a&1){var b=u();F(0,"b-edit-field",83);T(1,"csv");T(2,"async");
T(3,"async");O("valueChange",function(d){v(b);var e=P(2);return x(mcb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});H()}if(a&2){a=P().ngIf;var c=P();E("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")))}},pcb=function(a){if(a&1){var b=u();
F(0,"b-edit-field",84);T(1,"csv");T(2,"async");T(3,"async");O("valueChange",function(d){v(b);var e=P(2);return x(ocb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});H()}if(a&2){a=P().ngIf;var c=P();E("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")))}},rcb=function(a){if(a&1){var b=u();F(0,"b-edit-field",83);T(1,"csv");T(2,"async");T(3,"async");O("valueChange",function(d){v(b);var e=P(2);return x(qcb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:""))});H()}if(a&2){a=P().ngIf;var c=P();E("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")))}},tcb=function(a){if(a&1){var b=u();F(0,"b-edit-field",85);T(1,"async");T(2,"async");O("valueChange",function(d){v(b);var e=P(2);return x(scb(e.editIssueService,e.issueId,d!==null&&d!==void 0?d:!1))});H()}if(a&2){a=P().ngIf;var c=P();E("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")))}},ucb=function(a){a&1&&dg(0)},vcb=function(a){a&1&&dg(0)},wcb=function(a){a&1&&dg(0)},xcb=function(a){a&1&&dg(0)},ycb=function(a){a&1&&(F(0,"div",21),C(1,ucb,1,0,"ng-container",48)(2,vcb,1,0,"ng-container",48)(3,wcb,1,0,"ng-container",48)(4,xcb,1,0,"ng-container",48),H());if(a&2){P();a=M(98);var b=M(100),c=M(102),d=M(104);A();E("ngTemplateOutlet",a);A();E("ngTemplateOutlet",b);A();E("ngTemplateOutlet",c);A();E("ngTemplateOutlet",d)}},Acb=function(a,b){if(a&1){var c=u();F(0,
"b-custom-field-editor",86);T(1,"async");T(2,"async");O("save",function(e){var f=v(c).$implicit,h=P(2);return x(zcb(h.editIssueService,h.issueId,f.customFieldId,e))});H()}if(a&2){a=b.$implicit;b=P().ngIf;var d=P();E("issue",b)("field",a)("readonly",!U(1,4,d.hasAclToEdit$))("disabled",!!U(2,6,d.isSaving$(a.customFieldId)))}},Ncb=function(a,b){if(a&1){var c=u();K(0);C(1,qbb,2,1,"ng-container",18);T(2,"async");C(3,tbb,3,3,"ng-container",18)(4,wbb,3,3,"ng-container",18);T(5,"async");F(6,"b-single-user-control",
19);T(7,"async");O("valueChange",function(t){v(c);var w=P();return x(Bcb(w,t))})("emailChange",function(t){v(c);var w=P();return x(Ccb(w.editIssueService,w.issueId,t))});H();F(8,"b-edit-field",20,0);T(10,"async");T(11,"async");O("valueChange",function(t){v(c);var w=M(9),y=P();return x(Dcb(y,w,t!==null&&t!==void 0?t:"",y.getTrackerId()))});H();F(12,"div",21)(13,"b-edit-field",22,1);T(15,"async");T(16,"async");O("onHotkey",function(){v(c);var t=M(14);return x(up(t,null,!0,!1))})("valueChange",function(t){v(c);
var w=P();return x(Ecb(w.editIssueService,w.issueId,t!==null&&t!==void 0?t:""))});H();C(17,ybb,2,1,"ng-container",18);T(18,"async");H();F(19,"div",23)(20,"b-edit-field",24,2);T(22,"async");T(23,"async");T(24,"async");T(25,"async");O("onHotkey",function(){v(c);var t=M(21);return x(up(t,null,!0,!1))})("valueChange",function(t){v(c);var w=P();return x(Fcb(w,t!==null&&t!==void 0?t:""))});H();C(26,Abb,3,3,"ng-container",18);T(27,"async");H();C(28,Bbb,9,12,"div",25);F(29,"onedev-hovercard",null,3);C(31,
Cbb,3,4,"b-issue-card",26);H();C(32,Ebb,4,9,"b-estimated-effort-row",27);T(33,"async");T(34,"async");F(35,"div",28)(36,"div",29)(37,"div",30)(38,"label");Q(39,"Access");H()();F(40,"div",31)(41,"span",32);Q(42);T(43,"async");H();F(44,"div",33);T(45,"async");T(46,"async");O("click",function(){v(c);var t=P();return x(t.toggleAccessLimits())})("keydown.enter",function(t){v(c);var w=P();return x(w.toggleAccessLimitsWithKeystroke(t))})("keydown.space",function(t){v(c);var w=P();return x(w.toggleAccessLimitsWithKeystroke(t))});
F(47,"span");Q(48);T(49,"async");H()()()();F(50,"onedev-hovercard",null,4)(52,"div",34)(53,"div",35)(54,"span",36);Q(55," Issue access level can only be set by Issue admins and it enables issue-level access control. ");F(56,"a",37);Q(57,"Learn more");H()()()()()();F(58,"div",38);T(59,"async");C(60,Gbb,8,1,"div",39);T(61,"async");F(62,"b-single-user-control",40,5);T(64,"async");O("onHotkey",function(){v(c);var t=M(63);return x(t.openEditor())})("valueChange",function(t){v(c);var w=P();return x(Gcb(w,
t))})("emailChange",function(t){v(c);var w=P();return x(or(w.editIssueService,w.issueId,t))});H();C(65,Jbb,3,3,"ng-container",18);T(66,"async");F(67,"b-single-user-control",41);T(68,"async");O("valueChange",function(t){v(c);var w=P();return x(Hcb(w,t))})("emailChange",function(t){v(c);var w=P();return x(Icb(w.editIssueService,w.issueId,t))});H();K(69);F(70,"b-multi-user-control",42);T(71,"async");T(72,"async");T(73,"async");O("userInclusionToggle",function(){v(c);var t=P();return x(Jcb(t))})("valueChange",
function(t){v(c);var w=P();return x(Kcb(w,t))})("toggleAccessLimits",function(){v(c);var t=P();return x(t.toggleAccessLimits())});H();F(74,"b-multi-user-control",43);T(75,"async");T(76,"async");T(77,"async");O("userInclusionToggle",function(){v(c);var t=P();return x(Lcb(t))})("valueChange",function(t){v(c);var w=P();return x(Mcb(w,t))});H();L();H();C(78,Lbb,2,1,"ng-container",18);T(79,"async");C(80,Nbb,3,3,"ng-container",18);T(81,"async");C(82,Obb,1,6,"b-list-field",44)(83,Qbb,2,4,"div",45);T(84,
"async");C(85,Sbb,2,1,"ng-container",18);T(86,"async");C(87,Tbb,1,0,"hr",46);T(88,"async");C(89,ccb,12,20,"collapsible-panel",47);T(90,"async");C(91,ecb,1,1,"ng-template",null,6,Mg)(93,gcb,3,12,"ng-template",null,7,Mg)(95,lcb,10,29,"ng-template",null,8,Mg)(97,ncb,4,14,"ng-template",null,9,Mg)(99,pcb,4,14,"ng-template",null,10,Mg)(101,rcb,4,14,"ng-template",null,11,Mg)(103,tcb,3,11,"ng-template",null,12,Mg)(105,ycb,5,4,"ng-template",null,13,Mg)(107,Acb,3,8,"ng-template",null,14,Mg);L()}if(a&2){var d,
e,f,h;a=b.ngIf;b=M(30);var k=M(51),q=P();A();E("ngIf",q.showSloStatus&&U(2,98,q.isSloStatusPrimary$));A(2);E("ngIf",q.sessionIsInternal);A();E("ngIf",U(5,100,q.teamWarningType$));A(2);E("issueId",q.issueId)("name","reporter")("title","Reporter")("value",a.reporter)("user",(d=a.reporterUser)!==null&&d!==void 0?d:void 0)("isSaving",U(7,102,q.isSaving$("reporter")));A(2);E("name","type")("title","Type")("type",q.FieldType.ENUM)("value",a.type)("choices",q.typeChoices)("readonly",!U(10,104,q.hasAclToEdit$))("disabled",
!!U(11,106,q.isSaving$("type")));A(5);E("name","priority")("title","Priority")("type",q.FieldType.ENUM)("tooltip","Set priority, which reflects how soon the issue should be fixed")("value",a.priority)("choices",q.priorityChoices)("hotkey",q.HOTKEYS.OPEN_ISSUE_PRIORITY_MENU)("readonly",!U(15,108,q.hasAclToEdit$))("disabled",!!U(16,110,q.isSaving$("priority")));A(4);E("ngIf",U(18,112,q.isSeverityPrimary$));A(3);E("name","status")("title","Status")("type",q.FieldType.ENUM)("value",a.status)("choices",
(e=U(22,114,q.statusChoices$))!==null&&e!==void 0?e:Gg(170,ubb))("showHotkeyHint",!0)("hotkey",q.HOTKEYS.OPEN_ISSUE_STATUS_MENU)("readonly",!U(23,116,q.hasAclToEdit$))("disabled",!!U(24,118,q.isSaving$("status")))("onedevHovercardActive",!!U(25,120,q.canonicalIssueId$))("onedevHovercardTrigger",b);A(6);E("ngIf",U(27,122,q.hasAclToEdit$));A(2);E("ngIf",q.enableTriageView);A(4);E("ngIf",U(33,124,q.isEffortEnabled$)&&U(34,126,q.shouldDisplayEffort$));A(4);E("onedevHovercardTrigger",k)("onedevHovercardActive",
!0)("onedevHovercardConfig",q.ACCESS_LIMITS_HOVERCARD_CONFIG);A(6);yg(q.getAccessLimitLevelDisplay(U(43,128,q.accessLimitLevel$)));A(2);E("matTooltip",U(45,130,q.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)");Nf("aria-label",U(46,132,q.hasAclToAdmin$)?"Edit":"View");A(4);R(" ",U(49,134,q.hasAclToAdmin$)?"Edit":"View"," ");A(8);E("href",q.documentationLinks.getIssueAccessLimit(),
cf);A(2);Wf("implicit-access-box",U(59,136,q.isImplicitAccessEnabled$));A(2);E("ngIf",U(61,138,q.isImplicitAccessEnabled$));A(2);E("issueId",q.issueId)("name","assignee")("title","Assignee")("hotkey",q.HOTKEYS.CHANGE_ASSIGNEE)("value",a.assignee)("user",(f=a.assigneeUser)!==null&&f!==void 0?f:void 0)("isSaving",U(64,140,q.isSaving$("assignee")));A(3);E("ngIf",q.defaultAssigneeQuickActionEnabled&&U(66,142,q.hasAclToEdit$));A(2);E("issueId",q.issueId)("name","verifier")("title","Verifier")("value",
a.verifier)("user",(h=a.verifierUser)!==null&&h!==void 0?h:void 0)("isSaving",U(68,144,q.isSaving$("verifier")));A(3);E("title","Collaborators")("values",a.collaborators)("users",a.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(71,146,q.isSaving$("collaborators")))("isCurrentUserInCollection",U(72,148,q.isCurrentUserCollaborator$))("isAllowedToEditCollection",U(73,150,q.hasAclToEdit$))("iconName","groups_24px")("inputValidator",q.collaboratorUserPrincipalValidator);A(4);E("title","CC")("values",a.cc)("users",a.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(75,152,q.isSaving$("ccs")))("isCurrentUserInCollection",U(76,154,q.isCurrentUserCCd$))("isAllowedToEditCollection",U(77,156,q.isAllowedToEditCC$))("iconName","add_alert_24px");A(4);E("ngIf",q.showCodeChanges&&U(79,158,q.isChangelistPrimary$));A(2);E("ngIf",U(81,160,q.workspaces$));A(2);E("ngIf",!q.sessionIsExternal&&(a.postmortems==null?null:a.postmortems.length));A();E("ngForOf",U(84,162,q.visibleCustomFields$))("ngForTrackBy",q.trackCustomField);
A(2);E("ngIf",U(86,164,q.isForgottenFourPrimary$));A(2);E("ngIf",U(88,166,q.hasHiddenFields$));A(2);E("ngIf",U(90,168,q.hasHiddenFields$))}},Ocb=function(a,b){if(a&1){var c=u();K(0);F(1,"a",20);O("click",function(){v(c);P().analytics.trackEvent("issueSidebar","navigate","issueDetailsPage");return x()});F(2,"span",21);Q(3,"Navigate to issue ");H();Q(4);H();F(5,"button",22);O("click",function(){var d=v(c).ngIf,e=P();return x(e.copyIssueId(d))});J(6,"mat-icon",23);H();L()}a&2&&(a=b.ngIf,A(),kg("href",
"/issues/",a,"",cf),A(3),R(" ",a," "))},Pcb=function(a,b){if(a&1){var c=u();F(0,"b-app-vote-button",24);O("onVote",function(d){v(c);var e=P();return x(e.upvoted(d))});H()}a&2&&(a=b.ngIf,E("issueId",a.issueId)("upvoted",!(a.userData==null||!a.userData.voted))("voteCount",(a.aggregatedData==null?null:a.aggregatedData.voteCount)||0))},Rcb=function(a){if(a&1){var b=u();K(0);F(1,"span");Q(2);H();F(3,"button",27);O("click",function(){v(b);var c=P(2);return x(Qcb(c))});J(4,"mat-icon",28);H();L()}a&2&&(a=
P().ngIf,A(),Nf("title",a.snapshot[0].title),A(),R(" ",a.snapshot[0].title," "),A(),E("matTooltipShowDelay",500))},Scb=function(a){if(a&1){var b=u();F(0,"button",34);O("click",function(){v(b);var c=P(3);return x(pr(c))});Q(1,"Cancel");H()}},Tcb=function(a){a&1&&(K(0),Q(1," Update title "),L())},Ucb=function(a){if(a&1){var b=u();K(0);F(1,"mat-form-field",29)(2,"textarea",30);Cg("ngModelChange",function(d){v(b);var e=P(2);Bg(e.draftTitle,d)||(e.draftTitle=d);return x(d)});H()();F(3,"div",31);C(4,Scb,
2,0,"button",32);F(5,"button",33);O("click",function(){v(b);var d=P(2);return x(d.saveTitle())});C(6,Tcb,2,0,"ng-container",19);H()();L()}if(a&2){a=P(2);var c=M(22);A(2);E("cdkTextareaAutosize",!0)("cdkAutosizeMinRows",1);Ag("ngModel",a.draftTitle);E("bFocus",!0);A(2);E("ngIf",!a.isSavingTitle);A();E("disabled",a.isSavingTitle);A();E("ngIf",!a.isSavingTitle)("ngIfElse",c)}},Vcb=function(a){a&1&&(F(0,"div",25)(1,"div",26),C(2,Rcb,5,3,"ng-container",8)(3,Ucb,7,8,"ng-container",8),H()());a&2&&(a=P(),
A(2),E("ngIf",!a.editTitleMode),A(),E("ngIf",a.editTitleMode))},Wcb=function(a){a&1&&(F(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. "),H()()())},Xcb=function(a){if(a&1){var b=u();F(0,"button",56);O("click",function(){v(b);var c=P(5);return x(c.generateIssueSummary())});
Q(1," Generate ");H()}},Ycb=function(a){a&1&&J(0,"mat-icon",58)},Zcb=function(a){a&1&&J(0,"mat-icon",59)},$cb=function(a){if(a&1){var b=u();F(0,"button",57);O("click",function(){v(b);var c=P(5);return x(c.isIssueSummaryExpanded=!c.isIssueSummaryExpanded)});C(1,Ycb,1,0,"mat-icon",46)(2,Zcb,1,0,"mat-icon",47);H()}a&2&&(a=P(5),E("matTooltipShowDelay",1E3),Nf("aria-expanded",a.isIssueSummaryExpanded),A(),E("ngIf",!a.isIssueSummaryExpanded),A(),E("ngIf",a.isIssueSummaryExpanded))},adb=function(a){a&1&&
dg(0,61);a&2&&(P(6),a=M(22),E("ngTemplateOutlet",a))},bdb=function(a){a&1&&J(0,"b-markdown-format-presenter",72);a&2&&(a=P(),E("content",a.formattedSummary))},cdb=function(a){a&1&&(F(0,"div"),Q(1),H());a&2&&(a=P(),A(),R(" ",a.summary," "))},ddb=function(a,b){if(a&1){var c=u();C(0,bdb,1,1,"b-markdown-format-presenter",62)(1,cdb,2,1,"ng-template",null,3,Mg);F(3,"div",63)(4,"button",64);O("click",function(){var e=v(c),f=P(7);return x(f.copySummary(e))});J(5,"mat-icon",65);H();F(6,"button",66);O("click",
function(){var e=v(c),f=P(7);return x(f.openFeedbackDialog(e))});J(7,"mat-icon",67);H();F(8,"button",68);O("click",function(){var e=v(c),f=P(7);return x(f.trackThumbsUp(e))});J(9,"mat-icon",69);H();F(10,"button",70);O("click",function(){var e=v(c),f=P(7);return x(f.trackThumbsDown(e))});J(11,"mat-icon",71);H()()}if(a&2){a=M(2);var d=P(7);E("ngIf",b.formattedSummary)("ngIfElse",a);A(8);E("disabled",d.hasRatedSummary);A();Wf("has-reacted-icon",d.summaryThumbsUp);A();E("disabled",d.hasRatedSummary);
A();Wf("has-reacted-icon",d.summaryThumbsDown)}},edb=function(a){a&1&&(C(0,ddb,12,8),T(1,"async"));if(a&2){var b;a=P(6);$f((b=U(1,1,a.issueSummary$))?0:-1,b)}},fdb=function(a){a&1&&(F(0,"div",60),C(1,adb,1,1,"ng-container",61)(2,edb,2,3),H());if(a&2){a=P(2);var b=P(3);A();$f(a===b.GENERATING?1:a===b.SUMMARY_VISIBLE?2:-1)}},gdb=function(a){a&1&&(F(0,"div",49)(1,"div",37)(2,"div",38),J(3,"mat-icon",50),F(4,"span"),Q(5,"AI-GENERATED SUMMARY"),H(),F(6,"button",51),J(7,"mat-icon",52),H(),C(8,Wcb,4,0,"ng-template",
null,2,Mg),H(),C(10,Xcb,2,0,"button",53)(11,$cb,3,4,"button",54),H(),C(12,fdb,3,1,"div",55),H());if(a&2){a=M(9);var b=P(),c=P(3);A(6);E("xapInlineDialog",a)("dialogTabIndex",0);A(4);$f(b===c.BUTTON?10:-1);A();$f(b===c.SUMMARY_VISIBLE?11:-1);A();E("ngIf",c.isIssueSummaryExpanded)}},hdb=function(a,b){a&1&&C(0,gdb,13,5,"div",49);a&2&&(a=P(3),$f(b!==a.HIDDEN?0:-1))},idb=function(a){a&1&&(C(0,hdb,1,1),T(1,"async"));if(a&2){var b;a=P(2);$f((b=U(1,1,a.stage$))?0:-1,b)}},jdb=function(a){a&1&&(F(0,"span"),
Q(1," No update yet "),H())},kdb=function(a){if(a&1){var b=u();F(0,"button",73);O("click",function(){v(b);var c=P(2);return x(c.editStatusUpdate())});J(1,"mat-icon",28);H()}a&2&&E("matTooltipShowDelay",1E3)},ldb=function(a){a&1&&J(0,"mat-icon",58)},mdb=function(a){a&1&&J(0,"mat-icon",59)},ndb=function(a){if(a&1){var b=u();F(0,"button",74);O("click",function(){v(b);var c=P(2);return x(c.isStatusUpdateExpanded=!c.isStatusUpdateExpanded)});C(1,ldb,1,0,"mat-icon",46)(2,mdb,1,0,"mat-icon",47);H()}a&2&&
(a=P(2),E("matTooltipShowDelay",1E3),Nf("aria-expanded",a.isStatusUpdateExpanded),A(),E("ngIf",!a.isStatusUpdateExpanded),A(),E("ngIf",a.isStatusUpdateExpanded))},odb=function(a,b){a&1&&(J(0,"b-note-container",78),T(1,"async"));if(a&2){var c;a=b.ngIf;b=P().ngIf;var d=P().ngIf,e=P(2);E("issueId",a)("note",d)("issueAccessLevel",U(1,4,e.accessLevel$))("formattingMode",(c=b.formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},pdb=function(a){a&1&&(F(0,"div",76),C(1,odb,2,6,"b-note-container",
77),T(2,"async"),H());if(a&2){a=P().ngIf;var b=P(2);A();E("ngIf",a.unlinkifiedComment!==""&&U(2,1,b.issueId$))}},qdb=function(a){a&1&&(K(0),C(1,pdb,3,3,"div",75),T(2,"async"),L());a&2&&(a=P(2),A(),E("ngIf",U(2,1,a.statusUpdate$)))},rdb=function(a){a&1&&(F(0,"span"),Q(1," No description yet "),H())},tdb=function(a){if(a&1){var b=u();F(0,"button",82);O("click",function(){v(b);var c=P(3);return x(sdb(c))});J(1,"mat-icon",28);H()}a&2&&E("matTooltipShowDelay",1E3)},udb=function(a){a&1&&J(0,"mat-icon",
58)},vdb=function(a){a&1&&J(0,"mat-icon",59)},wdb=function(a){if(a&1){var b=u();F(0,"button",83);O("click",function(){v(b);var c=P(3);return x(c.isDescriptionExpanded=!c.isDescriptionExpanded)});C(1,udb,1,0,"mat-icon",46)(2,vdb,1,0,"mat-icon",47);H()}a&2&&(a=P(3),E("matTooltipShowDelay",1E3),Nf("aria-expanded",a.isDescriptionExpanded),A(),E("ngIf",!a.isDescriptionExpanded),A(),E("ngIf",a.isDescriptionExpanded))},xdb=function(a,b){a&1&&(J(0,"b-note-container",78),T(1,"async"));if(a&2){var c;a=b.ngIf;
b=P().ngIf;var d=P(2).ngIf,e=P(2);E("issueId",a)("note",b)("issueAccessLevel",U(1,4,e.accessLevel$))("formattingMode",(c=d[0].formattingMode)!==null&&c!==void 0?c:e.FormattingMode.PLAIN)}},ydb=function(a){if(a&1){var b=u();F(0,"div",87)(1,"a",88);O("click",function(){v(b);var c=P(5);c.analytics.trackEvent("issueSidebar","showMoreDescription");c.showFullDescription=!0;return x()});Q(2," Show more ");H()()}},zdb=function(a,b){a&1&&(K(0),F(1,"div",85),C(2,xdb,2,6,"b-note-container",77),T(3,"async"),
H(),C(4,ydb,3,0,"div",86),L());a&2&&(a=b.ngIf,b=P(4),A(),Wf("full-height",b.showFullDescription),A(),E("ngIf",a.unlinkifiedComment!==""&&U(3,4,b.issueId$)),A(2),E("ngIf",!b.showFullDescription&&b.descriptionHasMore))},Adb=function(a){a&1&&(K(0),F(1,"div",84,4),C(3,zdb,5,6,"ng-container",8),T(4,"async"),T(5,"async"),H(),L());a&2&&(a=P(3),A(3),E("ngIf",U(4,1,a.hasDescription$)&&U(5,3,a.firstNote$)))},Bdb=function(a){a&1&&(K(0),F(1,"div",79)(2,"div",37)(3,"div",38)(4,"span"),Q(5,"DESCRIPTION"),H()(),
F(6,"div",40),C(7,rdb,2,0,"span",8),T(8,"async"),C(9,tdb,2,1,"button",80),T(10,"async"),T(11,"async"),C(12,wdb,3,4,"button",81),T(13,"async"),H()(),C(14,Adb,6,5,"ng-container",8),H(),L());a&2&&(a=P(2),A(7),E("ngIf",!U(8,4,a.hasDescription$)),A(2),E("ngIf",(a.isDescriptionExpanded||!U(10,6,a.hasDescription$))&&U(11,8,a.userCanEditDescription$)),A(3),E("ngIf",U(13,10,a.hasDescription$)),A(2),E("ngIf",a.isDescriptionExpanded))},Cdb=function(a){a&1&&J(0,"mat-icon",58)},Ddb=function(a){a&1&&J(0,"mat-icon",
59)},Edb=function(a){a&1&&(F(0,"div",89),J(1,"edit-issue-metadata",90),H());a&2&&(a=P().ngIf,A(),E("issueId",a.issueId))},Fdb=function(a){if(a&1){var b=u();K(0);F(1,"div",35);C(2,idb,2,3);F(3,"div",36)(4,"div",37)(5,"div",38);J(6,"mat-icon",39);F(7,"span");Q(8," STATUS UPDATE ");H()();F(9,"div",40);C(10,jdb,2,0,"span",8);T(11,"async");C(12,kdb,2,1,"button",41);T(13,"async");T(14,"async");C(15,ndb,3,4,"button",42);T(16,"async");H()();C(17,qdb,3,3,"ng-container",8);T(18,"async");H();C(19,Bdb,15,12,
"ng-container",19);T(20,"async");F(21,"div",43)(22,"div",37)(23,"div",38);J(24,"mat-icon",44);F(25,"span");Q(26,"FIELDS");H()();F(27,"button",45);O("click",function(){v(b);var d=P();return x(d.isFieldsExpanded=!d.isFieldsExpanded)});C(28,Cdb,1,0,"mat-icon",46)(29,Ddb,1,0,"mat-icon",47);H()();C(30,Edb,2,1,"div",48);H()();L()}if(a&2){a=P();var c=M(22);A(2);$f(a.enableIssueSummarizationNoButton?2:-1);A(8);E("ngIf",!U(11,12,a.hasStatusUpdate$));A(2);E("ngIf",(a.isStatusUpdateExpanded||!U(13,14,a.hasStatusUpdate$))&&
U(14,16,a.userCanEditStatusUpdate$));A(3);E("ngIf",U(16,18,a.hasStatusUpdate$));A(2);E("ngIf",a.isStatusUpdateExpanded&&U(18,20,a.statusUpdateNote$));A(2);E("ngIf",U(20,22,a.events$))("ngIfElse",c);A(8);E("matTooltipShowDelay",1E3);Nf("aria-expanded",a.isFieldsExpanded);A();E("ngIf",!a.isFieldsExpanded);A();E("ngIf",a.isFieldsExpanded);A();E("ngIf",a.isFieldsExpanded)}},Gdb=function(a){a&1&&(F(0,"div",91),J(1,"b-spinner"),H())},Hdb=function(a){a&1&&(K(0),Q(1," This issue has not been modified since "),
J(2,"b-formatted-date-time",4),Q(3," and is scheduled for deletion on "),F(4,"strong"),J(5,"b-formatted-date-time",4),H(),Q(6,". "),L());a&2&&(a=P(2),A(2),E("mode","date")("timestamp",a.modifiedTime)("paddingLeftPx",0),A(3),E("mode","date")("timestamp",a.retentionExpireTime)("paddingLeftPx",0))},Idb=function(a){a&1&&Q(0," This issue is retained indefinitely. ")},Jdb=function(a){a&1&&(K(0),C(1,Hdb,7,6,"ng-container",2)(2,Idb,1,0,"ng-template",null,0,Mg),F(4,"a",3),Q(5,"Learn more"),H(),L());if(a&2){a=
M(3);var b=P();A();E("ngIf",b.retentionState.retentionPeriod)("ngIfElse",a);A(3);E("href",b.documentationLink,cf)}},Kdb=function(a){a&1&&(F(0,"b-base-chip",1)(1,"div",2),J(2,"retention-text",3),H(),F(3,"div",4),J(4,"retention-help-text",5),H()());a&2&&(a=P(),E("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),A(2),E("retentionState",a.retentionState)("compactMode",a.compactMode),A(2),E("retentionState",a.retentionState)("modifiedTime",a.modifiedTime))},
Ldb=function(a){var b=b===void 0?new Date:b;var c=Pi(a.scheduledDeletionTime);b=b.getTime();a=a.retentionPeriod;return b>=c-Math.max(12096E5,.2*(a?a.seconds*1E3+(a.nanos||0)/1E6:0))},Odb=function(a){if(a&1){var b=u();F(0,"issue-sidebar",10);O("closeSidebar",function(){v(b);var d=P(2);return x(d.isIssueSidebarOpen=!1)})("navigateToNextIssue",function(){v(b);var d=P(2);return x(Mdb(d))})("navigateToPreviousIssue",function(){v(b);var d=P(2);return x(Ndb(d))});H()}if(a&2){var c;a=P(2);E("issueId",(c=
a.getFocusedIssue())==null?null:c.issueId)}},Pdb=function(a){a&1&&dg(0)},Qdb=function(a){if(a&1){var b=u();F(0,"mat-sidenav-container",6,2)(2,"mat-sidenav",7);O("openedChange",function(d){v(b);P().anayltics.trackEvent("issueSidebar",d?"open":"close");return x()});C(3,Odb,1,1,"issue-sidebar",8);H();F(4,"mat-sidenav-content");C(5,Pdb,1,0,"ng-container",9);H()()}if(a&2){a=P();var c=M(3);Wf("sidebar-enabled",a.isIssueSidebarEnabled);A(2);E("opened",a.isIssueSidebarOpen)("disableClose",!0);A();E("ngIf",
a.isIssueSidebarOpen);A(2);E("ngTemplateOutlet",c)}},Rdb=function(a){a&1&&dg(0)},Sdb=function(a,b){a&1&&(F(0,"th",32),C(1,Rdb,1,0,"ng-container",33),H());a&2&&(a=b.column,b=P(2),Nf("data-stable-column-name",a.name),A(),E("ngIf",b.isIssueGridColumn(a)))},Tdb=function(a){a&1&&dg(0)},Udb=function(a,b){a&1&&(F(0,"th",34),C(1,Tdb,1,0,"ng-container",33),H());a&2&&(a=b.column,b=P(2),Nf("data-stable-column-name",a.name),A(),E("ngIf",b.isIssueGridColumn(a)))},Ydb=function(a){if(a&1){var b=u();K(0);F(1,"mat-pseudo-checkbox",
36);O("click",function(c){v(b);var d=P(3);c.stopPropagation();return x(Vdb(d))})("keydown.enter",function(c){v(b);var d=P(3);c.stopPropagation();return x(Vdb(d))})("keydown.space",function(c){v(b);var d=P(3);c.stopPropagation();return x(Vdb(d))});H();L()}a&2&&(a=P(3),A(),E("state",Wdb(a)),Nf("aria-checked",Xdb(a)))},Zdb=function(a,b){a&1&&(F(0,"th",35),C(1,Ydb,2,2,"ng-container",33),H());a&2&&(a=b.column,b=P(2),Nf("data-stable-column-name",a.name),A(),E("ngIf",b.isIssueGridColumn(a)))},$db=function(a){a&
1&&dg(0)},aeb=function(a,b){a&1&&(F(0,"th"),C(1,$db,1,0,"ng-container",33),H());a&2&&(a=b.column,b=P(2),Nf("data-stable-column-name",a.name),A(),E("ngIf",b.isIssueGridColumn(a)))},beb=function(a){a&1&&(K(0),J(1,"pop-grid-default-th",37),L());a&2&&(a=P().column,A(),E("column",a))},ceb=function(a,b){a&1&&(F(0,"th"),C(1,beb,2,1,"ng-container",33),H());a&2&&(a=b.column,b=P(2),Nf("data-stable-column-name",a.name),A(),E("ngIf",b.isIssueGridColumn(a)))},deb=function(a){if(a&1){var b=u();F(0,"b-column-picker",
40);O("selectedColumnsChange",function(d){v(b);var e=P(4);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return x()});H()}if(a&2){a=P(2).column;var c=P(2);E("column",a)("availableColumns",c.availableColumns)("selectedColumns",c.columns)}},eeb=function(a){a&1&&J(0,"pop-grid-default-th",37);a&2&&(a=P(2).column,E("column",a))},feb=function(a){a&1&&(K(0),C(1,deb,1,3,"b-column-picker",38)(2,eeb,1,1,"pop-grid-default-th",39),L());a&2&&(a=P(3),A(),E("ngIf",a.enableColumnSaving),A(),E("ngIf",!a.enableColumnSaving))},
geb=function(a,b){a&1&&(F(0,"th"),C(1,feb,3,2,"ng-container",33),H());a&2&&(a=b.column,b=P(2),Nf("data-stable-column-name",a.name),A(),E("ngIf",b.isIssueGridColumn(a)))},heb=function(a){a&1&&dg(0)},ieb=function(a){a&1&&(F(0,"td",32),C(1,heb,1,0,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},jeb=function(a){a&1&&dg(0)},keb=function(a){a&1&&(F(0,"td",41),C(1,jeb,1,0,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},leb=function(a){if(a&1){var b=u();K(0);F(1,"mat-pseudo-checkbox",42);O("click",
function(c){v(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 k=f.lastCheckedIndex+1}else h=f.lastCheckedIndex,k=d;h=l(f.searchResults.issues.slice(h,k));for(k=h.next();!k.done;k=h.next())k.value.selected=!c;qr(f)}e.selected=!e.selected;f.lastCheckedIndex=d;qr(f);return x()});H();L()}a&2&&(a=P().row,A(),E("state",a.selected?"checked":"unchecked"),Nf("aria-label","Select issue "+
a.issueId)("aria-checked",a.selected))},meb=function(a){a&1&&(F(0,"td",35),C(1,leb,2,3,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},neb=function(a){if(a&1){var b=u();K(0);F(1,"b-star-toggle",44);O("starClicked",function(){v(b);var d=P().row,e=P(2);return x(e.toggleStar(d))});H();L()}if(a&2){a=P().row;var c=P(2);A();E("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},oeb=function(a){a&1&&(F(0,"td",43),C(1,
neb,2,4,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},peb=function(a){a&1&&(K(0),F(1,"span"),Q(2),H(),L());a&2&&(a=P().row,A(),Nf("title",a.position),A(),R(" ",a.position," "))},qeb=function(a){a&1&&(F(0,"td"),C(1,peb,3,2,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},reb=function(a){a&1&&(K(0),F(1,"a",49),Q(2),H(),L());a&2&&(a=P(2).row,P(2),A(),E("href",xp(a.issueId),cf),Nf("title",a.title),A(),R(" ",a.issueId," "))},seb=function(a){if(a&1){var b=u();K(0);F(1,"b-issue-id-picker",50);
O("click",function(c){v(b);return x(c.stopPropagation())});H();L()}a&2&&(a=P(2).row,A(),E("issueId",a.issueId)("showCopyOptions",!1),Nf("title",a.title))},teb=function(a){a&1&&(K(0)(1,46),C(2,reb,3,3,"ng-container",47)(3,seb,2,3,"ng-container",48),L()());a&2&&(a=P(3),A(),E("ngSwitch",a.listViewPrefs==null?null:a.listViewPrefs.modeForField==null?null:a.listViewPrefs.modeForField.id),A(2),E("ngSwitchCase","copy"))},ueb=function(a){a&1&&(F(0,"td",45),C(1,teb,4,2,"ng-container",33),H());a&2&&(P(2),A(),
E("ngIf",!0))},veb=function(a){a&1&&J(0,"archived-issue-indicator")},web=function(a){a&1&&J(0,"b-issue-visibility-chip",53);a&2&&(a=P(2).row,E("issueId",a.issueId)("compactMode",!0))},xeb=function(a){a&1&&J(0,"b-component-access-level-indicator",54);a&2&&(a=P(2).row,E("accessLevel",a.accessLevel)("compactMode",!0))},yeb=function(a){a&1&&J(0,"mat-icon",61)},zeb=function(a,b){a&1&&J(0,"b-hotlist-chip-smart",64);a&2&&E("id",b.$implicit)("removable",!1)},Aeb=function(a){a&1&&(F(0,"div",62),C(1,zeb,1,
2,"b-hotlist-chip-smart",63),H());a&2&&(a=P(2).row,A(),E("ngForOf",a.hotlistId))},Beb=function(a){a&1&&(K(0),F(1,"div",52),C(2,veb,1,0,"archived-issue-indicator",33)(3,web,1,2,"b-issue-visibility-chip",53)(4,xeb,1,2,"b-component-access-level-indicator",54),J(5,"b-tracker-chip-smart",55)(6,"b-retention-chip",56),F(7,"div",57)(8,"a",58),Q(9),C(10,yeb,1,0,"mat-icon",59),H()(),C(11,Aeb,2,1,"div",60),H(),L());if(a&2){a=P().row;var b=P(2);A();Wf("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);
A();E("ngIf",a.archived);A();$f(b.enableNewVisibilityChips?3:4);A(2);E("trackerId",a.trackerId)("compactMode",!0);A();E("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);A(2);E("href",xp(a.issueId),cf);Nf("title",a.title);A();R(" ",a.title," ");A();E("ngIf",b.isIssueSidebarEnabled);A();E("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},Ceb=function(a){a&1&&(F(0,"td",51),C(1,Beb,12,15,"ng-container",33),H());a&2&&(a=P(2),Wf("bv2-grid-cell-variable-height",
a.listViewPrefs&&a.listViewPrefs.wrapTitles),A(),E("ngIf",!0))},Eeb=function(a){a&1&&(K(0),F(1,"div",66),Q(2),H(),L());a&2&&(a=P().row,P(2),A(),E("ngClass",Jg(2,Deb,Number(a.priority)>=2,Number(a.priority)<2,Number(a.priority)===0)),A(),R(" P",a.priority," "))},Feb=function(a){a&1&&(F(0,"td",65),C(1,Eeb,3,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Geb=function(a){a&1&&(K(0),F(1,"div",66),Q(2),H(),L());a&2&&(a=P().row,P(2),A(),E("ngClass",Jg(2,Deb,Number(a.severity)>=2,Number(a.severity)<
2,Number(a.severity)===0)),A(),R(" S",a.severity," "))},Heb=function(a){a&1&&(F(0,"td",67),C(1,Geb,3,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Ieb=function(a){a&1&&J(0,"mat-icon",72);if(a&2){a=P().$implicit;var b=P(4);E("svgIcon",b.ISSUE_STATUS_JS_ICON_NAME[a])}},Jeb=function(a){a&1&&(K(0),Q(1),L());if(a&2){a=P().$implicit;var b=P(4);A();yg(b.STATUS_JS_TERSE[a])}},Keb=function(a){a&1&&(F(0,"span"),Q(1),H());if(a&2){a=P().$implicit;var b=P(4);Zf("chippy status-",a," margin-left-auto");
A();R(" ",b.STATUS_JS_TERSE[a]," ")}},Leb=function(a,b){a&1&&(K(0),F(1,"span",69),C(2,Ieb,1,1,"mat-icon",70)(3,Jeb,2,1,"ng-container",48)(4,Keb,2,4,"span",71),H(),L());a&2&&(a=b.$implicit,b=P(4),A(),E("ngSwitch",b.listViewPrefs==null?null:b.listViewPrefs.fieldStatus==null?null:b.listViewPrefs.fieldStatus.mode)("title",b.STATUS_JS_FULL_TEXT[a]===b.STATUS_JS_TERSE[a]?"":b.STATUS_JS_FULL_TEXT[a]),A(),E("ngSwitchCase","icon"),A(),E("ngSwitchCase","plain"))},Meb=function(a){a&1&&(K(0),C(1,Leb,5,4,"ng-container",
33),L());a&2&&(a=P().row,A(),E("ngIf",a.status))},Neb=function(a){a&1&&(F(0,"td",68),C(1,Meb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Oeb=function(a){a&1&&(K(0),Q(1),T(2,"enumToHuman"),L());a&2&&(a=P().row,A(),R(" ",U(2,1,a.type)," "))},Peb=function(a){a&1&&(F(0,"td",73),C(1,Oeb,3,3,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Qeb=function(a){a&1&&(F(0,"b-person-hovercard",76),T(1,"omitObfuscatedEmail"),Q(2),H());a&2&&(a=P(2).row,E("email",U(1,2,a.reporter)),A(2),R(" ",a.reporter,
" "))},Reb=function(a){a&1&&(F(0,"span"),Q(1,"--"),H())},Seb=function(a){a&1&&(K(0),C(1,Qeb,3,4,"b-person-hovercard",75),T(2,"omitObfuscatedEmail"),C(3,Reb,2,0,"span",33),L());a&2&&(a=P().row,A(),E("ngIf",U(2,2,a.reporter)),A(2),E("ngIf",!a.reporter))},Teb=function(a){a&1&&(F(0,"td",74),C(1,Seb,4,4,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Ueb=function(a){a&1&&(F(0,"b-person-hovercard",76),T(1,"omitObfuscatedEmail"),Q(2),H());a&2&&(a=P(2).row,E("email",U(1,2,a.assignee)),A(2),R(" ",a.assignee,
" "))},Veb=function(a){a&1&&(F(0,"span"),Q(1,"--"),H())},Web=function(a){a&1&&(K(0),C(1,Ueb,3,4,"b-person-hovercard",75),T(2,"omitObfuscatedEmail"),C(3,Veb,2,0,"span",33),L());a&2&&(a=P().row,A(),E("ngIf",U(2,2,a.assignee)),A(2),E("ngIf",!a.assignee))},Xeb=function(a){a&1&&(F(0,"td",74),C(1,Web,4,4,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Yeb=function(a){a&1&&(F(0,"b-person-hovercard",76),T(1,"omitObfuscatedEmail"),Q(2),H());a&2&&(a=P(2).row,E("email",U(1,2,a.verifier)),A(2),R(" ",a.verifier,
" "))},Zeb=function(a){a&1&&(F(0,"span"),Q(1,"--"),H())},$eb=function(a){a&1&&(K(0),C(1,Yeb,3,4,"b-person-hovercard",75),T(2,"omitObfuscatedEmail"),C(3,Zeb,2,0,"span",33),L());a&2&&(a=P().row,A(),E("ngIf",U(2,2,a.verifier)),A(2),E("ngIf",!a.verifier))},afb=function(a){a&1&&(F(0,"td",74),C(1,$eb,4,4,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},bfb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),Q(3),T(4,"arrayToHuman"),H(),L());a&2&&(a=P().row,A(),Nf("title",U(2,2,a.cc)),A(2),R(" ",
U(4,4,a.cc)," "))},cfb=function(a){a&1&&(F(0,"td",74),C(1,bfb,5,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},dfb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),Q(3),T(4,"arrayToHuman"),H(),L());a&2&&(a=P().row,A(),Nf("title",U(2,2,a.changelist)),A(2),R(" ",U(4,4,a.changelist)," "))},efb=function(a){a&1&&(F(0,"td",74),C(1,dfb,5,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},ffb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),Q(3),T(4,"arrayToHuman"),H(),L());a&2&&
(a=P().row,A(),Nf("title",U(2,2,a.postmortem)),A(2),R(" ",U(4,4,a.postmortem)," "))},gfb=function(a){a&1&&(F(0,"td",74),C(1,ffb,5,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},hfb=function(a){a&1&&dg(0)},ifb=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},kfb=function(a,b){a&1&&(K(0),C(1,hfb,1,0,"ng-container",78)(2,ifb,2,0,"span",33),L());if(a&2){a=b.$implicit;b=b.last;P(4);var c=M(5);A();E("ngTemplateOutlet",c)("ngTemplateOutletContext",Hg(3,jfb,a));A();E("ngIf",!b)}},lfb=function(a){a&
1&&(K(0),C(1,kfb,3,5,"ng-container",77),L());a&2&&(a=P().row,A(),E("ngForOf",a.blockingIssueId))},mfb=function(a){a&1&&(F(0,"td",74),C(1,lfb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},nfb=function(a){a&1&&dg(0)},ofb=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},pfb=function(a,b){a&1&&(K(0),C(1,nfb,1,0,"ng-container",78)(2,ofb,2,0,"span",33),L());if(a&2){a=b.$implicit;b=b.last;P(4);var c=M(5);A();E("ngTemplateOutlet",c)("ngTemplateOutletContext",Hg(3,jfb,a));A();E("ngIf",!b)}},qfb=function(a){a&
1&&(K(0),C(1,pfb,3,5,"ng-container",77),L());a&2&&(a=P().row,A(),E("ngForOf",a.blockedByIssueId))},rfb=function(a){a&1&&(F(0,"td",74),C(1,qfb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},sfb=function(a){a&1&&dg(0)},tfb=function(a){a&1&&(K(0),C(1,sfb,1,0,"ng-container",78),L());if(a&2){a=P(2).row;P(2);var b=M(5);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,jfb,a.duplicateOfIssueId))}},ufb=function(a){a&1&&(K(0),C(1,tfb,2,4,"ng-container",33),L());a&2&&(a=P().row,A(),E("ngIf",
a.duplicateOfIssueId))},vfb=function(a){a&1&&(F(0,"td",74),C(1,ufb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},wfb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",80),L());a&2&&(a=P().row,A(),E("timestamp",a.createdTime))},xfb=function(a){a&1&&(F(0,"td",79),C(1,wfb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},yfb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",80),L());a&2&&(a=P().row,A(),E("timestamp",a.modifiedTime))},zfb=function(a){a&1&&(F(0,"td",79),C(1,yfb,2,
1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Afb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",80),L());a&2&&(a=P().row,A(),E("timestamp",a.resolvedTime))},Bfb=function(a){a&1&&(F(0,"td",79),C(1,Afb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Cfb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",80),L());a&2&&(a=P().row,A(),E("timestamp",a.verifiedTime))},Dfb=function(a){a&1&&(F(0,"td",79),C(1,Cfb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Efb=function(a){a&
1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),Q(3),T(4,"arrayToHuman"),H(),L());a&2&&(a=P().row,A(),Nf("title",U(2,2,a.foundInVersion)),A(2),R(" ",U(4,4,a.foundInVersion)," "))},Ffb=function(a){a&1&&(F(0,"td",74),C(1,Efb,5,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Gfb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),Q(3),T(4,"arrayToHuman"),H(),L());a&2&&(a=P().row,A(),Nf("title",U(2,2,a.targetedToVersion)),A(2),R(" ",U(4,4,a.targetedToVersion)," "))},Hfb=function(a){a&1&&(F(0,"td",
74),C(1,Gfb,5,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Ifb=function(a){a&1&&(K(0),F(1,"span"),T(2,"arrayToHuman"),Q(3),T(4,"arrayToHuman"),H(),L());a&2&&(a=P().row,A(),Nf("title",U(2,2,a.verifiedInVersion)),A(2),R(" ",U(4,4,a.verifiedInVersion)," "))},Jfb=function(a){a&1&&(F(0,"td",74),C(1,Ifb,5,6,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Kfb=function(a){a&1&&(K(0),Q(1),T(2,"yesNo"),L());a&2&&(a=P().row,A(),R(" ",U(2,1,a.inProd)," "))},Lfb=function(a){a&1&&(F(0,"td",74),
C(1,Kfb,3,3,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Mfb=function(a){a&1&&(K(0),Q(1),T(2,"yesNo"),L());a&2&&(a=P().row,A(),R(" ",U(2,1,a.archived)," "))},Nfb=function(a){a&1&&(F(0,"td",74),C(1,Mfb,3,3,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Ofb=function(a){a&1&&(K(0),F(1,"div",52)(2,"div",57)(3,"span"),Q(4),H()()(),L());if(a&2){a=P().row;var b=P(2);A(3);Nf("title",b.getComponentPath(a.componentPath));A();yg(b.getComponentPath(a.componentPath))}},Qfb=function(a){a&1&&(F(0,
"td",81),C(1,Ofb,5,2,"ng-container",33),H());if(a&2){a=P(2);var b;var c=!((b=a.listViewPrefs)==null||!b.rtlComponentPath);E("ngClass",Ig(2,Pfb,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));A();E("ngIf",!0)}},Rfb=function(a){a&1&&(F(0,"slo-status-card",84),J(1,"b-aggregated-slo-status-indicator",85),H());a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime),A(),E("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime))},Sfb=function(a){a&1&&(K(0),C(1,Rfb,
2,5,"slo-status-card",83),L());a&2&&(a=P().row,A(),E("ngIf",a.sloStatus))},Tfb=function(a){a&1&&(F(0,"td",82),C(1,Sfb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Ufb=function(a){a&1&&(F(0,"slo-status-card",87),J(1,"b-slo-time-indicator",88),H());a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","RESPONSE"),A(),E("sloBounds",a.sloStatus.responseBounds))},Vfb=function(a){a&1&&(K(0),C(1,Ufb,2,5,"slo-status-card",86),L());a&2&&(a=
P().row,A(),E("ngIf",a.sloStatus))},Wfb=function(a){a&1&&(F(0,"td",82),C(1,Vfb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Xfb=function(a){a&1&&(F(0,"slo-status-card",87),J(1,"b-slo-time-indicator",88),H());a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","ASSIGNMENT"),A(),E("sloBounds",a.sloStatus.assignmentBounds))},Yfb=function(a){a&1&&(K(0),C(1,Xfb,2,5,"slo-status-card",86),L());a&2&&(a=P().row,A(),E("ngIf",a.sloStatus))},
Zfb=function(a){a&1&&(F(0,"td",82),C(1,Yfb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},$fb=function(a){a&1&&(F(0,"slo-status-card",87),J(1,"b-slo-time-indicator",88),H());a&2&&(a=P(2).row,E("sloId",a.sloId)("sloStatus",a.sloStatus)("sloStartTime",a.sloStartTime)("onlyShowMetric","CLOSURE"),A(),E("sloBounds",a.sloStatus.closureBounds))},agb=function(a){a&1&&(K(0),C(1,$fb,2,5,"slo-status-card",86),L());a&2&&(a=P().row,A(),E("ngIf",a.sloStatus))},bgb=function(a){a&1&&(F(0,"td",82),C(1,
agb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},cgb=function(a,b){a&1&&J(0,"b-formatted-date-time",90);a&2&&(a=b.$implicit,P(4),E("timestamp",a.seconds*1E3))},dgb=function(a){a&1&&(K(0),C(1,cgb,1,1,"b-formatted-date-time",89),L());a&2&&(a=P().row,A(),E("ngIf",a.retentionState==null?null:a.retentionState.scheduledDeletionTime))},egb=function(a){a&1&&(F(0,"td",74),C(1,dgb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},fgb=function(a){a&1&&J(0,"div",92)},ggb=function(a){a&1&&
(F(0,"div"),J(1,"b-team-display",93),H());a&2&&(a=P(2).row,A(),E("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},igb=function(a){a&1&&(K(0),C(1,fgb,1,0,"div",91)(2,ggb,2,3,"div",33),L());a&2&&(a=P(3),A(),E("ngIf",a.isLoadingTeams),A(),E("ngIf",!a.isLoadingTeams))},jgb=function(a){a&1&&(F(0,"td",74),C(1,igb,3,2,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},kgb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,A(),R(" ",a.effort==null?null:a.effort.estimate,
" "))},lgb=function(a){a&1&&(F(0,"td",74),C(1,kgb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},mgb=function(a){a&1&&(K(0),Q(1),L());if(a&2){a=P().row;var b=P(2);A();R(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalOpen)||"":""," ")}},ngb=function(a){a&1&&(F(0,"td",74),C(1,mgb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},ogb=function(a){a&1&&(K(0),Q(1),L());if(a&2){a=P().row;var b=P(2);A();R(" ",b.isTotalEstimatesEnabled?(a.effort==null?null:a.effort.totalComplete)||
"":""," ")}},pgb=function(a){a&1&&(F(0,"td",74),C(1,ogb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},qgb=function(a){a&1&&(K(0),Q(1),L());if(a&2){a=P().row;var b=P(2);A();R(" ",b.GET_ISSUE_ACCESS_LEVEL_TITLE(a.issueAccessLevel)," ")}},rgb=function(a){a&1&&(F(0,"td",82),C(1,qgb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},sgb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,A(),R(" ",a.descendantCount," "))},tgb=function(a){a&1&&(F(0,"td",74),C(1,sgb,2,1,"ng-container",33),
H());a&2&&(P(2),A(),E("ngIf",!0))},ugb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,A(),R(" ",a.openDescendantCount," "))},vgb=function(a){a&1&&(F(0,"td",74),C(1,ugb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},wgb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,A(),R(" ",a.oneDayViewCount," "))},xgb=function(a){a&1&&(F(0,"td",74),C(1,wgb,2,1,"ng-container",33),H());a&2&&(a=P(2),A(),E("ngIf",a.enableAddViewCountColumnsOnIlp))},ygb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,
A(),R(" ",a.sevenDayViewCount," "))},zgb=function(a){a&1&&(F(0,"td",74),C(1,ygb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Agb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,A(),R(" ",a.thirtyDayViewCount," "))},Bgb=function(a){a&1&&(F(0,"td",74),C(1,Agb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Cgb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,A(),R(" ",a.voteCount&&a.voteCount>0?a.voteCount:""," "))},Dgb=function(a){a&1&&(F(0,"td",74),C(1,Cgb,2,1,"ng-container",
33),H());a&2&&(P(2),A(),E("ngIf",!0))},Egb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().row,A(),R(" ",a.position," "))},Fgb=function(a){a&1&&(F(0,"td",74),C(1,Egb,2,1,"ng-container",33),H());a&2&&(P(2),A(),E("ngIf",!0))},Hgb=function(a){if(a&1){var b=u();F(0,"pop-grid",11);O("columnsChange",function(c){v(b);var d=P();d.columns=c;d.columnsChange.emit(c);d.cdr.detectChanges();return x()})("focusedRowIndexChange",function(c){v(b);var d=P();d.focusedRowIndex=c;return x(d.focusedRowIndexChange.emit(d.focusedRowIndex))})("sortChange",
function(c){v(b);var d=P();return x(d.sortChange.emit(c))})("rowClick",function(c){v(b);var d=P(),e=c.event.target,f,h=(f=e==null?void 0:e.closest(".title-cell"))!=null?f:!1,k;e=(k=e==null?void 0:e.closest(".issue-id-cell"))!=null?k:!1;h||e||Yk(c.event)||!d.isIssueSidebarEnabled?d.rowClick.emit(c):(d.isIssueSidebarOpen=!0,d.cdr.detectChanges());return x()});C(1,Sdb,2,2,"th",12)(2,Udb,2,2,"th",13)(3,Zdb,2,2,"th",14)(4,aeb,2,2,"th",15)(5,ceb,2,2,"th",15)(6,geb,2,2,"th",16)(7,ieb,2,1,"td",17)(8,keb,
2,1,"td",18)(9,meb,2,1,"td",19)(10,oeb,2,1,"td",20)(11,qeb,2,1,"td",21)(12,ueb,2,1,"td",22)(13,Ceb,2,3,"td",23)(14,Feb,2,1,"td",24)(15,Heb,2,1,"td",25)(16,Neb,2,1,"td",26)(17,Peb,2,1,"td",27)(18,Teb,2,1,"td",28)(19,Xeb,2,1,"td",28)(20,afb,2,1,"td",28)(21,cfb,2,1,"td",28)(22,efb,2,1,"td",28)(23,gfb,2,1,"td",28)(24,mfb,2,1,"td",28)(25,rfb,2,1,"td",28)(26,vfb,2,1,"td",28)(27,xfb,2,1,"td",29)(28,zfb,2,1,"td",29)(29,Bfb,2,1,"td",29)(30,Dfb,2,1,"td",29)(31,Ffb,2,1,"td",28)(32,Hfb,2,1,"td",28)(33,Jfb,2,
1,"td",28)(34,Lfb,2,1,"td",28)(35,Nfb,2,1,"td",28)(36,Qfb,2,5,"td",30)(37,Tfb,2,1,"td",31)(38,Wfb,2,1,"td",31)(39,Zfb,2,1,"td",31)(40,bgb,2,1,"td",31)(41,egb,2,1,"td",28)(42,jgb,2,1,"td",28)(43,lgb,2,1,"td",28)(44,ngb,2,1,"td",28)(45,pgb,2,1,"td",28)(46,rgb,2,1,"td",31)(47,tgb,2,1,"td",28)(48,vgb,2,1,"td",28)(49,xgb,2,1,"td",28)(50,zgb,2,1,"td",28)(51,Bgb,2,1,"td",28)(52,Dgb,2,1,"td",28)(53,Fgb,2,1,"td",28);H()}a&2&&(a=P(),Wf("sidebar-open",a.isIssueSidebarOpen),E("list",(a.searchResults==null?null:
a.searchResults.issues)||Gg(60,Ggb))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("scrollContainer",".bv2-view")("sort",a.sort)("rowLabelRenderer",a.issueDescription),A(),E("forHeaderCell","focused"),A(),E("forHeaderCell","draghandle"),A(),E("forHeaderCell","selected"),A(),E("forHeaderCell","starred"),A(),E("forHeaderCell","position"),A(2),E("forViewCell","focused"),A(),E("forViewCell","draghandle"),A(),E("forViewCell","selected"),A(),E("forViewCell","starred"),A(),E("forViewCell","position"),
A(),E("forViewCell","issueId"),A(),E("forViewCell","title"),A(),E("forViewCell","priority"),A(),E("forViewCell","severity"),A(),E("forViewCell","status"),A(),E("forViewCell","type"),A(),E("forViewCell","reporter"),A(),E("forViewCell","assignee"),A(),E("forViewCell","verifier"),A(),E("forViewCell","cc"),A(),E("forViewCell","changelist"),A(),E("forViewCell","postmortem"),A(),E("forViewCell","blockingIssueId"),A(),E("forViewCell","blockedByIssueId"),A(),E("forViewCell","duplicateOfIssueId"),A(),E("forViewCell",
"createdTime"),A(),E("forViewCell","modifiedTime"),A(),E("forViewCell","resolvedTime"),A(),E("forViewCell","verifiedTime"),A(),E("forViewCell","foundInVersion"),A(),E("forViewCell","targetedToVersion"),A(),E("forViewCell","verifiedInVersion"),A(),E("forViewCell","inProd"),A(),E("forViewCell","archived"),A(),E("forViewCell","componentPath"),A(),E("forViewCell","minSlo"),A(),E("forViewCell","responseSlo"),A(),E("forViewCell","assignmentSlo"),A(),E("forViewCell","closureSlo"),A(),E("forViewCell","deletionTime"),
A(),E("forViewCell","team"),A(),E("forViewCell","estimate"),A(),E("forViewCell","estimateTotalOpen"),A(),E("forViewCell","estimateTotalComplete"),A(),E("forViewCell","accessLevel"),A(),E("forViewCell","descendantCount"),A(),E("forViewCell","openDescendantCount"),A(),E("forViewCell","oneDayViewCount"),A(),E("forViewCell","sevenDayViewCount"),A(),E("forViewCell","thirtyDayViewCount"),A(),E("forViewCell","voteCount"),A(),E("forViewCell","position"))},Igb=function(a){a&1&&J(0,"b-issue-card",96,4);if(a&
2){a=M(1);var b=P().id;E("onedevIsHovercardReady",a.init)("issueId",b)}},Jgb=function(a,b){a&1&&(F(0,"onedev-hovercard",null,3),C(2,Igb,2,2,"b-issue-card",94),H(),F(3,"span",95),Q(4),H());a&2&&(a=b.id,b=M(1),A(3),E("onedevHovercardTrigger",b),A(),yg(a))},Kgb=function(a){if(a&1){var b=u();F(0,"b-app-bar-bulk-edit-menus",10);T(1,"async");O("onBulkEdit",function(d){v(b);var e=P();return x(e.bulkEdit(d))})("onQuickBulkEdit",function(d){v(b);var e=P();return x(e.quickBulkEdit(d))})("onBulkEditIssueRelation",
function(d){v(b);var e=P();return x(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){v(b);var d=P();return x(d.bulkMarkIssueRead())});H()}if(a&2){var c;a=P();E("enableBulkEstimatedEffortOption",(c=U(1,2,a.enableBulkEstimatedEffortOption$))!==null&&c!==void 0?c:!1)("readStatePrompt",c8a(a))}},Lgb=function(a){if(a&1){var b=u();F(0,"b-copy-issue-id-button",11);O("onClickCopyIssueIds",function(){v(b);var c=P();return x(e8a(c.copyIssueIdService,Gq(c)))})("onClickCopyIssueShortLinks",function(){v(b);
var c=P();return x(f8a(c.copyIssueIdService,Gq(c)))})("onClickCopyAsIssueSearch",function(){v(b);var c=P();return x(g8a(c.copyIssueIdService,Gq(c)))});H()}a&2&&(a=P(),E("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},Mgb=function(a){if(a&1){var b=u();F(0,"div",12)(1,"b-hotlist-picker",13);O("onApply",function(c){v(b);var d=P();return x(d.handleHotlistPickerSave(c))})("onCreate",function(c){v(b);var d=P();return x(d.onCreateHotlist.emit(c))})("onLoad",
function(c){v(b);var d=P();return x(d.onLoadHotlist.emit(c))});H()()}a&2&&(a=P(),A(),E("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},Ngb=function(a){if(a&1){var b=u();F(0,"hotlist-add-issue-btn",16);O("issueAddedToHotlist",function(){v(b);var c=P(2);return x(c.refresh())});H()}a&2&&(a=P(2),E("hotlistId",a.currentHotlistId))},Ogb=function(a){a&1&&J(0,"hotlist-archive-btn",17);a&2&&(a=P(2),E("hotlistId",a.currentHotlistId))},Pgb=function(a){a&1&&(K(0),C(1,Ngb,1,1,"hotlist-add-issue-btn",
14)(2,Ogb,1,1,"hotlist-archive-btn",15),L());a&2&&(a=P(),A(),E("ngIf",a.enableBulkEditUi),A(),E("ngIf",a.isHotlistAdmin))},Qgb=function(a){a&1&&(F(0,"span",21),Q(1,"Reporting"),H())},Rgb=function(a){if(a&1){var b=u();F(0,"b-button",18);O("onAction",function(){v(b);var c=P();return x(c.openInEstado())});J(1,"b-icon",19);C(2,Qgb,2,0,"span",20);H()}a&2&&(a=P(),E("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),A(2),E("ngIf",!a.hasSelectedIssues()))},Sgb=function(a){if(a&
1){var b=u();F(0,"b-comment-box",28);Cg("commentChange",function(c){v(b);var d=P(2);Bg(d.comment,c)||(d.comment=c);return x(c)});O("onSubmit",function(){v(b);var c=P(2);return x(j8a(c))});H()}a&2&&(a=P(2),Ag("comment",a.comment),E("showToolbar",!1))},Tgb=function(a){if(a&1){var b=u();F(0,"div",29)(1,"b-recaptcha",30);O("onUpdate",function(c){v(b);var d=P(2);return x(d.recaptchaResponse=c)});H()()}},Ugb=function(a){a&1&&(F(0,"h1",22),Q(1,"Add comment"),H(),F(2,"mat-dialog-content"),C(3,Sgb,1,2,"b-comment-box",
23),J(4,"b-external-warnings",24),H(),C(5,Tgb,2,0,"div",25),F(6,"mat-dialog-actions")(7,"button",26),Q(8," Cancel "),H(),F(9,"button",27),Q(10," Save "),H()());a&2&&(a=P(),A(3),E("ngIf",a.comment),A(),E("externalWarnings",a.externalWarnings),A(),E("ngIf",a.enableRecaptcha),A(2),E("mat-dialog-close",!1),A(2),E("disabled",a.enableRecaptcha&&a.recaptchaResponse==="")("mat-dialog-close",!0))},Vgb=function(a){if(a&1){var b=u();F(0,"div",7)(1,"button",8);O("click",function(){v(b);var c=P();return x(c.onPressSave())});
Q(2," Save ");H();F(3,"button",9);O("click",function(){v(b);var c=P();return x(c.onPressRevert())});Q(4," Revert changes ");H()()}a&2&&(a=P(),A(),E("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":a.hasNoChanges()?"No changes":"Save these changes"),A(2),E("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},Wgb=function(a){if(a&
1){var b=u();F(0,"div",7)(1,"button",8);O("click",function(){v(b);var d=P();return x(d.save())});Q(2," Save ");H();F(3,"button",9);O("click",function(){v(b);var d=P();return x(d.revert())});Q(4," Revert changes ");H();J(5,"hotlist-archive-btn",10);T(6,"async");H()}if(a&2){var c;a=P();A();E("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");A(2);E("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":
"Go back to the last saved state");A(2);E("hotlistId",(c=U(6,5,a.id$))!==null&&c!==void 0?c:void 0)}},Xgb=function(a,b){a&1&&(K(0),Q(1),L());a&2&&(a=b.$implicit,A(),R(" ",a.name," "))},Ygb=function(a){a&1&&(F(0,"strong",4),Q(1,"(archived)"),H())},Zgb=function(a){a&1&&J(0,"b-spinner")},$gb=function(a){a&1&&(J(0,"hotlist-add-issue-btn",5),T(1,"async"));if(a&2){var b;a=P();E("hotlistId",(b=U(1,1,a.id$))!==null&&b!==void 0?b:void 0)}},ahb=function(a){a&1&&(F(0,"p",8),Q(1," This hotlist cannot be edited because you are not an administrator of it. "),
H())},bhb=function(a){a&1&&(K(0),J(1,"b-edit-hotlist-toolbar",1),F(2,"div",2),J(3,"b-edit-hotlist-header",1),F(4,"mat-tab-group",3)(5,"mat-tab",4),J(6,"b-edit-hotlist-basic",5),T(7,"async"),H(),F(8,"mat-tab",6),J(9,"b-edit-hotlist-acl",5),T(10,"async"),H()(),C(11,ahb,2,0,"p",7),T(12,"async"),H(),L());a&2&&(a=P(),A(),E("hotlistId",a.id),A(2),E("hotlistId",a.id),A(),E("selectedIndex",a.tabIndex),A(2),E("hotlistId",a.id)("isReadOnly",U(7,8,a.isAdmin$)===!1),A(3),E("hotlistId",a.id)("isReadOnly",U(10,
10,a.isAdmin$)===!1),A(2),E("ngIf",U(12,12,a.isAdmin$)===!1))},chb=function(a,b){a&1&&(K(0),J(1,"empty-toolbar"),F(2,"div",9)(3,"h2"),Q(4,"Error"),H(),F(5,"p"),Q(6),H()(),L());a&2&&(a=b.$implicit,A(6),yg(a))},dhb=function(a){a&1&&(F(0,"b-callout",1)(1,"b-callout-body"),Q(2),H()());a&2&&(a=P(),A(2),yg(a.error))},ehb=function(a){a&1&&(K(0),Q(1,", "),L())},fhb=function(a,b){a&1&&(K(0),Q(1),C(2,ehb,2,0,"ng-container",14),L());if(a&2){a=b.$implicit;b=b.last;var c=P(2);A();R(" ",c.convertUserToString(a),
" ");A();E("ngIf",!b)}},ghb=function(a,b){if(a&1){var c=u();F(0,"tr",7);O("click",function(){var e=v(c).$implicit,f=P();return x(f.editHotlist(e))})("focus",function(){var e=v(c).index,f=P();return x(f.setFocusOnIndex(e))});J(1,"td",2);F(2,"td",8)(3,"a",9);O("click",function(e){v(c);return x(e.stopPropagation())});Q(4);H()();F(5,"td",10);Q(6);H();F(7,"td",11);C(8,fhb,3,2,"ng-container",12);H();F(9,"td",13);Q(10);H()()}if(a&2){a=b.$implicit;b=b.index;var d=P();Wf("grid-focus",d.isFocused(b));Nf("aria-selected",
d.isFocused(b))("aria-label",d.renderRowLabel(b));A(3);E("href",wp.editHotlist.makeHref(a.hotlistId),cf);A();R(" ",a.name," ");A(2);R(" ",a.description," ");A(2);E("ngForOf",a.adminUsers);A(2);R(" ",a.hotlistId," ")}},hhb=function(a){if(a&1){var b=u();F(0,"button",9);O("click",function(){v(b);var c=P(2);return x(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});Q(1," Move to top ");H()}},ihb=function(a){if(a&1){var b=u();F(0,"button",10);O("click",function(){v(b);var c=P(2);return x(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});
Q(1," Move up ");H()}},jhb=function(a){if(a&1){var b=u();F(0,"button",11);O("click",function(){v(b);var c=P(2);return x(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});Q(1," Move down ");H()}},khb=function(a){if(a&1){var b=u();F(0,"button",12);O("click",function(){v(b);var c=P(2);return x(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});Q(1," Move to bottom ");H()}},lhb=function(a){if(a&1){var b=u();C(0,hhb,2,0,"button",4)(1,ihb,2,0,"button",5)(2,jhb,2,0,"button",6)(3,khb,2,0,"button",
7);F(4,"button",8);O("click",function(){v(b);var c=P();return x(c.removePanel())});Q(5," Remove ");H()}a&2&&(a=P(),E("ngIf",!a.first),A(),E("ngIf",!a.first),A(),E("ngIf",!a.last),A(),E("ngIf",!a.last))},mhb=function(a){a&1&&(K(0),Q(1,"Insights"),L())},nhb=function(a){if(a&1){var b=u();F(0,"b-insights-graph-menu",2);O("openSidebar",function(d){v(b);var e=P(2);return x(e.openSidebar(d.panel))});H()}if(a&2){a=P().ngIf;var c=P();E("availablePanels",a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},
ohb=function(a){a&1&&(K(0),C(1,nhb,1,3,"b-insights-graph-menu",1),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.shouldShowInsightsGraphMenu$)))},phb=function(a){a&1&&J(0,"edit-issue-metadata",5);a&2&&(a=P(),E("issueId",a.issueId))},qhb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(),Nf("title",a.getValue()),A(),R(" ",a.getValue(),"\n"))},rhb=function(a){a&1&&J(0,"b-custom-field-value-display",2);a&2&&(a=P(),E("customFieldValue",a.getCustomFieldValue()))},shb=function(a){a&1&&J(0,"b-actions-menu",
7);a&2&&(a=P(),E("menuItems",a.menuItems))},thb=function(a){a&1&&(F(0,"span",8)(1,"strong"),Q(2),H(),Q(3,"\u00a0of\u00a0"),F(4,"strong"),Q(5),H()());a&2&&(a=P(),A(2),zg("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),A(3),yg(a.searchResults.totalText))},uhb=function(a){a&1&&(F(0,"div"),Q(1," Hotlist not found. "),H())},vhb=function(a){a&1&&(F(0,"div"),Q(1," Loading details... "),H())},whb=function(a){a&1&&J(0,"b-panel-controls",11);a&2&&(a=P(2),E("panelId",a.panel.panelId))},
xhb=function(a){a&1&&(F(0,"span",12),Q(1," \u00a0(changed) "),H())},yhb=function(a){a&1&&(F(0,"div"),C(1,whb,1,1,"b-panel-controls",6),F(2,"span",7),Q(3," Hotlist: "),F(4,"a",8)(5,"span",9),Q(6),H()()(),C(7,xhb,2,0,"span",10),H());a&2&&(a=P(),A(),E("ngIf",a.isDashboardEditable),A(3),E("href",a.ROUTES.viewHotlist.makeHref(a.hotlistId),cf),A(),lg("matTooltip",a.resource.description),A(),yg(a.resource.name),A(),E("ngIf",a.hasParamChanges()))},zhb=function(a){if(a&1){var b=u();F(0,"div",13)(1,"button",
14);O("click",function(){v(b);var c=P();return x(c.save())});Q(2,"Save ");H();F(3,"button",15);O("click",function(){v(b);var c=P();return x(c.discardChanges())});Q(4," Discard changes ");H()()}},Ahb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(3),A(),R("Searching for ",a.searchParams.query," ..."))},Bhb=function(a){a&1&&(F(0,"div",19),J(1,"b-spinner",20),C(2,Ahb,2,1,"span"),H());a&2&&(a=P(2),A(),E("large",!1),A(),$f(a.searchParams&&a.searchParams.query?2:-1))},Chb=function(a){a&1&&(F(0,"div",
21),Q(1," No issues in hotlist. "),H())},Ehb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"b-issues-grid",23);O("init",function(c){v(b);var d=P(2);return x(Dhb(d,c))});Cg("focusedRowIndexChange",function(c){v(b);var d=P(2);Bg(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",function(c){v(b);var d=P(2);Bg(d.issueColumns,c)||(d.issueColumns=c);return x(c)});O("sortChange",function(c){v(b);var d=P(2);return x(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){v(b);
var d=P(2);return x(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){v(b);var d=P(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=P(2);return x(c.goToPage(c.page+1))})("onPrevPage",function(){v(b);var c=P(2);return x(c.goToPage(c.page-1))});H()()}a&2&&(a=P(2),A(),E("searchResults",a.searchResults),Ag("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),E("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},Fhb=function(a){a&
1&&(F(0,"div"),C(1,Bhb,3,2,"div",16)(2,Chb,2,0,"div",17)(3,Ehb,2,5,"div",18),H());a&2&&(a=P(),A(),E("ngIf",a.isLoading),A(),E("ngIf",!a.isLoading&&!(a.searchResults==null?0:a.searchResults.issues==null?0:a.searchResults.issues.length)),A(),E("ngIf",!a.isLoading&&(a.searchResults==null?null:a.searchResults.issues==null?null:a.searchResults.issues.length)))},Ghb=function(a){a&1&&(F(0,"div"),Q(1," Saved search not found. "),H())},Hhb=function(a){a&1&&(F(0,"div"),Q(1," Loading details... "),H())},Ihb=
function(a){a&1&&J(0,"b-panel-controls",11);a&2&&(a=P(2),E("panelId",a.panel.panelId))},Jhb=function(a){a&1&&(F(0,"span",12),Q(1," \u00a0(changed) "),H())},Khb=function(a){a&1&&(F(0,"div",6),C(1,Ihb,1,1,"b-panel-controls",7),F(2,"span",6),Q(3," Saved search: "),F(4,"a",8)(5,"span",9),Q(6),H()()(),C(7,Jhb,2,0,"span",10),H());a&2&&(a=P(),A(),E("ngIf",a.isDashboardEditable),A(3),E("href",a.paths.viewSavedSearch(a.savedSearchId),cf),A(),lg("matTooltip",a.resource.description),A(),yg(a.resource.name),
A(),E("ngIf",a.hasParamChanges()))},Lhb=function(a,b){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=b.ngIf,A(),R("Searching for ",a,"..."))},Mhb=function(a){a&1&&(F(0,"div",16),J(1,"b-spinner",17),C(2,Lhb,2,1,"span",3),H());a&2&&(a=P(2),A(),E("large",!1),A(),E("ngIf",a.searchParams==null?null:a.searchParams.query))},Nhb=function(a){a&1&&(F(0,"div",18),Q(1," No issues in saved search. "),H())},Ohb=function(a){if(a&1){var b=u();F(0,"div",19)(1,"b-issues-grid",20);O("init",function(c){v(b);var d=P(2);return x(Dhb(d,
c))});Cg("focusedRowIndexChange",function(c){v(b);var d=P(2);Bg(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)});O("columnsChange",function(c){v(b);var d=P(2);return x(d.columnsChange(c))})("sortChange",function(c){v(b);var d=P(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=P(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=P(2);return x(c.goToPage(c.page+1))})("onPrevPage",function(){v(b);var c=P(2);return x(c.goToPage(c.page-
1))});H()()}a&2&&(a=P(2),A(),E("searchResults",a.searchResults),Ag("focusedRowIndex",a.focusedRowIndex),E("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},Phb=function(a){a&1&&(F(0,"div"),C(1,Mhb,3,2,"div",13)(2,Nhb,2,0,"div",14)(3,Ohb,2,5,"div",15),H());a&2&&(a=P(),A(),E("ngIf",a.isLoading),A(),E("ngIf",!a.isLoading&&a.searchResults&&a.searchResults.issues.length===0),A(),E("ngIf",!a.isLoading&&a.searchResults&&a.searchResults.issues.length!==0))},Qhb=function(a,
b){a&1&&(F(0,"span",3)(1,"a",4),Q(2),H()());a&2&&(a=b.$implicit,A(),kg("routerLink","/teams/",a.id,"/edit"),E("preserveFragment",!0),A(),yg(a.name))},Rhb=function(a){a&1&&(F(0,"p")(1,"span",6),Q(2,"NOTE:"),H(),Q(3),F(4,"a",7),Q(5,"Learn more"),H()());a&2&&(a=P(),A(3),R(" ",a.data.noteText," "),A(),E("href",a.getDisablingFieldsHelpLink(),cf))},Shb=function(a){a&1&&(K(0),J(1,"span",26)(2,"b-icon",27),L());a&2&&(a=P(),A(),E("innerHTML",a.menuLabel,bf))},Thb=function(a){a&1&&(F(0,"div",28),Q(1," This includes emails about major updates and: "),
F(2,"ul",29)(3,"li"),Q(4,"All title, hotlist, and status changes."),H(),F(5,"li"),Q(6,"Blocking, Blocked By, or Duplicate changes."),H(),F(7,"li"),Q(8,"Changes to Reporter, Verifier, and CCs."),H(),F(9,"li"),Q(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),H(),F(11,"li"),Q(12,"Changes to custom fields marked as minor."),H()()())},Uhb=function(a){a&1&&(F(0,"div",30),Q(1," This includes emails about: "),F(2,"ul",29)(3,"li"),Q(4,"New comments."),H(),F(5,"li"),Q(6,"New status updates."),
H(),F(7,"li"),Q(8,"Priority or Severity changes."),H(),F(9,"li"),Q(10,"Assignee changes."),H(),F(11,"li"),Q(12,"Component changes."),H(),F(13,"li"),Q(14,"Issue closure or reopening."),H(),F(15,"li"),Q(16,"Changes to custom fields marked as major."),H()()())},Vhb=function(a,b){a&1&&(F(0,"mat-option",6),Q(1),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",a.name," "))},Whb=function(a){a&1&&(F(0,"span",12),Q(1," (must be between 30 days and 20 years) "),H())},Yhb=function(a){if(a&1){var b=u();F(0,"div",
13)(1,"b-duration-picker",14);O("durationDaysChange",function(c){v(b);var d=P();d.model.retentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);rr(d);return x()});H();F(2,"div",15);Q(3);H()()}a&2&&(a=P(),A(),E("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),A(2),R(" Issues will be marked for deletion when they have not been modified for ",Xhb(a.model.retentionPeriodDays),". "))},Zhb=function(a){a&1&&(F(0,"div",16)(1,"p"),Q(2,"Please note this extended retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),
F(3,"b"),Q(4,"one or more"),H(),Q(5," of the following is true:"),H(),F(6,"ol")(7,"li"),Q(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),H(),F(9,"li"),Q(10,"You have a process in place to manually delete this data within an approved period of time."),H(),F(11,"li"),Q(12,"Legal and Privacy have approved this non-standard retention period."),H()()())},$hb=function(a){a&1&&(F(0,"div",17)(1,"p"),Q(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),
F(3,"b"),Q(4,"one or more"),H(),Q(5," of the following is true:"),H(),F(6,"ol")(7,"li"),Q(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),H(),F(9,"li"),Q(10,"You have a process in place to manually delete this data within an approved period of time."),H(),F(11,"li"),Q(12,"Legal and Privacy have approved this non-standard retention period."),H()()())},aib=function(a){a&1&&(F(0,"span",12),Q(1," (Issue Retention is shorter than default Restricted Retention) "),
H())},cib=function(a){a&1&&(F(0,"span",12),Q(1),H());a&2&&(a=P(),A(),R(" ",bib(a)," "))},dib=function(a){a&1&&(F(0,"div",23)(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."),H()())},fib=function(a){if(a&1){var b=u();F(0,"div",13)(1,"div")(2,"span",
18);Q(3,"Restricted retention:");H();F(4,"b-duration-picker",19);O("durationDaysChange",function(c){v(b);var d=P();d.model.piiRetentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);rr(d);return x()});H()();F(5,"div",20)(6,"p");Q(7);H()();F(8,"div")(9,"span",18);Q(10,"Restricted+ retention:");H();F(11,"b-duration-picker",21);O("durationDaysChange",function(c){v(b);var d=P();d.model.spiiRetentionPeriodDays=c!==null&&c!==void 0?c:null;d.modelChange.emit(d.model);rr(d);return x()});
H()();F(12,"div",20)(13,"p");Q(14);H()();C(15,dib,3,0,"div",22);H()}a&2&&(a=P(),A(4),E("disabled",!sr(a))("durationDays",a.model.piiRetentionPeriodDays),A(3),R(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",Xhb(a.model.piiRetentionPeriodDays),". "),A(4),E("disabled",!sr(a))("durationDays",a.model.spiiRetentionPeriodDays),A(3),R(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
Xhb(a.model.spiiRetentionPeriodDays),". "),A(),E("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&eib(a)))},gib=function(a){a&1&&(F(0,"div",24)(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."),H()())},hib=function(a,b,
c){a=tr(a.slice(b),c,"[()|]","[()|,\\s]");a.idx+=b;return a},tr=function(a,b,c,d){var e=iib(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}},iib=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},ur=function(a,b){return(b===void 0?0:b)?a.search(/^\d+\+?$/)>-1:a.search(/^\d+$/)>-1},jib=function(a){return a.charAt(0)==="-"?{negated:!0,token:a.slice(1)}:{negated:!1,
token:a}},vr=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):Ga(q,e):!1});b=b.idx;for(var f=b+e.length,h=l(a),k=h.next();!k.done;k=h.next())k=k.value.completionCfg,k.startIdx=b,k.endIdx=f,k.matchingString=e;return a},wr=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}}},mib=function(a,b){if(a&1){var c=u();F(0,"div",9)(1,"div",10);O("click",function(d){var e=v(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;kib(f);lib(f);f.optionsChange.emit(f.options);return x()});F(2,"mat-checkbox",11);O("change",function(d){var e=v(c).$implicit,f=P();e.value.value=d.checked;kib(f);lib(f);f.optionsChange.emit(f.options);
return x()})("click",function(d){v(c);return x(d.stopPropagation())});Q(3);H()()()}a&2&&(a=b.$implicit,Nf("aria-checked",a.value.value),A(2),E("checked",a.value.value),A(),R(" ",a.value.displayString," "))},nib=function(a){a&1&&(F(0,"div",12),Q(1),H());a&2&&(a=P(),A(),R(" ",a.errorString," "))},pib=function(a){if(a&1){var b=u();F(0,"span",4)(1,"input",5);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.businessDayString,c)||(d.businessDayString=c);return x(c)});O("ngModelChange",function(){v(b);
var c=P(2);return x(oib(c))});H();F(2,"span",8);Q(3,"days,");H()()}a&2&&(a=P(2),A(),Wf("ng-invalid",!!a.errorString),Ag("ngModel",a.businessDayString))},rib=function(a,b){a&1&&(F(0,"mat-option",9),Q(1),H());a&2&&(a=b.$implicit,b=P(2),E("value",a),A(),R(" ",qib(b,a)," "))},wib=function(a){if(a&1){var b=u();F(0,"span",2);C(1,pib,4,3,"span",3);F(2,"span",4)(3,"input",5);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.intervalString,c)||(d.intervalString=c);return x(c)});O("ngModelChange",function(){v(b);
var c=P();return x(oib(c))});H();F(4,"mat-select",6);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.intervalUnit,c)||(d.intervalUnit=c);return x(c)});O("selectionChange",function(){v(b);var c=P();sib(c);tib(c);return x()});C(5,rib,2,2,"mat-option",7);H()()()}a&2&&(a=P(),A(),E("ngIf",uib(a)),A(2),Wf("invalid",!!a.errorString),Ag("ngModel",a.intervalString),A(),Ag("ngModel",a.intervalUnit),A(),E("ngForOf",uib(a)?[xr,yr]:[xr,yr,vib]))},xib=function(a){a&1&&(F(0,"span",13),Q(1),H());a&2&&(a=P(2),
A(),zg(" ",a.objectiveBusinessDays," day",a.objectiveBusinessDays!=1?"s":""," "))},yib=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},zib=function(a){a&1&&(F(0,"span"),C(1,yib,2,0,"span",12),F(2,"span"),Q(3),H()());a&2&&(a=P(2),A(),E("ngIf",a.objectiveBusinessDays),A(2),zg("",a.intervalString," ",qib(a,a.intervalUnit),""))},Aib=function(a){a&1&&(F(0,"span",10),C(1,xib,2,2,"span",11)(2,zib,4,3,"span",12),H());a&2&&(a=P(),A(),E("ngIf",a.objectiveBusinessDays),A(),E("ngIf",a.intervalString&&a.intervalString!=
"0"))},Cib=function(a){if(a&1){var b=u();F(0,"b-icon",23);O("click",function(){v(b);var c=P(2);return x(Bib(c,0))});H()}a&2&&E("name","add")("size","small")},Eib=function(a){if(a&1){var b=u();F(0,"span",18)(1,"span",19)(2,"span",20);C(3,Cib,1,2,"b-icon",21);H();F(4,"span",20)(5,"b-icon",22);O("click",function(c){v(b);var d=P();return x(Dib(d,c))});H()()()()}a&2&&(a=P(),A(3),E("ngIf",a.canPerformActions),A(2),E("name","delete")("size","small"))},Fib=function(a){a&1&&J(0,"td",43)},Gib=function(a){if(a&
1){var b=u();F(0,"td",44)(1,"slo-element-property-picker",45);Cg("optionsChange",function(c){v(b);var d=P().$implicit;Bg(d.typePickerValues,c)||(d.typePickerValues=c);return x(c)});H()()}a&2&&(a=P().$implicit,A(),E("selectAllText","Any type")("validator",a.validateTypePicker),Ag("options",a.typePickerValues))},Hib=function(a){if(a&1){var b=u();F(0,"td",46)(1,"slo-element-property-picker",47);Cg("optionsChange",function(c){v(b);var d=P().$implicit;Bg(d.priorityPickerValues,c)||(d.priorityPickerValues=
c);return x(c)});H()()}a&2&&(a=P().$implicit,A(),E("selectAllText","Any priority")("validator",a.validatePriorityPicker),Ag("options",a.priorityPickerValues))},Iib=function(a){if(a&1){var b=u();F(0,"td",48)(1,"slo-element-property-picker",49);Cg("optionsChange",function(d){v(b);var e=P().$implicit;Bg(e.postmortemPickerValues,d)||(e.postmortemPickerValues=d);return x(d)});H()()}if(a&2){a=P().$implicit;var c=P(2);A();E("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker);
Ag("options",a.postmortemPickerValues)}},Kib=function(a,b){a&1&&(F(0,"mat-option",54),Q(1),H());a&2&&(a=b.$implicit,P(4),E("value",a),A(),R(" ",Jib(a)," "))},Lib=function(a){if(a&1){var b=u();F(0,"td",50)(1,"mat-form-field",51)(2,"mat-select",52);Cg("ngModelChange",function(d){v(b);var e=P().$implicit;Bg(e.selectedMetric,d)||(e.selectedMetric=d);return x(d)});C(3,Kib,2,2,"mat-option",53);H()()()}if(a&2){a=P().$implicit;var c=P(2);A(2);Ag("ngModel",a.selectedMetric);E("customValidators",a.metricValidators);
A();E("ngForOf",c.metricChoices)}},Mib=function(a){if(a&1){var b=u();F(0,"td",55)(1,"slo-objective-selector",56);Cg("objectiveDurationChange",function(c){v(b);var d=P().$implicit;Bg(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return x(c)})("objectiveBusinessDaysChange",function(c){v(b);var d=P().$implicit;Bg(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return x(c)});H()()}a&2&&(a=P().$implicit,A(),E("dayType",a.selectedDayType),Ag("objectiveDuration",
a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),E("validator",a.validateObjective)("isDisabled",!1))},Oib=function(a,b){a&1&&(F(0,"mat-option",54),Q(1),H());a&2&&(a=b.$implicit,P(4),E("value",a),A(),R(" ",Nib.get(a||"CALENDAR")," "))},Pib=function(a){if(a&1){var b=u();F(0,"td",57)(1,"mat-form-field",51)(2,"mat-select",58);Cg("ngModelChange",function(d){v(b);var e=P().$implicit;Bg(e.selectedDayType,d)||(e.selectedDayType=d);return x(d)});O("selectionChange",function(){v(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 x()});C(3,Oib,2,2,"mat-option",53);H()()()}if(a&2){a=P().$implicit;var c=P(2);A(2);Ag("ngModel",a.selectedDayType);A();E("ngForOf",
c.dayTypes)}},Tib=function(a){if(a&1){var b=u();F(0,"td",59)(1,"span",19)(2,"span",20)(3,"b-icon",60);O("click",function(){v(b);var c=P(3);if(c.openRow)if(c.openRow.isValid())Qib(c.openRow.typePickerValues)&&Qib(c.openRow.priorityPickerValues)&&Qib(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:Lh("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}):Rib(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:Lh('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 x()});H()();F(4,"span",20)(5,"b-icon",61);O("click",function(){v(b);var c=P().$implicit,d=P(2);return x(Sib(d,c))});H()()()()}a&2&&(A(3),E("name","done")("size","small"),A(2),E("name","delete")("size","small"))},Uib=function(a){a&1&&J(0,"td",62)},Vib=function(a){a&1&&(F(0,"div"),Q(1),H());a&2&&(a=P(2).$implicit,A(),R("ERROR: ",a.parseResult.error,""))},Wib=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),Q(2),H()());a&2&&(a=b.$implicit,A(2),yg(a))},Yib=function(a){a&1&&
(F(0,"span",66),C(1,Wib,3,1,"span",67),H());if(a&2){a=P(2).$implicit;A();if(a.parseResult.types.length===0)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(Xib(a.controllerReference,d));a=b}E("ngForOf",a)}},Zib=function(a){a&1&&(F(0,"td",63),C(1,Vib,2,1,"div",64)(2,Yib,2,1,"span",65),H());a&2&&(a=P().$implicit,A(),E("ngIf",a.parseResult.error),A(),E("ngIf",!a.parseResult.error))},
$ib=function(a){a&1&&(F(0,"div"),Q(1),H());a&2&&(a=P(2).$implicit,A(),R("ERROR: ",a.parseResult.error,""))},ajb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),Q(2),H()());a&2&&(a=b.$implicit,A(2),yg(a))},cjb=function(a){a&1&&(F(0,"span",66),C(1,ajb,3,1,"span",67),H());if(a&2){a=P(2).$implicit;A();if(a.parseResult.priorities.length===0)a=["Any"];else{for(var b=[],c=l(a.controllerReference.sloParseService.enumPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&
b.push(bjb(a.controllerReference,d));a=b}E("ngForOf",a)}},djb=function(a){a&1&&(F(0,"td",70),C(1,$ib,2,1,"div",64)(2,cjb,2,1,"span",65),H());a&2&&(a=P().$implicit,A(),E("ngIf",a.parseResult.error),A(),E("ngIf",!a.parseResult.error))},ejb=function(a){a&1&&(F(0,"div"),Q(1),H());a&2&&(a=P(2).$implicit,A(),R("ERROR: ",a.parseResult.error,""))},fjb=function(a,b){a&1&&(F(0,"span",68)(1,"span",69),Q(2),H()());a&2&&(a=b.$implicit,A(2),yg(a))},gjb=function(a){a&1&&(F(0,"span",66),C(1,fjb,3,1,"span",67),H());
if(a&2){a=P(2).$implicit;A();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])];E("ngForOf",a)}},hjb=function(a){a&1&&(F(0,"td",71),C(1,ejb,2,1,"div",64)(2,gjb,2,1,"span",65),H());a&2&&(a=P().$implicit,A(),E("ngIf",a.parseResult.error),A(),E("ngIf",!a.parseResult.error))},ijb=function(a){a&1&&(F(0,"td",72),Q(1),H());a&2&&(a=P().$implicit,P(2),A(),
R(" ",Jib(a.sloElement.metric)," "))},jjb=function(a){if(a&1){var b=u();F(0,"td",73)(1,"slo-objective-selector",74);Cg("objectiveDurationChange",function(c){v(b);var d=P().$implicit;Bg(d.selectedObjectiveDuration,c)||(d.selectedObjectiveDuration=c);return x(c)})("objectiveBusinessDaysChange",function(c){v(b);var d=P().$implicit;Bg(d.selectedObjectiveBusinessDays,c)||(d.selectedObjectiveBusinessDays=c);return x(c)});H()()}a&2&&(a=P().$implicit,A(),E("dayType",a.selectedDayType),Ag("objectiveDuration",
a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays),E("isDisabled",!a.isEditingInternal))},kjb=function(a){a&1&&(F(0,"td",75),Q(1),H());a&2&&(a=P().$implicit,P(2),A(),R(" ",Nib.get(a.sloElement.dayType||"CALENDAR")," "))},mjb=function(a){if(a&1){var b=u();F(0,"b-icon",84);O("click",function(c){v(b);var d=P(2).$implicit,e=P(2);return x(ljb(e,d,c))});H()}a&2&&E("name","edit")("size","small")},njb=function(a){a&1&&J(0,"b-icon",85);a&2&&(P(),a=M(8),E("name","more-settings-vertical")("size",
"small")("matMenuTriggerFor",a))},pjb=function(a){if(a&1){var b=u();F(0,"button",86);O("click",function(){v(b);var c=P(2).$implicit,d=P(2);return x(ojb(d,c,1))});Q(1," Move row down ");H()}},qjb=function(a){if(a&1){var b=u();F(0,"button",87);O("click",function(){v(b);var c=P(2).$implicit,d=P(2);return x(ojb(d,c,-1))});Q(1," Move row up ");H()}},sjb=function(a){if(a&1){var b=u();F(0,"td",76)(1,"span",19)(2,"span",20);C(3,mjb,1,2,"b-icon",77);H();F(4,"span",20)(5,"span");C(6,njb,1,3,"b-icon",78);H();
F(7,"mat-menu",null,0);C(9,pjb,2,0,"button",79)(10,qjb,2,0,"button",80);F(11,"button",81);O("click",function(){v(b);var d=P().$implicit,e=P(2);Bib(e,e.collection.indexOf(d)+1);return x()});Q(12," Add row below ");H();F(13,"button",82);O("click",function(){v(b);var d=P().$implicit,e=P(2);Bib(e,e.collection.indexOf(d));return x()});Q(14," Add row above ");H();F(15,"button",83);O("click",function(){v(b);var d=P().$implicit,e=P(2);return x(Sib(e,d))});Q(16," Remove ");H()()()()()}if(a&2){a=P().$implicit;
var c=P(2);A(3);E("ngIf",a.canEdit);A(3);E("ngIf",a.canEdit);A(3);E("ngIf",rjb(c,a,1).valid);A();E("ngIf",rjb(c,a,-1).valid)}},tjb=function(a,b){a&1&&(F(0,"tr",26),C(1,Fib,1,0,"td",27)(2,Gib,2,3,"td",28)(3,Hib,2,3,"td",29)(4,Iib,2,3,"td",30)(5,Lib,4,3,"td",31)(6,Mib,2,5,"td",32)(7,Pib,4,2,"td",33)(8,Tib,6,4,"td",34)(9,Uib,1,0,"td",35)(10,Zib,3,2,"td",36)(11,djb,3,2,"td",37)(12,hjb,3,2,"td",38)(13,ijb,2,1,"td",39)(14,jjb,2,4,"td",40)(15,kjb,2,1,"td",41)(16,sjb,17,4,"td",42),H());a&2&&(a=b.$implicit,
b=P(2),Wf("draggable",!b.isDisabled&&b.openRow==null),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",a.isEditingInternal),A(),E("ngIf",!a.isEditingInternal),A(),E("ngIf",!a.isEditingInternal),A(),E("ngIf",!a.isEditingInternal),A(),E("ngIf",!a.isEditingInternal),A(),E("ngIf",!a.isEditingInternal),
A(),E("ngIf",!a.isEditingInternal),A(),E("ngIf",!a.isEditingInternal),A(),E("ngIf",!a.isEditingInternal))},ujb=function(a){if(a&1){var b=u();F(0,"tbody",24);O("cdkDropListDropped",function(c){v(b);var d=P();return x(d.onDrop(c))});C(1,tjb,17,18,"tr",25);H()}a&2&&(a=P(),E("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||a.openRow!=null),A(),E("ngForOf",a.collection))},vjb=function(a){a&1&&(F(0,"div",88),Q(1," There are currently no rules for this SLO "),H())},wjb=function(a,b){if(a&
1){var c=u();F(0,"tr",7);O("click",function(){var e=v(c).$implicit,f=P();return x(f.editSlo(e))})("focus",function(){var e=v(c).index,f=P();return x(f.setFocusOnIndex(e))});J(1,"td",2);F(2,"td",8)(3,"a",9);Q(4);H()();F(5,"td",10);Q(6);H()()}if(a&2){a=b.$implicit;b=b.index;var d=P();Wf("grid-focus",d.isFocused(b));Nf("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));A(3);E("href",wp.editSlo.makeHref(a.sloId),cf);A();R(" ",a.name," ");A(2);R(" ",a.description," ")}},xjb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return ii(b)}):[ii(a)]).filter(function(b){return!isNaN(b)})},yjb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!zr(c,b)})},zjb=function(a,b){typeof a==="string"&&(a=a.trim())&&b(Ci(a))},Ajb=function(a,b){if(!a)return[];a=l(typeof a==="string"?a.split(","):a);for(var c=a.next();!c.done;c=a.next())zjb(c.value,function(d){return b.push(d)});return era(b)},Bjb=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("df");}},Cjb=function(a){a&1&&(F(0,"a",3),Q(1),T(2,"async"),H());if(a&2){var b;a=P();E("href",a.manageComponentLink,cf);A();yg((b=U(2,2,a.component$))==null?null:b.name)}},Djb=function(a){a&1&&(F(0,"output"),Q(1),H());a&2&&(a=P(),A(),yg(a.componentId))},Ejb=function(a){a&1&&dg(0)},Fjb=function(a){a&1&&C(0,Ejb,1,0,"ng-container",4);a&2&&(P(),a=M(6),E("ngTemplateOutlet",a))},Gjb=function(a){a&1&&dg(0)},Hjb=function(a){a&
1&&C(0,Gjb,1,0,"ng-container",4);a&2&&(P(),a=M(8),E("ngTemplateOutlet",a))},Ijb=function(a){a&1&&(F(0,"li")(1,"label"),Q(2,"Component"),H(),J(3,"b-async-component",8),H());a&2&&(a=P(2),A(3),E("componentId",a.issueComponentId))},Jjb=function(a){a&1&&(F(0,"li")(1,"label"),Q(2,"Team"),H(),J(3,"b-team-display",9),H());a&2&&(a=P(2),A(3),E("teamId",a.issueTeamId))},Kjb=function(a){a&1&&(F(0,"ol",5)(1,"li")(2,"label"),Q(3,"ID"),H(),F(4,"output"),Q(5),H()(),F(6,"li")(7,"label"),Q(8,"Type"),H(),F(9,"output"),
Q(10),H()(),F(11,"li")(12,"label"),Q(13,"Priority"),H(),J(14,"b-issue-priority-display",6),H(),F(15,"li")(16,"label"),Q(17,"Severity"),H(),F(18,"output"),Q(19),H()(),F(20,"li")(21,"label"),Q(22,"Status"),H(),F(23,"output"),Q(24),H()(),F(25,"li")(26,"label"),Q(27,"Last modified"),H(),F(28,"output"),Q(29),T(30,"date"),H()(),F(31,"li")(32,"label"),Q(33,"Issue access limit"),H(),F(34,"output"),Q(35),F(36,"a",7),Q(37,"Learn more"),H()()(),C(38,Ijb,4,1,"li")(39,Jjb,4,1,"li"),H());a&2&&(a=P(),A(5),yg(a.issueId),
A(5),yg(a.issueType),A(4),E("issuePriority",a.issuePriority),A(5),yg(a.issueSeverity),A(5),yg(a.issueStatus),A(5),yg(Kg(30,10,a.issueLastModified,"medium")),A(6),R("",a.accessLimitLevel," "),A(),E("href",a.documentationLinks.getIssueAccessLimit(),cf),A(2),$f(a.issueComponentId?38:-1),A(),$f(a.issueTeamId?39:-1))},Ljb=function(a){if(a&1){var b=u();F(0,"button",11);O("click",function(){v(b);P(2).loginRedirector.redirect();return x()});Q(1,"Sign in");H()}},Mjb=function(a){a&1&&(F(0,"h3"),Q(1,"Access to this issue may be resolved by signing in."),
H(),C(2,Ljb,2,0,"button",10));a&2&&(a=P(),A(2),$f(a.enableSignInAnonymousAccessDenied?2:-1))},Njb=function(a){return a.startsWith('"')&&a.endsWith('"')||a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},Ojb=function(a){a.label||(a=di(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},Qjb=function(a){return{type:Pjb[a.getType()],value:a.getValue()}},Sjb=function(a){var b,c=Rjb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(Sjb);a=Yj(a,Tjb,3,Ai());
return{type:c,values:d,simpleValues:(a!=null?a:[]).map(Qjb)}},Xjb=function(a){var b,c=Ujb[a.getType()],d=((b=a.getValuesList())!=null?b:[]).map(Sjb);b=hk(a,3);if(a.hasLabel()){var e=a.getLabel();e={field:Vjb[e.getField()],customFieldId:Number(e.getCustomFieldId_asString())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:Wjb[Kj(a,5,0)]}},bkb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:Zh(bk(a,Yjb,2,Zjb),1)},queryBuilderResponse:void 0};case 1:a=
bk(a,Ar,1,Zjb);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:$jb[a.getType()],expressions:((b=Yj(a,akb,2,Ai()))!=null?b:[]).map(Xjb)}};default:return{syntaxErrorResponse:void 0,queryBuilderResponse:void 0}}},ckb=function(a){a&1&&(F(0,"span",11),Q(1," > "),H())},fkb=function(a,b){if(a&1){var c=u();F(0,"span")(1,"a",9);O("click",function(d){var e=v(c).$implicit,f=P(2);e=new dkb(e.pathIds,e.pathNames);f.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();ekb(f.autocompleteTrigger);
return x()});Q(2);H();C(3,ckb,2,0,"span",10);H()}a&2&&(a=b.$implicit,b=b.last,A(),E("matTooltip",a.pathNameText),A(),yg(a.name),A(),E("ngIf",!b))},gkb=function(a,b){a&1&&(F(0,"mat-option",6)(1,"div"),C(2,fkb,4,3,"span",7),H(),F(3,"span",8),Q(4),T(5,"slice"),H()());a&2&&(a=b.$implicit,E("value",a),A(2),E("ngForOf",a.teamPath),A(),E("matTooltip",a.description),A(),R("",cma(5,4,a.description,100)," "))},hkb=function(a,b){a&1&&(F(0,"mat-option",5)(1,"div",6),Q(2),H()());a&2&&(a=b.$implicit,E("value",
a),A(2),R(" ",a.name," "))},ikb=function(a,b){a&1&&(F(0,"mat-option",14),Q(1),H());a&2&&(a=b.$implicit,E("value",a.key),A(),R(" ",a.value," "))},jkb=function(a){if(a&1){var b=u();F(0,"mat-form-field",11)(1,"mat-select",12);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.expressionType,c)||(d.expressionType=c);return x(c)});C(2,ikb,2,2,"mat-option",13);T(3,"keyvalue");H()()}a&2&&(a=P(2),A(),Ag("ngModel",a.expressionType),A(),E("ngForOf",U(3,2,a.globalTypeLabels)))},kkb=function(a,b){a&1&&(F(0,
"mat-option",14),Q(1),H());a&2&&(a=b.$implicit,E("value",a[0]),A(),R(" ",a[1]," "))},lkb=function(a,b){a&1&&(F(0,"mat-option",14),Q(1),H());if(a&2){a=b.$implicit;b=P(2).$implicit;var c=P(2);E("value",a);A();R(" ",c.getTypeLabel(b,a)," ")}},mkb=function(a){if(a&1){var b=u();F(0,"mat-form-field",11)(1,"mat-select",22);Cg("ngModelChange",function(c){v(b);var d=P().$implicit;Bg(d.type,c)||(d.type=c);return x(c)});C(2,lkb,2,2,"mat-option",13);H()()}a&2&&(a=P().$implicit,A(),Ag("ngModel",a.type),A(),E("ngForOf",
a.getLegalTypes()))},okb=function(a){if(a&1){var b=u();F(0,"div",35);O("click",function(){v(b);var c=P(2).$implicit,d=P(5);return x(nkb(d,c))});F(1,"span",36);Q(2);H()()}a&2&&(a=P(2).$implicit,P(5),E("title",a.value),A(2),R(" ",a.value.replace(/"/g,"")," "))},pkb=function(a){if(a&1){var b=u();F(0,"div",37)(1,"b-custom-repeated-enum-picker",38);O("onValueChange",function(e){v(b);var f=P(7);f.chipUnderEdit.value='"'+e+'"';Br(f);return x()});H()()}if(a&2){a=P(2).$implicit;var c=P(3).$implicit,d=P(2);
A();E("showPlaceholder",!0)("customFieldTitle",d.getCustomFieldName(c))("currentInputValue",a.value.replace(/"/g,""))("allowedValues",c.getOptions())}},qkb=function(a){if(a&1){var b=u();F(0,"div",31);C(1,okb,3,2,"div",32)(2,pkb,2,4,"div",33);F(3,"button",34);O("click",function(){v(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(Cr(f,e,d))});H()()}if(a&2){a=P().$implicit;var c=P(5);A();E("ngIf",c.chipUnderEdit!==a);A();E("ngIf",c.chipUnderEdit===a)}},rkb=function(a,b){a&1&&(K(0),C(1,qkb,4,
2,"div",30),L());a&2&&(a=b.$implicit,b=P(5),A(),E("ngIf",b.chipUnderEdit===a||a.value))},skb=function(a){if(a&1){var b=u();F(0,"button",39);O("click",function(){v(b);var c=P(3).$implicit,d=P(2);return x(Dr(d,c))});Q(1);H()}a&2&&(a=P(3).$implicit,A(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},tkb=function(a){a&1&&(F(0,"div",27),C(1,rkb,2,1,"ng-container",28)(2,skb,2,1,"button",29),H());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.values),A(),E("ngIf",a.type))},ukb=function(a,b){if(a&1){var c=
u();F(0,"div",42)(1,"mat-checkbox",43);O("change",function(d){var e=v(c).$implicit,f=P(3).$implicit;return x(f.enumValues[e.id]=d.checked)});Q(2);H()()}a&2&&(a=b.$implicit,b=P(3).$implicit,A(),E("checked",b.enumValues[a.id]),A(),R(" ",a.label||a.id," "))},vkb=function(a){a&1&&(F(0,"div",40),C(1,ukb,3,2,"div",41),H());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.getOptions()))},xkb=function(a){if(a&1){var b=u();F(0,"div")(1,"input",44);Cg("ngModelChange",function(c){v(b);var d=P(3).$implicit;Bg(d.csv,
c)||(d.csv=c);return x(c)});H()()}a&2&&(a=P(3).$implicit,A(),Ag("ngModel",a.csv),E("bContactAutocomplete","MULTI"))},ykb=function(a){if(a&1){var b=u();F(0,"div",23)(1,"input",45);Cg("ngModelChange",function(c){v(b);var d=P(3).$implicit;Bg(d.csv,c)||(d.csv=c);return x(c)});H()()}a&2&&(a=P(3).$implicit,A(),Ag("ngModel",a.csv))},zkb=function(a){if(a&1){var b=u();F(0,"div",23)(1,"input",46);Cg("ngModelChange",function(c){v(b);var d=P(3).$implicit;Bg(d.csv,c)||(d.csv=c);return x(c)});H()()}a&2&&(a=P(3).$implicit,
A(),Ag("ngModel",a.csv))},Akb=function(a){if(a&1){var b=u();F(0,"div",23)(1,"input",47);Cg("ngModelChange",function(c){v(b);var d=P(3).$implicit;Bg(d.csv,c)||(d.csv=c);return x(c)});H()()}a&2&&(a=P(3).$implicit,A(),Ag("ngModel",a.csv))},Bkb=function(a){a&1&&(F(0,"div"),C(1,xkb,2,2,"div",26)(2,ykb,2,1,"div",18)(3,zkb,2,1,"div",18)(4,Akb,2,1,"div",18),H());a&2&&(a=P(2).$implicit,A(),E("ngIf",a.getWidgetType()=="user"),A(),E("ngIf",a.getWidgetType()=="csv"),A(),E("ngIf",a.getWidgetType()=="id"),A(),
E("ngIf",a.getWidgetType()=="number"))},Ckb=function(a,b){if(a&1){var c=u();F(0,"div",49)(1,"div",37)(2,"input",47);Cg("ngModelChange",function(d){var e=v(c).$implicit;Bg(e.value,d)||(e.value=d);return x(d)});H()();F(3,"button",50);O("click",function(){var d=v(c).$implicit,e=P(3).$implicit,f=P(2);return x(Cr(f,e,d))});H()()}a&2&&(a=b.$implicit,A(2),Ag("ngModel",a.value))},Dkb=function(a){if(a&1){var b=u();F(0,"button",39);O("click",function(){v(b);var c=P(3).$implicit,d=P(2);return x(Dr(d,c))});Q(1);
H()}a&2&&(a=P(3).$implicit,A(),R(" + ",a.type=="OR"||a.type=="NOR"?"OR":"AND"," "))},Ekb=function(a){a&1&&(F(0,"div",27),C(1,Ckb,4,1,"div",48)(2,Dkb,2,1,"button",29),H());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.values),A(),E("ngIf",a.type))},Gkb=function(a){if(a&1){var b=u();F(0,"div",35);O("click",function(){v(b);var d=P(2).$implicit,e=P(5);return x(Fkb(e,d))});F(1,"span",36);Q(2);H()()}if(a&2){a=P(2).$implicit;var c=P(5);E("title",c.getComponentPath(c.components[a.value]));A(2);R(" ",c.getComponentPath(c.components[a.value]),
" ")}},Hkb=function(a){if(a&1){var b=u();F(0,"div",37)(1,"b-team-component-picker",55);O("selectedComponentChange",function(c){v(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;Br(d);return x()});H()()}a&2&&(a=P(7),A(),E("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},
Ikb=function(a){if(a&1){var b=u();F(0,"div",52);C(1,Gkb,3,2,"div",32)(2,Hkb,2,3,"div",33);F(3,"button",53);O("click",function(){v(b);var d=P().$implicit;P(5);d.includeSubs=!d.includeSubs;return x()});J(4,"mat-icon",54);H();F(5,"button",34);O("click",function(){v(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(Cr(f,e,d))});H()()}if(a&2){a=P().$implicit;var c=P(5);A();E("ngIf",c.chipUnderEdit!==a);A();E("ngIf",c.chipUnderEdit===a);A();E("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");
Nf("aria-checked",a.includeSubs);A();E("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},Jkb=function(a,b){a&1&&(K(0),C(1,Ikb,6,5,"div",51),L());a&2&&(a=b.$implicit,b=P(5),A(),E("ngIf",b.chipUnderEdit===a||a.value))},Kkb=function(a){if(a&1){var b=u();F(0,"button",39);O("click",function(){v(b);var c=P(3).$implicit,d=P(2);return x(Dr(d,c))});Q(1);H()}a&2&&(a=P(3).$implicit,A(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},Lkb=function(a){a&1&&(F(0,"div",27),C(1,
Jkb,2,1,"ng-container",28)(2,Kkb,2,1,"button",29),H());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.values),A(),E("ngIf",a.type))},Nkb=function(a){if(a&1){var b=u();F(0,"div",35);O("click",function(){v(b);var d=P(2).$implicit,e=P(5);return x(Mkb(e,d))});F(1,"span",36);Q(2);H()()}if(a&2){a=P(2).$implicit;var c=P(5);E("title",c.trackers[a.value]==null?null:c.trackers[a.value].name);A(2);R(" ",c.trackers[a.value]==null?null:c.trackers[a.value].name," ")}},Okb=function(a){if(a&1){var b=u();F(0,"div",37)(1,
"b-tracker-picker",58);O("onTrackerSelect",function(c){v(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;Br(d);return x()});H()()}a&2&&(a=P(7),A(),E("selectedTracker",a.trackerUnderEdit))},Pkb=function(a){if(a&1){var b=u();F(0,"div",57);C(1,Nkb,3,2,"div",32)(2,Okb,2,1,"div",33);F(3,"button",34);O("click",function(){v(b);var d=P().$implicit,
e=P(3).$implicit,f=P(2);return x(Cr(f,e,d))});H()()}if(a&2){a=P().$implicit;var c=P(5);A();E("ngIf",c.chipUnderEdit!==a);A();E("ngIf",c.chipUnderEdit===a)}},Qkb=function(a,b){a&1&&(K(0),C(1,Pkb,4,2,"div",56),L());a&2&&(a=b.$implicit,b=P(5),A(),E("ngIf",b.chipUnderEdit===a||a.value))},Rkb=function(a){if(a&1){var b=u();F(0,"button",39);O("click",function(){v(b);var c=P(3).$implicit,d=P(2);return x(Dr(d,c))});Q(1);H()}a&2&&(a=P(3).$implicit,A(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},
Skb=function(a){a&1&&(F(0,"div",27),C(1,Qkb,2,1,"ng-container",28)(2,Rkb,2,1,"button",29),H());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.values),A(),E("ngIf",a.type))},Ukb=function(a){if(a&1){var b=u();F(0,"div",35);T(1,"teamPath");O("click",function(){v(b);var d=P(2).$implicit,e=P(6);return x(Tkb(e,d))});F(2,"span",36);Q(3);T(4,"teamPath");H()()}if(a&2){a=P(2).$implicit;var c=P(6);E("title",U(1,2,c.teams[a.value]));A(3);R(" ",U(4,4,c.teams[a.value])," ")}},Wkb=function(a){if(a&1){var b=u();F(0,"div",
37)(1,"b-team-picker",62);O("onTeamSelect",function(c){v(b);var d=P(8);return x(Vkb(d,c))});H()()}a&2&&(a=P(8),A(),E("teamSelected",a.teamUnderEdit))},Xkb=function(a){if(a&1){var b=u();F(0,"div",60);C(1,Ukb,5,6,"div",32)(2,Wkb,2,1,"div",33);F(3,"button",61);O("click",function(){v(b);var d=P().$implicit;P(6);d.includeSubs=!d.includeSubs;return x()});J(4,"mat-icon",54);H();F(5,"button",34);O("click",function(){v(b);var d=P().$implicit,e=P(4).$implicit,f=P(2);return x(Cr(f,e,d))});H()()}if(a&2){a=P().$implicit;
var c=P(6);A();E("ngIf",c.chipUnderEdit!==a);A();E("ngIf",c.chipUnderEdit===a);A();E("title",a.includeSubs?"Subteams are included":"Subteams are not included");Nf("aria-checked",a.includeSubs);A();E("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},Ykb=function(a,b){a&1&&(K(0),C(1,Xkb,6,5,"div",59),L());a&2&&(a=b.$implicit,b=P(6),A(),E("ngIf",b.chipUnderEdit===a||a.value))},Zkb=function(a){if(a&1){var b=u();F(0,"button",39);O("click",function(){v(b);var c=P(4).$implicit,d=P(2);
return x(Dr(d,c))});Q(1);H()}a&2&&(a=P(4).$implicit,A(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},$kb=function(a){a&1&&(K(0),C(1,Ykb,2,1,"ng-container",28)(2,Zkb,2,1,"button",29),L());a&2&&(a=P(3).$implicit,A(),E("ngForOf",a.values),A(),E("ngIf",a.type))},alb=function(a){a&1&&(F(0,"div",27),C(1,$kb,3,2,"ng-container",26),H());a&2&&(a=P(4),A(),E("ngIf",a.sessionIsInternal))},clb=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",63);O("boundValueChange",function(d){v(b);
P(3).$implicit.dateFrom=blb(d);return x()});H();Q(2," and ");F(3,"bv2-input-date-picker",63);O("boundValueChange",function(d){v(b);P(3).$implicit.dateTo=blb(d);return x()});H()()}if(a&2){a=P(3).$implicit;var c=P(2);A();E("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0);A(2);E("boundValue",c.getDateValue(a.dateTo))("isRequired",!0)}},dlb=function(a){if(a&1){var b=u();F(0,"div");Q(1," the last ");F(2,"input",64);Cg("ngModelChange",function(c){v(b);var d=P(3).$implicit;Bg(d.duration,c)||(d.duration=
c);return x(c)});H();Q(3," days. ");H()}a&2&&(a=P(3).$implicit,A(2),Ag("ngModel",a.duration))},elb=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",63);O("boundValueChange",function(d){v(b);P(3).$implicit.dateFrom=blb(d);return x()});H()()}if(a&2){a=P(3).$implicit;var c=P(2);A();E("boundValue",c.getDateValue(a.dateFrom))("isRequired",!0)}},flb=function(a){a&1&&(F(0,"div"),C(1,clb,4,4,"div",26)(2,dlb,4,1,"div",26)(3,elb,2,2,"div",26),H());a&2&&(a=P(2).$implicit,A(),E("ngIf",a.type==
"RANGE"||a.type=="NRANGE"),A(),E("ngIf",a.type=="DURATION"||a.type=="NDURATION"),A(),E("ngIf",a.type=="LE"||a.type=="LT"||a.type=="GE"||a.type=="GT"||a.type=="OR"))},glb=function(a){if(a&1){var b=u();F(0,"div",35);O("click",function(){v(b);var d=P(2).$implicit,e=P(5);return x(Er(e,d))});F(1,"span",36);Q(2);H()()}if(a&2){a=P(2).$implicit;var c=P(5);E("title",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value);A(2);R(" ",(c.hotlists[a.value]==null?null:c.hotlists[a.value].name)||a.value,
" ")}},hlb=function(a,b){a&1&&(F(0,"mat-option",14),Q(1),H());a&2&&(a=b.$implicit,E("value",a.hotlistId),A(),R(" ",a.name," "))},ilb=function(a){if(a&1){var b=u();F(0,"mat-form-field",68)(1,"mat-select",69);Cg("ngModelChange",function(d){v(b);var e=P(2).$implicit;Bg(e.value,d)||(e.value=d);return x(d)});O("selectionChange",function(){v(b);var d=P(7);return x(Br(d))});C(2,hlb,2,2,"mat-option",13);H()()}if(a&2){a=P(2).$implicit;var c=P(5);A();Ag("ngModel",a.value);A();E("ngForOf",c.userHotlists)}},
jlb=function(a){if(a&1){var b=u();F(0,"div",66);C(1,glb,3,2,"div",32)(2,ilb,3,2,"mat-form-field",67);F(3,"button",34);O("click",function(){v(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(Cr(f,e,d))});H()()}if(a&2){a=P().$implicit;var c=P(5);A();E("ngIf",c.chipUnderEdit!==a);A();E("ngIf",c.chipUnderEdit===a)}},klb=function(a,b){a&1&&(K(0),C(1,jlb,4,2,"div",65),L());a&2&&(a=b.$implicit,b=P(5),A(),E("ngIf",b.chipUnderEdit===a||a.value))},llb=function(a){if(a&1){var b=u();F(0,"button",39);O("click",
function(){v(b);var c=P(3).$implicit,d=P(2);return x(Dr(d,c))});Q(1);H()}a&2&&(a=P(3).$implicit,A(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},mlb=function(a){a&1&&(F(0,"div",27),C(1,klb,2,1,"ng-container",28)(2,llb,2,1,"button",29),H());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.values),A(),E("ngIf",a.type))},nlb=function(a){if(a&1){var b=u();F(0,"div",35);O("click",function(){v(b);var d=P(2).$implicit,e=P(5);return x(Er(e,d))});F(1,"span",36);Q(2);H()()}if(a&2){a=P(2).$implicit;var c=
P(5);E("title",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value);A(2);R(" ",(c.savedSearches[a.value]==null?null:c.savedSearches[a.value].name)||a.value," ")}},olb=function(a,b){a&1&&(F(0,"mat-option",14),Q(1),H());a&2&&(a=b.$implicit,E("value",a.searchId),A(),R(" ",a.name," "))},plb=function(a){if(a&1){var b=u();F(0,"mat-form-field",68)(1,"mat-select",70);Cg("ngModelChange",function(d){v(b);var e=P(2).$implicit;Bg(e.value,d)||(e.value=d);return x(d)});O("selectionChange",
function(){v(b);var d=P(7);return x(Br(d))});C(2,olb,2,2,"mat-option",13);H()()}if(a&2){a=P(2).$implicit;var c=P(5);A();Ag("ngModel",a.value);A();E("ngForOf",c.userSavedSearches)}},qlb=function(a){if(a&1){var b=u();F(0,"div",66);C(1,nlb,3,2,"div",32)(2,plb,3,2,"mat-form-field",67);F(3,"button",34);O("click",function(){v(b);var d=P().$implicit,e=P(3).$implicit,f=P(2);return x(Cr(f,e,d))});H()()}if(a&2){a=P().$implicit;var c=P(5);A();E("ngIf",c.chipUnderEdit!==a);A();E("ngIf",c.chipUnderEdit===a)}},
rlb=function(a,b){a&1&&(K(0),C(1,qlb,4,2,"div",65),L());a&2&&(a=b.$implicit,b=P(5),A(),E("ngIf",b.chipUnderEdit===a||a.value))},slb=function(a){if(a&1){var b=u();F(0,"button",39);O("click",function(){v(b);var c=P(3).$implicit,d=P(2);return x(Dr(d,c))});Q(1);H()}a&2&&(a=P(3).$implicit,A(),R(" + ",a.type=="OR"||a.type=="NAND"?"OR":"AND"," "))},tlb=function(a){a&1&&(F(0,"div",27),C(1,rlb,2,1,"ng-container",28)(2,slb,2,1,"button",29),H());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.values),A(),E("ngIf",
a.type))},ulb=function(a){a&1&&(F(0,"div",23),C(1,tkb,3,2,"div",24)(2,vkb,2,1,"div",25)(3,Bkb,5,4,"div",26)(4,Ekb,3,2,"div",24)(5,Lkb,3,2,"div",24)(6,Skb,3,2,"div",24)(7,alb,2,1,"div",24)(8,flb,4,3,"div",26)(9,mlb,3,2,"div",24)(10,tlb,3,2,"div",24),H());if(a&2){a=P().$implicit;var b=P(2);A();E("ngIf",a.getWidgetType()==="repeated-enum");A();E("ngIf",a.getWidgetType()==="enum");A();E("ngIf",a instanceof Fr);A();E("ngIf",a.getWidgetType()=="text");A();E("ngIf",a.getWidgetType()=="component");A();E("ngIf",
b.isTrackerSearchEnabled&&a.getWidgetType()=="tracker");A();E("ngIf",a.getWidgetType()=="team");A();E("ngIf",a.getWidgetType()==="date");A();E("ngIf",a.getWidgetType()=="hotlist");A();E("ngIf",a.getWidgetType()=="savedsearch")}},vlb=function(a){a&1&&(F(0,"div",71),Q(1),H());if(a&2){a=P().$implicit;var b=P(2);A();R(" ",b.getCustomFieldName(a)," ")}},ylb=function(a){if(a&1){var b=u();F(0,"div",72)(1,"b-custom-field-picker",73);O("fieldSelected",function(c){v(b);var d=P().index,e=P(2),f=c.customFieldId;
e.customFields[f]=c;e.expressions[d]=wlb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[f]);xlb(e,e.expressions[d]);return x()});H()()}},Alb=function(a,b){if(a&1){var c=u();F(0,"div",15)(1,"div",16)(2,"mat-form-field",11)(3,"mat-select",17);Cg("ngModelChange",function(d){var e=v(c).$implicit;Bg(e.label.field,d)||(e.label.field=d);return x(d)});O("selectionChange",function(){var d=v(c).index,e=P(2);return x(zlb(e,d))});C(4,kkb,2,2,"mat-option",13);H()();C(5,mkb,3,2,"mat-form-field",5);H();C(6,ulb,
11,10,"div",18)(7,vlb,2,1,"div",19)(8,ylb,2,0,"div",20);F(9,"button",21);O("click",function(){var d=v(c).$implicit,e=P(2);return x(e.removeExpression(d))});H()()}a&2&&(a=b.$implicit,b=P(2),A(3),Ag("ngModel",a.label.field),A(),E("ngForOf",b.availableLabels),A(),E("ngIf",!a.isPendingCustomField),A(),E("ngIf",!a.isPendingCustomField),A(),E("ngIf",a.label.customFieldId),A(),E("ngIf",a.isPendingCustomField))},Blb=function(a,b){if(a&1){var c=u();F(0,"button",74);O("click",function(){var d=v(c).$implicit,
e=P(2);e.expressions.push({label:{field:d[0]}});zlb(e,e.expressions.length-1);return x()});Q(1);H()}a&2&&(a=b.$implicit,A(),R(" ",a[1]," "))},Clb=function(a){a&1&&(F(0,"div",2)(1,"div",3)(2,"span",4),Q(3,"Advanced search query builder"),H(),C(4,jkb,4,4,"mat-form-field",5),H(),C(5,Alb,10,6,"div",6),F(6,"div",7)(7,"button",8),Q(8),H(),F(9,"mat-menu",9,0),C(11,Blb,2,1,"button",10),H()()());if(a&2){a=M(10);var b=P();A(4);E("ngIf",b.expressions.length);A();E("ngForOf",b.expressions)("ngForTrackBy",b.trackByIndex);
A(2);E("matMenuTriggerFor",a);A();R(" ",b.expressionType," ... ");A(3);E("ngForOf",b.availableLabels)}},Elb=function(a){if(a&1){var b=u();F(0,"button",2);O("click",function(){v(b);var c=P();return x(Dlb(c))});J(1,"mat-icon",3);Q(2);H()}a&2&&(a=P(),E("matTooltip","Open release notes"),A(),E("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),A(),R(" ",a.buttonLabel," "))},Flb=function(a){if(a&1){var b=u();F(0,"button",4);O("click",function(){v(b);var c=P();return x(Dlb(c))});Q(1);
H()}a&2&&(a=P(),A(),R(" ",a.buttonLabel," "))},Glb=function(a){a&1&&J(0,"div",3)},Hlb=function(a){a&1&&J(0,"div",4)},Ilb=function(a){if(a&1){var b=u();F(0,"button",9);O("click",function(c){v(b);var d=P();return x(d.manageSlos(c))});Q(1,"Manage SLOs");H()}},Jlb=function(a){a&1&&(F(0,"a",13),Q(1,"Early Access "),J(2,"b-feature-stage-label",14),H())},Klb=function(a){a&1&&(K(0),J(1,"mat-divider")(2,"b-whats-new-button",15),L());a&2&&(A(2),E("menuMode",!0))},Llb=function(a){a&1&&J(0,"b-whats-new-button",
4);a&2&&(a=P(),E("alertMode",a.majorReleaseNotesUpdated))},Mlb=function(a){if(a&1){var b=u();F(0,"button",5);O("click",function(){v(b);var c=P();return x(c.openFeedbackDialog())});J(1,"mat-icon",6);H()}},Nlb=function(a){if(a&1){var b=u();F(0,"button",5);O("click",function(){v(b);var c=P();return x(c.clickMenu.emit())});J(1,"mat-icon",6);H()}},Qlb=function(a,b){a&1&&(F(0,"output",7),Q(1),H());a&2&&(a=b.$implicit,E("ngClass",a.color?Hg(2,Olb,a.color):Gg(4,Plb)),A(),yg(a.name))},Rlb=function(a){a&1&&
(F(0,"span"),Q(1," Currently selected hotlist: "),F(2,"strong"),Q(3),H()());a&2&&(a=P(3),A(3),yg(a.header.hotlist.name))},Slb=function(a){a&1&&Q(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},Tlb=function(a){a&1&&(K(0),C(1,Rlb,4,1,"span",11)(2,Slb,1,0,"ng-template",null,0,Mg),L());if(a&2){a=M(3);var b=P(2);A();E("ngIf",b.header.hotlist)("ngIfElse",a)}},Ulb=function(a){a&1&&(F(0,"span"),Q(1,"Currently selected saved search: "),F(2,"strong"),Q(3),H()());a&2&&
(a=P(3),A(3),yg(a.header.savedSearch.name))},Vlb=function(a){a&1&&Q(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},Wlb=function(a){a&1&&(K(0),C(1,Ulb,4,1,"span",11)(2,Vlb,1,0,"ng-template",null,1,Mg),L());if(a&2){a=M(3);var b=P(2);A();E("ngIf",b.header.savedSearch)("ngIfElse",a)}},Xlb=function(a){a&1&&(F(0,"span"),Q(1," and "),F(2,"strong"),Q(3,"subcomponents"),H()())},Ylb=function(a){a&1&&(F(0,"span"),Q(1," Currently selected component: "),F(2,"strong",12),
Q(3),H(),J(4,"b-component-access-level-indicator",13)(5,"b-tracker-chip-smart",14),C(6,Xlb,4,0,"span",10),H());if(a&2){a=P(3);A(3);var b=a.header.component,c=Gr(a.trackerHelpers,b.componentPathInfo);yg(c&&c.componentPathName?c.componentPathName.join(" > "):b.name);A();E("accessLevel",a.header.component.accessLimit==null?null:a.header.component.accessLimit.accessLevel);A();E("trackerId",a.header.component.trackerId);A();E("ngIf",a.header.includeChildren)}},Zlb=function(a){a&1&&Q(0," Start typing a component name or ID to see auto-complete suggestions. ")},
$lb=function(a){a&1&&(K(0),C(1,Ylb,7,4,"span",11)(2,Zlb,1,0,"ng-template",null,2,Mg),L());if(a&2){a=M(3);var b=P(2);A();E("ngIf",b.header.component)("ngIfElse",a)}},amb=function(a){a&1&&(F(0,"span"),Q(1," Currently selected tracker: "),F(2,"strong"),Q(3),H()());a&2&&(a=P(3),A(3),yg(a.header.tracker.name))},bmb=function(a){a&1&&Q(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},cmb=function(a){a&1&&(K(0),C(1,amb,4,1,"span",11)(2,bmb,1,0,"ng-template",null,3,Mg),L());if(a&
2){a=M(3);var b=P(2);A();E("ngIf",b.header.tracker)("ngIfElse",a)}},dmb=function(a){a&1&&(F(0,"span"),Q(1," and "),F(2,"strong"),Q(3,"subteams"),H()())},emb=function(a){a&1&&(F(0,"span"),Q(1," Currently selected team: "),F(2,"strong"),Q(3),H(),C(4,dmb,4,0,"span",10),H());a&2&&(a=P(3),A(3),yg(a.header.team.name),A(),E("ngIf",a.header.includeChildren))},fmb=function(a){a&1&&Q(0," Start typing a team name or ID to see auto-complete suggestions. ")},gmb=function(a){a&1&&(K(0),C(1,emb,5,2,"span",11)(2,
fmb,1,0,"ng-template",null,4,Mg),L());if(a&2){a=M(3);var b=P(2);A();E("ngIf",b.header.team)("ngIfElse",a)}},hmb=function(a,b){a&1&&(F(0,"span"),Q(1," Currently selected custom field: "),F(2,"strong"),Q(3),H(),Q(4," of type "),F(5,"strong"),Q(6),T(7,"lowercase"),H(),Q(8,". "),H());a&2&&(a=b.ngIf,A(3),yg(a.name),A(3),yg(U(7,2,a.type)))},imb=function(a){a&1&&Q(0," Start typing a custom field name or ID to see auto-complete suggestions. ")},jmb=function(a){a&1&&(K(0),C(1,hmb,9,4,"span",11)(2,imb,1,0,
"ng-template",null,5,Mg),L());if(a&2){a=M(3);var b=P(2);A();E("ngIf",b.header.customField)("ngIfElse",a)}},kmb=function(a){a&1&&(F(0,"div",9),C(1,Tlb,4,2,"ng-container",10)(2,Wlb,4,2,"ng-container",10)(3,$lb,4,2,"ng-container",10)(4,cmb,4,2,"ng-container",10)(5,gmb,4,2,"ng-container",10)(6,jmb,4,2,"ng-container",10),H());a&2&&(a=P(),A(),E("ngIf",a.header.type==="hotlist"),A(),E("ngIf",a.header.type==="savedsearch"),A(),E("ngIf",a.header.type==="component"),A(),E("ngIf",a.header.type==="tracker"),
A(),E("ngIf",a.header.type==="team"),A(),E("ngIf",a.header.type==="customfield"))},lmb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),zg(" ",a.id,": ",a.name," "))},mmb=function(a){a&1&&(F(0,"span"),Q(1),F(2,"span"),Q(3),H()());a&2&&(a=P().$implicit,A(),R(" Hotlist ",a.id,": "),A(2),yg(a.name))},nmb=function(a){a&1&&(F(0,"span"),Q(1),F(2,"span"),Q(3),H(),J(4,"br"),F(5,"span",16),Q(6),H()());a&2&&(a=P().$implicit,A(),R(" Saved search ",a.id,": "),A(2),yg(a.name),A(3),yg(a.query))},
omb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),R(" ",a.name," "))},pmb=function(a){a&1&&(F(0,"span"),Q(1," > "),H())},rmb=function(a,b){if(a&1){var c=u();K(0);F(1,"span",19);O("click",function(d){var e=v(c).$implicit;qmb(e);return x(d.stopPropagation())});Q(2);H();C(3,pmb,2,0,"span",10);L()}a&2&&(a=b.$implicit,b=b.last,A(),mg("title","",a.id,": ",a.name,""),A(),yg(a.name),A(),E("ngIf",!b))},smb=function(a){a&1&&(F(0,"span"),Q(1," Component "),F(2,"strong",12),Q(3),H(),J(4,"b-component-access-level-indicator",
13)(5,"b-tracker-chip-smart",14),F(6,"span",17),C(7,rmb,4,5,"ng-container",18),H()());a&2&&(a=P().$implicit,A(3),yg(a.id),A(),E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel),A(),E("trackerId",a.trackerId),A(2),E("ngForOf",a.componentPath))},tmb=function(a){a&1&&(F(0,"span"),Q(1),F(2,"span"),Q(3),H()());a&2&&(a=P().$implicit,A(),R(" Tracker ",a.id,": "),A(2),yg(a.name))},umb=function(a){a&1&&(F(0,"span"),Q(1," > "),H())},vmb=function(a,b){if(a&1){var c=u();K(0);F(1,"span",19);O("click",
function(d){var e=v(c).$implicit;qmb(e);return x(d.stopPropagation())});Q(2);H();C(3,umb,2,0,"span",10);L()}a&2&&(a=b.$implicit,b=b.last,A(),mg("title","",a.id,": ",a.name,""),A(),yg(a.name),A(),E("ngIf",!b))},wmb=function(a){a&1&&(F(0,"span"),Q(1," Team "),F(2,"strong"),Q(3),H(),F(4,"span",17),C(5,vmb,4,5,"ng-container",18),H()());a&2&&(a=P().$implicit,A(3),yg(a.id),A(2),E("ngForOf",a.teamPath))},xmb=function(a){a&1&&(F(0,"span"),Q(1," > "),H())},ymb=function(a,b){a&1&&(K(0),F(1,"span"),Q(2),H(),
C(3,xmb,2,0,"span",10),L());a&2&&(a=b.$implicit,b=b.last,A(2),yg(a),A(),E("ngIf",!b))},zmb=function(a){a&1&&(F(0,"span"),Q(1),F(2,"span"),Q(3),H(),F(4,"span",20),C(5,ymb,4,2,"ng-container",18),H()());a&2&&(a=P().$implicit,A(),R(" Custom Field ",a.id,": "),A(2),yg(a.name),A(2),E("ngForOf",a.componentPathNames))},Amb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),zg(" ",a.label,": ",a.name," "))},Cmb=function(a,b){if(a&1){var c=u();F(0,"b-app-search-auto-complete-option",15);O("optionClicked",
function(e){v(c);var f=P();e>=0&&e<f.items.length&&(e=f.items[e],e.id&&e.completionCfg&&Bmb(e),f.itemSelected.emit(e));return x()});C(1,lmb,2,2,"span",10)(2,mmb,4,2,"span",10)(3,nmb,7,3,"span",10)(4,omb,2,1,"span",10)(5,smb,8,4,"span",10)(6,tmb,4,2,"span",10)(7,wmb,6,2,"span",10)(8,zmb,6,3,"span",10)(9,Amb,2,2,"span",10);H()}if(a&2){a=b.$implicit;b=b.index;var d=P();Pf("id","b-app-search-option-",b,"");E("index",b)("isActive",b>=0&&b<d.items.length?b===d.activeItemIndex:!1);A();E("ngIf",a.completionCfg.type===
"issue");A();E("ngIf",a.completionCfg.type==="hotlist");A();E("ngIf",a.completionCfg.type==="savedsearch");A();E("ngIf",a.completionCfg.type==="atom");A();E("ngIf",a.completionCfg.type==="component");A();E("ngIf",a.completionCfg.type==="tracker");A();E("ngIf",a.completionCfg.type==="team");A();E("ngIf",a.completionCfg.type==="customField");A();E("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},Emb=function(a){if(a&1){var b=u();F(0,"div",22)(1,"input",23,2);Cg("ngModelChange",function(c){v(b);
var d=P();Bg(d.searchName,c)||(d.searchName=c);return x(c)});O("keydown.Tab",function(){v(b);var c=P();return x(Dmb(c))})("keydown.enter",function(){v(b);var c=P();return x(c.saveSearch())});H();F(3,"button",24);O("click",function(){v(b);var c=P();return x(c.saveSearch())});J(4,"mat-icon",25);H()()}a&2&&(a=P(),A(),Ag("ngModel",a.searchName),A(2),E("disabled",!a.searchName))},Fmb=function(a){a&1&&(K(0),F(1,"span",10),Q(2),H(),L());a&2&&(a=P(),A(),Wf("muted",a.disabled),A(),yg(a.cardTitle))},Gmb=function(a){a&
1&&J(0,"mat-icon",11)},Hmb=function(a){a&1&&J(0,"mat-icon",12)},Imb=function(a){a&1&&(F(0,"mat-select-trigger"),J(1,"mat-icon",20),F(2,"span"),Q(3),H()());a&2&&(a=P(3),A(),E("svgIcon",a.selectedOption.icon),A(2),yg(a.selectedOption.displayText))},Jmb=function(a){a&1&&J(0,"mat-icon",20);a&2&&(a=P().$implicit,E("svgIcon",a.icon))},Kmb=function(a,b){a&1&&(F(0,"mat-option",21),C(1,Jmb,1,1,"mat-icon",22),Q(2),H());a&2&&(a=b.$implicit,E("value",a),A(),E("ngIf",a.icon),A(),R("",a.displayText," "))},Lmb=
function(a){if(a&1){var b=u();F(0,"mat-form-field",16)(1,"mat-label");Q(2," Choose type... ");H();F(3,"mat-select",17);Cg("valueChange",function(c){v(b);var d=P(2);Bg(d.selectedOption,c)||(d.selectedOption=c);return x(c)});O("selectionChange",function(c){v(b);P(2).dropdownSelectionChanged.emit(c.value);return x()});C(4,Imb,4,2,"mat-select-trigger",18)(5,Kmb,3,3,"mat-option",19);H()()}a&2&&(a=P(2),A(3),E("disabled",a.disabled),Ag("value",a.selectedOption),A(),E("ngIf",a.selectedOption&&a.selectedOption.icon),
A(),E("ngForOf",a.dropdownOptions))},Mmb=function(a){if(a&1){var b=u();F(0,"mat-form-field",13)(1,"input",14);O("ngModelChange",function(c){v(b);var d=P();return x(d.cardTitleChange.emit(c))});H()();C(2,Lmb,6,4,"mat-form-field",15)}a&2&&(a=P(),A(),Wf("muted",a.disabled||!a.selected),E("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),Nf("aria-label",a.ariaLabelForCardTitle),A(),E("ngIf",a.dropdownOptions.length))},Nmb=function(a){a&1&&(F(0,"div",23),
jg(1),H())},Omb=function(a){a&1&&(F(0,"button",31),J(1,"mat-icon",32),H());a&2&&(a=P(2),E("disabled",a.disabled))},Pmb=function(a){a&1&&J(0,"mat-divider",33);a&2&&E("vertical",!0)},Qmb=function(a){a&1&&(F(0,"mat-slide-toggle",34),Q(1," Required "),H());a&2&&(a=P(2),E("disabled",a.disabled))},Rmb=function(a){if(a&1){var b=u();F(0,"mat-slide-toggle",35);O("change",function(c){v(b);var d=P(2);return x(d.isInheritedChange.emit(c))});Q(1," Inherited ");H()}a&2&&(a=P(2),E("checked",a.isInherited)("disabled",
a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},Smb=function(a){if(a&1){var b=u();F(0,"div",24)(1,"button",25);O("click",function(){v(b);var c=P();return x(c.onSave())});Q(2," Save ");H();F(3,"button",26);O("click",function(){v(b);var c=P();return x(c.onCancel())});Q(4," Cancel ");H();C(5,Omb,2,1,"button",27)(6,Pmb,1,1,"mat-divider",28)(7,Qmb,2,1,"mat-slide-toggle",29)(8,Rmb,2,4,"mat-slide-toggle",30);H()}a&2&&(a=P(),A(),E("disabled",
a.isSaveButtonDisabled),A(2),E("disabled",a.disabled),A(2),E("ngIf",a.showDeleteButton),A(),E("ngIf",a.showDeleteButton&&a.showRequiredToggle),A(),E("ngIf",a.showRequiredToggle),A(),E("ngIf",a.showInheritedToggle))},Tmb=function(a,b){a&1&&(F(0,"mat-option",9),Q(1),H());a&2&&(a=b.$implicit,E("value",a),A(),yg(a.name))},Umb=function(a){if(a&1){var b=u();F(0,"mat-form-field")(1,"mat-select",8);Cg("valueChange",function(c){v(b);var d=P();Bg(d.selected,c)||(d.selected=c);return x(c)});bg(2,Tmb,2,2,"mat-option",
9,ag);H()()}a&2&&(a=P(),A(),Ag("value",a.selected),A(),cg(a.options))},Vmb=function(a){a&1&&Q(0,"All the available shared fields have been activated.")},Wmb=function(a){a&1&&(F(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. "),F(2,"a",10),Q(3,"Learn more"),H()())},Xmb=function(a){return Tva(a.getIt())},Ymb=function(a){a&1&&(F(0,"h3"),Q(1),H());a&2&&(a=P(2),A(),R(" Edit Custom Field ",
a.editableField.customFieldId," "))},Zmb=function(a){a&1&&(F(0,"h3"),Q(1," Create Custom Field "),H())},$mb=function(a){a&1&&(F(0,"div",43),Q(1),H());a&2&&(a=P(2),A(),R(" ",a.serverError," "))},bnb=function(a,b){a&1&&(F(0,"button",44),Q(1),T(2,"enumToHuman"),H());a&2&&(a=b.$implicit,P(),b=M(32),E("matMenuTriggerFor",b)("matMenuTriggerData",Hg(5,anb,a)),A(),R(" ",U(2,3,a)," "))},cnb=function(a,b){if(a&1){var c=u();F(0,"button",46);O("click",function(){var d=v(c).$implicit,e=P().type,f=P(2);return x(f.setType(e,
d==="Multiple"))});Q(1);H()}a&2&&(a=b.$implicit,A(),R(" ",a," "))},dnb=function(a){a&1&&C(0,cnb,2,1,"button",45);a&2&&(a=P(2),E("ngForOf",a.secondaryTypes))},fnb=function(a){if(a&1){var b=u();F(0,"td",15)(1,"label",47);Q(2," Allowed Values: ");H();F(3,"b-list-field",48);O("valuesChange",function(c){v(b);var d=P(2);return x(enb(d,c.values))});H()()}a&2&&(a=P(2),A(3),E("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue||null)("listFieldDisabled",a.isSaving)("preventDuplicates",
!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},gnb=function(a){a&1&&(F(0,"label",49),Q(1," Default Value: "),H())},jnb=function(a,b){if(a&1){var c=u();F(0,"b-edit-field",50);O("valueChange",function(d){v(c);var e=P(2);hnb(e,d);return x()});H()}a&2&&(a=b.ngIf,b=P(2),E("name","Default")("type",a)("tooltip","Set default value")("value",inb(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},knb=function(a){a&1&&(F(0,"label",51),Q(1," Default Values: "),
H())},lnb=function(a,b){if(a&1){var c=u();F(0,"b-list-field",52);O("valuesChange",function(d){v(c);var e=P(2);hnb(e,d.values);return x()});H()}a&2&&(a=b.ngIf,b=P(2),E("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",!0)("listFieldDisabled",b.isSaving)("truncate",!0))},mnb=function(a,b){if(a&1){var c=u();F(0,"button",53);O("click",function(){var d=v(c).$implicit,e=P(2);return x(e.setFieldSignificance(d))});
Q(1);T(2,"enumToHuman");H()}a&2&&(a=b.$implicit,A(),R(" ",U(2,1,a)," "))},nnb=function(a){if(a&1){var b=u();F(0,"div",12);C(1,Ymb,2,1,"h3",11)(2,Zmb,2,0,"h3",11)(3,$mb,2,1,"div",13);F(4,"form",14)(5,"div",15)(6,"label",16);Q(7,"Name:");H();F(8,"input",17);Cg("ngModelChange",function(h){v(b);var k=P();Bg(k.editableField.name,h)||(k.editableField.name=h);return x(h)});H()();F(9,"div",15)(10,"label",18);Q(11,"Description:");H();F(12,"textarea",19);Cg("ngModelChange",function(h){v(b);var k=P();Bg(k.editableField.description,
h)||(k.editableField.description=h);return x(h)});H()();F(13,"table",20)(14,"tr")(15,"td",15)(16,"div",21)(17,"label",22);Q(18," Type: ");H();F(19,"onedev-hovercard",null,0)(21,"div",23)(22,"div",24);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. ");H()()()();F(24,"button",25);Q(25);T(26,"enumToHuman");J(27,"b-icon",26);H();F(28,"mat-menu",null,1);C(30,bnb,3,7,"button",27);H();F(31,"mat-menu",null,2);C(33,
dnb,1,1,"ng-template",28);H()();C(34,fnb,4,7,"td",29);F(35,"td",15);C(36,gnb,2,0,"label",30)(37,jnb,1,9,"b-edit-field",31)(38,knb,2,0,"label",32)(39,lnb,1,8,"b-list-field",33);H();F(40,"td",15)(41,"label",34);Q(42," Required: ");H();F(43,"b-edit-field",35);O("valueChange",function(h){v(b);var k=P();return x(k.editableField.required=!!h)});H()();F(44,"td",15)(45,"div",21)(46,"label",36);Q(47," Field Significance: ");H();F(48,"onedev-hovercard",null,3)(50,"div",37)(51,"div",24);Q(52," This affects whether users will receive notifications when changes are made to this field. ");
J(53,"br");Q(54," See\u00a0 ");F(55,"a",38);Q(56,"Email Settings ");H()()()()();F(57,"button",39);Q(58);T(59,"enumToHuman");J(60,"b-icon",26);H();F(61,"mat-menu",null,4);C(63,mnb,3,3,"button",40);H()()()();F(64,"button",41);O("click",function(){v(b);var h=P();return x(h.save())});Q(65," Save ");H();F(66,"button",42);O("click",function(){v(b);var h=P();return x(h.cancel())});Q(67," Cancel ");H()()()}if(a&2){a=M(20);var c=M(29),d=M(49),e=M(62),f=P();A();E("ngIf",!!f.editableField.customFieldId);A();
E("ngIf",!f.editableField.customFieldId);A();E("ngIf",f.serverError);A(5);E("bFocus",f.editableField&&!f.isLoading);Ag("ngModel",f.editableField.name);E("disabled",f.isSaving);A(4);Ag("ngModel",f.editableField.description);E("disabled",f.isSaving);A(5);E("onedevHovercardTrigger",a);A(7);E("matMenuTriggerFor",c)("disabled",!!f.editableField.customFieldId);A();R(" ",U(26,28,f.editableField.type)," ");A(5);E("ngForOf",f.typeChoices);A(4);E("ngIf",["REPEATED_ENUM","ENUM"].includes(f.editableField.type));
A(2);E("ngIf",!f.isRepeated(f.editableField));A();E("ngIf",f.getSingleEditFieldType(f.editableField));A();E("ngIf",f.isRepeated(f.editableField));A();E("ngIf",f.getListFieldType(f.editableField));A(4);E("name","Required")("type",f.FieldType.BOOL)("tooltip","Whether the field is required")("value",f.editableField.required);A(3);E("onedevHovercardTrigger",d);A(9);E("href",f.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",cf);A(2);E("matMenuTriggerFor",e);A();R(" ",U(59,30,f.editableField.fieldSignificance),
" ");A(5);E("ngForOf",f.significanceChoices);A();E("disabled",!f.hasUnsavedChanges()||!f.editableField.name)}},onb=function(a){a&1&&(F(0,"div",54),J(1,"b-spinner",55),H());a&2&&(A(),E("large",!0))},pnb=function(a){a&1&&(F(0,"th"),Q(1,"Actions"),H())},rnb=function(a){if(a&1){var b=u();F(0,"td",62)(1,"button",63);O("click",function(){v(b);var c=P().index,d=P(2);return x(d.editField(c))});Q(2,"Edit");H();F(3,"button",63);O("click",function(){v(b);var c=P().index,d=P(2);return x(qnb(d,c))});Q(4,"Delete");
H()()}},snb=function(a,b){a&1&&(F(0,"tr",59)(1,"td"),Q(2),H(),F(3,"td"),Q(4),H(),F(5,"td"),Q(6),T(7,"enumToHuman"),H(),F(8,"td"),Q(9),H(),F(10,"td"),Q(11),T(12,"yesNo"),H(),F(13,"td"),J(14,"b-custom-field-value-display",60),H(),F(15,"td"),Q(16),T(17,"arrayToHuman"),H(),F(18,"td"),Q(19),T(20,"enumToHuman"),H(),C(21,rnb,5,0,"td",61),H());a&2&&(a=b.$implicit,b=P(2),E("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),A(2),yg(a.name),A(2),yg(a.customFieldId),A(2),yg(U(7,10,a.type)),A(3),yg(a.description),
A(2),yg(U(12,12,a.required)),A(3),E("customFieldValue",a.typedDefaultValue),A(2),yg(U(17,14,a.allowedValue)),A(3),yg(U(20,16,a.fieldSignificance)),A(2),E("ngIf",b.editMode))},tnb=function(a){a&1&&(F(0,"tr")(1,"td",64),Q(2," There are no custom fields defined on this component. "),H()())},unb=function(a){a&1&&(F(0,"tr")(1,"td",65)(2,"strong"),Q(3,"Fields inherited from parent components"),H()()())},vnb=function(a){a&1&&(K(0),J(1,"b-component-card",71,6),L());if(a&2){a=M(2);var b=P().$implicit;A();
E("onedevIsHovercardReady",a.init)("componentId",b.componentId.toString())}},xnb=function(a){if(a&1){var b=u();F(0,"b-field-state-menu",72,7);O("fieldStateChange",function(d){v(b);var e=P(),f=e.$implicit;e=e.index;var h=P(3);return x(h.updateCustomFieldState(f,d,e))});H()}if(a&2){a=P().$implicit;var c=P(3);E("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",wnb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);Nf("aria-label",c.msgFieldStateTip)}},ynb=
function(a,b){if(a&1){var c=u();F(0,"tr",59)(1,"td");Q(2);H();F(3,"td");Q(4);H();F(5,"td");Q(6);T(7,"enumToHuman");H();F(8,"td");Q(9);H();F(10,"td");Q(11);T(12,"yesNo");H();F(13,"td");J(14,"b-custom-field-value-display",60);H();F(15,"td");Q(16);T(17,"arrayToHuman");H();F(18,"td");Q(19);T(20,"enumToHuman");H();F(21,"td",62)(22,"div",66)(23,"div",67);Q(24,"Inherited From");H();F(25,"a",68);O("click",function(){v(c);var e=P(3);return x(e.trackClick("parentCustomFields"))});Q(26);H();F(27,"onedev-hovercard",
null,5);C(29,vnb,3,2,"ng-container",69);H()();C(30,xnb,2,6,"b-field-state-menu",70);H()()}if(a&2){a=b.$implicit;b=M(28);var d=P(3);E("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");A(2);yg(a.name);A(2);yg(a.customFieldId);A(2);yg(U(7,13,a.type));A(3);yg(a.description);A(2);yg(U(12,15,a.required));A(3);E("customFieldValue",a.typedDefaultValue);A(2);yg(U(17,17,a.allowedValue));A(3);yg(U(20,19,a.fieldSignificance));A(6);E("onedevHovercardTrigger",b)("href",d.ROUTES.editComponentFields.makeHref(a.componentId),
cf);A();R(" ",d.componentIdsToNames[a.componentId]," ");A(4);E("ngIf",d.editMode)}},znb=function(a){a&1&&(K(0),C(1,ynb,31,21,"tr",57),L());a&2&&(a=P(2),A(),E("ngForOf",a.inheritedCustomFields))},Anb=function(a){a&1&&(F(0,"tr")(1,"td",65)(2,"strong"),Q(3,"Shared fields"),H()()())},Cnb=function(a){if(a&1){var b=u();F(0,"div",62)(1,"button",75);O("click",function(){v(b);var d=P().$implicit,e=P(3);return x(Bnb(e,d.customFieldId))});Q(2," Deactivate ");H()()}if(a&2){a=P().$implicit;var c=P(3);A();E("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.":"")}},Dnb=function(a,b){a&1&&(F(0,"tr",74)(1,"td"),Q(2),H(),F(3,"td"),Q(4),H(),F(5,"td"),Q(6),T(7,"enumToHuman"),H(),F(8,"td"),Q(9),H(),F(10,"td"),Q(11),T(12,"yesNo"),H(),F(13,"td"),J(14,"b-custom-field-value-display",60),H(),
F(15,"td"),Q(16),T(17,"arrayToHuman"),H(),F(18,"td"),Q(19),T(20,"enumToHuman"),H(),F(21,"td"),C(22,Cnb,3,2,"div",61),H()());a&2&&(a=b.$implicit,b=P(3),A(2),yg(a.name),A(2),yg(a.customFieldId),A(2),yg(U(7,9,a.type)),A(3),yg(a.description),A(2),yg(U(12,11,a.required)),A(3),E("customFieldValue",a.typedDefaultValue),A(2),yg(U(17,13,a.allowedValue)),A(3),yg(U(20,15,a.fieldSignificance)),A(3),E("ngIf",b.editMode))},Enb=function(a){a&1&&(K(0),C(1,Dnb,23,17,"tr",73),L());a&2&&(a=P(2),A(),E("ngForOf",a.sharedFields))},
Fnb=function(a){a&1&&(F(0,"tfoot")(1,"tr")(2,"td",65),Q(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),F(4,"a",76),Q(5,"Field Ordering"),H(),Q(6," tab."),J(7,"br"),Q(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),H()()())},Inb=function(a){if(a&1){var b=u();F(0,"div",77)(1,"button",78);O("click",function(){v(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=di(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return x()});Q(2," Add a Custom Field ");H();F(3,"button",79);O("click",function(){v(b);var c=P(2);return x(Gnb(c))});Q(4," Activate a Shared Field ");H()()}a&2&&(a=P(2),A(3),E("disabled",Hnb(a).length==0))},Jnb=function(a){a&
1&&(F(0,"div")(1,"table",56)(2,"tr")(3,"th"),Q(4,"Name"),H(),F(5,"th"),Q(6,"ID"),H(),F(7,"th"),Q(8,"Type"),H(),F(9,"th"),Q(10,"Description"),H(),F(11,"th"),Q(12,"Required?"),H(),F(13,"th"),Q(14,"Default Value"),H(),F(15,"th"),Q(16,"Allowed Values"),H(),F(17,"th"),Q(18,"Field Significance"),H(),C(19,pnb,2,0,"th",11),H(),C(20,snb,22,18,"tr",57)(21,tnb,3,0,"tr",11)(22,unb,4,0,"tr",11)(23,znb,2,1,"ng-container",11)(24,Anb,4,0,"tr",11)(25,Enb,2,1,"ng-container",11)(26,Fnb,9,0,"tfoot",11),H(),C(27,Inb,
5,1,"div",58),H());a&2&&(a=P(),A(19),E("ngIf",a.editMode),A(),E("ngForOf",a.customFields),A(),E("ngIf",!a.customFields.length),A(),E("ngIf",a.inheritedCustomFields.length),A(),E("ngIf",a.inheritedCustomFields.length),A(),E("ngIf",a.sharedFields.length),A(),E("ngIf",a.sharedFields.length),A(),E("ngIf",a.customFields.length),A(),E("ngIf",a.editMode))},Knb=function(a){if(a&1){var b=u();F(0,"button",18);O("click",function(){v(b);var c=P().index,d=P();return x(d.removeAtIndex.emit(c))});J(1,"mat-icon",
19);H()}a&2&&(a=P().$implicit,Nf("aria-label","Delete row "+a.label))},Lnb=function(a,b){if(a&1){var c=u();F(0,"div",11)(1,"div",12);J(2,"mat-icon",13);F(3,"div",3)(4,"mat-form-field",14)(5,"input",15,0);O("change",function(d){var e=v(c).index,f=P();f.options[e].label=d.target.value;f.optionsChange.emit(f.options);return x()});H()()();F(7,"div",3)(8,"mat-form-field",14)(9,"input",16,1);O("change",function(d){var e=v(c).index,f=P();return x(f.valueChange(d,e))});H()()();C(11,Knb,2,1,"button",17);H()()}a&
2&&(a=b.$implicit,b=P(),A(4),E("appearance","outline"),A(),Wf("muted",b.disabled),E("value",a.label)("placeholder",a.label==null?"Dropdown value":"")("disabled",b.disabled),A(3),E("appearance","outline"),A(),Wf("muted",b.disabled),E("value",a.value)("placeholder",a.value==null?"Average days":"")("disabled",b.disabled),A(2),E("ngIf",!b.disabled))},Mnb=function(a){if(a&1){var b=u();F(0,"button",20);O("click",function(){v(b);var c=P();return x(c.addRow.emit())});Q(1," Add row\n");H()}},Nnb=function(a){a&
1&&dg(0)},Onb=function(a){a&1&&(K(0),C(1,Nnb,1,0,"ng-container",5),L());a&2&&(P(),a=M(7),A(),E("ngTemplateOutlet",a))},Pnb=function(a){if(a&1){var b=u();K(0);F(1,"b-numeric-config",6);Cg("valueChange",function(c){v(b);var d=P();Bg(d.numericSpecMultiplier,c)||(d.numericSpecMultiplier=c);return x(c)});H();L()}a&2&&(a=P(),A(),E("disabled",a.disabled),Ag("value",a.numericSpecMultiplier))},Qnb=function(a){a&1&&dg(0)},Rnb=function(a){if(a&1){var b=u();F(0,"div",7)(1,"label",8);Q(2,"Aggregation Rule");H();
F(3,"a",9);J(4,"mat-icon",10);H();J(5,"br");F(6,"mat-form-field",11)(7,"mat-select",12);Cg("valueChange",function(c){v(b);var d=P();Bg(d.selectedAggregationRule,c)||(d.selectedAggregationRule=c);return x(c)});F(8,"mat-select-trigger");Q(9);T(10,"aggregationRuleText");H();F(11,"mat-option",13)(12,"div",14);Q(13);T(14,"aggregationRuleText");H();F(15,"div",15);Q(16,"All parents and children are added to the total");H()();F(17,"mat-option",13)(18,"div",14);Q(19);T(20,"aggregationRuleText");H();F(21,"div",
15);Q(22,"Take the assigned estimate if larger than total of all immediate children");H()()()()()}a&2&&(a=P(),A(7),Ag("value",a.selectedAggregationRule),E("disabled",a.disabled),A(2),R(" ",U(10,7,a.selectedAggregationRule)," "),A(2),E("value",a.aggregationRules.SUM),A(2),yg(U(14,9,a.aggregationRules.SUM)),A(4),E("value",a.aggregationRules.MAX),A(2),yg(U(20,11,a.aggregationRules.MAX)))},Snb=function(a){if(a&1){var b=u();F(0,"b-config-grid",16);Cg("optionsChange",function(c){v(b);var d=P();Bg(d.enumSpecOptions,
c)||(d.enumSpecOptions=c);return x(c)});O("addRow",function(){v(b);var c=P();return x(c.addRow())})("removeAtIndex",function(c){v(b);P().enumSpecOptions.splice(c,1);return x()});H()}a&2&&(a=P(),Ag("options",a.enumSpecOptions),E("disabled",a.disabled||a.inherit))},Tnb=function(a){a&1&&(F(0,"div",8),J(1,"b-team-warning",9),H());a&2&&(a=P().ngIf,A(),E("warningType",a)("messageOnly",!0))},Unb=function(a,b){a&1&&(K(0),C(1,Tnb,2,2,"div",7),L());a&2&&(a=b.ngIf,b=P(),A(),E("ngIf",b.isAdmin&&(a==="MISSING"||
a==="DELETED")))},Vnb=function(a){if(a&1){var b=u();F(0,"div",10)(1,"mat-checkbox",11);O("change",function(c){v(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 x()});Q(2," Override the inherited team ");H()()}a&2&&(a=P(),A(),E("disabled",!a.isAdmin)("checked",!a.inherit))},Xnb=function(a){if(a&1){var b=u();F(0,"a",13);O("click",function(){v(b);P(2);
Jn("component","navigate","to-internal-team-page");return x()});J(1,"mat-icon",14);H()}a&2&&(a=P(2),E("routerLink",Wnb(a)?"/teams/"+a.model.id+"/edit":null)("target",a.anchorTarget))},Ynb=function(a){a&1&&(K(0),C(1,Xnb,2,2,"a",12),L());a&2&&(a=P(),A(),E("ngIf",Wnb(a)))},Znb=function(a){if(a&1){var b=u();F(0,"a",16);O("click",function(){v(b);var c=P(2);Jn("component","linkout-moma","team",Number(c.model.id));return x()});J(1,"mat-icon",14);H()}a&2&&(a=P(2),Nf("href",a.getMomaTeamLink(),cf))},$nb=function(a){a&
1&&C(0,Znb,2,1,"a",15);a&2&&(a=P(),E("ngIf",Wnb(a)))},cob=function(a,b){if(a&1){var c=u();F(0,"li",11);O("keydown",function(e){var f=v(c).index,h=P();return x(h.onKeyDown(e,f))})("focus",function(){var e=v(c).index,f=P();return x(f.onFocus(e))});J(1,"mat-icon",12);F(2,"span");Q(3);H();F(4,"div",13)(5,"button",14);O("click",function(){var e=v(c).index,f=P();return x(aob(f,e))});J(6,"mat-icon",15);H();F(7,"button",16);O("click",function(){var e=v(c).index,f=P();return x(bob(f,e))});J(8,"mat-icon",17);
H()()()}if(a&2){a=b.$implicit;b=b.index;var d=P();Nf("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);A(3);yg(a.name);A(2);Wf("invisible",b===0);A(2);Wf("invisible",b===d.fields.length-1)}},dob=function(a){a&1&&(F(0,"th",14),Q(1," Order"),H())},eob=function(a,b){a&1&&(F(0,"td",15),Q(1),H());a&2&&(a=b.index,A(),R(" ",a+1," "))},fob=function(a){a&1&&(F(0,"th",14),Q(1," Name"),H())},gob=function(a,b){a&1&&(F(0,"td",15),Q(1),H());a&2&&(a=b.$implicit,A(),R(" ",a.name," "))},hob=function(a){a&1&&
(F(0,"th",14),Q(1," Type"),H())},iob=function(a,b){a&1&&(F(0,"td",15),Q(1),T(2,"toCustomFieldTypeDisplayValue"),H());a&2&&(a=b.$implicit,A(),R(" ",U(2,1,a.type)," "))},job=function(a){a&1&&(F(0,"th",14),Q(1," Required"),H())},kob=function(a,b){a&1&&(F(0,"td",15),Q(1),H());a&2&&(a=b.$implicit,A(),R(" ",a.required?"Yes":"No"," "))},lob=function(a){a&1&&(F(0,"th",14),Q(1," ID"),H())},mob=function(a,b){a&1&&(F(0,"td",15),Q(1),H());a&2&&(a=b.$implicit,A(),R(" ",a.customFieldId," "))},nob=function(a){a&
1&&J(0,"tr",16)},oob=function(a){a&1&&J(0,"tr",17)},pob=function(a){a&1&&(F(0,"div",18),Q(1," There are no custom fields defined on this component. "),H())},sob=function(a){if(a&1){var b=u();F(0,"div",19)(1,"div")(2,"button",20);O("click",function(){v(b);var c=P();return x(qob(c))});Q(3," Reorder fields ");H();F(4,"button",20);O("click",function(){v(b);var c=P();return x(rob(c))});Q(5," Reset ordering ");H()()()}a&2&&(a=P(),A(2),E("disabled",a.fields.length===0),A(2),E("disabled",a.fieldOrdering!==
"CUSTOMIZED"))},tob=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(),A(),a=a.lineNumbers.length,R(" (",a+(a==1?" TODO":" TODOs"),") "))},vob=function(a,b){if(a&1){var c=u();F(0,"li",5)(1,"a",6);O("click",function(){v(c);var d=P(2);return x(d.trackClick("lineNumber"))});Q(2);H()()}a&2&&(a=b.$implicit,b=P(2),A(),E("href",uob(b,a),cf),A(),yg(a))},wob=function(a){a&1&&(F(0,"span"),Q(1," ("),F(2,"ul",3),C(3,vob,3,2,"li",4),H(),Q(4,") "),H());a&2&&(a=P(),A(3),E("ngForOf",a.lineNumbers))},xob=function(a){a&
1&&(F(0,"a",10),Q(1," Create Component "),H());a&2&&(a=P(),E("href",a.createComponentPath,cf))},yob=function(a){if(a&1){var b=u();F(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);T(3,"async");O("selectedComponentChange",function(d){v(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(wp.editComponent.makeHref(d.componentId)));return x()});H()()()}if(a&2){var c;
a=P();A(2);E("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)}},Aob=function(a){if(a&1){var b=u();F(0,"div",13)(1,"b-slide-toggle",14);T(2,"async");O("modelChange",function(d){v(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&&zob(e,d,se(e.topLevelComponents$));return x()});H()()}if(a&2){var c;a=P();A();E("model",(c=U(2,2,a.includeArchived$))!==null&&c!==void 0?c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},Bob=function(a){a&1&&(F(0,"div",15),J(1,"b-spinner",16),H())},Cob=function(a){a&1&&(F(0,"p",3),Q(1),H());a&2&&(a=P(),A(),yg(a.packageMentionSet.packageName))},Dob=function(a,b){a&1&&(F(0,"li"),J(1,"b-file-mention",4),H());a&2&&(a=b.$implicit,b=P(),A(),E("issueId",
b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},Gob=function(a){a&1&&(F(0,"span"),Q(1),F(2,"b"),Q(3),H(),Q(4," on "),F(5,"b"),Q(6),T(7,"date"),H(),Q(8,". "),H());a&2&&(a=P(4),A(),R(" Currently, the ",a.contentType," is scheduled for deletion in "),A(2),yg(Eob(Fob(a).getTime(),!0)),A(3),yg(Kg(7,3,Fob(a),"longDate")))},Hob=function(a){a&1&&(Q(0," The retention has "),F(1,"b"),Q(2,"expired"),H(),Q(3),F(4,"b"),
Q(5),T(6,"date"),H(),Q(7,". "));a&2&&(a=P(4),A(3),R(" and the ",a.contentType," was scheduled for deletion on "),A(2),yg(Kg(6,2,Fob(a),"longDate")))},Iob=function(a){a&1&&(F(0,"span")(1,"b"),Q(2,"Retention:"),H(),Q(3),F(4,"b"),Q(5),H(),Q(6," from the last modification of the issue. "),C(7,Gob,9,6,"span")(8,Hob,8,5),H());a&2&&(a=P(3),A(3),R(" This ",a.contentType," has a retention period of "),A(2),yg(a.getRetentionPeriod()),A(2),$f(Fob(a).getTime()<(new hi).getTime()?8:7))},Job=function(a){a&1&&(F(0,
"b"),Q(1,"Retention:"),H(),Q(2));a&2&&(a=P(3),A(2),R(" This ",a.contentType," has an indefinite retention period. "))},Kob=function(a){a&1&&(Q(0),F(1,"b"),Q(2,"overridden"),H(),Q(3," retention period set to match the issue retention period. "));a&2&&(a=P(3),R(" The ",a.contentType," has an "))},Lob=function(a){a&1&&(F(0,"p"),C(1,Iob,9,3,"span")(2,Job,3,1)(3,Kob,4,1),H());a&2&&(a=P(2),A(),$f(a.retentionState&&!a.retentionState.scheduledDeletionTime?2:1),A(2),$f(a.retention===a.retentionModel.INDEFINITE?
3:-1))},Mob=function(a){a&1&&(F(0,"div",5)(1,"p")(2,"b"),Q(3,"Restricted Access:"),H(),Q(4),F(5,"a",6),Q(6," Learn More "),H()(),C(7,Lob,4,2,"p"),H());a&2&&(a=P(),A(4),R(" This ",a.contentType," is only available to users with the appropriate permissions. "),A(),E("rel",a.EXTERNAL_LINK_REL),Nf("href",a.documentationLinks.getRestrictedAccessHelpLink(),cf),A(2),$f(a.retentionState?7:-1))},Nob=function(a){a&1&&(F(0,"div",6),Q(1),H());a&2&&(a=P(),A(),R(" Signed in as ",a.activeSession.getUserEmail(),
" "))},Oob=function(a){a&1&&(F(0,"span",6),Q(1," Select at least one tracker "),H())},Pob=function(a,b){if(a&1){var c=u();F(0,"div",7)(1,"mat-checkbox",8);O("change",function(d){var e=v(c).$implicit,f=P();return x(f.trackerCheckboxValues[e.trackerId]=d.checked)});Q(2);H()()}a&2&&(a=b.$implicit,b=P(),A(),E("checked",b.trackerCheckboxValues[a.trackerId]||!1),A(),R(" ",a.name," "))},Qob=function(a){a&1&&(J(0,"b-tracker-search",6),T(1,"async"));a&2&&(a=P(),E("currentTrackerId",a.currentTracker.trackerId)("availableTrackers",
U(1,2,a.availableTrackers$)))},Rob=function(a){a&1&&(F(0,"div",7),J(1,"b-spinner"),F(2,"span"),Q(3,"Initializing query builder..."),H()())},Sob=function(a){a&1&&(F(0,"div",11),J(1,"mat-icon",12),F(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. "),H()())},Tob=function(a){a&1&&(F(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. "),
H())},Uob=function(a){a&1&&(F(0,"div",8),C(1,Sob,4,0,"div",9)(2,Tob,2,0,"div",10),H());a&2&&(a=P(),A(),E("ngIf",(a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"),A(),E("ngIf",(a.advancedSearchCtrl==null?null:a.advancedSearchCtrl.getState())==="SYNTAX_ERROR"))},Vob=function(a){a&1&&(F(0,"div",8),Q(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),H())},Wob=function(a){a&1&&J(0,"b-tracker-account-menu-hack",
13);a&2&&(a=P(),E("trackerInternalBaseUrl",a.currentTracker.internalBaseUrl)("trackerExternalBaseUrl",a.currentTracker.externalBaseUrl))},Xob=function(a){a&1&&(F(0,"span"),Q(1),J(2,"span",16),H());a&2&&(a=P(2).$implicit,A(),R(" ",a.diff.oldValue," "))},Yob=function(a){a&1&&(F(0,"span")(1,"label"),Q(2),H(),C(3,Xob,3,1,"span",15),Q(4),H());a&2&&(a=P().$implicit,A(2),R("",a.fieldName,":"),A(),E("ngIf",a.diff.oldValue),A(),R(" ",a.diff.newValue," "))},Zob=function(a,b){a&1&&(F(0,"div")(1,"label"),Q(2),
H(),Q(3),H());a&2&&(a=b.$implicit,b=P(3).$implicit,A(2),R("-",b.fieldName,":"),A(),R(" ",a," "))},$ob=function(a){a&1&&(K(0),C(1,Zob,4,2,"div",17),L());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.diff.removed))},apb=function(a,b){a&1&&(F(0,"div")(1,"label"),Q(2),H(),Q(3),H());a&2&&(a=b.$implicit,b=P(3).$implicit,A(2),R("+",b.fieldName,":"),A(),R(" ",a," "))},bpb=function(a){a&1&&(K(0),C(1,apb,4,2,"div",17),L());a&2&&(a=P(2).$implicit,A(),E("ngForOf",a.diff.added))},cpb=function(a){a&1&&(F(0,"div"),C(1,
$ob,2,1,"ng-container",15)(2,bpb,2,1,"ng-container",15),H());a&2&&(a=P().$implicit,A(),E("ngIf",a.diff.removed),A(),E("ngIf",a.diff.added))},dpb=function(a,b){a&1&&(F(0,"div",14),C(1,Yob,5,3,"span",15)(2,cpb,3,2,"div",15),H());a&2&&(a=b.$implicit,b=P(2),A(),E("ngIf",a.diffType==b.DiffType.SINGLE_VALUE),A(),E("ngIf",a.diffType==b.DiffType.COLLECTION))},epb=function(a,b){a&1&&(F(0,"li",5)(1,"div",6),J(2,"b-user-image",7),H(),F(3,"div",8)(4,"h4"),J(5,"b-user-display-name",9),F(6,"span",10),J(7,"b-formatted-date-time",
11),H()(),F(8,"div",12),C(9,dpb,3,2,"div",13),H()()());a&2&&(a=b.$implicit,b=P(),A(2),E("email",b.userToDisplay(a.author)),A(3),E("email",b.userToDisplay(a.author)),A(2),E("timestamp",a.timestamp),A(2),E("ngForOf",a.diffs))},fpb=function(a,b){for(a.has(b)&&a.delete(b);a.size>=50;)a.delete(a.keys().next().value);a.set(b,void 0)},gpb=function(a,b){var c;b=(c=b==null?void 0:b.split(","))!=null?c:[];a.clear();c=l(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},hpb=function(a){a.stack&&(a.stack=
a.stack.replace(/ \[angular\]/g,""))},ipb=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"},jpb=function(a,b){a&1&&(F(0,"mat-option",3),Q(1),J(2,"br"),F(3,"span",4),Q(4),H()());a&2&&
(a=b.$implicit,E("value",a),A(),R(" ",a.title,""),A(3),yg(a.description))},kpb=function(a,b){a&1&&(K(0),dg(1,5),L());a&2&&(a=b.$implicit,P(),b=M(2),A(),E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,Hr,a)))},lpb=function(a){a&1&&(K(0),dg(1,5),L());if(a&2){a=P().question;P();var b=M(4);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,Hr,a))}},mpb=function(a){a&1&&(K(0),dg(1,5),L());if(a&2){a=P().question;P();var b=M(6);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,Hr,
a))}},npb=function(a){a&1&&(K(0),dg(1,5),L());if(a&2){a=P().question;P();var b=M(8);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,Hr,a))}},opb=function(a,b){a&1&&(K(0,6),C(1,lpb,2,4,"ng-container",7)(2,mpb,2,4,"ng-container",7)(3,npb,2,4,"ng-container",7),L());a&2&&(a=b.question,b=P(),E("ngSwitch",a.type),A(),E("ngSwitchCase",b.CustomQuestionType.INPUT),A(),E("ngSwitchCase",b.CustomQuestionType.TEXT),A(),E("ngSwitchCase",b.CustomQuestionType.SELECT))},qpb=function(a,b){if(a&1){var c=
u();J(0,"h4",8);F(1,"mat-form-field",9)(2,"input",10);O("ngModelChange",function(d){var e=v(c).question,f=P();e.response=d;return x(ppb(f))});H()()}a&2&&(a=b.question,E("innerHtml",a.question,bf),A(2),E("ngModel",a.response),Nf("aria-label",a.question))},rpb=function(a,b){if(a&1){var c=u();J(0,"h4",8);F(1,"mat-form-field",11)(2,"textarea",10);O("ngModelChange",function(d){var e=v(c).question,f=P();e.response=d;return x(ppb(f))});Q(3,"    ");H()()}a&2&&(a=b.question,E("innerHtml",a.question,bf),A(2),
E("ngModel",a.response),Nf("aria-label",a.question))},tpb=function(a,b){a&1&&(F(0,"mat-option",15),Q(1),H());a&2&&(a=b.$implicit,P(2),E("value",a),A(),R(" ",spb(a)?a.text:a," "))},upb=function(a){a&1&&dg(0,5);if(a&2){a=P().question;P();var b=M(2);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,Hr,a.response.child))}},vpb=function(a,b){if(a&1){var c=u();J(0,"h4",8);F(1,"mat-form-field",9)(2,"mat-select",12);O("valueChange",function(d){var e=v(c).question,f=P();e.response=d;return x(ppb(f))});
C(3,tpb,2,2,"mat-option",13);H()();C(4,upb,1,4,"ng-container",14)}a&2&&(a=b.question,P(),E("innerHtml",a.question,bf),A(),Nf("aria-label",a.question),A(),E("value",a.response),A(),E("ngForOf",a.options),A(),E("ngIf",spb(a.response)))},wpb=function(a){a&1&&jg(0)},xpb=function(a){a&1&&dg(0,2);a&2&&(a=P(),E("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},ypb=function(a){a&1&&(F(0,"span",7),Q(1),H());a&2&&(a=P(2),A(),yg(a._getDefaultTextForState(a.state)))},
zpb=function(a){a&1&&(F(0,"span",8),Q(1),H());a&2&&(a=P(3),A(),yg(a._intl.completedLabel))},Apb=function(a){a&1&&(F(0,"span",8),Q(1),H());a&2&&(a=P(3),A(),yg(a._intl.editableLabel))},Bpb=function(a){a&1&&(C(0,zpb,2,1,"span",8)(1,Apb,2,1,"span",8),F(2,"mat-icon",7),Q(3),H());a&2&&(a=P(2),$f(a.state==="done"?0:a.state==="edit"?1:-1),A(3),yg(a._getDefaultTextForState(a.state)))},Cpb=function(a){a&1&&C(0,ypb,2,1,"span",7)(1,Bpb,4,2,"mat-icon",7);a&2&&(a=P(),$f(a.state==="number"?0:1))},Dpb=function(a,
b){a&1&&(F(0,"div",4),dg(1,9),H());a&2&&(A(),E("ngTemplateOutlet",b.template))},Epb=function(a){a&1&&(F(0,"div",4),Q(1),H());a&2&&(a=P(),A(),yg(a.label))},Fpb=function(a){a&1&&(F(0,"div",5),Q(1),H());a&2&&(a=P(),A(),yg(a._intl.optionalLabel))},Gpb=function(a){a&1&&(F(0,"div",6),Q(1),H());a&2&&(a=P(),A(),yg(a.errorMessage))},Hpb=function(){},Ipb=function(a){a&1&&(jg(0),C(1,Hpb,0,0,"ng-template",0));a&2&&(a=P(),A(),E("cdkPortalOutlet",a._portal))},Jpb=function(a){a&1&&jg(0)},Kpb=function(a){a&1&&J(0,
"div",6)},Mpb=function(a,b){a&1&&(dg(0,5),C(1,Kpb,1,0,"div",6));if(a&2){a=b.$implicit;var c=b.$index;b=b.$count;P(2);var d=M(4);E("ngTemplateOutlet",d)("ngTemplateOutletContext",Ig(3,Lpb,a,c));A();$f(c!==b-1?1:-1)}},Ppb=function(a,b){if(a&1){var c=u();F(0,"div",7);O("@horizontalStepTransition.done",function(e){v(c);var f=P(2);return x(f._animationDone.next(e))});dg(1,8);H()}if(a&2){a=b.$implicit;b=b.$index;var d=P(2);Wf("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);E("@horizontalStepTransition",
Ig(8,Npb,d._getAnimationDirection(b),Hg(6,Opb,d._getAnimationDuration())))("id",d._getStepContentId(b));Nf("aria-labelledby",d._getStepLabelId(b));A();E("ngTemplateOutlet",a.content)}},Qpb=function(a){a&1&&(F(0,"div",1)(1,"div",2),bg(2,Mpb,2,6,null,null,ag),H(),F(4,"div",3),bg(5,Ppb,2,11,"div",4,ag),H()());a&2&&(a=P(),A(2),cg(a.steps),A(3),cg(a.steps))},Rpb=function(a,b){if(a&1){var c=u();F(0,"div",9);dg(1,5);F(2,"div",10)(3,"div",11);O("@verticalStepTransition.done",function(h){v(c);var k=P(2);return x(k._animationDone.next(h))});
F(4,"div",12);dg(5,8);H()()()()}if(a&2){a=b.$implicit;var d=b.$index;b=b.$count;var e=P(2),f=M(4);A();E("ngTemplateOutlet",f)("ngTemplateOutletContext",Ig(10,Lpb,a,d));A();Wf("mat-stepper-vertical-line",d!==b-1);A();Wf("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);E("@verticalStepTransition",Ig(15,Npb,e._getAnimationDirection(d),Hg(13,Opb,e._getAnimationDuration())))("id",e._getStepContentId(d));Nf("aria-labelledby",e._getStepLabelId(d));A(2);E("ngTemplateOutlet",a.content)}},Spb=function(a){a&
1&&bg(0,Rpb,6,18,"div",9,ag);a&2&&(a=P(),cg(a.steps))},Tpb=function(a,b){if(a&1){var c=u();F(0,"mat-step-header",13);O("click",function(){var e=v(c).step;return x(e.select())})("keydown",function(e){v(c);var f=P();return x(f._onKeydown(e))});H()}if(a&2){a=b.step;b=b.i;var d=P();Wf("mat-horizontal-stepper-header",d.orientation==="horizontal")("mat-vertical-stepper-header",d.orientation==="vertical");E("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);Nf("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)}},Upb=function(a){a&1&&(K(0),F(1,"li"),Q(2,"I have read "),F(3,"a",54),Q(4,"Chrome Security FAQ"),H(),Q(5,"."),H(),F(6,"li"),Q(7,"I have read "),F(8,"a",55),Q(9,"Reporting Security Bugs"),H(),Q(10,"."),H(),F(11,"li"),Q(12,"I understand reports may be eligible for reward payments under the "),F(13,"a",56),Q(14,"Chrome VRP"),H(),Q(15,"."),H(),F(16,"li"),Q(17,"I understand issues are normally publicized once a fix has been widely deployed."),H(),
L())},Wpb=function(a){if(a&1){var b=u();K(0);F(1,"h4",6);Q(2,"Which of the following best describes the issue that you are reporting?");H();F(3,"wizard-category-select",49);Cg("categoryChange",function(c){v(b);var d=P();Bg(d.model.category,c)||(d.model.category=c);return x(c)});H();F(4,"mat-card",50)(5,"mat-card-header");Q(6," Ensure quality of issue reports: ");H();F(7,"mat-card-content")(8,"mat-checkbox",51);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.ackIssueQuality,c)||(d.ackIssueQuality=
c);return x(c)});Q(9," By checking this box, I'm acknowledging that: ");F(10,"ul")(11,"li");Q(12,"I have searched for ");F(13,"a",52);Q(14,"existing issues");H();Q(15," that already report this problem.");H();C(16,Upb,18,0,"ng-container",26);H()()()();F(17,"div",33)(18,"button",36);Q(19," Next ");J(20,"mat-icon",53);H()();L()}a&2&&(a=P(),A(3),E("persona",a.model.persona),Ag("category",a.model.category),A(5),Ag("ngModel",a.ackIssueQuality),A(5),E("href",a.existingIssuesLink,cf),A(3),E("ngIf",a.model.persona===
a.Persona.VULN_REPORTER),A(2),E("disabled",!Vpb(a,0)))},Ypb=function(a){a&1&&(F(0,"div")(1,"h3"),Q(2,"Prefer to file an issue manually?"),H(),F(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. "),H(),F(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 "),F(7,
"a",52),Q(8,"form"),H(),Q(9,". "),H()());a&2&&(a=P(),A(7),E("href",a.paths.createIssue(Gg(1,Xpb)),cf))},Zpb=function(a){a&1&&(F(0,"mat-error"),Q(1," Summary is required "),H())},$pb=function(a){a&1&&(F(0,"mat-error"),Q(1," Steps to reproduce are required "),H())},aqb=function(a){a&1&&(F(0,"mat-error"),Q(1," Issue description is required "),H())},bqb=function(a){if(a&1){var b=u();F(0,"wizard-custom-questions",57);O("responses",function(c){v(b);var d=P();return x(d.model.customQuestionResponses=c)});
H()}a&2&&(a=P(),E("category",a.model.category.value))},cqb=function(a){if(a&1){var b=u();F(0,"div",58)(1,"b-recaptcha",59);O("onUpdate",function(c){v(b);var d=P();return x(d.recaptchaResponse=c)});H()()}},dqb=function(){},eqb=function(){},fqb=function(){},gqb=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},iqb=function(a){return a.length?"# Custom Questions\n"+
hqb(a).map(function(b){var c;return"#### "+((c=b.answerPrefix)!=null?c:b.question)+"\n"+b.response}).join("\n\n"):""},hqb=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,spb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,r(hqb([c.response.child])))):b.push(c);return b},jqb=function(a){a&1&&(F(0,"a",17),Q(1," Create Component "),H())},kqb=function(a){a&1&&(F(0,"p",21),Q(1," None found. "),F(2,"a",22),Q(3,"Learn More"),H()())},
lqb=function(a){a&1&&(K(0),J(1,"b-component-path-card",32,1),L());if(a&2){a=M(2);var b=P().$implicit;A();E("onedevIsHovercardReady",a.init)("componentId",b.componentId)}},mqb=function(a,b){a&1&&(F(0,"li")(1,"a",23)(2,"div",24)(3,"span",25),Q(4),J(5,"b-component-access-level-indicator",26)(6,"b-tracker-chip-smart",27),H(),F(7,"p",28),Q(8),H()(),F(9,"div",29)(10,"a",30),Q(11," Edit "),H(),F(12,"a",30),Q(13," Create Issue "),H()()(),F(14,"onedev-hovercard",null,0),C(16,lqb,3,2,"ng-container",31),H()());
if(a&2){a=b.$implicit;b=M(15);var c=P(2);A();E("routerLinkObj",c.viewIssues(a.componentId));A();E("onedevHovercardTrigger",b);A(2);R(" ",a.name||a.componentId," ");A();E("accessLevel",a.accessLimit==null?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);A();E("trackerId",a.trackerId)("showHovercard",!1);A(2);yg(a.description);A(2);E("routerLinkObj",c.componentSettings(a.componentId));A(2);E("routerLinkObj",c.createIssue(a.componentId))}},nqb=function(a,b){a&1&&(K(0),C(1,kqb,4,0,"p",18),F(2,"ol",
19),C(3,mqb,17,10,"li",20),H(),L());a&2&&(a=b.$implicit,A(),E("ngIf",a.length===0),A(2),E("ngForOf",a))},pqb=function(a){a&1&&(F(0,"a",25),Q(1," Learn more "),H());a&2&&(P(),E("href",oqb(),cf))},qqb=function(a){a&1&&(K(0),Q(1),T(2,"async"),L());a&2&&(a=P(2),A(),R(" ",U(2,1,a.suggestedTitle$)," "))},rqb=function(a,b){if(a&1){var c=u();F(0,"button",20);O("click",function(){var d=v(c).$implicit;P();var e=M(18),f=P();f.llmSuggestTitleService.generatedTitle.next(null);f.analytics.trackEvent("llm","reject",
"title-"+String(d));Xp(f.butterBar,"Thanks for the feedback!",3E3);var h;(h=e.trigger)==null||h.close();return x()});F(1,"span");Q(2);H()()}a&2&&(a=b.$implicit,b=P(2),A(2),yg(b.REJECT_REASON_TO_DISPLAY.get(a)))},sqb=function(a){if(a&1){var b=u();F(0,"div",3)(1,"div",4)(2,"div",5)(3,"span",6);Q(4,"Suggested title");H();F(5,"div",7)(6,"button",8);O("click",function(){v(b);P().llmSuggestTitleService.suggestTitleRequested.next();return x()});J(7,"mat-icon",9);H();F(8,"button",10);O("click",function(){v(b);
var d=P();return x(d.close())});J(9,"mat-icon",11);H()()();F(10,"div",12);C(11,qqb,3,3,"ng-container",13);T(12,"async");H();F(13,"div",14)(14,"button",15);T(15,"async");O("click",function(){v(b);var d=P(),e=ho(Ir(d.llmSuggestTitleService.generatedTitle));e&&(d.analytics.trackEvent("llm","accept","title"),d.suggestionAccepted.emit(e),d.llmSuggestTitleService.generatedTitle.next(null));return x()});Q(16," Accept ");H();F(17,"split-button",16,1);T(19,"async");F(20,"button",17);T(21,"async");O("click",
function(){v(b);var d=P();d.llmSuggestTitleService.generatedTitle.next(null);d.analytics.trackEvent("llm","reject","title");return x()});Q(22," Reject ");H();F(23,"div",18);C(24,rqb,3,1,"button",19);H()()()()()}if(a&2){a=P();var c=M(3);A(11);E("ngIf",!U(12,7,a.isGeneratingTitle$))("ngIfElse",c);A(3);E("disabled",U(15,9,a.isGeneratingTitle$));A(3);E("size","small")("disabled",!!U(19,11,a.isGeneratingTitle$));A(3);E("disabled",U(21,13,a.isGeneratingTitle$));A(4);E("ngForOf",a.suggestedTitleRejectionReasons)}},
tqb=function(a){a&1&&J(0,"b-spinner")},uqb=function(a){a&1&&(F(0,"a",6),J(1,"mat-icon",7),H())},vqb=function(a){a&1&&J(0,"b-spinner")},wqb=function(a,b){a&1&&J(0,"b-issues-table",5);a&2&&(a=P(),E("issueIds",b)("tableColumns",a.tableColumns)("options",a.tableOptions))},xqb=function(a){var b=a.similarIssues;var c=a.scores;return b.filter(function(d,e){return c[e]>=.65})},yqb=function(a){a&1&&dg(0)},Aqb=function(a){a&1&&(K(0),C(1,yqb,1,0,"ng-container",9),L());a&2&&(a=P(),A(),E("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",
Hg(2,zqb,a.value)))},Bqb=function(a){a&1&&Q(0);a&2&&(a=P(),yg(a.value||"--"))},Cqb=function(a){a&1&&(Fd(),F(0,"svg",10),J(1,"path",11),H());a&2&&(a=P(),Wf("centered",a.centerEditIcon))},Dqb=function(a){a&1&&J(0,"textarea",15);a&2&&(a=P(3),E("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},Eqb=function(a){a&1&&J(0,"input",16);a&2&&(a=P(3),E("formControl",a.editingValue))},Fqb=function(a){a&1&&(K(0),F(1,"div",13),C(2,Dqb,1,2,"textarea",14)(3,Eqb,1,1,"ng-template",null,4,Mg),
H(),L());if(a&2){a=M(4);var b=P(2);A(2);E("ngIf",b.allowMultipleLines)("ngIfElse",a)}},Gqb=function(a){a&1&&dg(0)},Iqb=function(a){a&1&&(K(0),C(1,Gqb,1,0,"ng-container",9),L());a&2&&(a=P(2),A(),E("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Hg(2,Hqb,a.editingValue)))},Jqb=function(a){a&1&&C(0,Fqb,5,2,"ng-container",12)(1,Iqb,2,4,"ng-container",12);a&2&&(a=P(),E("ngIf",!a.editorTemplate),A(),E("ngIf",a.editorTemplate))},Kqb=function(){},Lqb=function(a){a&1&&(F(0,"span",1),Fd(),F(1,
"svg",2),J(2,"path",3),H()());a&2&&(a=P(),E("@indicatorRotate",a._getExpandedState()))},Mqb=function(a){if(a&1){var b=u();F(0,"b-hotlist-picker",28);O("onApply",function(c){v(b);var d=P();return x(d.handleHotlistPickerSave(c))})("onLoad",function(c){v(b);var d=P();return x(d.loadHotlist(c))})("onCreate",function(c){v(b);var d=P();return x(d.createHotlist(c))});H()}a&2&&(a=P(),E("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},Nqb=function(a,b){a&1&&(F(0,"a",12),Q(1,"View recent issues"),
H());a&2&&(a=P(),E("routerLinkObj",a.recentIssuesInComponent(b)))},Sqb=function(a){a&1&&(F(0,"div",29),J(1,"b-icon",30),F(2,"span"),Q(3),H(),F(4,"a",31),Q(5,"View access settings"),H()());a&2&&(a=P(),E("ngClass",Ig(5,Oqb,Pqb(a),Qqb(a))),A(),E("name","alert")("size","small"),A(2),R("",Rqb(a),"\u00a0"),A(),E("href",a.selectedComponent?wp.editComponentAccess.makeHref(a.selectedComponent.componentId):"",cf))},Vqb=function(a){a&1&&(F(0,"div",34),Q(1),H());a&2&&(a=P(2),A(),R(" Error: The following required field(s) have not been filled: ",
Tqb(a).concat(Uqb(a)).join(", ")," "))},Wqb=function(a){a&1&&(F(0,"li"),Q(1),H());if(a&2){a=P(3);A();var b=[];a.isBlockedByIssueIdValid||b.push('"Blocked by"');a.isBlockingIssueIdValid||b.push('"Blocking"');a.isParentIssueIdsValid||b.push('"Parents"');yg(b?b.join(" & ")+" must be"+((b.length<=1?" a":"")+" comma separated list")+((b.length>1?"s":"")+" of issue IDs"):"")}},Xqb=function(a){a&1&&(F(0,"li"),Q(1),H());a&2&&(a=P(3),A(),R(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", "),
" "))},Yqb=function(a){a&1&&(F(0,"div",34),Q(1," Error: The following field(s) have invalid values: "),F(2,"ul"),C(3,Wqb,2,1,"li",27)(4,Xqb,2,1,"li",27),H()());a&2&&(a=P(2),A(3),E("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),A(),E("ngIf",!a.isCollaboratorsValid))},Zqb=function(a){a&1&&(F(0,"div",34),Q(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),H())},arb=function(a){a&1&&(F(0,"div",32),C(1,Vqb,2,1,"div",
33)(2,Yqb,5,2,"div",33)(3,Zqb,2,0,"div",33),H());a&2&&(a=P(),A(),E("ngIf",Tqb(a).length!==0||Uqb(a).length!==0),A(),E("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),A(),E("ngIf",$qb(a.comment)))},brb=function(a,b){if(a&1){var c=u();F(0,"div",37)(1,"b-hotlist-chip",38);O("removeHotlist",function(){var d=v(c).$implicit,e=P(2);return x(e.removeHotlist(d.hotlistId))});H()()}a&2&&(a=b.$implicit,A(),E("hotlist",a))},crb=function(a){a&1&&
(F(0,"div",35),C(1,brb,2,1,"div",36),H());a&2&&(a=P(),A(),E("ngForOf",a.selectedHotlists))},drb=function(a,b){if(a&1){var c=u();F(0,"button",46);O("click",function(){var d=v(c).$implicit;P(2).selectedTemplate=d;return x()});Q(1);H()}a&2&&(a=b.$implicit,A(),yg(a.name))},erb=function(a){if(a&1){var b=u();F(0,"button",46);O("click",function(){v(b);var c=P(2);c.selectedTemplate=c.availableExistingIssueTemplate;return x()});Q(1);H()}a&2&&(a=P(2),A(),yg(a.availableExistingIssueTemplate.name))},frb=function(a){a&
1&&(F(0,"div",39)(1,"div",21)(2,"label",40),Q(3,"Template"),H()(),F(4,"button",41),Q(5),J(6,"mat-icon",42),H(),F(7,"mat-menu",43,2),C(9,drb,2,1,"button",44)(10,erb,2,1,"button",45),H()());if(a&2){var b;a=M(8);var c=P();A(4);E("matMenuTriggerFor",a);A();R("",(b=c.selectedTemplate==null?null:c.selectedTemplate.name)!==null&&b!==void 0?b:""," ");A(2);E("overlapTrigger",!0);A(2);E("ngForOf",c.availablePredefinedTemplates);A();E("ngIf",c.availableExistingIssueTemplate)}},grb=function(a){a&1&&(F(0,"div",
47)(1,"div",34),Q(2," You do not have permission to create issues in this component. "),H()())},hrb=function(a){a&1&&J(0,"llm-suggest-title-button",71);a&2&&(a=P(2),E("description",a.comment))},jrb=function(a){if(a&1){var b=u();F(0,"llm-suggest-title-preview",72);O("suggestionAccepted",function(c){v(b);var d=P(2);d.setTitle(c);return x(irb(d))});H()}},krb=function(a){a&1&&(F(0,"p",73),Q(1),F(2,"a",74),Q(3," Learn more "),H()());a&2&&(a=P(2),A(),R(" Your title contains restricted words: ",Lq(a.titleBannedWordsChecker),
". Review your title before posting. "))},lrb=function(a,b){if(a&1){var c=u();F(0,"button",77);O("click",function(){var d=v(c).$implicit,e=P(3);return x(e.setPriority(d.value))});Q(1);H()}a&2&&(a=b.$implicit,A(),yg(a.displayText))},mrb=function(a){if(a&1){var b=u();F(0,"div",39)(1,"div",21)(2,"label",75);Q(3,"Priority");H()();F(4,"button",76);Q(5);J(6,"mat-icon",42);H();F(7,"mat-menu",43,3)(9,"button",77);O("click",function(){v(b);var d=P(2);return x(d.setPriority())});Q(10,"--");H();C(11,lrb,2,1,
"button",78);H()()}if(a&2){a=M(8);var c=P(2);A(4);E("matMenuTriggerFor",a);Nf("aria-label","Priority, required"+(c.issue.priority?", "+c.issue.priority:""));A();R("",c.issue.priority?c.issue.priority:"--"," ");A(2);E("overlapTrigger",!0);A(4);E("ngForOf",c.priorityChoices)}},nrb=function(a,b){if(a&1){var c=u();F(0,"button",81);O("click",function(){var d=v(c).$implicit,e=P(3);return x(e.setIssueType(d.value))});Q(1);H()}a&2&&(a=b.$implicit,lg("title",a.altText||""),A(),yg(a.displayText))},orb=function(a){if(a&
1){var b=u();F(0,"div",39)(1,"div",21)(2,"label",79);Q(3,"Type");H()();F(4,"button",76);T(5,"enumToHuman");Q(6);T(7,"enumToHuman");J(8,"mat-icon",42);H();F(9,"mat-menu",43,4)(11,"button",77);O("click",function(){v(b);var d=P(2);return x(d.setIssueType())});Q(12,"--");H();C(13,nrb,2,2,"button",80);H()()}if(a&2){a=M(10);var c=P(2);A(4);E("matMenuTriggerFor",a);Nf("aria-label","Type, required"+(c.issue.type?U(5,5,", "+c.issue.type):""));A(2);R("",U(7,7,c.issue.type||"--")," ");A(3);E("overlapTrigger",
!0);A(4);E("ngForOf",c.issueTypeChoices)}},prb=function(a){if(a&1){var b=u();F(0,"div",82)(1,"div",21)(2,"label",83);Q(3,"Assignee");H()();F(4,"div",84)(5,"input",85);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.assigneeText,c)||(d.assigneeText=c);return x(c)});H()()()}a&2&&(a=P(2),A(5),Ag("ngModel",a.assigneeText),E("bContactAutocomplete","SINGLE"))},qrb=function(a){a&1&&(F(0,"mat-error"),Q(1," Collaborators only accepts individual users. "),H())},srb=function(a){if(a&1){var b=u();F(0,"div",
86)(1,"div",21)(2,"label",87);Q(3,"Collaborators");H();J(4,"mat-icon",88);H();F(5,"div",84)(6,"input",89);O("ngModelChange",function(c){v(b);var d=P(2);return x(d.collaboratorsText=rrb(c))});H()();C(7,qrb,2,0,"mat-error",27);H()}a&2&&(a=P(2),A(6),Wf("invalid",!a.isCollaboratorsValid),E("ngModel",Jr(a.collaboratorsText))("bContactAutocomplete","MULTI"),A(),E("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},trb=function(a){if(a&1){var b=u();F(0,"div",90)(1,"div",21)(2,"label",91);Q(3,"CC");H()();
F(4,"div",84)(5,"input",92);O("ngModelChange",function(c){v(b);var d=P(2);return x(d.ccsText=rrb(c))});H()()()}a&2&&(a=P(2),A(5),E("ngModel",Jr(a.ccsText))("bContactAutocomplete","MULTI"))},urb=function(a){a&1&&(F(0,"p",93),Q(1),F(2,"a",74),Q(3," Learn more "),H()());a&2&&(a=P(2),A(),R(" Your description contains restricted words: ",Lq(a.descriptionBannedWordsChecker),". Review your description before posting. "))},vrb=function(a){a&1&&dg(0)},wrb=function(a){a&1&&(K(0),F(1,"div",20)(2,"div",21)(3,
"label",97),Q(4," Collaborator Groups "),H(),J(5,"mat-icon",98),H(),C(6,vrb,1,0,"ng-container",99),H(),L());if(a&2){a=P(3);var b=M(30);A(5);lg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);A();E("ngTemplateOutlet",b)}},xrb=function(a){if(a&1){var b=u();F(0,"div",94)(1,"div",20)(2,"div",21)(3,"label",95);Q(4," Issue access level ");H()();F(5,"b-issue-access-limits-dropdown",96);O("updatedAccessLimitLevel",function(c){v(b);var d=P(2);return x(d.onAccessLimitLevelSelected(c))});H()();C(6,wrb,7,2,"ng-container",
27);H()}a&2&&(a=P(2),A(5),E("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel),A(),E("ngIf",a.trackerCollaboratorGroups.length>0))},yrb=function(a,b){if(a&1){var c=u();F(0,"button",77);O("click",function(){var d=v(c).$implicit,e=P(3);return x(e.issue.severity=e.toIssueSeverity(d.value))});Q(1);H()}a&2&&(a=b.$implicit,A(),yg(a.displayText))},zrb=function(a){a&1&&(F(0,"span"),Q(1,"*"),H())},Arb=function(a){a&1&&(F(0,"span"),
Q(1,"*"),H())},Brb=function(a){a&1&&(F(0,"span"),Q(1,"*"),H())},Drb=function(a){if(a&1){var b=u();F(0,"div",108)(1,"div",21)(2,"label",126);Q(3," Parents ");C(4,Brb,2,0,"span",27);H()();F(5,"input",127);O("ngModelChange",function(c){v(b);var d=P(3);d.parentIssueIds=Crb(d,c).map(wo);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Jr(d.parentIssueIds));return x()});H()()}a&2&&(a=P(3),A(4),E("ngIf",!a.isParentIssueIdsValid),A(),E("ngModel",Jr(a.parentIssueIds)))},Erb=function(a){a&1&&(F(0,"span"),
Q(1,"*"),H())},Frb=function(a){if(a&1){var b=u();F(0,"div",108)(1,"div",21)(2,"label",128);Q(3," Children ");C(4,Erb,2,0,"span",27);H()();F(5,"input",129);O("ngModelChange",function(c){v(b);var d=P(3);d.childrenIssueIds=Crb(d,c).map(wo);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(Jr(d.childrenIssueIds));return x()});H()()}a&2&&(a=P(3),A(4),E("ngIf",!a.isChildIssueIdsValid),A(),E("ngModel",Jr(a.childrenIssueIds)))},Grb=function(a){if(a&1){var b=u();F(0,"div",108)(1,"div",21)(2,"label",95);
Q(3," Issue access level ");H()();F(4,"b-issue-access-limits-dropdown",130);O("updatedAccessLimitLevel",function(c){v(b);var d=P(3);return x(d.onAccessLimitLevelSelected(c))});H()()}a&2&&(a=P(3),A(4),E("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},Hrb=function(a){a&1&&dg(0)},Irb=function(a){a&1&&(K(0),F(1,"div",20)(2,"div",21)(3,"label",97),Q(4," Collaborator Groups "),H(),J(5,"mat-icon",98),H(),C(6,Hrb,1,0,"ng-container",
99),H(),L());if(a&2){a=P(3);var b=M(30);A(5);lg("matTooltip",a.COLLABORATOR_GROUPS_TOOLTIP);A();E("ngTemplateOutlet",b)}},Jrb=function(a){if(a&1){var b=u();F(0,"onedev-text-field",134);O("valueChange",function(d){v(b);var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});H()}if(a&2){a=P(2).$implicit;var c=P(3);kg("id","bv2-custom-field-",a.customFieldId,"");E("value",a.textValue);Nf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},
Krb=function(a){if(a&1){var b=u();F(0,"onedev-numeric-field",134);O("valueChange",function(d){v(b);var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});H()}if(a&2){a=P(2).$implicit;var c=P(3);kg("id","bv2-custom-field-",a.customFieldId,"");E("value",a.numericValue);Nf("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Lrb=function(a){if(a&1){var b=u();F(0,"div")(1,"bv2-input-date-picker",135);O("boundValueChange",function(d){v(b);
var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});H()()}if(a&2){a=P(2).$implicit;var c=P(3);A();lg("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");E("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},Mrb=function(a){if(a&1){var b=u();F(0,"onedev-single-select",136);O("valueChange",function(d){v(b);var e=P(2).$implicit,f=P(3);return x(f.setCustomFieldValue(e,d))});H()}if(a&2){a=P(2).$implicit;var c=P(3);
E("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);Nf("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},Nrb=function(a,b){a&1&&(F(0,"div"),C(1,Jrb,1,5,"onedev-text-field",132)(2,Krb,1,5,"onedev-numeric-field",132)(3,Lrb,2,4,"div",27)(4,Mrb,1,4,"onedev-single-select",133),H());a&2&&(a=b.ngIf,b=P(4),A(),E("ngIf",a===b.FieldType.TEXT),A(),E("ngIf",a===b.FieldType.NUMERIC),A(),E("ngIf",a===b.FieldType.DATE),A(),E("ngIf",a===b.FieldType.ENUM))},
Orb=function(a,b){if(a&1){var c=u();F(0,"div")(1,"b-list-field",137);O("valuesChange",function(e){v(c);var f=P().$implicit,h=P(3);return x(h.setCustomFieldValue(f,e.values))});H()()}if(a&2){a=b.ngIf;b=P().$implicit;var d=P(3);A();E("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",!0);Nf("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},Qrb=function(a,b){a&1&&(F(0,"div",108)(1,"div",21)(2,
"label",131),Q(3),H()(),C(4,Nrb,5,4,"div",27)(5,Orb,2,6,"div",27),H());if(a&2){a=b.$implicit;b=P(3);A(2);kg("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];lg("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");E("ngClass",Hg(8,Prb,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");Nf("aria-label",
d);A();R(" ",b.getCustomFieldName(a)," ");A();E("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));A();E("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},Rrb=function(a){if(a&1){var b=u();F(0,"mat-expansion-panel",100)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",101);Q(4,"Advanced fields (Required fields marked with");F(5,"span",102);Q(6,"*");H();Q(7,")");H()()();F(8,"div",103)(9,"div",104)(10,"div",21)(11,"label",105);Q(12," Severity ");H()();F(13,
"button",106);Q(14);J(15,"b-icon",107);H();F(16,"mat-menu",43,5);C(18,yrb,2,1,"button",78);H()();F(19,"div",108)(20,"div",21)(21,"label",109);Q(22," Found in ");H()();F(23,"input",110);O("ngModelChange",function(d){v(b);var e=P(2);return x(e.issue.foundInVersion=rrb(d))});H()();F(24,"div",111)(25,"div",21)(26,"label",112);Q(27," In prod ");H()();F(28,"mat-slide-toggle",113);Cg("ngModelChange",function(d){v(b);var e=P(2);Bg(e.issue.inProd,d)||(e.issue.inProd=d);return x(d)});H()();J(29,"div",63);F(30,
"div",108)(31,"div",21)(32,"label",114);Q(33," Reporter ");H()();F(34,"input",115);Cg("ngModelChange",function(d){v(b);var e=P(2);Bg(e.reporterText,d)||(e.reporterText=d);return x(d)});H()();F(35,"div",108)(36,"div",21)(37,"label",116);Q(38," Verifier ");H()();F(39,"input",117);Cg("ngModelChange",function(d){v(b);var e=P(2);Bg(e.verifierText,d)||(e.verifierText=d);return x(d)});H()();F(40,"div",108)(41,"div",21)(42,"label",118);Q(43," Targeted to ");H()();F(44,"input",119);O("ngModelChange",function(d){v(b);
var e=P(2);return x(e.issue.targetedToVersion=rrb(d))});H()();J(45,"div",63);F(46,"div",108)(47,"div",21)(48,"label",120);Q(49," Blocked by ");C(50,zrb,2,0,"span",27);H()();F(51,"input",121);O("ngModelChange",function(d){v(b);var e=P(2);e.issue.blockedByIssueId=Crb(e,d);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Jr(e.issue.blockedByIssueId));return x()});H()();F(52,"div",108)(53,"div",21)(54,"label",122);Q(55," Blocking ");C(56,Arb,2,0,"span",27);H()();F(57,"input",123);O("ngModelChange",
function(d){v(b);var e=P(2);e.issue.blockingIssueId=Crb(e,d);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(Jr(e.issue.blockingIssueId));return x()});H()();C(58,Drb,6,2,"div",124)(59,Frb,6,2,"div",124);J(60,"div",63);C(61,Grb,5,3,"div",124)(62,Irb,7,2,"ng-container",27);J(63,"div",63);C(64,Qrb,6,10,"div",125);H()()}if(a&2){a=M(17);var c=P(2);A(13);E("matMenuTriggerFor",a);Nf("aria-label","Severity"+(c.issue.severity?", "+c.issue.severity:""));A();yg(c.issue.severity);A(2);E("overlapTrigger",
!0);A(2);E("ngForOf",c.severityChoices);A(5);E("ngModel",Jr(c.originalIssueCopy.foundInVersion));A(5);Ag("ngModel",c.issue.inProd);A(6);Ag("ngModel",c.reporterText);E("bContactAutocomplete","SINGLE");A(5);Ag("ngModel",c.verifierText);E("bContactAutocomplete","SINGLE");A(5);E("ngModel",Jr(c.originalIssueCopy.targetedToVersion));A(6);E("ngIf",!c.isBlockedByIssueIdValid);A();E("ngModel",Jr(c.issue.blockedByIssueId));A(5);E("ngIf",!c.isBlockingIssueIdValid);A();E("ngModel",Jr(c.issue.blockingIssueId));
A();E("ngIf",!c.sessionIsExternal);A();E("ngIf",!c.sessionIsExternal);A(2);E("ngIf",!yq(c.selectedComponent));A();E("ngIf",c.trackerCollaboratorGroups.length>0&&!yq(c.selectedComponent));A(2);E("ngForOf",c.issue.customField)}},Srb=function(a,b){a&1&&J(0,"similar-issues",138);a&2&&(a=P(3),E("context",b)("componentId",a.issue.componentId))},Trb=function(a){a&1&&(C(0,Srb,1,2,"similar-issues",138),T(1,"async"));if(a&2){var b;a=P(2);$f((b=U(1,1,a.similarIssuesSearchString$))?0:-1,b)}},Urb=function(a){a&
1&&(F(0,"div",29),J(1,"b-icon",30),F(2,"span"),Q(3),H(),F(4,"a",31),Q(5,"View access settings"),H()());a&2&&(a=P(2),E("ngClass",Ig(5,Oqb,Pqb(a),Qqb(a))),A(),E("name","alert")("size","small"),A(2),R("",Rqb(a),"\u00a0"),A(),E("href",a.selectedComponent?wp.editComponentAccess.makeHref(a.selectedComponent.componentId):"",cf))},Vrb=function(a){if(a&1){var b=u();F(0,"div",139)(1,"b-recaptcha",140);O("onUpdate",function(c){v(b);var d=P(2);return x(d.recaptchaResponse=c)});H()()}},$rb=function(a){if(a&1){var b=
u();F(0,"div")(1,"div",19)(2,"div",20)(3,"div",21)(4,"label",48);Q(5,"Title");H()();F(6,"div",49)(7,"input",50);O("ngModelChange",function(c){v(b);var d=P();return x(d.setTitle(c))})("blur",function(){v(b);var c=P();return x(irb(c))});H();C(8,hrb,1,1,"llm-suggest-title-button",51);H();C(9,jrb,1,0,"llm-suggest-title-preview",52)(10,krb,4,1,"p",53);H();C(11,mrb,12,5,"div",25)(12,orb,14,9,"div",25);H();K(13);F(14,"div",19);C(15,prb,6,2,"div",54)(16,srb,8,5,"div",55);H();F(17,"div",19);C(18,trb,6,2,"div",
56);H();L();F(19,"div",57)(20,"div",19)(21,"div",20)(22,"div",21)(23,"label",58);Q(24,"Description");H()();F(25,"b-comment-box",59);Cg("commentChange",function(c){v(b);var d=P();Bg(d.comment,c)||(d.comment=c);return x(c)});O("onChange",function(){v(b);var c=P();return x(c.saveCommentDraft())})("onSubmit",function(c){v(b);var d=P();return x(Wrb(d,c,!c.shiftKey))})("onRestrict",function(){v(b);var c=P();return x(c.showNewContentJudgementDialog())});C(26,urb,4,1,"p",60);F(27,"b-markdown-toggle",61);
O("change",function(c){v(b);var d=P();return x(d.comment.formattingMode=c)});H()()()();C(28,xrb,7,4,"div",62);J(29,"div",63);F(30,"div",64);C(31,Rrb,65,21,"mat-expansion-panel",65);H();C(32,Trb,2,3)(33,Urb,6,8,"div",16)(34,Vrb,2,0,"div",66);F(35,"div",67)(36,"b-button",68);O("onAction",function(c){v(b);var d=P();return x(Wrb(d,c,!0))});Q(37);H();F(38,"b-button",69);O("onAction",function(c){v(b);var d=P();return x(Wrb(d,c,!1))});Q(39);H();F(40,"b-button",70);O("onAction",function(){v(b);var c=P();
c.draftStore.$window.sessionStorage.removeItem(oo("0"));Xrb(c.reloadService);return x()});Q(41," Discard ");H()()()()}a&2&&(a=P(),A(7),Wf("invalid",a.titleBannedWordsChecker.showWarning()),E("ngModel",a.issue.title)("bFocus",a.newIssueStarted),A(),E("ngIf",a.enableSuggestTitle),A(),E("ngIf",a.enableSuggestTitle),A(),E("ngIf",a.titleBannedWordsChecker.showWarning()),A(),E("ngIf",a.canEditIssuesInComponent),A(),E("ngIf",a.canEditIssuesInComponent),A(3),E("ngIf",a.canEditIssuesInComponent),A(),E("ngIf",
a.canEditIssuesInComponent),A(2),E("ngIf",a.canEditIssuesInComponent),A(7),E("supportsPreview",!0),Ag("comment",a.comment),E("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",Hg(37,Yrb,$qb(a.comment)))("warn",a.descriptionBannedWordsChecker.showWarning()),
A(),E("ngIf",a.descriptionBannedWordsChecker.showWarning()),A(),E("initialValue",a.comment.formattingMode),A(),E("ngIf",a.canEditIssuesInComponent&&!!yq(a.selectedComponent)),A(3),E("ngIf",a.canEditIssuesInComponent),A(),$f(a.shouldShowSimilarIssues&&a.issue.componentId&&!a.submitRequested?32:-1),A(),E("ngIf",Pqb(a)||Qqb(a)),A(),E("ngIf",a.enableRecaptcha),A(2),E("disabled",Zrb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),A(),
R(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway":"Create"," "),A(),E("disabled",Zrb(a))("color",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"warn":"primary"),A(),R(" ",a.titleBannedWordsChecker.showWarning()||a.descriptionBannedWordsChecker.showWarning()?"Create Anyway & Start Another":"Create & Start Another"," "),A(),E("disabled",Zrb(a)))},asb=function(a,b){a&1&&(F(0,"h2",141),Q(1,"This component has a default description"),
H(),F(2,"mat-dialog-content"),Q(3," You have already entered a description, but the component you chose has a default description: "),F(4,"div",142),Q(5),H()(),F(6,"mat-dialog-actions")(7,"button",143),Q(8,"Use component description"),H(),F(9,"button",144),Q(10,"Keep my description"),H()());a&2&&(a=b.$implicit,A(5),yg(a),A(2),E("mat-dialog-close",!0))},bsb=function(a,b){a&1&&(F(0,"mat-option",148),Q(1),H());a&2&&(a=b.$implicit,lg("value",a),A(),R(" ",a," "))},dsb=function(a){if(a&1){var b=u();F(0,
"mat-form-field",145)(1,"mat-select",146);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.collaboratorGroupsText,c)||(d.collaboratorGroupsText=c);return x(c)});F(2,"mat-select-trigger");Q(3);H();C(4,bsb,2,2,"mat-option",147);H()()}a&2&&(a=P(),A(),Ag("ngModel",a.collaboratorGroupsText),E("ngModelOptions",Gg(4,csb)),A(2),yg(a.getCollaboratorGroupsString()),A(),E("ngForOf",a.trackerCollaboratorGroups))},esb=function(a,b){b.assigneeText=vi(a.assigneeUser);b.reporterText=vi(a.reporterUser);b.verifierText=
vi(a.verifierUser);b.collaboratorsText=wi(a.collaboratorsUsers);b.ccsText=wi(a.ccUsers)},fsb=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=Ci(a.assigneeText));a.reporterText!=null&&(b.reporterUser=Ci(a.reporterText));a.verifierText!=null&&(b.verifierUser=Ci(a.verifierText));a.collaboratorsText&&(c=Dra(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&
(a=Dra(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},hsb=function(a,b){for(var c=l(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],f=gsb[d];d==="customField"||ci(e,f)||(Array.isArray(e)?a[d]?(e=era([].concat(r(e),r(a[d]))),a[d]=e):a[d]=e:e!==""&&(a[d]=e))}},isb=function(a){a=Object.assign({},a);return delete a.hotlistId,a},jsb=function(a){var b={};a=l(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},ksb=function(a){return function(b){var c=ura(b.snapshot.customField,function(k){return k.customFieldId}),d=[],e,f,h=(f=(e=a.componentPathInfo)==null?void 0:e.allCustomField)!=null?f:[];e=l(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})})}},lsb=function(a){if(a&
1){var b=u();F(0,"b-star-toggle",12);O("starClicked",function(){v(b);var c=P(2);return x(c.toggleStar())});H()}a&2&&(a=P(2),E("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},msb=function(a){a&1&&J(0,"b-star-toggle",13);a&2&&E("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)},nsb=function(a){if(a&
1){var b=u();F(0,"div")(1,"div",7);C(2,lsb,1,3,"b-star-toggle",8)(3,msb,1,4,"b-star-toggle",9);F(4,"span",10);Q(5);F(6,"span")(7,"button",11);O("click",function(){v(b);var c=P();return x(c.editBookmarkGroup())});H()()()()()}a&2&&(a=P(),A(2),E("ngIf",!a.isAdmin),A(),E("ngIf",a.isAdmin),A(2),R("",a.bookmarkGroup.name," "))},qsb=function(a){if(a&1){var b=u();F(0,"b-saved-search-panel",17);O("focusedRowIndexChange",function(f){v(b);var h=P().$implicit,k=P();return x(osb(k,h,f))})("selectionChange",function(f){v(b);
var h=P(2);return x(psb(h,f))})("resultsLoaded",function(f){v(b);var h=P(2);return x(h.loadHotlists(f))});H()}if(a&2){var c=P();a=c.$implicit;var d=c.first;c=c.last;var e=P();E("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},rsb=function(a){if(a&1){var b=u();F(0,"b-hotlist-panel",18);O("focusedRowIndexChange",function(f){v(b);var h=P().$implicit,k=P();return x(osb(k,h,f))})("selectionChange",function(f){v(b);var h=
P(2);return x(psb(h,f))})("resultsLoaded",function(f){v(b);var h=P(2);return x(h.loadHotlists(f))});H()}if(a&2){var c=P();a=c.$implicit;var d=c.first;c=c.last;var e=P();E("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},ssb=function(a,b){a&1&&(F(0,"div",14),C(1,qsb,1,6,"b-saved-search-panel",15)(2,rsb,1,6,"b-hotlist-panel",16),H());a&2&&(E("ngSwitch",b.$implicit.type),A(),E("ngSwitchCase","SAVED_SEARCH"),A(),E("ngSwitchCase",
"HOTLIST"))},tsb=function(a){if(a&1){var b=u();F(0,"button",12);O("click",function(){v(b);var c=P();return x(c.archive())});Q(1," Archive bookmark group ");H()}a&2&&(a=P(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},usb=function(a){if(a&1){var b=u();F(0,"button",12);O("click",function(){v(b);var c=P();return x(c.unarchive())});Q(1," Unarchive bookmark group ");H()}a&2&&(a=P(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},vsb=function(a){a&1&&(F(0,"span",34),Q(1," (archived) "),H())},
xsb=function(a,b){if(a&1){var c=u();F(0,"div")(1,"b-hotlist-chip-smart",49);O("removeHotlist",function(){var d=v(c).ngIf,e=P(4);return x(wsb(e,d))});H()()}a&2&&(a=b.ngIf,A(),E("id",a))},zsb=function(a,b){if(a&1){var c=u();F(0,"div",50)(1,"a",51);Q(2);H();F(3,"span",52);O("click",function(){var e=v(c).ngIf,f=P(4);return x(ysb(f,e))})("keydown.enter",function(){var e=v(c).ngIf,f=P(4);return x(ysb(f,e))})("keydown.space",function(){var e=v(c).ngIf,f=P(4);return x(ysb(f,e))});Q(4," \u00d7 ");H()()}if(a&
2){a=b.ngIf;b=P().$implicit;var d=P(3);A();E("href",d.paths.viewSavedSearch(a),cf)("matTooltip","Go to saved search: "+d.getDisplayName(b));A();R(" S: ",d.getDisplayName(b)," ");A();E("matTooltip","Remove item: "+d.getDisplayName(b));Nf("aria-label","Remove item: "+d.getDisplayName(b))}},Asb=function(a){a&1&&(F(0,"span",53),Q(1,"<None>"),H())},Bsb=function(a,b){a&1&&(F(0,"div",46),C(1,xsb,2,1,"div",11)(2,zsb,5,5,"div",47)(3,Asb,2,0,"span",48),H());if(a&2){a=b.$implicit;b=P(3);A();var c;var d=a.resourceType===
"HOTLIST"?(c=a.hotlistId)==null?void 0:c.toString():void 0;E("ngIf",d);A();E("ngIf",a.resourceType==="SAVED_SEARCH"?a.savedSearchId:void 0);A();E("ngIf",!b.bookmarkGroupUnderEdit.item.length)}},Dsb=function(a,b){if(a&1){var c=u();F(0,"button",61);O("click",function(){var d=v(c).$implicit,e=P(5);return x(Csb(e,d))});Q(1);H()}a&2&&(a=b.$implicit,A(),R("",a.name," "))},Esb=function(a){a&1&&C(0,Dsb,2,1,"button",60);a&2&&(a=P(4),E("ngForOf",a.savedSearchChoices))},Fsb=function(a){a&1&&(F(0,"div",54)(1,
"label",55),Q(2,"Add from saved searches:"),H(),F(3,"button",56)(4,"span",57),Q(5,"Select"),H(),J(6,"mat-icon",58),H(),F(7,"mat-menu",null,3),C(9,Esb,1,1,"ng-template",59),H()());a&2&&(a=M(8),A(3),E("matMenuTriggerFor",a))},Ksb=function(a){if(a&1){var b=u();K(0);F(1,"div",32)(2,"label",35)(3,"span",22);Q(4,"Selected items");H()();F(5,"div",36,2);C(7,Bsb,4,3,"div",37);H()();F(8,"div",38)(9,"div",39)(10,"label",40);Q(11,"Add hotlist from favorites:");H();F(12,"b-hotlist-picker",41);O("onApply",function(c){v(b);
var d=P(2);return x(Gsb(d,c))})("onCreate",function(c){v(b);var d=P(2);return x(Hsb(d,c))})("onLoad",function(c){v(b);var d=P(2);return x(Isb(d,c))});H()();F(13,"div",42)(14,"label",43);Q(15,"Add hotlist by query:");H();F(16,"b-hotlist-search",44);O("itemSelect",function(c){v(b);var d=P(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(Jsb(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return x()});H()();C(17,Fsb,10,
1,"div",45);H();L()}a&2&&(a=P(2),A(7),E("ngForOf",a.bookmarkGroupUnderEdit.item),A(5),E("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),A(4),E("showGroups",!1)("allowStarring",!1),A(),E("ngIf",a.savedSearchChoices.length>0))},Msb=function(a){a&1&&(F(0,"span"),Q(1),F(2,"a",65),Q(3),H()());if(a&2){a=P().$implicit;var b=P(3);A();R(" Hotlist ",a.hotlistId,": ");A();E("href",Lsb(b,a),cf);A();R(" ",a.name||"(name not available)"," ")}},Nsb=function(a){a&1&&(F(0,"span"),
Q(1),F(2,"a",65),Q(3),H()());if(a&2){a=P().$implicit;var b=P(3);A();R(" Saved search ",a.savedSearchId,": ");A();E("href",Lsb(b,a),cf);A();R(" ",a.name||"(name not available)"," ")}},Osb=function(a,b){a&1&&(F(0,"li"),C(1,Msb,4,3,"span",11)(2,Nsb,4,3,"span",11),H());a&2&&(a=b.$implicit,A(),E("ngIf",a.resourceType==="HOTLIST"),A(),E("ngIf",a.resourceType==="SAVED_SEARCH"))},Psb=function(a){a&1&&(F(0,"div",62)(1,"label")(2,"span",22),Q(3,"Items"),H()(),F(4,"div",63)(5,"ul"),C(6,Osb,3,2,"li",64),H()()());
a&2&&(a=P(2),A(6),E("ngForOf",a.bookmarkGroup.item))},Qsb=function(a){if(a&1){var b=u();F(0,"div",66)(1,"button",67);O("click",function(){v(b);var c=P(2);return x(c.saveMetadata())});Q(2," Update ");H();F(3,"button",68);O("click",function(){v(b);var c=P(2);return x(c.revertMetadataChanges())});Q(4," Revert changes ");H()()}a&2&&(a=P(2),A(),E("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Rsb=function(a){if(a&1){var b=u();F(0,"div",66)(1,"button",67);O("click",function(){v(b);var c=P(2);
return x(c.saveAccessPolicy())});Q(2," Update ");H();F(3,"button",68);O("click",function(){v(b);var c=P(2);return x(c.revertAccessPolicyChanges())});Q(4," Revert changes ");H()()}a&2&&(a=P(2),A(),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},Vsb=function(a){if(a&1){var b=u();K(0);F(1,"div",13)(2,"h2");Q(3);H();C(4,vsb,2,0,"span",14);F(5,"a",15);Q(6," (View Dashboard)");H()();F(7,"mat-tab-group",16);Cg("selectedIndexChange",function(d){v(b);
var e=P();Bg(e.selectedTabIndex,d)||(e.selectedTabIndex=d);return x(d)});O("selectedIndexChange",function(d){v(b);var e=P();return x(e.tabChange(d))});F(8,"mat-tab",17)(9,"div",18);J(10,"b-error-banner",19);F(11,"div",20)(12,"label",21)(13,"span",22);Q(14,"Name");H()();F(15,"input",23,0);Cg("ngModelChange",function(d){v(b);var e=P();Bg(e.bookmarkGroupUnderEdit.name,d)||(e.bookmarkGroupUnderEdit.name=d);return x(d)});H()();F(17,"div",20)(18,"label",24)(19,"span",22);Q(20,"Description");H()();F(21,
"textarea",25);Cg("ngModelChange",function(d){v(b);var e=P();Bg(e.bookmarkGroupUnderEdit.description,d)||(e.bookmarkGroupUnderEdit.description=d);return x(d)});H()();C(22,Ksb,18,7,"ng-container",26)(23,Psb,7,1,"ng-template",null,1,Mg)(25,Qsb,5,1,"div",27);H()();F(26,"mat-tab",28)(27,"div",18)(28,"div",20)(29,"label")(30,"span",22);Q(31,"Admins");H();F(32,"p",29);Q(33," Edit access controls, edit name and description, reorder items, add/remove items ");H()();F(34,"b-multi-user-input",30);O("usersChange",
function(d){v(b);var e=P();return x(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){v(b);var e=P();return x(e.isAdminsFieldValid=d)});H()();F(35,"div",20)(36,"label")(37,"span",22);Q(38,"View only");H();F(39,"p",29);Q(40," View the bookmark group ");H();F(41,"b-multi-user-input",31);O("usersChange",function(d){v(b);var e=P();return x(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){v(b);var e=P();return x(e.isReaderFieldValid=d)});H()()();F(42,"div",32);Q(43," See ");F(44,"a",
33);Q(45,"access control documentation");H();Q(46," for an explanation of the settings. ");H();C(47,Rsb,5,1,"div",27);H()()();L()}if(a&2){a=M(24);var c=P();A(3);zg(" Bookmark group ",c.bookmarkGroup.bookmarkGroupId,": ",c.bookmarkGroup.name," ");A();E("ngIf",c.isArchived());A();E("href",yp(wp.viewDashboard.routeDeclarationPath,{id:c.bookmarkGroup.bookmarkGroupId}),cf);A(2);Ag("selectedIndex",c.selectedTabIndex);A(3);E("error",c.error);A();E("ngClass",Hg(28,Ssb,c.isEditDisabled()));A(4);Ag("ngModel",
c.bookmarkGroupUnderEdit.name);E("disabled",c.isEditDisabled());A(2);E("ngClass",Hg(30,Ssb,c.isEditDisabled()));A(4);Ag("ngModel",c.bookmarkGroupUnderEdit.description);E("disabled",c.isEditDisabled());A();E("ngIf",c.isAdmin)("ngIfElse",a);A(3);E("ngIf",c.isAdmin);A(3);E("ngClass",Hg(32,Ssb,c.isEditDisabled()));A(6);Wf("disabled",c.isEditDisabled());E("users",c.accessPolicyUnderEdit.admins);A();E("ngClass",Hg(34,Ssb,c.isEditDisabled()));A(6);Wf("disabled",c.isEditDisabled());E("users",c.accessPolicyUnderEdit.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Hg(38,Tsb,Hg(36,Usb,c.accessPolicyUnderEdit.admins)));A(3);E("href",Ep(c.documentationLinks)+"#bookmark-groups",cf);A(3);E("ngIf",c.isAdmin)}},Wsb=function(a){if(a&1){var b=u();F(0,"button",9);O("click",function(){v(b);var c=P();return x(c.delete())});Q(1," Delete saved search ");H()}a&2&&(a=P(),E("disabled",a.hasUnsavedChanges()||a.isSaving()))},Xsb=function(a){a&1&&(K(0),F(1,"div",10)(2,"h2"),Q(3," Saved search not found "),H()(),L())},Ysb=function(a){if(a&
1){var b=u();F(0,"div",34)(1,"button",35);O("click",function(){v(b);var c=P(2);return x(c.saveMetadata())});Q(2," Update ");H();F(3,"button",36);O("click",function(){v(b);var c=P(2);return x(c.revertMetadataChanges())});Q(4," Revert changes ");H()()}a&2&&(a=P(2),A(),E("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},Zsb=function(a){if(a&1){var b=u();F(0,"div",34)(1,"button",35);O("click",function(){v(b);var c=P(2);return x(c.saveAccessPolicy())});Q(2," Update ");H();F(3,"button",36);O("click",
function(){v(b);var c=P(2);return x(c.revertAccessPolicyChanges())});Q(4," Revert changes ");H()()}a&2&&(a=P(2),A(),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},ctb=function(a){if(a&1){var b=u();K(0);F(1,"div",10)(2,"h2");Q(3);H();F(4,"a",11);Q(5," (View Issues)");H()();F(6,"mat-tab-group",12);Cg("selectedIndexChange",function(c){v(b);var d=P();Bg(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return x(c)});O("selectedIndexChange",function(c){v(b);
var d=P();return x(d.tabChange(c))});F(7,"mat-tab",13)(8,"div",14);J(9,"b-error-banner",15);F(10,"div",16)(11,"label",17)(12,"span",18);Q(13,"Name");H()();F(14,"input",19,0);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.savedSearchUnderEdit.name,c)||(d.savedSearchUnderEdit.name=c);return x(c)});H()();F(16,"div",16)(17,"label",20)(18,"span",18);Q(19,"Description");H()();F(20,"textarea",21);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.savedSearchUnderEdit.description,c)||(d.savedSearchUnderEdit.description=
c);return x(c)});Q(21,"            ");H()();F(22,"div",22)(23,"label",23)(24,"span",18);Q(25,"Query");H();F(26,"p",24);Q(27," To modify query and display preferences, run the saved search and modify its parameters ");H();F(28,"div",25);Q(29);H()()();C(30,Ysb,5,1,"div",26);H()();F(31,"mat-tab",27)(32,"div",14)(33,"div",16)(34,"label",28)(35,"span",18);Q(36,"Admins");H();F(37,"p",24);Q(38," Edit access controls, edit name and description, edit query ");H()();F(39,"b-multi-user-input",29);O("usersChange",
function(c){v(b);var d=P();return x(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){v(b);var d=P();return x(d.isAdminsFieldValid=c)});H()();F(40,"div",16)(41,"label",30)(42,"span",18);Q(43,"View and execute search");H()();F(44,"b-multi-user-input",31);O("usersChange",function(c){v(b);var d=P();return x(d.accessPolicyUnderEdit.readers=c)})("isValid",function(c){v(b);var d=P();return x(d.isReaderFieldValid=c)});H()();F(45,"div",32);Q(46," See ");F(47,"a",33);Q(48,"access control documentation");
H();Q(49," for an explanation of the settings. ");H();C(50,Zsb,5,1,"div",26);H()()();L()}a&2&&(a=P(),A(3),zg(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),A(),E("href",a.paths.viewSavedSearch(a.savedSearch.searchId),cf),A(2),Ag("selectedIndex",a.selectedTabIndex),A(3),E("error",a.error),A(),E("ngClass",Hg(26,$sb,a.isEditDisabled())),A(4),Ag("ngModel",a.savedSearchUnderEdit.name),E("disabled",a.isEditDisabled()),A(2),E("ngClass",Hg(28,$sb,a.isEditDisabled())),A(4),Ag("ngModel",
a.savedSearchUnderEdit.description),E("disabled",a.isEditDisabled()),A(9),R(" ",a.savedSearch.query," "),A(),E("ngIf",a.isAdmin),A(3),E("ngClass",Hg(30,$sb,a.isEditDisabled())),A(6),Wf("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.admins),A(),E("ngClass",Hg(32,$sb,a.isEditDisabled())),A(4),Wf("disabled",a.isEditDisabled()),E("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Hg(36,atb,Hg(34,btb,a.accessPolicyUnderEdit.admins))),
A(3),E("href",Ep(a.documentationLinks)+"#saved-searches",cf),A(3),E("ngIf",a.isAdmin))},dtb=function(a){a&1&&(F(0,"div",8),J(1,"b-spinner"),H())},etb=function(a){if(a&1){var b=u();F(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);O("change",function(c){v(b);var d=P(2);return x(d.alertState.setValue(c.checked))});H()();F(3,"div")(4,"strong",42);Q(5,"SLO Notifications");H();F(6,"div",43);Q(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
H()()()}a&2&&(a=P(2),Wf("bv2-edit-resource-readonly",a.isEditDisabled()),A(2),E("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},ftb=function(a){a&1&&(F(0,"div",44),Q(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),F(2,"a",45),Q(3," Learn more "),H()())},htb=function(a){if(a&1){var b=u();F(0,"b-button",50);O("onAction",function(){v(b);var c=P(3);return x(gtb(c,!0))});Q(1," Archive ");H()}a&2&&(a=P(3),E("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},itb=function(a){if(a&1){var b=u();F(0,"b-button",51);O("onAction",function(){v(b);var c=P(3);return x(gtb(c,!1))});Q(1," Unarchive ");H()}a&2&&(a=P(3),E("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},jtb=function(a){if(a&1){var b=u();F(0,"div",26)(1,"b-button",46);O("onAction",function(){v(b);var d=P(2);return x(d.saveMetadata())});Q(2," Update ");H();F(3,"b-button",47);O("onAction",function(){v(b);var d=P(2);return x(d.revertMetadataChanges())});Q(4," Revert changes ");
H();C(5,htb,2,1,"b-button",48)(6,itb,2,1,"b-button",49);H()}if(a&2){P();a=M(9);var c=P();A();E("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!c.elementPickerIsValid||!!a.pending||!!a.invalid);A(2);E("disabled",!c.hasUnsavedMetadataChanges()||c.isSaving()||!!a.pending||!!a.invalid);A(2);E("ngIf",c.slo&&!c.slo.isArchived);A();E("ngIf",c.slo&&c.slo.isArchived)}},ktb=function(a){if(a&1){var b=u();F(0,"div",25)(1,"b-button",52);O("onAction",function(){v(b);var c=P(2);return x(c.saveAccessPolicy())});
Q(2," Update ");H();F(3,"b-button",53);O("onAction",function(){v(b);var c=P(2);return x(c.revertAccessPolicyChanges())});Q(4," Revert changes ");H()()}a&2&&(a=P(2),A(),E("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},ltb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",9)(2,"h2")(3,"span",10);Q(4);H()()();F(5,"mat-tab-group",11);Cg("selectedIndexChange",function(c){v(b);var d=P();Bg(d.selectedTabIndex,c)||(d.selectedTabIndex=c);return x(c)});O("selectedIndexChange",
function(c){v(b);var d=P();return x(d.tabChange(c))});F(6,"mat-tab",12)(7,"div",13)(8,"form",14,0)(10,"div",15)(11,"label",16)(12,"span",17);Q(13,"Name");H()();F(14,"input",18);O("ngModelChange",function(c){v(b);var d=P();return x(d.editableCopy.name=c)});H()();F(15,"div",15)(16,"label",19)(17,"span",17);Q(18,"Description");H()();F(19,"textarea",20);O("ngModelChange",function(c){v(b);var d=P();return x(d.editableCopy.description=c)});Q(20,"              ");H()();C(21,etb,8,4,"div",21);H();C(22,ftb,
4,0,"div",22);F(23,"div",15)(24,"slo-elements-picker",23);O("onCollectionUpdate",function(c){v(b);var d=P();return x(d.updateCollection(c))})("onValidation",function(c){v(b);var d=P();return x(d.elementPickerIsValid=c)});H()();F(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);O("onAction",function(){v(b);var c=P();return x(c.showUpdateHistoryModal())});Q(29," View history ");H()()();F(30,"div",25);C(31,jtb,7,4,"div",28);H()()()();F(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,
"label",32)(37,"span",17);Q(38,"Admins");H();F(39,"p",33);Q(40," Edit name, description and metrics ");H()();F(41,"b-multi-user-input",34);O("usersChange",function(c){v(b);var d=P();return x(d.editableAccessPolicy.admins=c)})("isValid",function(c){v(b);var d=P();return x(d.validity.admins=c)});H()();F(42,"div",15)(43,"label",35)(44,"span",17);Q(45,"Readers");H();F(46,"p",33);Q(47," View the SLO definition (this is not required to see an issue's SLO status) ");H()();F(48,"b-multi-user-input",36);O("usersChange",
function(c){v(b);var d=P();return x(d.editableAccessPolicy.readers=c)})("isValid",function(c){v(b);var d=P();return x(d.validity.readers=c)});H()()();F(49,"div",15);Q(50," See ");F(51,"a",37);Q(52,"access control documentation");H();Q(53," for an explanation of the settings. ");H();C(54,ktb,5,1,"div",38);H()()()()}a&2&&(a=P(),A(4),zg(" SLO ",a.slo.sloId,": ",a.slo.name," "),A(),Ag("selectedIndex",a.selectedTabIndex),A(5),Wf("bv2-edit-resource-readonly",a.isEditDisabled()),A(4),E("required",!0)("ngModel",
a.editableCopy.name)("disabled",a.isEditDisabled()),A(),Wf("bv2-edit-resource-readonly",a.isEditDisabled()),A(4),E("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),A(2),E("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),A(),E("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),A(),Wf("bv2-edit-resource-readonly",a.isEditDisabled()),A(),E("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),A(7),E("ngIf",a.isAdmin()),A(4),Wf("bv2-edit-resource-readonly",
a.isEditDisabled()),A(6),E("users",a.editableAccessPolicy.admins),Nf("disabled",a.isEditDisabled()?!0:null),A(),Wf("bv2-edit-resource-readonly",a.isEditDisabled()),A(6),E("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),Nf("disabled",a.isEditDisabled()?!0:null),A(3),kg("href","",Ep(a.documentationLinks),"#slos",cf),A(3),E("ngIf",a.isAdmin()))},mtb=function(a){if(a&1){var b=u();F(0,"div",7);J(1,"img",8)(2,"img",9);F(3,"p",10);Q(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");
H();F(5,"p",11);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. ');F(7,"a",12);Q(8,"Learn more");H()();F(9,"button",13);O("click",function(){v(b);var c=P(2);return x(c.onClickAdd())});Q(10," Add ");H()()}a&2&&(a=P(2),A(),E("src",a.TEA_LIGHT,cf),A(),E("src",a.TEA_DARK,cf))},ntb=function(a,b){a&1&&J(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=P(6),E("issueIds",a)("menuItemFactory",b.getMenuItems))},otb=function(a){a&
1&&(K(0),C(1,ntb,1,2,"b-issues-table",17),T(2,"async"),L());a&2&&(a=P(5),A(),E("ngIf",U(2,1,a.blockedAndOpenIds$)))},ptb=function(a){a&1&&(F(0,"p",19),Q(1,"Not blocking any open issues \ud83e\udd73"),H())},qtb=function(a,b){a&1&&(K(0),F(1,"h4",16),Q(2),H(),C(3,otb,3,3,"ng-container",14)(4,ptb,2,0,"ng-template",null,2,Mg),L());a&2&&(a=b.$implicit,b=M(5),A(2),R("Open (",a.length,")"),A(),E("ngIf",a.length>0)("ngIfElse",b))},rtb=function(a,b){a&1&&J(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=P(6),E("issueIds",
a)("menuItemFactory",b.getMenuItems))},stb=function(a){a&1&&(K(0),F(1,"h4",16),Q(2),H(),C(3,rtb,1,2,"b-issues-table",17),T(4,"async"),L());if(a&2){a=P().$implicit;var b=P(4);A(2);R("Closed (",a.length,")");A();E("ngIf",U(4,2,b.blockedAndClosedIds$))}},ttb=function(a,b){a&1&&(K(0),C(1,stb,5,4,"ng-container",4),L());a&2&&(a=b.$implicit,A(),E("ngIf",a.length>0))},utb=function(a){a&1&&(K(0),C(1,qtb,6,3,"ng-container",4),T(2,"async"),C(3,ttb,2,1,"ng-container",4),T(4,"async"),L());a&2&&(a=P(3),A(),E("ngIf",
U(2,2,a.blockedAndOpen$)),A(2),E("ngIf",U(4,4,a.blockedAndClosed$)))},vtb=function(a,b){a&1&&(F(0,"li")(1,"a",22)(2,"span",11),Q(3),H(),F(4,"aside",23),J(5,"button",24),H()()());a&2&&(a=b.$implicit,A(),Pf("aria-label","Issue ",a,""),kg("routerLink","/issues/",a,""),A(2),R("b/",a,""))},wtb=function(a){a&1&&(F(0,"h4",16),Q(1,"Loading..."),H(),F(2,"ol",20),C(3,vtb,6,5,"li",21),H());a&2&&(a=P(2).$implicit,A(3),E("ngForOf",a))},xtb=function(a,b){a&1&&(K(0),F(1,"a",25),Q(2," View as search results "),H(),
L());a&2&&(a=b.ngIf,A(),E("routerLink",a.path)("queryParams",a.params))},ytb=function(a){if(a&1){var b=u();C(0,utb,5,6,"ng-container",14);T(1,"async");C(2,wtb,4,1,"ng-template",null,1,Mg);F(4,"aside",15)(5,"button",13);O("click",function(){v(b);var d=P(2);return x(d.onClickAdd())});Q(6," Add ");H();C(7,xtb,3,2,"ng-container",4);T(8,"async");H()}if(a&2){a=M(3);var c=P(2);E("ngIf",U(1,3,c.issuesBeingBlocked$))("ngIfElse",a);A(7);E("ngIf",U(8,5,c.searchUrl$))}},ztb=function(a,b){a&1&&(K(0),C(1,mtb,11,
2,"div",6)(2,ytb,9,7,"ng-template",null,0,Mg),L());a&2&&(a=b.$implicit,b=M(3),A(),E("ngIf",a.length===0)("ngIfElse",b))},Atb=function(a){a&1&&(F(0,"aside",26),J(1,"b-spinner"),H())},Btb=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)},Ctb=function(a,b){if(!b.regexMatcher)return!1;var c;return((c=a.match(b.regexMatcher))!=null?c:[]).length>0},Dtb=function(a,b){return(a==null?void 0:a.issueId)===
(b==null?void 0:b.issueId)},Gtb=function(a){return Etb(Ftb(),a.paths.map(function(b){var c=new Kr;return Sj(c,1,b)}))},Htb=function(a){return{content:new Map(a.getResponsesList().map(function(b){return[Zh(b.getReadonlySourceFileId(),1),Cta(b.getContent())]})),revisionNumber:new Map(a.getResponsesList().map(function(b){return[Zh(b.getReadonlySourceFileId(),1),b.getReadonlySourceFileId().getRevisionNumber()]}))}},Itb=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:Zh(e,1))!=null?h:""}},Jtb=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}},Ktb=function(a){var b=new Lr,c=a.sourceFile,d=new Mr,e=d.setSourceFileId;
var f=c.sourceFileId;var h=new Kr;f=Sj(h,1,f.depotPath).setRevisionNumber(f.revisionNumber);d=e.call(d,f);c.fileOperation&&Ol(d,2,Jtb(c.fileOperation));return Pj(b,Mr,1,d).setContent(a.content)},Ltb=function(a){a=a.getReadonlyResponse();return{outputs:Yj(a,Nr,1,Ai()).map(function(b){return b.getContent()}),outputBlocked:hk(a,2)}},Mtb=function(a){a=encodeURIComponent(a).replace(/%([0-9A-F]{2})/g,function(b,c){return String.fromCharCode(Number("0x"+c))});return btoa(a)},Ntb=function(a){return a.filter(function(b){return b.indexOf("+")!==
0}).map(function(b){return b.substring(1)})},Otb=function(a){return a.filter(function(b){return b.indexOf("-")!==0}).map(function(b){return b.substring(1)})},Ptb=function(a,b,c){return Ntb(c).every(function(d,e){return d.trim()===a[b+e].trim()})},Qtb=function(a,b,c){for(var d=[],e=Ntb(b).length,f=a.length-e;c<=f;c++)Ptb(a,c,b)&&d.push(c);if(d.length===0)throw Error("lf");a=d[0];return{startRange:a,endRange:a+e}},Rtb=function(a,b){if(b.length===0)return"";a=a.split("\n");var c=b.split(/\r?\n?@@\r?\n/).filter(function(k){return k.length>
0});b=[];var d=0,e=0,f=0;c=l(c);for(e=c.next();!e.done;e=c.next()){var h=e.value;d=Qtb(a,h.split("\n"),d);e=d.startRange;d=f=d.endRange;h=Otb(h.split("\n"));b.push([e,f,h])}d=e=c=0;b=l(b);for(e=b.next();!e.done;e=b.next())e=l(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(r(e))),c-=f,e=e.length-c,d+=e;return a.join("\n")},Stb=function(a,b){a&1&&(F(0,"div",2),Q(1),H());a&2&&(a=b.$implicit,Wf("remove",a.indexOf("-")==0)("add",a.indexOf("+")==0),
A(),R(" ",a[0]=="-"||a[0]=="+"?a.substr(1):a," "))},Ttb=function(a){if(a&1){var b=u();F(0,"div",1);Q(1);H();F(2,"button",2);O("click",function(){v(b);var c=P();return x(c.restart())});Q(3," Restart ");H()}a&2&&(a=P(),A(),R(" ",a.error," "))},Utb=function(a,b){a&1&&J(0,"change-block",7);a&2&&E("lines",b.$implicit.lines)},Xtb=function(a){if(a&1){var b=u();F(0,"div",3);Q(1," Suggested code change: ");H();C(2,Utb,1,1,"change-block",4);F(3,"div",3);Q(4," Suggested changelist description: ");H();J(5,"change-block",
5);F(6,"button",6);O("click",function(){v(b);var c=P();return x(Vtb(c,c.outputData))});Q(7," Patch Changelist into new workspace ");H()}a&2&&(a=P(),A(2),E("ngForOf",a.outputData.diffBlocks),A(3),E("lines",Hg(2,Wtb,a.outputData.description)))},Ytb=function(a){a&1&&(F(0,"div",0),J(1,"img",8),F(2,"i"),Q(3,"Analyzing issue using LLM"),H()())},Ztb=function(a){if(a&1){var b=u();F(0,"b-bug2code-file-path-input",9);O("chosenFilePath",function(c){v(b);var d=P();return x(d.updateFilePath(c))});H()}},$tb=function(a){return a&&
a.toString!==Object.prototype.toString?a.toString():a!=null&&a.message?a.message:"Unknown Error"},bub=function(){return function(a){return{response:a.getMutableResponse().getText(),citationResources:aub(a.getMutableResponse())}}},aub=function(a){return Yj(a,cub,13,Ai()).filter(function(b){return ok(b,dub,6,eub)}).flatMap(function(b){var c;if(b==null)b=void 0;else{var d;(c=bk(b,dub,6,eub))==null?d=void 0:d=Yj(c,fub,1,Ai());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:hk(b,6))!=null?f:!1}})},gub=function(a){a&1&&J(0,"mat-icon",3)},hub=function(a){a&1&&J(0,"img",4);a&2&&(a=P().$implicit,E("src",a.iconUrl,cf))},iub=function(a,b){a&1&&(F(0,"div",2),C(1,gub,1,0,"mat-icon",3)(2,hub,1,1,"img",4),F(3,"a",5),Q(4),H()());a&2&&(a=b.$implicit,A(),$f(a.isExternalDocument?1:2),A(2),E("href",a.url,cf),A(),R(" ",
a.citationTitle," "))},jub=function(a){a&1&&(F(0,"div",1),Q(1,"Sources"),H(),bg(2,iub,5,3,"div",2,ag));a&2&&(a=P(2),A(2),cg(a.citations))},kub=function(a,b){a&1&&(J(0,"b-markdown-format-presenter",0),C(1,jub,4,0));a&2&&(a=P(),E("content",b),A(),$f(a.citations&&a.citations.length>0?1:-1))},lub=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}},mub=function(a){a&1&&J(0,"mat-icon",3)},nub=function(a){a&1&&J(0,"img",4);a&2&&(a=P().$implicit,E("src",a.iconUrl,cf))},oub=function(a,b){a&1&&(F(0,"div",2),C(1,mub,1,0,"mat-icon",3)(2,nub,1,1,"img",4),F(3,"a",5),Q(4),H()());a&2&&(a=b.$implicit,A(),$f(a.isExternalDocument?1:2),A(2),E("href",a.url,cf),A(),R(" ",a.citationTitle," "))},pub=function(a){a&1&&(F(0,"div",1),Q(1,"Sources"),H(),bg(2,oub,5,3,"div",2,ag));a&
2&&(a=P(2),A(2),cg(a.citations))},qub=function(a,b){a&1&&(J(0,"b-markdown-format-presenter",0),C(1,pub,4,0));a&2&&(a=P(),E("content",b),A(),$f(a.citations&&a.citations.length>0?1:-1))},sub=function(a){a&1&&(F(0,"p",4),Q(1,"Related fixed issues"),H(),dg(2,5));if(a&2){a=P();P();var b=M(3);A(2);E("ngTemplateOutletContext",Hg(2,rub,a))("ngTemplateOutlet",b)}},tub=function(a,b){a&1&&C(0,sub,3,4);a&2&&$f(b.length>0?0:-1)},uub=function(a){a&1&&J(0,"b-issue-card",11,2);if(a&2){a=M(1);var b=P(3).$implicit;
E("onedevIsHovercardReady",a.init)("issueId",b.issue.issueId)}},vub=function(a){a&1&&J(0,"b-changelist-card",16,2);if(a&2){a=M(1);var b=P(2).$implicit,c=P(5);E("onedevIsHovercardReady",a.init)("changelistId",c.Number(b))}},wub=function(a){if(a&1){var b=u();F(0,"div",12);J(1,"mat-icon",13);F(2,"a",14);O("onedevHovercardShown",function(){v(b);P(6).analytics.trackEvent("helpMeFix","hover","relatedChangelist");return x()})("click",function(){v(b);var h=P(6);return x(h.trackClick("relatedChangelist"))});
Q(3);H();F(4,"onedev-hovercard",null,3);C(6,vub,2,2,"b-changelist-card",15);H()()}if(a&2){a=M(5);var c=P(),d=c.$implicit;c=c.$index;var e=P(3).$implicit,f=P(2);A(2);kg("href","https://critique.corp.google.com/cl/",d,"",cf);E("onedevHovercardTrigger",a)("onedevHovercardConfig",f.hovercardConfig);A();R(" ",e.changelists[c].firstInterestingLine," ")}},xub=function(a,b){a&1&&C(0,wub,7,5,"div",12);a&2&&(a=b.$index,b=P(3).$implicit,$f(b.changelists[a].isInteresting?0:-1))},yub=function(a){if(a&1){var b=
u();F(0,"div",6)(1,"div",7);J(2,"img",8);F(3,"a",9);O("onedevHovercardShown",function(){v(b);P(4).analytics.trackEvent("helpMeFix","hover","relatedIssue");return x()})("click",function(){v(b);var f=P(4);return x(f.trackClick("relatedIssue"))});Q(4);H();F(5,"onedev-hovercard",null,1);C(7,uub,2,2,"b-issue-card",10);H()();bg(8,xub,1,1,null,null,pla);H()}if(a&2){a=M(6);var c=P(),d=P().$implicit,e=P(2);A(2);E("src",e.BUGANIZER_LOGO_URL,cf);A();kg("href","/issues/",d.issue.issueId,"",cf);E("onedevHovercardTrigger",
a)("onedevHovercardConfig",e.hovercardConfig);A();R(" ",c.title," ");A(4);cg(d.issue.snapshot[0].changelist.slice(0,3))}},zub=function(a){a&1&&C(0,yub,10,6,"div",6);a&2&&(a=P().$implicit,$f(a.changelists&&a.changelists.length>0?0:-1))},Aub=function(a,b){a&1&&C(0,zub,1,1);if(a&2){var c;a=b.$implicit;$f((c=a.issue.snapshot&&a.issue.snapshot[0])?0:-1,c)}},Cub=function(a,b){a&1&&bg(0,Aub,1,1,null,null,Bub);a&2&&cg(b.issuesAndChangelists)},Dub=function(a){a&1&&J(0,"mat-icon",14)},Eub=function(a){a&1&&
J(0,"mat-icon",15)},Fub=function(a){if(a&1){var b=u();F(0,"b-callout",19)(1,"b-callout-body");Q(2," Feature only visible for some components. Join group to see it on all issues with stack traces. ");H();F(3,"b-callout-actions")(4,"button",20);O("click",function(){v(b);P(3).hasDismissedBanner=!0;em("isHMFAllComponentsOptInBannerDismissed")(!0);return x()});Q(5,"Dismiss");H();F(6,"button",21);O("click",function(){v(b);P(3).domSafe.openInNewTab("https://groups.google.com/a/google.com/g/help-me-fix-opt-in-all-components/members");
return x()});Q(7,"Join");H()()()}},Gub=function(a){a&1&&C(0,Fub,8,0,"b-callout",19);a&2&&(a=P(2),$f(a.isEnabledOnAllComponents||a.hasDismissedBanner?-1:0))},Hub=function(a){a&1&&(F(0,"span",17),J(1,"b-spinner"),Q(2," Analyzing the issue"),H())},Jub=function(a){if(a&1){var b=u();F(0,"duckie-response",22);O("dataReady",function(){v(b);var c=P(2);return x(Iub(c))});H()}},Kub=function(a){if(a&1){var b=u();F(0,"duckie-response-with-similar-issues",22);O("dataReady",function(){v(b);var c=P(2);return x(Iub(c))});
H()}},Lub=function(a,b){a&1&&J(0,"b-bug2code-sidebar",23);a&2&&E("issueId",b)},Mub=function(a){a&1&&(C(0,Lub,1,1,"b-bug2code-sidebar",23),T(1,"async"));if(a&2){var b;a=P(2);$f((b=U(1,1,a.issueId$))?0:-1,b)}},Nub=function(a){a&1&&(F(0,"div",18),T(1,"async"),J(2,"related-fixed-issues"),H());a&2&&(a=P(2),E("hidden",!U(1,1,a.isLlmDataReady$)))},Oub=function(a){a&1&&(F(0,"div",31),Q(1," Want to provide more feedback? "),F(2,"a",34),Q(3,"Share your thoughts"),H()())},Pub=function(a){a&1&&(F(0,"div",35),
Q(1," Enjoying this feature? Join "),F(2,"a",36),Q(3,"this group"),H(),Q(4," to see it on all issues with exception stack traces! "),H());a&2&&(a=P(4),A(2),E("href",a.allComponentsOptInLink,cf))},Qub=function(a){a&1&&C(0,Pub,5,1,"div",35);a&2&&(a=P(3),$f(!a.isEnabledOnAllComponents&&a.hasDismissedBanner?0:-1))},Rub=function(a){if(a&1){var b=u();F(0,"div",24)(1,"div",25)(2,"span");Q(3);H();F(4,"div",26)(5,"button",27);O("click",function(){v(b);var d=P(2),e=ho(d.helpMeFixService.currentConfig$);d.votedThumbsUp=
!0;d.analytics.trackEvent("helpMeFix","click","thumbsUp-"+(e==null?void 0:e.issueCategory),Number(ho(d.issueId$)));return x()});J(6,"mat-icon",28);H();F(7,"button",29);O("click",function(){v(b);var d=P(2),e=ho(d.helpMeFixService.currentConfig$);d.votedThumbsDown=!0;d.analytics.trackEvent("helpMeFix","click","thumbsDown-"+(e==null?void 0:e.issueCategory),Number(ho(d.issueId$)));return x()});J(8,"mat-icon",30);H()()();C(9,Oub,4,0,"div",31);H();F(10,"div",32)(11,"div");Q(12," AI may generate code in the response. Please review ");
F(13,"a",33);Q(14," go/code-ai-policy ");H();Q(15," before using it. ");H();C(16,Qub,1,1);H()}if(a&2){a=P();var c=P();A(3);R(" ",c.votedThumbsUp||c.votedThumbsDown?"Thanks for the feedback!":"Was this helpful?"," ");A(2);Wf("voted",c.votedThumbsUp);E("disabled",c.votedThumbsUp||c.votedThumbsDown);A(2);Wf("voted",c.votedThumbsDown);E("disabled",c.votedThumbsUp||c.votedThumbsDown);A(2);$f(c.votedThumbsUp||c.votedThumbsDown?9:-1);A(7);$f(a.issueCategory===c.IssueCategory.EXCEPTION?16:-1)}},Sub=function(a,
b){a&1&&(F(0,"div",12),C(1,Gub,1,1),F(2,"div",16),C(3,Hub,3,0,"span",17),T(4,"async"),C(5,Jub,1,0,"duckie-response")(6,Kub,1,0,"duckie-response-with-similar-issues")(7,Mub,2,3),T(8,"async"),H(),C(9,Nub,3,3,"div",18)(10,Rub,17,9),T(11,"async"),H());a&2&&(a=P(),A(),$f(b.issueCategory===a.IssueCategory.EXCEPTION?1:-1),A(2),$f(!U(4,6,a.isLlmDataReady$)&&b.displayedModules.includes(a.DisplayModule.LOADING_AND_FOOTER)?3:-1),A(2),$f(b.displayedModules.includes(a.DisplayModule.DUCKIE_RESPONSE)?5:b.displayedModules.includes(a.DisplayModule.DUCKIE_RESPONSE_WITH_SIMILAR_ISSUES)?
6:-1),A(2),$f(b.displayedModules.includes(a.DisplayModule.BUG_2_CODE)&&U(8,8,a.isHelpMeFixSidebarOpen$)?7:-1),A(2),$f(b.displayedModules.includes(a.DisplayModule.RELATED_FIXED_ISSUES)?9:-1),A(),$f(U(11,10,a.isLlmDataReady$)&&b.displayedModules.includes(a.DisplayModule.LOADING_AND_FOOTER)?10:-1))},Tub=function(a){a&1&&(F(0,"div",13),Q(1,"View an issue details to gain AI insights."),H())},Uub=function(a){a&1&&(F(0,"div",3),J(1,"mat-icon",4),F(2,"span",5),Q(3),T(4,"async"),H()());if(a&2){var b;a=P();
A(3);R("",(b=U(4,1,a.issues$))==null?null:b.length," parent issues")}},Vub=function(a){a&1&&(F(0,"div",3),J(1,"mat-icon",6),F(2,"span",5),Q(3),T(4,"async"),H()());if(a&2){var b;a=P();A(3);R("Blocked by ",(b=U(4,1,a.issues$))==null?null:b.length," issues")}},Wub=function(a,b){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=b.$implicit,b=P(4),Zf("chippy status-",a," margin-s-left"),A(),R(" ",b.STATUS_JS_TERSE[a]," "))},Xub=function(a){a&1&&(K(0),F(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),Q(5),H(),F(6,"div",
12),Q(7),H()(),F(8,"div",10)(9,"div",13),Q(10),H(),C(11,Wub,2,4,"span",14),H()()(),L());if(a&2){var b=P();a=b.$implicit;b=b.last;var c=P(2);A();kg("routerLink","/issues/",a.issueId,"");A();Wf("border-bottom",!b);A(3);yg(a.issueId);A(2);yg(a.snapshot[0].title);A(2);E("ngClass",c.priorityClass(a.snapshot[0].priority));A();yg(a.snapshot[0].priority);A();E("ngIf",a.snapshot[0].status)}},Yub=function(a,b){a&1&&(K(0),C(1,Xub,12,9,"ng-container",2),L());a&2&&(a=b.index,A(),E("ngIf",a<5))},$ub=function(a){if(a&
1){var b=u();K(0);F(1,"div",15)(2,"button",16);O("click",function(){v(b);var c=P(2);return x(Zub(c))});Q(3,"View all parent issues");H()();L()}},avb=function(a){if(a&1){var b=u();K(0);F(1,"div",15)(2,"button",16);O("click",function(){v(b);var c=P(2),d;(d=c.hovercardInstance)==null||d.closeHovercard$.next();Or(c.router,"/issues/"+c.currentIssueId+"/dependencies");return x()});Q(3,"View all blockers");H()();L()}},bvb=function(a,b){a&1&&(F(0,"div"),C(1,Yub,2,1,"ng-container",7)(2,$ub,4,0,"ng-container",
2)(3,avb,4,0,"ng-container",2),H());a&2&&(a=b.$implicit,b=P(),A(),E("ngForOf",a),A(),E("ngIf",a.length>5&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),A(),E("ngIf",a.length>5&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},cvb=function(a){a&1&&J(0,"mat-icon",8)},dvb=function(a){a&1&&(K(0),J(1,"b-list-issues-card",9,1),L());if(a&2){a=M(2);P();var b=M(5),c=P();A();E("onedevIsHovercardReady",a.init)("hovercardInstance",b)("currentIssueId",c.issueId)("issueIds",c.multiParentIssueIds)("mode",
c.ListIssuesHovercardMode.PARENT_ISSUES)}},evb=function(a){a&1&&(K(0),F(1,"a",5),Q(2),H(),C(3,cvb,1,0,"mat-icon",6),F(4,"onedev-hovercard",null,0),C(6,dvb,3,5,"ng-container",7),H(),L());if(a&2){a=M(5);var b=P();A();kg("title","",b.multiParentIssueIds.length," parents at this position");E("onedevHovercardTrigger",a);A();R("",b.multiParentIssueIds.length," Parents\u2026");A();E("ngIf",b.multiParentIssueIds.length>1)}},fvb=function(a,b){a&1&&(K(0),F(1,"b-issue-reference-widget",10),Q(2),H(),J(3,"mat-icon",
8),L());if(a&2){a=b.$implicit;b=b.last;var c=P();A();E("href",c.getIssueLink(a))("issueId",a);A();c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=sFa(a)):a=String(a);yg(a);A();Wf("last",b)}},hvb=function(a,b){if(a&1){var c=u();F(0,"button",1);T(1,"async");O("click",function(){v(c);var d=P();return x(gvb(d))});Q(2);H()}a&2&&(a=b.ngIf,b=P(),E("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||U(1,3,b.canEdit$)===!1)("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),A(2),R(" ",
a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},ivb=function(a){a&1&&dg(0)},jvb=function(a){a&1&&(K(0),C(1,ivb,1,0,"ng-container",5),L());a&2&&(a=P(),A(),E("ngTemplateOutlet",a.content))},kvb=function(a,b){if(a&1){var c=u();F(0,"button",13);O("click",function(e){var f=v(c).$implicit;return x(f.action(e))});J(1,"mat-icon",14);Q(2);H()}if(a&2){var d;a=b.$implicit;E("disabled",a.disabled)("title",a.title);Nf("aria-label",a.title);A();E("svgIcon",(d=a.icon)!==null&&d!==void 0?d:"");A();R(" ",a.label,
" ")}},lvb=function(a){if(a&1){var b=u();K(0);F(1,"button",15);O("click",function(d){v(b);var e=P(2);d.stopPropagation();d.preventDefault();var f;(f=e.helpHover)==null||f.toggle();return x()});J(2,"mat-icon",16);Q(3," Retention: ");J(4,"retention-text",17);Q(5," \u00a0 ");J(6,"help-hover",18);H();L()}if(a&2){a=P().ngIf;var c=M(14);A(4);E("retentionState",a.retentionState);A(2);E("content",c)}},mvb=function(a){a&1&&(K(0),J(1,"retention-help-text",19),L());a&2&&(a=P(2).ngIf,A(),E("retentionState",a.retentionState)("modifiedTime",
a.modifiedTimeMilliseconds))},nvb=function(a){a&1&&C(0,mvb,2,2,"ng-container",3);a&2&&(a=P().ngIf,E("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},ovb=function(a,b){if(a&1){var c=u();K(0);J(1,"b-app-vote-button",4)(2,"hotlist-picker-btn",5);F(3,"smart-dupe-btn",6,0);O("onHotkey",function(){v(c);var e=M(4);return x(gvb(e))});H();F(5,"b-notification-menu",7);O("subscriptionChange",function(e){v(c);var f=P();return x(f.updateSubscription(e))})("showNotificationSettings",function(e){v(c);var f=
P();return x(f.showNotificationSettings(e))});H();J(6,"insights-graph-menu-smart",8);F(7,"button",9);J(8,"mat-icon",10);H();F(9,"mat-menu",11,1);C(11,kvb,3,5,"button",12)(12,lvb,7,2,"ng-container",3);H();C(13,nvb,1,1,"ng-template",null,2,Mg);L()}if(a&2){a=b.ngIf;b=M(10);var d=P();A();E("issueId",a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);A();E("issueId",a.issueId);A();E("issueId",a.issueId)("hotkey",d.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);A(2);E("subscription",a.notificationSubscription)("issueId",
a.issueId)("iconOnly",!0);A();E("iconOnly",!0);A();E("matMenuTriggerFor",b);A(4);E("ngForOf",a.menuItems);A();E("ngIf",d.retentionEnabled)}},pvb=function(a){a&1&&(F(0,"h3",7,0),Q(2),H());a&2&&(a=P(),Nf("title",a.isLongTitle?a.titlePlain:""),A(2),R(" ",a.titleTruncated," "))},rvb=function(a){if(a&1){var b=u();F(0,"mat-form-field",8)(1,"input",9,1);O("keyup",function(c){v(b);var d=P();return x(qvb(d,c))})("blur",function(){v(b);var c=P();return x(c.bannedWordsChecker.showWarning()?"":qvb(c))});H()()}a&
2&&(a=P(),Vf("width",a.editModeWidth,"px"),Wf("banned-words-warning",a.bannedWordsChecker.showWarning()),A(),E("value",a.titlePlain))},tvb=function(a){if(a&1){var b=u();F(0,"button",10);O("click",function(){v(b);var c=P();return x(c.isEditMode?qvb(c):svb(c))});J(1,"mat-icon",11);H()}a&2&&(a=P(),E("disabled",a.disabled))},uvb=function(a){a&1&&(F(0,"p",12),Q(1),F(2,"a",13),Q(3," Learn more "),H()());a&2&&(a=P(),A(),R(" ",Lq(a.bannedWordsChecker)," is restricted. Press 'Esc' to cancel or 'Enter' to skip check and save title. "))},
vvb=function(){},wvb=function(a){a&1&&(F(0,"output"),Q(1),T(2,"async"),H());if(a&2){a=P().ngIf;var b=P();A();zg(" ",a," of ",U(2,2,b.currentSearchResults.totalText$)," ")}},Avb=function(a,b){if(a&1){var c=u();K(0);C(1,wvb,3,4,"output",0);F(2,"span",1)(3,"button",2);T(4,"async");O("onHotkey",function(){v(c);var d=P();return x(xvb(d.currentSearchResults))})("click",function(){v(c);var d=P();return x(xvb(d.currentSearchResults))});J(5,"mat-icon",3);H();F(6,"button",4);T(7,"async");O("onHotkey",function(){v(c);
var d=P();return x(yvb(d.currentSearchResults))})("click",function(){v(c);var d=P();return x(yvb(d.currentSearchResults))});J(8,"mat-icon",5);H()();L()}a&2&&(a=b.ngIf,b=P(),A(),E("ngIf",a!==-1),A(),E("ngClass",Hg(10,zvb,a===-1)),A(),E("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!U(4,6,b.currentSearchResults.hasPreviousIssue$)),A(3),E("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!U(7,8,b.currentSearchResults.hasNextIssue$)))},Bvb=function(a){a&1&&J(0,"b-issue-visibility-chip",6);a&2&&(a=
P(3).$implicit,E("issueId",a.issueId))},Cvb=function(a){a&1&&C(0,Bvb,1,1,"b-issue-visibility-chip",6);a&2&&(a=P(2).$implicit,$f(a.hasAccessIndicator?0:-1))},Dvb=function(a){a&1&&J(0,"b-component-access-level-indicator",3);a&2&&(a=P(2).$implicit,E("accessLevel",a.accessLevel))},Evb=function(a){a&1&&J(0,"b-access-limits-chip",7);a&2&&(a=P(2).$implicit,E("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},Fvb=function(a){a&1&&J(0,"b-retention-chip",8);a&2&&
(a=P(2).$implicit,E("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},Gvb=function(a){a&1&&(F(0,"div",2),C(1,Cvb,1,1)(2,Dvb,1,1,"b-component-access-level-indicator",3)(3,Evb,1,3,"b-access-limits-chip",4)(4,Fvb,1,3,"b-retention-chip",5),H());if(a&2){a=P().$implicit;var b=P();A();$f(b.enableNewVisibilityChips?1:a.isShowingPublicPartner?2:-1);A(2);E("ngIf",a.isAccessLimited);A();E("ngIf",a.isShowingRetention)}},Hvb=function(a,b){a&1&&(K(0),C(1,Gvb,5,3,"div",1),L());
a&2&&(a=b.$implicit,A(),E("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},Ivb=function(a){a&1&&(F(0,"div",4),J(1,"mat-icon",5),Q(2),T(3,"async"),H());if(a&2){a=P();var b=M(4);E("onedevHovercardTrigger",b);A(2);R("",U(3,2,a.teamName$)," ")}},Jvb=function(a){a&1&&dg(0)},Kvb=function(a){a&1&&(K(0),C(1,Jvb,1,0,"ng-container",22),L());a&2&&(P(),a=M(12),A(),E("ngTemplateOutlet",a))},Lvb=function(a,b){a&1&&J(0,"ancestors-breadcrumbs",29);a&2&&(a=b.ngIf,b=P(3),E("ancestors",a)("issueId",
b.issueId))},Mvb=function(a){a&1&&(K(0),J(1,"b-component-breadcrumb-chip",25),T(2,"async"),F(3,"div",26),C(4,Lvb,1,2,"ancestors-breadcrumbs",27),T(5,"async"),J(6,"b-issue-id-picker",28),T(7,"async"),T(8,"async"),T(9,"async"),H(),L());a&2&&(a=P(2),A(),E("componentId",U(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),A(3),E("ngIf",U(5,10,a.ancestors$)),A(2),E("issueId",a.issueId)("componentId",U(7,12,a.componentId$))("issueTitle",U(8,14,a.issueTitle$))("isExternalIssue",!!U(9,16,a.isWithinExternalComponent$)))},
Nvb=function(a){if(a&1){var b=u();F(0,"b-team-chip",23);T(1,"async");T(2,"async");O("onTeamLoaded",function(){v(b);var c=P();return x(c.isTeamLoaded=!0)});H();C(3,Mvb,10,18,"ng-container",24)}a&2&&(a=P(),E("componentId",U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),A(3),E("ngIf",a.isTeamLoaded))},Ovb=function(a){a&1&&(K(0),J(1,"b-component-breadcrumb-chip",30),T(2,"async"),F(3,"div",31),J(4,"b-issue-id-picker",32),T(5,"async"),T(6,"async"),T(7,"async"),H(),L());a&2&&(a=P(2),A(),E("componentId",
U(2,6,a.componentId$))("issueId",a.issueId),A(3),E("issueId",a.issueId)("componentId",U(5,8,a.componentId$))("issueTitle",U(6,10,a.issueTitle$))("isExternalIssue",!!U(7,12,a.isWithinExternalComponent$)))},Pvb=function(a){if(a&1){var b=u();F(0,"b-team-chip",23);T(1,"async");T(2,"async");O("onTeamLoaded",function(){v(b);var c=P();return x(c.isTeamLoaded=!0)});H();C(3,Ovb,8,14,"ng-container",24)}a&2&&(a=P(),E("componentId",U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),A(3),E("ngIf",a.isTeamLoaded))},
Qvb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().$implicit,A(),R(" ",a," "))},Rvb=function(a,b){a&1&&(F(0,"div",33),J(1,"mat-icon",34),C(2,Qvb,2,1,"ng-container",24),H());a&2&&(a=b.$implicit,P(),b=M(37),E("onedevHovercardTrigger",b),A(2),E("ngIf",a>=2))},Svb=function(a){a&1&&(K(0),J(1,"b-list-issues-card",35,3),T(3,"async"),L());if(a&2){a=M(2);var b=P(),c=M(37);A();E("onedevIsHovercardReady",a.init)("hovercardInstance",c)("currentIssueId",b.issueId)("issueIds",U(3,5,b.blockedByids$))("mode",b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},
Tvb=function(a){return a===1?"Blocked":"Blocked by "+a+" issues"},Uvb=function(a){if(a.length!==0)return a.length===1?wp.viewIssue.makeHref(a[0]):wp.listIssues.makeHref()},Vvb=function(a,b){a&1&&(F(0,"div",1),J(1,"img",2),F(2,"h3"),Q(3),H(),F(4,"a",3),T(5,"async"),Q(6),H()());a&2&&(a=b.$implicit,b=P(),A(),E("src",a.branding==null?null:a.branding.logoUrl,cf),A(2),R("This issue is a part of the ",a.name," tracker."),A(),E("href",U(5,4,b.trackerRedirectUrl$),cf),A(2),R(" View in ",a.name," Tracker "))},
Wvb=function(a){a&1&&(F(0,"div")(1,"ol")(2,"li")(3,"label"),Q(4,"Issue ID"),H(),F(5,"output"),Q(6),H()(),F(7,"li")(8,"label"),Q(9,"Type"),H(),F(10,"output"),Q(11),H()(),F(12,"li")(13,"label"),Q(14,"Status"),H(),F(15,"output"),Q(16),H()()()());a&2&&(a=P(2),A(6),yg(a.issueId),A(5),yg(a.issueType),A(5),yg(a.issueStatus))},Xvb=function(a){a&1&&(F(0,"div",1)(1,"div",2),J(2,"img",3),T(3,"async"),J(4,"mat-icon",4)(5,"img",3),T(6,"async"),H(),F(7,"h3",5),Q(8),T(9,"async"),H(),C(10,Wvb,17,3,"div",6),F(11,
"div",7)(12,"a",8),T(13,"async"),Q(14,"Continue"),H()()());a&2&&(a=P(),A(2),E("src",U(3,5,a.currentTrackerLogo$),cf),A(3),E("src",U(6,7,a.trackerLogo$),cf),A(3),R(" Redirecting to ",U(9,9,a.trackerName$)," "),A(2),E("ngIf",a.issue!=null),A(2),E("href",U(13,11,a.trackerRedirectUrl$),cf))},Yvb=function(a,b){if(a instanceof Element){var c=Di(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)}}},Zvb=function(a,b){a&1&&(F(0,"h2",8),Q(1),H());a&2&&(a=b.ngIf,A(),R("Issue ",a,""))},$vb=function(a){a&1&&dg(0,9);a&2&&(P(2),a=M(5),E("ngTemplateOutlet",a))},awb=function(a){a&1&&dg(0,9);a&2&&(P(3),a=M(13),E("ngTemplateOutlet",a))},cwb=function(a){a&1&&dg(0,10);if(a&2){a=P(2);P(2);var b=M(11);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,bwb,a.monorailRedirectUrl))}},dwb=function(a){a&1&&C(0,cwb,1,4,"ng-container",10);a&2&&(a=P(),$f(a.monorailRedirectUrl?0:-1))},
ewb=function(a,b){a&1&&C(0,awb,1,1,"ng-container",9)(1,dwb,1,1);if(a&2){var c;$f((c=b.status)===403?0:c===404?1:-1)}},fwb=function(a,b){a&1&&(C(0,$vb,1,1,"ng-container",9)(1,ewb,2,1),T(2,"async"));if(a&2){var c;a=P();$f(b.success?0:-1);A();$f((c=U(2,2,a.mainIssueLoadError$))?1:-1,c)}},gwb=function(a){a&1&&dg(0)},hwb=function(a){a&1&&(F(0,"mat-sidenav-container",11)(1,"mat-sidenav-content"),C(2,gwb,1,0,"ng-container",12),H(),F(3,"mat-sidenav",13),T(4,"async"),J(5,"help-me-fix-sidebar"),H()());if(a&
2){a=P(2);var b=M(7);A(2);E("ngTemplateOutlet",b);A();E("autoFocus",!0)("opened",U(4,4,a.isHelpMeFixSidebarOpen$))("disableClose",!0)}},iwb=function(a){a&1&&dg(0)},jwb=function(a){a&1&&C(0,iwb,1,0,"ng-container",12);a&2&&(P(2),a=M(7),E("ngTemplateOutlet",a))},kwb=function(a){a&1&&(C(0,hwb,6,6,"mat-sidenav-container",11),T(1,"async"),C(2,jwb,1,1,"ng-container"));a&2&&(a=P(),$f(U(1,1,a.enableHelpMeFixSidebar$)?0:2))},lwb=function(a){a&1&&(F(0,"a",26),Q(1,"Learn more"),H())},mwb=function(a){if(a&1){var b=
u();F(0,"button",27);O("click",function(){var c=v(b).ngIf,d=P(4);return x(d.editIssueService.unarchive(c))});Q(1," Unarchive ");H()}},nwb=function(a){a&1&&(F(0,"b-callout",23)(1,"b-callout-body"),Q(2,"This issue has been archived. "),C(3,lwb,2,0,"a",24),H(),F(4,"b-callout-actions"),C(5,mwb,2,0,"button",25),T(6,"async"),H()());a&2&&(a=P(3),E("messageType","caution")("format","app")("iconOverride","archive_24px"),A(3),E("ngIf",a.activeSession.isInternalSession()),A(2),E("ngIf",U(6,5,a.id$)))},owb=function(a){a&
1&&(F(0,"a",30),Q(1,"Learn more"),H())},pwb=function(a){a&1&&(F(0,"b-callout",28)(1,"b-callout-body"),Q(2," This issue is in an archived component. "),C(3,owb,2,0,"a",29),H()());a&2&&(a=P(3),E("format","app")("iconOverride","archive_24px"),A(3),E("ngIf",a.activeSession.isInternalSession()))},qwb=function(a,b){a&1&&(K(0),Q(1," Reason: "),F(2,"code"),Q(3),H(),Q(4,". "),L());a&2&&(a=b.$implicit,A(3),yg(a))},rwb=function(a){a&1&&(F(0,"a",35),Q(1,"Learn more"),H())},twb=function(a){if(a&1){var b=u();F(0,
"button",36);T(1,"async");T(2,"async");O("click",function(){var d=v(b).ngIf,e=P(4);return x(swb(e.editIssueService,d))});Q(3," Undelete ");H()}if(a&2){var c;a=P(4);E("matTooltip",(c=U(1,2,a.undeleteButtonTooltip$))!==null&&c!==void 0?c:"")("disabled",!U(2,4,a.permissions.canUndeleteIssue$))}},uwb=function(a){a&1&&(F(0,"b-callout",31)(1,"b-callout-body"),Q(2," This issue has been deleted. "),C(3,qwb,5,1,"ng-container",32),T(4,"async"),C(5,rwb,2,0,"a",33),H(),F(6,"b-callout-actions"),C(7,twb,4,6,"button",
34),T(8,"async"),H()());if(a&2){var b;a=P(3);A(3);E("ngIf",(b=U(4,3,a.snapshot$))==null?null:b.deletionReason);A(2);E("ngIf",a.activeSession.isInternalSession());A(2);E("ngIf",U(8,5,a.id$))}},vwb=function(a,b){a&1&&(F(0,"output",44),Q(1),H());a&2&&(a=b.$implicit,A(),R(" ",a," "))},xwb=function(a,b){a&1&&(F(0,"a",42,6),Q(2),C(3,vwb,2,1,"output",43),T(4,"async"),H());a&2&&(a=b.$implicit,b=M(1),E("routerLink",a.link)("active",b.isActive)("routerLinkActiveOptions",Gg(7,wwb)),A(2),R(" ",a.title," "),A(),
E("ngIf",U(4,5,a.count$)))},ywb=function(a,b){a&1&&(F(0,"header",37),J(1,"b-tracker-banner",38),T(2,"async"),T(3,"async"),J(4,"issue-header",39),F(5,"nav",40),C(6,xwb,5,8,"a",41),H(),J(7,"mat-tab-nav-panel",null,5),H());if(a&2){a=b.$implicit;b=M(8);var c=P(3);A();E("issueId",U(2,5,c.id$))("trackerId",U(3,7,c.issueTrackerId$));A(3);E("issueId",a);A();E("tabPanel",b);A();E("ngForOf",c.tabs)}},zwb=function(a,b){a&1&&J(0,"issue-metadata-sidebar",39);a&2&&E("issueId",b.ngIf)},Awb=function(a){a&1&&(F(0,
"div",15),T(1,"async"),C(2,nwb,7,7,"b-callout",16),T(3,"async"),C(4,pwb,4,3,"b-callout",17),T(5,"async"),C(6,uwb,9,7,"b-callout",18),T(7,"async"),C(8,ywb,9,9,"header",19),T(9,"async"),F(10,"div",20)(11,"article",21),J(12,"router-outlet"),H(),C(13,zwb,1,1,"issue-metadata-sidebar",22),T(14,"async"),H()());a&2&&(a=P(2),Wf("issue-editor-false",!U(1,7,a.permissions.hasAclToEdit$)),A(2),E("ngIf",U(3,9,a.archived$)),A(2),E("ngIf",U(5,11,a.inArchivedComponent$)),A(2),E("ngIf",U(7,13,a.deleted$)),A(2),E("ngIf",
U(9,15,a.id$)),A(5),E("ngIf",U(14,17,a.id$)))},Bwb=function(a){a&1&&(C(0,Awb,15,19,"div",14),T(1,"async"));if(a&2){a=P();var b=M(9);E("ngIf",!U(1,2,a.showTrackerRedirect$))("ngIfElse",b)}},Cwb=function(a){a&1&&(F(0,"div",45),J(1,"b-tracker-redirect",46),T(2,"async"),H());a&2&&(a=P(),A(),E("issue",U(2,1,a.issue$)))},Dwb=function(a,b){a&1&&(F(0,"h3"),Q(1," Redirecting to "),F(2,"a",47),Q(3),H()());a&2&&(a=b.monorailRedirectUrl,A(2),E("href",a,cf),A(),R(" ",a," "))},Ewb=function(a){a&1&&(J(0,"b-access-denied-metadata",
48),T(1,"async"));a&2&&(a=P(2),E("issueMetadata",U(1,1,a.issueMetadata$)))},Fwb=function(a){a&1&&J(0,"b-access-denied-metadata",49)},Gwb=function(a){a&1&&(F(0,"div",45),C(1,Ewb,2,3,"b-access-denied-metadata",48)(2,Fwb,1,0,"b-access-denied-metadata",49),H());a&2&&(a=P(),A(),$f(a.activeSession.isInternalSession()?1:2))},Hwb=function(a,b){a&1&&(K(0),J(1,"b-issues-table",1),L());a&2&&(a=b.ngIf,b=P(),A(),E("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},
Jwb=function(a){if(a&1){var b=u();F(0,"div",5);J(1,"img",6);F(2,"p",7);Q(3," This issue has no duplicates ");H();F(4,"p",8);Q(5," A duplicate is an issue with similar content. ");H();F(6,"p",8);Q(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');F(8,"a",9);Q(9,"Learn more");H()();F(10,"button",10);O("click",function(){v(b);var c=P(2);return x(Iwb(c))});Q(11," Add ");H()()}a&2&&(a=P(2),A(),E("src",a.ROBOT_SLEEPING,cf))},Kwb=function(a,b){a&1&&
J(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=P(2).$implicit,E("issueId",a)("duplicateIds",b))},Lwb=function(a,b){a&1&&(K(0),F(1,"a",16),Q(2," View as search results "),H(),L());a&2&&(a=b.ngIf,A(),E("routerLink",a.path)("queryParams",a.params))},Mwb=function(a){if(a&1){var b=u();F(0,"h4",11);Q(1);T(2,"async");F(3,"button",12);O("click",function(){v(b);var c=P(2);return x(Iwb(c))});Q(4," Add ");H()();C(5,Kwb,1,2,"b-duplicates-table",13);T(6,"async");F(7,"aside",14);C(8,Lwb,3,2,"ng-container",
2);T(9,"async");H()}a&2&&(a=P(2),A(),R("Duplicates ",U(2,3,a.counts.countDuplicateDisplay$)," "),A(4),E("ngIf",U(6,5,a.id$)),A(3),E("ngIf",U(9,7,a.dupeUrl$)))},Nwb=function(a){a&1&&(K(0),C(1,Jwb,12,1,"div",4),T(2,"async"),C(3,Mwb,10,9,"ng-template",null,0,Mg),L());if(a&2){a=M(4);var b=P();A();E("ngIf",!U(2,2,b.showTable$))("ngIfElse",a)}},Owb=function(a){a&1&&(F(0,"aside",17),J(1,"b-spinner"),H())},Pwb=function(a){a&1&&J(0,"mat-icon",2)},Qwb=function(a){a&1&&J(0,"mat-icon",3)},Rwb=function(a){a&1&&
J(0,"mat-icon",4)},Swb=function(a){if(a&1){var b=u();F(0,"div",6)(1,"label");Q(2,"File path");H()();F(3,"div",6)(4,"input",7);O("keyup",function(c){v(b);var d=P(2).$implicit;P();d.type==="text-input"&&(d.value=c.target.value);return x()});H()();F(5,"div",6)(6,"button",8);O("click",function(){v(b);var c=P(2).$implicit;P();if(c.type==="text-input"){var d;(d=c.callback)==null||d.call(c)}return x()});Q(7," Continue ");H()()}a&2&&(a=P(2).$implicit,A(4),E("disabled",a.state=="complete"),A(2),E("disabled",
a.state=="complete"))},Twb=function(a,b){a&1&&J(0,"change-block",9);a&2&&E("lines",b.$implicit.lines)},Uwb=function(a){a&1&&(Q(0),bg(1,Twb,1,1,"change-block",9,ag));if(a&2){a=P(2).$implicit;var b=P();R(" ",a.description," ");A();cg(b.blocks(a))}},Vwb=function(a){if(a&1){var b=u();F(0,"div",10);Q(1);H();F(2,"button",11);O("click",function(){v(b);var c=P(2).$implicit,d=P();return x(d.patch(c))});Q(3," Patch changelist into new workspace ");H()}a&2&&(a=P(2).$implicit,A(),R(" ",a.description," "),A(),
E("disabled",a.state!=="in-progress"))},Wwb=function(a){a&1&&Q(0);a&2&&(a=P(2).$implicit,R(" ",a.description," "))},Xwb=function(a){a&1&&(F(0,"section"),C(1,Swb,8,2)(2,Uwb,3,1)(3,Vwb,4,2)(4,Wwb,1,1),Q(5),H());if(a&2){var b;a=P().$implicit;Xf(a.type);A();$f((b=a.type)==="text-input"?1:b==="diff-preview"?2:b==="changelist-create"?3:4);A(4);R(" ",a.error," ")}},Ywb=function(a,b){a&1&&(F(0,"div",0)(1,"header")(2,"div",1),C(3,Pwb,1,0,"mat-icon",2)(4,Qwb,1,0,"mat-icon",3)(5,Rwb,1,0,"mat-icon",4),H(),F(6,
"span"),Q(7),H()(),C(8,Xwb,6,4,"section",5),H());if(a&2){var c;a=b.$implicit;A(3);$f((c=a.state)==="error"?3:c==="complete"?4:5);A(4);yg(a.title);A();$f(a.type!=="complete"?8:-1)}},Zwb=function(a){if(a&1){var b=u();F(0,"div",2);J(1,"mat-icon",3);F(2,"div",4);dg(3,5);F(4,"div",6)(5,"button",7);O("click",function(){v(b);var c=P();return x(c.open())});Q(6," Suggest a fix for me ");H()()()()}a&2&&(P(),a=M(3),A(3),E("ngTemplateOutlet",a))},$wb=function(a){a&1&&(F(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. "),
H())},axb=function(a){a&1&&(F(0,"h4",8),Q(1," AI-generated code change "),F(2,"xap-bubble",9)(3,"xap-icon-trigger"),J(4,"mat-icon",10),H(),C(5,$wb,2,0,"ng-template",null,1,Mg),H(),F(7,"a",11),J(8,"mat-icon",12),H()());a&2&&(a=M(6),A(2),E("panelTemplate",a))},bxb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(),Wf("muted",a.isGreyedOut),A(),R(" ",a.displayName,""))},cxb=function(a){if(a&1){var b=u();F(0,"a",2);O("click",function(c){v(b);var d=P();return x(d.handleClick(c))});Q(1);H()}a&2&&(a=P(),
E("href",a.linkUrl,cf)("rel",a.EXTERNAL_LINK_REL),A(),R(" ",a.displayName,""))},dxb=function(a){a&1&&J(0,"b-restricted-chip",10);a&2&&(a=P(),E("label",a.getRestrictedLabel())("retentionState",a.attachment==null?null:a.attachment.piiRetentionState)("contentType","attachment"))},exb=function(a){a&1&&(F(0,"span",11),J(1,"b-actions-menu",12),H());a&2&&(a=P(),A(),E("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},hxb=function(a){if(a&1){var b=u();
F(0,"span")(1,"b-conditional-link",13);O("customHandler",function(){v(b);var c=P();return x(c.viewAttachment())});H()()}a&2&&(a=P(),Zf("bv2-issue-attachment-link ",fxb(a),""),A(),E("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",gxb(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},jxb=function(a){if(a&1){var b=u();F(0,"span")(1,"b-conditional-link",13);O("customHandler",function(){v(b);var c=P();c.isRestricted()?ixb(c,!0):c.domSafe.openInNewTab(gxb(c,!0));return x()});H()()}a&2&&
(a=P(),Zf("bv2-issue-attachment-link ",fxb(a),""),A(),E("isGreyedOut",!a.hasViewAccess)("displayName","Download")("linkUrl",gxb(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},kxb=function(a){a&1&&(F(0,"span",14)(1,"a",15),J(2,"mat-icon",16),H()());a&2&&(a=P(),A(),E("href",a.documentationLinks.getRestrictedAccessHelpLink(),cf)("disableRipple",!0),A(),E("svgIcon","help-outline"))},lxb=function(a){a&1&&(F(0,"div",17),Q(1," You do not have access to this restricted attachment. "),F(2,"a",18),Q(3,"Learn more"),
H()());a&2&&(a=P(),A(2),E("href",a.documentationLinks.getRestrictedAccessHelpLink(),cf))},mxb=function(a){if(a&1){var b=u();F(0,"button",1);O("click",function(){v(b);var c=P();return x(c.openHelpMeFixSidebar())});J(1,"mat-icon",2);Q(2);T(3,"async");H()}a&2&&(a=P(),A(2),R(" ",U(3,1,a.buttonText$)," "))},oxb=function(a){if(a&1){var b=u();F(0,"button",19,3);O("click",function(){v(b);var c=P(2);return x(nxb(c))});Q(2," Edit ");H()}},pxb=function(a,b){a&1&&(K(0),J(1,"b-user-display",20),F(2,"onedev-hovercard",
null,4),J(4,"b-issue-person-card",21),T(5,"async"),H(),Q(6," created issue "),L());if(a&2){var c;a=b.ngIf;b=M(3);var d=P(2);A();E("onedevHovercardTrigger",b)("model",a);A(3);E("email",(c=U(5,3,d.originalAuthorEmail$))!==null&&c!==void 0?c:"")}},qxb=function(a,b){a&1&&(K(0),Q(1," on behalf of "),J(2,"b-user-display-name",22),L());a&2&&(a=b.ngIf,A(2),E("email",a)("showEmail",!1))},rxb=function(a){a&1&&(K(0),C(1,qxb,3,2,"ng-container",14),T(2,"async"),L());a&2&&(a=P(2),A(),E("ngIf",U(2,1,a.onBehalfOfEmail$)))},
sxb=function(a,b){if(a&1){var c=u();F(0,"a",23);O("click",function(d){var e=v(c).$implicit;P(2).issueReferenceResolver.visit({issueId:e,elementId:"comment1",event:d});return x()});Q(1);H()}a&2&&(a=b.$implicit,b=P().$implicit,P(),E("routerLinkObj",to(a,{comment:1})),Nf("aria-label","Comment number"+b.commentNumber),A(),R(" #",b.commentNumber,""))},uxb=function(a){a&1&&(K(0),F(1,"span",24),Q(2," \u2022 Edited"),H(),L());if(a&2){a=P().$implicit;var b=P();A();E("matTooltip",txb(b,a))}},vxb=function(a){a&
1&&(K(0),F(1,"p",25),Q(2," Description has been deleted. "),H(),L())},wxb=function(a){if(a&1){var b=u();F(0,"b-restricted-comment-placeholder",27);T(1,"async");O("onConfirm",function(){v(b);var c=P().ngIf,d=P(3).$implicit,e=P();return x(e.loadRestrictedComment(c,d))});H()}a&2&&(a=P(5),E("disabled",!U(1,1,a.mayReadPii$)))},xxb=function(a){a&1&&(K(0),C(1,wxb,2,3,"b-restricted-comment-placeholder",26),T(2,"async"),L());a&2&&(a=P(4),A(),E("ngIf",U(2,1,a.shouldShowRestrictedPlaceholder$)))},yxb=function(a){a&
1&&(K(0),C(1,xxb,3,3,"ng-container",14),T(2,"async"),L());a&2&&(a=P(3),A(),E("ngIf",U(2,1,a.id$)))},zxb=function(a,b){a&1&&(J(0,"b-note-container",30),T(1,"async"));if(a&2){a=b.$implicit;b=P().ngIf;var c=P(4);E("issueId",b)("issueAccessLevel",U(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},Axb=function(a){a&1&&(K(0),C(1,zxb,2,6,"b-note-container",29),T(2,"async"),L());if(a&2){a=P(3).$implicit;var b=P();A();E("ngIf",a.unlinkifiedComment!==""&&U(2,1,b.firstNote$))}},Bxb=function(a){a&
1&&(K(0),Q(1," Add one."),L())},Cxb=function(a){a&1&&(F(0,"p",31),Q(1," No description yet."),C(2,Bxb,2,0,"ng-container",14),H());a&2&&(a=P(4),A(2),E("ngIf",a.canEditComment()))},Dxb=function(a){a&1&&(J(0,"smart-help-me-fix-button"),C(1,Axb,3,3,"ng-container",14),T(2,"async"),C(3,Cxb,3,1,"p",28));if(a&2){a=P(2).$implicit;var b=P();A();E("ngIf",U(2,2,b.id$));A(2);E("ngIf",a.unlinkifiedComment==="")}},Exb=function(a){a&1&&(C(0,yxb,3,3,"ng-container",18),T(1,"async"),C(2,Dxb,4,4,"ng-template",null,5,
Mg));if(a&2){a=M(3);var b=P(2);E("ngIf",U(1,2,b.isRedacted$))("ngIfElse",a)}},Fxb=function(a,b){a&1&&(K(0),J(1,"b-attachment-viewer",36),T(2,"async"),L());if(a&2){var c;a=b.ngIf;b=P().$implicit;var d=P(4);A();E("issueId",a)("attachment",b)("attachmentUploader",(c=U(2,3,d.originalAuthorEmail$))!==null&&c!==void 0?c:"")}},Gxb=function(a,b){a&1&&(F(0,"div",35),C(1,Fxb,3,5,"ng-container",14),T(2,"async"),H());a&2&&(a=b.$implicit,b=P(4),kg("id","attachment",a.attachmentId,""),A(),E("ngIf",U(2,3,b.id$)))},
Hxb=function(a){a&1&&(F(0,"div",33),C(1,Gxb,3,5,"div",34),H());a&2&&(a=P().ngIf,A(),E("ngForOf",a))},Ixb=function(a,b){a&1&&(K(0),C(1,Hxb,2,1,"div",32),L());a&2&&(a=b.ngIf,A(),E("ngIf",a.length))},Kxb=function(a,b){a&1&&(F(0,"div",7),J(1,"mat-icon",8),F(2,"div",9)(3,"div",10)(4,"div",11)(5,"h4",12),Q(6,"Description"),H(),C(7,oxb,3,0,"button",13)(8,pxb,7,5,"ng-container",14),T(9,"async"),C(10,rxb,3,3,"ng-container",14),T(11,"async"),C(12,sxb,2,3,"a",15),T(13,"async"),C(14,uxb,3,1,"ng-container",14),
T(15,"async"),H(),F(16,"div"),J(17,"b-formatted-date-time",16)(18,"b-actions-menu",17,1),T(20,"async"),H()(),C(21,vxb,3,0,"ng-container",18),T(22,"async"),C(23,Exb,4,4,"ng-template",null,2,Mg)(25,Ixb,2,1,"ng-container",14),T(26,"async"),H()());if(a&2){var c;a=b.$implicit;b=M(24);var d=P();A(7);E("ngIf",d.canEditComment());A();E("ngIf",U(9,11,d.originalAuthor$));A(2);E("ngIf",U(11,13,d.isAuthorNotReporter$));A(2);E("ngIf",a.commentNumber&&U(13,15,d.id$));A(2);E("ngIf",U(15,17,d.isShowCommentHistoryActionInMenu$));
A(3);E("timestamp",a.modifiedDate);A();E("buttonLabel","Description actions")("menuItems",(c=U(20,19,d.commentActionMenuItems$))!==null&&c!==void 0?c:Gg(25,Jxb));A(3);E("ngIf",U(22,21,d.isDeleted$))("ngIfElse",b);A(4);E("ngIf",U(26,23,d.attachments$))}},Lxb=function(a){a&1&&J(0,"b-spinner")},Mxb=function(a,b){a&1&&(F(0,"span",11),Q(1," of "),F(2,"a",12),Q(3),H()());a&2&&(a=b.$implicit,P(2),b=M(11),A(2),kg("routerLink","/issues/",a,""),E("onedevHovercardTrigger",b),A(),R(" ",a," "))},Nxb=function(a,
b){a&1&&(F(0,"div")(1,"div",9),T(2,"async"),Q(3),H(),C(4,Mxb,4,4,"span",10),T(5,"async"),H());a&2&&(a=b.$implicit,b=P(),A(),Zf("chippy ",U(2,6,b.statusCssClass$),""),E("title",b.STATUS_JS_FULL_TEXT[a]),A(2),R(" ",b.STATUS_JS_TERSE[a]," "),A(),E("ngIf",U(5,8,b.canonicalId$)))},Oxb=function(a,b){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=b.$implicit,b=P(),Zf("b-chip squared issue-type-",a,""),A(),R(" ",b.issueTypeToDisplay(a)," "))},Pxb=function(a,b){if(a&1){var c=u();F(0,"b-hotlist-chip-smart",17);O("removeHotlist",
function(){var d=v(c).$implicit,e=P(2);return x(e.onHotlistRemoved(d))});H()}a&2&&E("id",b.$implicit)},Rxb=function(a,b){if(a&1){var c=u();F(0,"div",13)(1,"button",14);T(2,"async");O("onHotkey",function(){v(c);var d=P();return x(d.openHotlistModal())})("click",function(){v(c);var d=P();return x(d.openHotlistModal())});J(3,"mat-icon",15);Q(4);T(5,"async");H();C(6,Pxb,1,1,"b-hotlist-chip-smart",16);H()}a&2&&(a=b.$implicit,b=P(),A(),E("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("ngClass",Hg(8,Qxb,!U(2,4,
b.textOfHotlistBtn$))),A(3),R(" ",U(5,6,b.textOfHotlistBtn$)," "),A(2),E("ngForOf",a))},Sxb=function(a){a&1&&(J(0,"b-issue-card",18,1),T(2,"async"));if(a&2){a=M(1);var b=P();E("onedevIsHovercardReady",a.init)("issueId",U(2,2,b.canonicalId$))}},Txb=function(a){return a==null?void 0:a.snapshot[0].hotlistId},Vxb=function(a){if(a&1){var b=u();F(0,"div",1);J(1,"mat-icon",2);F(2,"button",3);O("click",function(){v(b);var c=P(3);c.llmIssueSummaryService.trackEvent("click","issueDetailsPage");Uxb(c.llmIssueSummaryService);
return x()});Q(3," Summarize ");H()()}},Wxb=function(a,b){a&1&&C(0,Vxb,4,0,"div",1);a&2&&(a=P(2),$f(b===a.BUTTON?0:-1))},Xxb=function(a){a&1&&(K(0),C(1,Wxb,1,1),T(2,"async"),L());if(a&2){var b;a=P();A();$f((b=U(2,1,a.stage$))?1:-1,b)}},Yxb=function(a,b){a&1&&(F(0,"mat-option",8)(1,"div",9),Q(2),H(),F(3,"div",10),Q(4),H()());a&2&&(a=b.$implicit,E("value",a),A(2),yg(a.name),A(2),yg(a.description))},byb=function(a){switch(a){case "FULL_HISTORY":return Zxb;case "ALL_COMMENTS":return Pr;case "HUMAN_ONLY":return $xb;
case "TEAM_AND_ASSIGNEE":return ayb;default:return Pr}},cyb=function(a){a&1&&(K(0),Q(1,", "),J(2,"br"),L())},dyb=function(a){a&1&&(K(0),Q(1," reacted"),L())},eyb=function(a,b){a&1&&(K(0),F(1,"div"),Q(2),C(3,cyb,3,0,"ng-container",3)(4,dyb,2,0,"ng-container",3),H(),L());a&2&&(a=b.$implicit,b=b.last,A(2),R(" ",a,""),A(),E("ngIf",!b),A(),E("ngIf",b))},fyb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P(2),A(),R(" by ",vi(a.event.lastCommentEditorUser),""))},gyb=function(a){a&1&&(K(0)(1),Q(2,"Message last modified"),
L(),C(3,fyb,2,1,"ng-container",0),K(4),Q(5," on "),J(6,"b-formatted-date-time",1),L()());a&2&&(a=P(),A(3),E("ngIf",a.event.version===0&&!!a.event.lastCommentEditorUser),A(3),E("timestamp",a.event.commentLastModifiedAtDate))},hyb=function(a){a&1&&J(0,"b-user-email",5);a&2&&(a=P().$implicit,E("email",a.text)("withProfile",!0))},iyb=function(a){a&1&&(F(0,"b-issue-reference-widget",6),K(1),Q(2),L(),H());if(a&2){a=P().$implicit;var b=P();E("href",wp.viewIssue.makeHref(a.text))("issueId",b.getIssueId(a));
A(2);yg(a.text)}},jyb=function(a){a&1&&(K(0),Q(1),L());a&2&&(a=P().$implicit,A(),yg(a.text))},kyb=function(a,b){a&1&&(K(0)(1,1),C(2,hyb,1,2,"b-user-email",2)(3,iyb,3,3,"b-issue-reference-widget",3)(4,jyb,2,1,"ng-container",4),L()());a&2&&(a=b.$implicit,A(),E("ngSwitch",a.tag),A(),E("ngSwitchCase","user"),A(),E("ngSwitchCase","bug"))},lyb=function(a){a&1&&(K(0),J(1,"b-component-card",4,1),L());if(a&2){a=M(2);var b=P();A();E("onedevIsHovercardReady",a.init)("componentId",b.id)}},myb=function(a){a&1&&
(F(0,"span"),Q(1),H());if(a&2){var b;a=P(5);A();yg((b=a.effortSpecName)!==null&&b!==void 0?b:"Estimated Effort")}},nyb=function(a){a&1&&(F(0,"label"),C(1,myb,2,1,"span",14),Q(2,":\u200b "),H());if(a&2){a=P(4);var b=M(5);A();E("ngIf",a.effortEnabled)("ngIfElse",b)}},oyb=function(a){a&1&&(F(0,"label"),Q(1),H());a&2&&(a=P(3).$implicit,A(),R("",a.displayName,":\u200b"))},pyb=function(a){a&1&&(F(0,"span"),J(1,"b-user-display-name",16),H());a&2&&(a=P().$implicit,A(),E("email",a)("showEmail",!0))},qyb=function(a){a&
1&&(K(0),J(1,"plain-component-path",17),L());a&2&&(a=P(4).$implicit,A(),E("id",a.oldValue))},ryb=function(a){a&1&&J(0,"b-formatted-date-time",19);if(a&2){a=P(2).$implicit;var b=P(4);E("timestamp",b.asNumber(a)*1E3)}},syb=function(a){a&1&&(F(0,"span"),Q(1,"[Issue creation date]"),H())},tyb=function(a){a&1&&(F(0,"span"),C(1,ryb,1,1,"b-formatted-date-time",18)(2,syb,2,0,"span",8),H());a&2&&(a=P().$implicit,A(),E("ngIf",a!=="<none>"),A(),E("ngIf",a==="<none>"))},uyb=function(a){a&1&&J(0,"b-formatted-date-time",
19);if(a&2){a=P(2).$implicit;var b=P(4);E("timestamp",b.asNumber(a)*1E3)}},vyb=function(a){a&1&&(F(0,"span"),Q(1,"[Unset]"),H())},wyb=function(a){a&1&&(F(0,"span"),C(1,uyb,1,1,"b-formatted-date-time",18)(2,vyb,2,0,"span",8),H());a&2&&(a=P().$implicit,A(),E("ngIf",a!=="<none>"),A(),E("ngIf",a==="<none>"))},xyb=function(a){a&1&&(K(0),F(1,"span"),Q(2),H(),L());a&2&&(a=P().$implicit,P(4),A(2),yg(Iq(a)))},yyb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),yg(a))},zyb=function(a){a&1&&
(K(0),C(1,pyb,2,2,"span",8)(2,qyb,2,1,"ng-container",8)(3,tyb,3,2,"span",8)(4,wyb,3,2,"span",8)(5,xyb,3,1,"ng-container",8)(6,yyb,2,1,"span",8),Q(7," \u00a0 "),J(8,"span",15),Q(9," \u00a0 "),L());a&2&&(a=P(3).$implicit,A(),E("ngIf",a.isUser),A(),E("ngIf",a.name==="component"),A(),E("ngIf",a.name=="sloStartTime"),A(),E("ngIf",a.name=="sloEndTime"),A(),E("ngIf",a.name==="access_limit"),A(),E("ngIf",!a.isUser&&a.name!=="component"&&a.name!=="sloStartTime"&&a.name!=="sloEndTime"&&a.name!=="access_limit"))},
Ayb=function(a){a&1&&J(0,"b-user-display-name",16);a&2&&(a=P().$implicit,E("email",a)("showEmail",!0))},Byb=function(a){a&1&&(F(0,"span"),J(1,"plain-component-path",17),H());a&2&&(a=P(4).$implicit,A(),E("id",a.newValue))},Cyb=function(a){a&1&&J(0,"b-formatted-date-time",19);if(a&2){a=P(2).$implicit;var b=P(4);E("timestamp",b.asNumber(a)*1E3)}},Dyb=function(a){a&1&&(F(0,"span"),Q(1,"[Issue creation date]"),H())},Eyb=function(a){a&1&&(F(0,"span"),C(1,Cyb,1,1,"b-formatted-date-time",18)(2,Dyb,2,0,"span",
8),H());a&2&&(a=P().$implicit,A(),E("ngIf",a!=="<none>"),A(),E("ngIf",a==="<none>"))},Fyb=function(a){a&1&&J(0,"b-formatted-date-time",19);if(a&2){a=P(2).$implicit;var b=P(4);E("timestamp",b.asNumber(a)*1E3)}},Gyb=function(a){a&1&&(F(0,"span"),Q(1,"[Unset]"),H())},Hyb=function(a){a&1&&(F(0,"span"),C(1,Fyb,1,1,"b-formatted-date-time",18)(2,Gyb,2,0,"span",8),H());a&2&&(a=P().$implicit,A(),E("ngIf",a!=="<none>"),A(),E("ngIf",a==="<none>"))},Iyb=function(a){a&1&&(K(0),F(1,"span"),Q(2),H(),L());a&2&&(a=
P().$implicit,P(4),A(2),yg(Iq(a)))},Kyb=function(a){a&1&&(F(0,"span",22),Q(1),H());if(a&2){a=P().$implicit;var b=P(3).$implicit;E("ngClass",Hg(2,Jyb,b.oldValue&&b.name=="title"));A();yg(a)}},Lyb=function(a){a&1&&(K(0),C(1,Ayb,1,2,"b-user-display-name",20)(2,Byb,2,1,"span",8)(3,Eyb,3,2,"span",8)(4,Hyb,3,2,"span",8)(5,Iyb,3,1,"ng-container",8)(6,Kyb,2,4,"span",21),L());a&2&&(a=P(3).$implicit,A(),E("ngIf",a.isUser),A(),E("ngIf",a.name==="component"),A(),E("ngIf",a.name==="sloStartTime"),A(),E("ngIf",
a.name==="sloEndTime"),A(),E("ngIf",a.name==="access_limit"),A(),E("ngIf",!a.isUser&&a.name!="component"&&a.name!="sloStartTime"&&a.name!="sloEndTime"&&a.name!="access_limit"))},Myb=function(a){a&1&&(F(0,"div",13),C(1,nyb,3,2,"label",14)(2,oyb,2,1,"ng-template",null,2,Mg)(4,zyb,10,6,"ng-container",8)(5,Lyb,7,6,"ng-container",8),H());if(a&2){a=M(3);var b=P(2).$implicit;A();E("ngIf",b.name==="effort")("ngIfElse",a);A(3);E("ngIf",b.oldValue);A();E("ngIf",b.newValue)}},Nyb=function(a){a&1&&(F(0,"span"),
Q(1,", "),H())},Oyb=function(a,b){a&1&&(F(0,"span"),J(1,"b-user-display-name",16),C(2,Nyb,2,0,"span",8),H());a&2&&(a=b.$implicit,b=b.last,A(),E("email",a)("showEmail",!0),A(),E("ngIf",!b))},Pyb=function(a){a&1&&(F(0,"span"),C(1,Oyb,3,3,"span",23),H());a&2&&(a=P(4).$implicit,A(),E("ngForOf",a.added))},Qyb=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},Ryb=function(a,b){a&1&&(F(0,"span")(1,"span"),Q(2),H(),C(3,Qyb,2,0,"span",8),H());a&2&&(a=b.$implicit,b=b.last,A(2),yg(a),A(),E("ngIf",!b))},Syb=function(a){a&
1&&(F(0,"span"),C(1,Ryb,4,2,"span",23),H());a&2&&(a=P(4).$implicit,A(),E("ngForOf",a.added))},Tyb=function(a){a&1&&(F(0,"div")(1,"label"),Q(2),H(),C(3,Pyb,2,1,"span",8)(4,Syb,2,1,"span",8),H());a&2&&(a=P(3).$implicit,A(2),R("+",a.displayName,":\u200b"),A(),E("ngIf",a.isUser),A(),E("ngIf",!a.isUser))},Uyb=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},Vyb=function(a,b){a&1&&(F(0,"span"),J(1,"b-user-display-name",16),C(2,Uyb,2,0,"span",8),H());a&2&&(a=b.$implicit,b=b.last,A(),E("email",a)("showEmail",
!0),A(),E("ngIf",!b))},Wyb=function(a){a&1&&(F(0,"span"),C(1,Vyb,3,3,"span",23),H());a&2&&(a=P(4).$implicit,A(),E("ngForOf",a.removed))},Xyb=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},Yyb=function(a,b){a&1&&(F(0,"span")(1,"span"),Q(2),H(),C(3,Xyb,2,0,"span",8),H());a&2&&(a=b.$implicit,b=b.last,A(2),yg(a),A(),E("ngIf",!b))},Zyb=function(a){a&1&&(F(0,"span"),C(1,Yyb,4,2,"span",23),H());a&2&&(a=P(4).$implicit,A(),E("ngForOf",a.removed))},$yb=function(a){a&1&&(F(0,"div")(1,"label"),Q(2),H(),C(3,Wyb,
2,1,"span",8)(4,Zyb,2,1,"span",8),H());a&2&&(a=P(3).$implicit,A(2),R("-",a.displayName,":\u200b"),A(),E("ngIf",a.isUser),A(),E("ngIf",!a.isUser))},azb=function(a){a&1&&(F(0,"div",13),C(1,Tyb,5,3,"div",8)(2,$yb,5,3,"div",8),H());if(a&2){a=P(2).$implicit;var b=P();A();E("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));A();E("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},bzb=function(a){a&1&&dg(0)},dzb=function(a,b){a&1&&(F(0,"span"),C(1,bzb,1,0,"ng-container",24),H());if(a&
2){a=b.$implicit;b=b.last;var c=P(4).$implicit;P();var d=M(3);A();E("ngTemplateOutlet",d)("ngTemplateOutletContext",Jg(2,czb,c,a,b))}},ezb=function(a){a&1&&(F(0,"div")(1,"label"),Q(2),H(),C(3,dzb,2,6,"span",23),H());a&2&&(a=P(3).$implicit,A(2),R("+",a.displayName,":\u200b"),A(),E("ngForOf",a.added))},fzb=function(a){a&1&&dg(0)},gzb=function(a,b){a&1&&(F(0,"span"),C(1,fzb,1,0,"ng-container",24),H());if(a&2){a=b.$implicit;b=b.last;var c=P(4).$implicit;P();var d=M(3);A();E("ngTemplateOutlet",d)("ngTemplateOutletContext",
Jg(2,czb,c,a,b))}},hzb=function(a){a&1&&(F(0,"div")(1,"label"),Q(2),H(),C(3,gzb,2,6,"span",23),H());a&2&&(a=P(3).$implicit,A(2),R("-",a.displayName,":\u200b"),A(),E("ngForOf",a.removed))},izb=function(a){a&1&&(F(0,"div",13),C(1,ezb,4,2,"div",8)(2,hzb,4,2,"div",8),H());if(a&2){a=P(2).$implicit;var b=P();A();E("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));A();E("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},jzb=function(a){a&1&&J(0,"b-formatted-date-time",19);
a&2&&(a=P().$implicit,E("timestamp",a))},kzb=function(a){a&1&&(F(0,"span"),Q(1," - "),H())},lzb=function(a,b){a&1&&(F(0,"span"),J(1,"b-formatted-date-time",19),C(2,kzb,2,0,"span",8),H());a&2&&(a=b.$implicit,b=b.last,A(),E("timestamp",a),A(),E("ngIf",!b))},mzb=function(a){a&1&&(F(0,"span"),C(1,lzb,3,2,"span",23),H());a&2&&(a=P(4).$implicit,A(),E("ngForOf",a.oldValue.split(", ")))},nzb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),yg(a))},qzb=function(a){a&1&&(K(0),C(1,jzb,1,1,"b-formatted-date-time",
18)(2,mzb,2,1,"span",8)(3,nzb,2,1,"span",8),Q(4," \u00a0 "),J(5,"span",15),Q(6," \u00a0 "),L());if(a&2){a=P(3).$implicit;var b=P();A();E("ngIf",ozb(b,a,"oldValue"));A();E("ngIf",pzb(b,a,"oldValue"));A();E("ngIf",!ozb(b,a,"oldValue")&&!pzb(b,a,"oldValue"))}},rzb=function(a){a&1&&J(0,"b-formatted-date-time",19);a&2&&(a=P().$implicit,E("timestamp",a))},szb=function(a){a&1&&(F(0,"span"),Q(1," - "),H())},tzb=function(a,b){a&1&&(F(0,"span"),J(1,"b-formatted-date-time",19),C(2,szb,2,0,"span",8),H());a&2&&
(a=b.$implicit,b=b.last,A(),E("timestamp",a),A(),E("ngIf",!b))},uzb=function(a){a&1&&(F(0,"span"),C(1,tzb,3,2,"span",23),H());a&2&&(a=P(4).$implicit,A(),E("ngForOf",a.newValue.split(", ")))},vzb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,A(),yg(a))},wzb=function(a){a&1&&(K(0),C(1,rzb,1,1,"b-formatted-date-time",18)(2,uzb,2,1,"span",8)(3,vzb,2,1,"span",8),L());if(a&2){a=P(3).$implicit;var b=P();A();E("ngIf",ozb(b,a,"newValue"));A();E("ngIf",pzb(b,a,"newValue"));A();E("ngIf",!ozb(b,
a,"newValue")&&!pzb(b,a,"newValue"))}},xzb=function(a){a&1&&(F(0,"div",13)(1,"label"),Q(2),H(),C(3,qzb,7,3,"ng-container",8)(4,wzb,4,3,"ng-container",8),H());if(a&2){a=P(2).$implicit;var b=P();A();Nf("title",b.customFieldName(a));A();R("",b.customFieldName(a),":\u200b");A();E("ngIf",a.oldValue);A();E("ngIf",a.newValue)}},yzb=function(a){a&1&&(F(0,"span",28),Q(1,"Updated"),H())},zzb=function(a){a&1&&(F(0,"span"),Q(1,"Deleted"),H())},Azb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P().$implicit,
A(),R("Edited (unknown status '",a.status,"')"))},Bzb=function(a,b){a&1&&(K(0)(1,10),C(2,yzb,2,0,"span",25)(3,zzb,2,0,"span",26)(4,Azb,2,1,"span",27),L()());a&2&&(a=b.$implicit,A(),E("ngSwitch",a.status),A(),E("ngSwitchCase","ACTIVE"),A(),E("ngSwitchCase","DELETED"))},Czb=function(a){a&1&&(F(0,"div",13)(1,"label"),Q(2),H(),C(3,Bzb,5,3,"ng-container",8),H());a&2&&(a=P(2).$implicit,A(2),R("",a.displayName,":\u200b"),A(),E("ngIf",a.statusUpdateDiff==null?null:a.statusUpdateDiff.entityStatus))},Dzb=function(a){a&
1&&(F(0,"div",13)(1,"label"),Q(2),H(),F(3,"pre",29),Q(4),T(5,"json"),H()());a&2&&(a=P(2).$implicit,A(2),R("",a.displayName,":\u200b"),A(2),yg(U(5,2,a)))},Ezb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",9),K(2,10),C(3,Myb,6,4,"div",11)(4,azb,3,2,"div",11)(5,izb,3,2,"div",11)(6,xzb,5,4,"div",11)(7,Czb,4,2,"div",11)(8,Dzb,6,4,"div",12),L()());if(a&2){a=P().$implicit;var b=P();A();E("timestamp",a.timestamp);A();E("ngSwitch",!0);A();E("ngSwitchCase",a.type===b.DiffType.SINGLE_VALUE);A();E("ngSwitchCase",
a.type===b.DiffType.COLLECTION||a.type===b.DiffType.USER_COLLECTION);A();E("ngSwitchCase",a.type===b.DiffType.LINKED_COLLECTION);A();E("ngSwitchCase",a.type===b.DiffType.CUSTOM_FIELD);A();E("ngSwitchCase",a.type===b.DiffType.STATUS_UPDATE)}},Fzb=function(a,b){a&1&&(F(0,"div",7),C(1,Ezb,9,7,"ng-container",8),H());a&2&&(a=b.$implicit,b=P(),A(),E("ngIf",(a==null?void 0:a.name)==="sloStartTime"||(a==null?void 0:a.name)==="sloEndTime"?b.activeSession.isInternalSession():!0))},Gzb=function(a){a&1&&(F(0,
"span"),Q(1,", "),H())},Hzb=function(a){a&1&&(F(0,"span")(1,"b-issue-reference-widget",30),Q(2),H(),C(3,Gzb,2,0,"span",8),H());if(a&2){a=P().$implicit;var b=P(),c=b.change;b=b.isLast;A();E("href",c.href)("issueId",a);A();yg(a);A();E("ngIf",!b)}},Izb=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},Jzb=function(a){a&1&&(K(0),J(1,"hotlist-link",17),C(2,Izb,2,0,"span",8),L());if(a&2){a=P(2).$implicit;var b=P().isLast;A();E("id",a);A();E("ngIf",!b)}},Kzb=function(a){a&1&&(F(0,"span"),Q(1,", "),H())},Lzb=
function(a){a&1&&(F(0,"a",31),Q(1),H(),C(2,Kzb,2,0,"span",8));if(a&2){a=P(2).$implicit;var b=P(),c=b.isLast;E("href",b.change.href,cf);A();yg(a);A();E("ngIf",!c)}},Mzb=function(a){a&1&&C(0,Jzb,3,2,"ng-container",14)(1,Lzb,3,3,"ng-template",null,4,Mg);if(a&2){a=M(2);var b=P(2).diff,c=P();E("ngIf",c.isHotlistDiff(b))("ngIfElse",a)}},Nzb=function(a){a&1&&(K(0),C(1,Hzb,4,4,"span",14)(2,Mzb,3,2,"ng-template",null,3,Mg),L());if(a&2){a=M(3);var b=P().diff,c=P();A();E("ngIf",c.isIssueDiff(b))("ngIfElse",
a)}},Ozb=function(a,b){a&1&&C(0,Nzb,4,2,"ng-container",8);a&2&&E("ngIf",b.change.value)},Pzb=function(a){a&1&&(F(0,"span"),Q(1,"Estimated Effort (disabled)"),H())},Qzb=function(a,b){a&1&&(J(0,"b-user-membership-chip",10),T(1,"async"),T(2,"async"));if(a&2){var c;a=P(2);E("user",a.event.userPerformingActionUser)("email",b)("teamId",(c=U(1,4,a.teamId$))!==null&&c!==void 0?c:"");Nf("aria-label",U(2,6,a.ariaLabelHeading$))}},Rzb=function(a){a&1&&(J(0,"b-user-display",11),T(1,"async"));a&2&&(a=P(2),E("model",
a.event.userPerformingActionUser),Nf("aria-label",U(1,2,a.ariaLabelHeading$)))},Szb=function(a){a&1&&dg(0)},Tzb=function(a){a&1&&(K(0),F(1,"span",33),C(2,Szb,1,0,"ng-container",34),H(),F(3,"onedev-hovercard",null,1),J(5,"b-issue-person-card",35),H(),L());if(a&2){a=M(4);P();var b=M(9),c=P();A();E("onedevHovercardTrigger",a);A();E("ngTemplateOutlet",b);A(3);E("email",c.getUserEmailIfAvailable())}},Uzb=function(a){a&1&&(F(0,"span",36),Q(1),H());a&2&&(a=P(2),A(),R(" <",vi(a.event.userPerformingActionUser),
"> "))},Vzb=function(a){if(a&1){var b=u();F(0,"span")(1,"a",37);O("click",function(c){v(b);var d=P(2);return x(d.scrollCommentIntoView(c,d.event.commentNumber))});Q(2);H()()}a&2&&(a=P(2),A(),E("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),Nf("aria-label","Comment number"+a.event.commentNumber),A(),R(" #",a.event.commentNumber,""))},Wzb=function(a){if(a&1){var b=u();F(0,"button",38);O("click",function(){v(b);var c=P(2);return x(Qr(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||
c.event))});H()}},Xzb=function(a){a&1&&J(0,"b-restricted-chip",39);if(a&2){var b,c;a=P(2);E("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)}},Zzb=function(a){a&1&&(J(0,"b-actions-menu",40,2),T(2,"async"));if(a&2){var b;a=P(2);E("buttonLabel","Comment actions")("menuItems",(b=U(2,2,a.commentActionMenuItems$))!==null&&b!==void 0?b:Gg(4,Yzb))}},$zb=function(a){a&1&&(F(0,
"div",41),J(1,"b-tagged-text",42),H());a&2&&(a=P(2),A(),E("texts",a.event.taggedSummary))},aAb=function(a){a&1&&(J(0,"b-issue-event-details",43),T(1,"async"),T(2,"async"),T(3,"async"));if(a&2){var b,c;a=P().ngIf;var d=P();E("diffs",(b=U(1,4,d.preEventDiffs$))!==null&&b!==void 0?b:Gg(10,Yzb))("customFieldMap",a.customFieldMap)("effortSpecName",(c=U(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!U(3,8,d.isEffortEnabled$))}},bAb=function(a){a&1&&(F(0,"div",44),Q(1," Comment has been deleted. "),
H())},cAb=function(a){if(a&1){var b=u();F(0,"b-restricted-comment-placeholder",45);T(1,"async");O("onConfirm",function(){v(b);var c=P(2);return x(c.loadRestrictedComment())});H()}a&2&&(a=P(2),E("disabled",!U(1,1,a.mayReadPii$)))},dAb=function(a){a&1&&J(0,"b-note-container",46);a&2&&(a=P(2),E("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.getEventAsNote())("formattingMode",a.formattingMode))},eAb=function(a){if(a&1){var b=u();K(0);J(1,"b-summarized-note-container",47);F(2,"button",
48);O("click",function(){v(b);var c=P(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return x()});J(3,"mat-icon",49);Q(4,"Expand details");H();L()}a&2&&(a=P(2),A(),E("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.getEventAsNote())("summaryType",a.getSummaryType())("formattingMode",a.formattingMode))},fAb=function(a){if(a&1){var b=u();K(0);F(1,"button",48);O("click",function(){v(b);var c=P(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return x()});J(2,"mat-icon",
50);Q(3,"Collapse details");H();L()}},gAb=function(a){a&1&&J(0,"b-formatted-date-time",51);a&2&&(a=P(2),E("timestamp",a.event.modifiedDate))},hAb=function(a){a&1&&J(0,"mat-icon",57)},iAb=function(a){a&1&&J(0,"mat-icon",58)},jAb=function(a,b){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=b.ngIf,A(),yg(a))},kAb=function(a){a&1&&J(0,"b-comment-reaction-responders-card",59);a&2&&(a=P(3),E("reactionState",a.event.commentReactions==null?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",
a.event.commentNumber))},pAb=function(a){if(a&1){var b=u();F(0,"div",52)(1,"button",53,3);T(3,"async");T(4,"async");T(5,"async");T(6,"async");O("click",function(){v(b);var d=P(2);return x(lAb(d))});C(7,hAb,1,0,"mat-icon",54)(8,iAb,1,0,"mat-icon",55)(9,jAb,2,1,"span",5);T(10,"async");H();F(11,"onedev-hovercard",null,4);C(13,kAb,1,3,"b-comment-reaction-responders-card",56);T(14,"async");H()()}if(a&2){a=M(12);var c=P(2);A();E("ariaLabel",mAb(c,c.ReactionType.UPVOTE))("ngClass",Hg(23,nAb,U(3,11,c.noUpvoteReactions$)))("aria-disabled",
!U(4,13,c.hasAclToUpvoteReact$)||c.commentReactionIsSaving)("disabled",!U(5,15,c.hasAclToUpvoteReact$)||c.commentReactionIsSaving)("onedevHovercardTrigger",a)("onedevHovercardConfig",c.commentReactionsHovercardConfig)("onedevHovercardActive",!!U(6,17,c.showCommentReactionHovercard$));A(6);E("ngIf",!oAb(c,c.ReactionType.UPVOTE));A();E("ngIf",oAb(c,c.ReactionType.UPVOTE));A();E("ngIf",U(10,19,c.upvoteReactionCountDisplayString$));A(4);E("ngIf",!U(14,21,c.noUpvoteReactions$))}},qAb=function(a){if(a&
1){var b=u();F(0,"a",63);O("click",function(){v(b);var c=P(3);return x(c.showCommentHistoryDialog(c.event.commentNumber))});Q(1," Show History ");H()}},rAb=function(a){a&1&&(F(0,"div",60),J(1,"b-comment-edit-timestamp-message",61),C(2,qAb,2,0,"a",62),H());a&2&&(a=P(2),A(),E("event",a.event),A(),E("ngIf",a.commentHistoryEnabled))},sAb=function(a){a&1&&(J(0,"b-issue-event-details",43),T(1,"async"),T(2,"async"),T(3,"async"));if(a&2){var b,c;a=P().ngIf;var d=P();E("diffs",(b=U(1,4,d.postEventDiffs$))!==
null&&b!==void 0?b:Gg(10,Yzb))("customFieldMap",a.customFieldMap)("effortSpecName",(c=U(2,6,d.effortSpec$))==null?null:c.name)("effortEnabled",!!U(3,8,d.isEffortEnabled$))}},tAb=function(a,b){a&1&&(F(0,"div",65),J(1,"b-attachment-viewer",66),H());a&2&&(a=b.$implicit,b=P(3),kg("id","attachment",a.attachmentId,""),A(),E("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},uAb=function(a){a&1&&(F(0,"div",32),C(1,tAb,2,5,"div",64),H());a&2&&(a=P(2),A(),E("ngForOf",
a.event.attachments))},vAb=function(a){a&1&&(K(0),F(1,"div",6),J(2,"b-user-image",7),H(),F(3,"div",8)(4,"h4",9),C(5,Qzb,3,8,"b-user-membership-chip",10)(6,Rzb,2,4,"b-user-display",11)(7,Tzb,6,3,"ng-container",12)(8,Uzb,2,1,"ng-template",null,0,Mg)(10,Vzb,3,3,"span",5)(11,Wzb,1,0,"button",13),T(12,"async"),F(13,"span",14),C(14,Xzb,1,3,"b-restricted-chip",15),J(15,"b-formatted-date-time",16),C(16,Zzb,3,5,"b-actions-menu",17),H()(),J(17,"div",18),C(18,$zb,2,1,"div",19)(19,aAb,4,11,"b-issue-event-details",
20),T(20,"async"),J(21,"div",18),F(22,"div",21)(23,"div",22),C(24,bAb,2,0,"div",23)(25,cAb,2,3,"b-restricted-comment-placeholder",24),F(26,"div",25),C(27,dAb,1,4,"b-note-container",26)(28,eAb,5,5,"ng-container",5)(29,fAb,4,0,"ng-container",5),H(),F(30,"div",27)(31,"div",28),C(32,gAb,1,1,"b-formatted-date-time",29),T(33,"async"),H(),C(34,pAb,15,25,"div",30),H()(),C(35,rAb,3,2,"div",31),H(),C(36,sAb,4,11,"b-issue-event-details",20),T(37,"async"),J(38,"div",18),C(39,uAb,2,1,"div",32),J(40,"div",18),
H(),L());if(a&2){var b,c=M(9);a=P();A(2);E("email",a.getUserEmailIfAvailable());A(3);$f((b=a.enableTeamAnnotations&&a.getUserEmailIfAvailable())?5:6,b);A(2);E("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);A(3);E("ngIf",a.isCommentEvent(a.event));A();E("ngIf",U(12,21,a.canEditComment$)&&!a.isRedacted());A(3);E("ngIf",a.isRestricted());A();E("timestamp",a.event.modifiedDate);A();E("ngIf",a.isCommentEvent(a.event));A(2);E("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);
A();E("ngIf",U(20,23,a.showFullHistoryFromFiltering$)==="FULL_HISTORY");A(5);E("ngIf",a.isDeleted());A();E("ngIf",a.isRedacted()&&!a.isDeleted());A(2);E("ngIf",a.isNonemptyCommentEvent()&&!a.isRedacted()&&!a.isDeleted()&&!a.isSummarized);A();E("ngIf",a.isNonemptyCommentEvent()&&!a.isRedacted()&&!a.isDeleted()&&a.isSummarized);A();E("ngIf",a.wasSummarized&&!a.isSummarized);A(3);E("ngIf",U(33,25,a.isShowingCommentTimestamp$));A(2);var d;b=a.ReactionType.UPVOTE;var e;c=!a.issuePermissionService.hasAclToComment()&&
((d=a.event.commentReactions)==null?void 0:(e=d.get(b))==null?void 0:e.count)===0;d=a.isInternalSession&&a.commentReactionsEnabled&&a.isNonemptyCommentEvent()&&!a.isDeleted()&&!a.isRedacted()&&!c;E("ngIf",d);A();E("ngIf",a.isCommentEvent(a.event)&&(a.event.commentVersion||0)>0&&!a.isRedacted());A();E("ngIf",U(37,27,a.showFullHistoryFromFiltering$)==="FULL_HISTORY");A(3);$f(a.event.attachments.length?39:-1)}},wAb=function(a){a&1&&(F(0,"aside",3),J(1,"b-spinner"),H())},xAb=function(a){a&1&&(K(0),Q(1,
"s"),L())},yAb=function(a){if(a&1){var b=u();K(0);F(1,"div",6)(2,"button",7);O("click",function(){v(b);var f=P().index,h=P(),k,q,t=(q=(k=h.foldedCommentsCounts.get(f))==null?void 0:k.eventFoldedCount)!=null?q:0;for(k=0;k<t&&((Xi(h.internalEvents[f-k])||Yi(h.internalEvents[f-k]))&&h.eventDisplayMode.set(f-k,"full"),f-k!==0);k++);h.foldedCommentsCounts.delete(f);return x()});Q(3);C(4,xAb,2,0,"ng-container",4);H();J(5,"div",8);H();L()}if(a&2){var c,d;a=P().index;var e=P();A(3);R(" ",(c=e.foldedCommentsCounts.get(a))==
null?null:c.commentFoldedCount," update");A();E("ngIf",((d=(d=e.foldedCommentsCounts.get(a))==null?null:d.commentFoldedCount)!==null&&d!==void 0?d:1)>1)}},zAb=function(a){a&1&&(F(0,"div",9),J(1,"b-history-event",10),H());if(a&2){var b=P();a=b.$implicit;b=b.index;var c=P();A();E("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===c.eventDisplayModes.SUMMARIZED)}},BAb=function(a,b){a&1&&(K(0),C(1,yAb,6,2,"ng-container",4)(2,zAb,2,
4,"div",5),L());if(a&2){var c;a=b.index;b=P();A();E("ngIf",b.foldedCommentsCounts.has(a)&&((c=(c=b.foldedCommentsCounts.get(a))==null?null:c.commentFoldedCount)!==null&&c!==void 0?c:0)>0);A();E("ngIf",b.internalIssueId&&AAb(b.eventDisplayMode.get(a)))}},CAb=function(a){a&1&&(F(0,"aside",3),J(1,"b-spinner"),H())},EAb=function(a){a&1&&(K(0),dg(1,11),L());if(a&2){a=P(2);P();var b=M(5);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,DAb,a))}},FAb=function(a){a&1&&(F(0,"div",6),J(1,"mat-icon",
7),F(2,"div",8),dg(3,9),C(4,EAb,2,4,"ng-container",10),H()());if(a&2){a=P(2);var b=M(3);A(3);E("ngTemplateOutlet",b);A();E("ngIf",a.isIssueSummaryExpanded)}},GAb=function(a,b){a&1&&C(0,FAb,5,2,"div",6);a&2&&(a=P(),$f(b===a.GENERATING||b===a.SUMMARY_VISIBLE?0:-1))},HAb=function(a){a&1&&(F(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. "),
H())},IAb=function(a){a&1&&J(0,"mat-icon",19)},JAb=function(a){a&1&&J(0,"mat-icon",20)},KAb=function(a){if(a&1){var b=u();F(0,"span",12)(1,"h4",13);Q(2," AI-generated summary ");F(3,"xap-bubble",14)(4,"xap-icon-trigger");J(5,"mat-icon",15);H();C(6,HAb,2,0,"ng-template",null,4,Mg);H()();F(8,"button",16);O("click",function(){v(b);var d=P();return x(d.isIssueSummaryExpanded=!d.isIssueSummaryExpanded)});C(9,IAb,1,0,"mat-icon",17)(10,JAb,1,0,"mat-icon",18);H()()}if(a&2){a=M(7);var c=P();A(3);E("panelTemplate",
a);A(5);E("matTooltipShowDelay",1E3);Nf("aria-expanded",c.isIssueSummaryExpanded);A();E("ngIf",!c.isIssueSummaryExpanded);A();E("ngIf",c.isIssueSummaryExpanded)}},LAb=function(a){a&1&&J(0,"b-spinner")},NAb=function(a,b){a&1&&dg(0,11);a&2&&(P(3),a=M(9),E("ngTemplateOutlet",a)("ngTemplateOutletContext",Hg(2,MAb,b)))},OAb=function(a){a&1&&(C(0,NAb,1,4,"ng-container",11),T(1,"async"));if(a&2){var b;a=P(2);$f((b=U(1,1,a.summary$))?0:-1,b)}},PAb=function(a,b){a&1&&C(0,LAb,1,0,"b-spinner")(1,OAb,2,3);a&
2&&(a=b.stage,b=P(),$f(a===b.GENERATING?0:a===b.SUMMARY_VISIBLE?1:-1))},QAb=function(a){a&1&&J(0,"b-markdown-format-presenter",22);a&2&&(a=P().summary,E("content",a.formattedSummary))},RAb=function(a){a&1&&(F(0,"div",23),Q(1),H());a&2&&(a=P().summary,A(),R(" ",a.summary," "))},SAb=function(a,b){a&1&&C(0,QAb,1,1,"b-markdown-format-presenter",21)(1,RAb,2,1,"ng-template",null,5,Mg);a&2&&(a=b.summary,b=M(2),E("ngIf",a.formattedSummary)("ngIfElse",b))},UAb=function(a){if(a&1){var b=u();dg(0,11);F(1,"div",
24);J(2,"span",25);F(3,"div",26)(4,"button",27);O("click",function(){v(b);var e=P().summary,f=P();return x(f.copySummary(e))});J(5,"mat-icon",28);H();F(6,"button",29);O("click",function(){v(b);var e=P().summary,f=P();return x(f.openFeedbackDialog(e))});J(7,"mat-icon",30);H();F(8,"button",31);O("click",function(){v(b);var e=P().summary,f=P();return x(f.trackThumbsUp(e))});J(9,"mat-icon",32);H();F(10,"button",33);O("click",function(){v(b);var e=P().summary,f=P();return x(f.trackThumbsDown(e))});J(11,
"mat-icon",34);H()()()}if(a&2){a=P().summary;var c=P(),d=M(7);E("ngTemplateOutlet",d)("ngTemplateOutletContext",Hg(6,MAb,a));A(8);E("disabled",c.hasReacted);A();E("ngClass",Hg(8,TAb,c.thumbsUpClicked));A();E("disabled",c.hasReacted);A();E("ngClass",Hg(10,TAb,c.thumbsDownClicked))}},VAb=function(a){if(a&1){var b=u();F(0,"div",24)(1,"div",35);Q(2," Issue can not be summarized for now. ");H();F(3,"div",26)(4,"button",36);O("click",function(){v(b);var c=P().summary,d=P();return x(d.openFeedbackDialog(c))});
J(5,"mat-icon",37);H()()()}},WAb=function(a,b){a&1&&C(0,UAb,12,12)(1,VAb,6,0,"div",24);a&2&&$f(b.summary.summary?0:1)},XAb=function(a){a&1&&(F(0,"div",2),J(1,"llm-summary"),H())},YAb=function(a){a&1&&(F(0,"p",15),Q(1),F(2,"a",16),Q(3," Learn more "),H()());a&2&&(a=P(4),A(),R(" Your comment contains restricted words: ",Lq(a.bannedWordsChecker),". Review your comment before posting. "))},ZAb=function(a){if(a&1){var b=u();F(0,"div",17)(1,"b-recaptcha",18);O("onUpdate",function(c){v(b);var d=P(4);return x(d.recaptchaResponse$.next(c))});
H()()}},aBb=function(a){if(a&1){var b=u();F(0,"span")(1,"mat-checkbox",19);T(2,"async");T(3,"async");O("change",function(){v(b);var c=P(4);return x($Ab(c))});Q(4," CC Me ");H()()}a&2&&(a=P(4),A(),E("checked",!!U(2,2,a.autoCcOnComment$))("disabled",!!U(3,4,a.isCurrentUserCCd$)))},bBb=function(a){a&1&&(F(0,"mat-checkbox",22),Q(1," CC Me "),H());a&2&&E("checked",!0)("disabled",!0)},cBb=function(a){a&1&&(F(0,"span",20),C(1,bBb,2,2,"mat-checkbox",21),T(2,"async"),H());a&2&&(a=P(4),A(),E("ngIf",U(2,1,a.isCurrentUserCCd$)))},
dBb=function(a){if(a&1){var b=u();F(0,"b-markdown-toggle",23);O("change",function(c){v(b);var d=P().ngIf;return x(d.formattingMode=c)});H()}a&2&&(a=P().ngIf,E("initialValue",a.formattingMode))},eBb=function(a){a&1&&(J(0,"b-access-limits-chip",24),T(1,"async"));a&2&&(a=P(4),E("issueId",a.issueId)("componentId",a.componentIdString)("accessLimitLevel",U(1,3,a.issueAccessLimitLevel$)))},fBb=function(a){a&1&&J(0,"b-issue-visibility-chip",13);a&2&&(a=P(4),E("issueId",a.issueId))},gBb=function(a){a&1&&(J(0,
"b-component-access-level-indicator",14),T(1,"async"));a&2&&(a=P(4),E("accessLevel",U(1,1,a.accessLevel$)))},iBb=function(a,b){if(a&1){var c=u();K(0);F(1,"b-comment-box",4,0);T(3,"async");T(4,"async");T(5,"async");T(6,"async");O("onHotkey",function(){v(c);var k=M(2);return x(hBb(k,"editpage-hotkey"))})("onChange",function(){v(c);var k=P(3);return x(k.saveCommentDraft())})("onFocusEvent",function(){v(c);var k=P(3);return x(k.wasFocused=!0)})("onSubmit",function(k){v(c);var q=P(3);return x(q.submitCommentBox(k))})("onRestrict",
function(){v(c);var k=P(3);return x(k.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(k){v(c);var q=P(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&k?"hairline":"fill";return x()});C(7,YAb,4,1,"p",5)(8,ZAb,2,0,"div",6);T(9,"async");F(10,"div",7)(11,"b-button",8);T(12,"async");O("onAction",function(k){v(c);var q=P(3);return x(q.submitCommentBox(k))})("click",function(k){v(c);var q=P(3);return x(q.submitCommentBox(k))});Q(13);H();F(14,"div",9);C(15,aBb,5,6,"span",1);T(16,"async");
T(17,"async");C(18,cBb,3,3,"span",10);T(19,"async");T(20,"async");C(21,dBb,1,1,"b-markdown-toggle",11);T(22,"async");C(23,eBb,2,5,"b-access-limits-chip",12);T(24,"async");H();C(25,fBb,1,1,"b-issue-visibility-chip",13)(26,gBb,2,3,"b-component-access-level-indicator",14);H()();L()}if(a&2){var d,e,f;a=b.ngIf;b=P(2).ngIf;var h=P();A();E("hotkey",h.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",a)("componentId",b.componentId)("placeholder",(d=U(3,22,h.commentPlaceholderText$))!==
null&&d!==void 0?d:void 0)("judgementForNewContent",(e=U(4,24,h.judgementForNewContent$))!==null&&e!==void 0?e:void 0)("audience",(f=U(5,26,h.audience$))!==null&&f!==void 0?f:void 0)("disabled",U(6,28,h.commentBoxEnabled$)===!1)("isPlusOneCalloutEnabled",h.isPlusOneCalloutEnabled())("warn",h.bannedWordsChecker.showWarning());A(6);E("ngIf",h.bannedWordsChecker.showWarning());A();E("ngIf",U(9,30,h.showRecaptcha$));A(3);E("format",h.commentButtonStyle)("disabled",U(12,32,h.commentButtonEnabled$)===!1)("color",
h.bannedWordsChecker.showWarning()?"warn":"primary");A(2);R(" ",h.bannedWordsChecker.showWarning()?"Comment Anyway":"Comment"," ");A(2);E("ngIf",!U(16,34,h.isCurrentUserCCd$)&&U(17,36,h.hasAclToEdit$));A(3);E("ngIf",U(19,38,h.isCurrentUserCCd$)||!U(20,40,h.hasAclToEdit$));A(3);E("ngIf",U(22,42,h.hasAclToComment$));A(2);E("ngIf",U(24,44,h.isAccessLimited$));A(2);$f(h.enableNewVisibilityChips?25:26)}},kBb=function(a){a&1&&(K(0),F(1,"h3",2),Q(2,"Add comment"),H(),F(3,"div",3),T(4,"async"),C(5,iBb,27,
46,"ng-container",1),T(6,"async"),H(),L());a&2&&(a=P(2),A(3),E("ngClass",Ig(6,jBb,U(4,2,a.empty$),!a.wasFocused)),A(2),E("ngIf",U(6,4,a.comment$)))},lBb=function(a,b){a&1&&(K(0),C(1,kBb,7,9,"ng-container",1),L());a&2&&(a=b.ngIf,A(),E("ngIf",!a.isDeleted))},mBb=function(a,b){a&1&&J(0,"b-issue-person-card",7);a&2&&E("email",b.ngIf)},nBb=function(a,b){a&1&&(K(0),F(1,"span",5),Q(2),T(3,"shortenEmail"),H(),F(4,"onedev-hovercard",null,0),C(6,mBb,1,1,"b-issue-person-card",6),H(),L());if(a&2){a=b.ngIf;b=
M(5);var c=P(2);A();E("onedevHovercardTrigger",b);A();R(" ",Kg(3,3,c.userToString(a),30)," ");A(4);E("ngIf",a.emailAddress)}},oBb=function(a,b){if(a&1){var c=u();F(0,"a",8);O("click",function(d){var e=v(c).ngIf,f=P(2);return x(f.scrollCommentIntoView(d,e))});Q(1);H()}a&2&&(a=b.ngIf,b=P(2),Pf("aria-label","Comment number ",a,""),E("routerLinkObj",b.getCommentNumberLink(a)),A(),R(" #",a,""))},pBb=function(a){a&1&&(K(0),Q(1,","),L())},qBb=function(a,b){a&1&&(F(0,"span",2),C(1,nBb,7,6,"ng-container",
3),F(2,"span"),C(3,oBb,2,4,"a",4)(4,pBb,2,0,"ng-container",3),H()());a&2&&(a=b.$implicit,b=b.last,A(),E("ngIf",a.userPerformingActionUser),A(2),E("ngIf",a.commentNumber),A(),E("ngIf",!b))},rBb=function(a,b){a&1&&(F(0,"div",5)(1,"a",6),T(2,"removePngExtension"),J(3,"b-secure-image-widget",7),H(),J(4,"comments-info",8),H());a&2&&(a=b.$implicit,b=P(3),A(),lg("href",U(2,5,a.src),cf),A(2),E("showByDefault",!0)("src",a.srcCorp),A(),E("issueId",b.issueId)("comments",a.comments))},sBb=function(a){if(a&1){var b=
u();F(0,"button",10);O("click",function(){v(b);var c=P(2).ngIf,d=P(2);c=c.length;var e=ho(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return x()});Q(1," Load more ");H()}},tBb=function(a){if(a&1){var b=u();F(0,"button",11);O("click",function(){v(b);var c=P(4);return x(c.goToResourcesTab())});Q(1," See all screenshots ");H()}},uBb=function(a){a&1&&(K(0),C(1,sBb,2,0,"button",9)(2,tBb,2,0,"ng-template",null,1,Mg),L());if(a&2){a=M(3);var b=P(3);A();E("ngIf",b.paginate)("ngIfElse",
a)}},vBb=function(a,b){a&1&&(K(0),F(1,"div",3),C(2,rBb,5,7,"div",4),T(3,"async"),H(),C(4,uBb,4,2,"ng-container",2),L());if(a&2){a=b.ngIf;b=P().ngIf;var c=P();A();Wf("show-all-images",c.paginate);A();E("ngForOf",U(3,5,c.imagesToRender$))("ngForTrackBy",c.trackByIndex);A(2);E("ngIf",b.length!==a.length)}},wBb=function(a){a&1&&(K(0),C(1,vBb,5,7,"ng-container",2),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.imagesToRender$)))},xBb=function(a){var b=new Map;a=l(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=l(f);f=h.next().value;h=h.next().value;return{src:f,comments:Oi(h)}})},yBb=function(a){a&1&&(F(0,"span",6),Q(1),T(2,"reverse"),H());a&2&&(a=P(),A(),yg(U(2,1,a.leftText)))},zBb=function(a){a&1&&(K(0),F(1,"b-external-hyperlink-widget",7),Q(2),H(),L());a&2&&(a=P(),A(),E("href",a.redirectedHref)("originalHref",a.originalHref),A(),yg(a.linkText))},ABb=function(a){a&1&&
(F(0,"b-issue-reference-widget",9),Q(1),H());a&2&&(a=P(2),E("href",a.redirectedHref)("issueId",a.issueId),A(),yg(a.linkText))},BBb=function(a){a&1&&(F(0,"a",10),Q(1),H());a&2&&(a=P(2),lg("href",a.redirectedHref,cf),A(),yg(a.linkText))},CBb=function(a){a&1&&C(0,ABb,2,3,"b-issue-reference-widget",8)(1,BBb,2,2,"ng-template",null,1,Mg);if(a&2){a=M(2);var b=P();E("ngIf",b.issueId)("ngIfElse",a)}},DBb=function(a){a&1&&(F(0,"span",11),Q(1),H());a&2&&(a=P(),A(),yg(a.rightText))},EBb=function(a){var b=document.createElement("div");
a&&(b.nodeType===1&&zea(b),b.innerHTML=Mh(a));return b},FBb=function(a){a&1&&(K(0),F(1,"td"),J(2,"b-issue-priority-display",3),H(),F(3,"td",4)(4,"span",5),Q(5),H(),J(6,"mentioned-link-with-context",6),H(),F(7,"td"),J(8,"comments-info",7),T(9,"toComments"),H(),L());if(a&2){var b;a=P().$implicit;var c=P(3);A(2);E("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);A(2);E("matTooltip",a.hasViewAccess?"":"Access is denied to this issue");A();R(" ",(b=a.title)!==
null&&b!==void 0?b:"--"," ");A();E("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);A(2);E("issueId",c.issueId)("comments",U(9,8,a.sourceComments))}},GBb=function(a,b){a&1&&(F(0,"tr"),C(1,FBb,10,10,"ng-container",1),H());a&2&&(a=b.$implicit,A(),E("ngIf",a.sourceComments&&a.relatedLinks))},HBb=function(a){if(a&1){var b=u();F(0,"button",9);O("click",function(){v(b);var c=P(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+100);return x()});
Q(1," Load more ");H()}},IBb=function(a){if(a&1){var b=u();F(0,"button",10);O("click",function(){v(b);var c=P(4);return x(c.goToResourcesTab())});Q(1," See all mentioned issues ");H()}},JBb=function(a){a&1&&(F(0,"div"),C(1,HBb,2,0,"button",8)(2,IBb,2,0,"ng-template",null,0,Mg),H());if(a&2){a=M(3);var b=P(3);A();E("ngIf",b.paginate)("ngIfElse",a)}},KBb=function(a,b){a&1&&(K(0),F(1,"section")(2,"table"),C(3,GBb,2,1,"tr",2),H(),C(4,JBb,4,2,"div",1),H(),L());a&2&&(a=b.ngIf,b=P().ngIf,A(3),E("ngForOf",
b),A(),E("ngIf",a.length!==b.length))},LBb=function(a){a&1&&(K(0),C(1,KBb,5,2,"ng-container",1),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.allMentionedIssues$)))},MBb=function(a,b){a&1&&(F(0,"div",3),J(1,"mentioned-link-with-context",4)(2,"comments-info",5),T(3,"toComments"),H());a&2&&(a=b.$implicit,b=P(3),A(),E("sourceComment",a[0].comment)("relatedLink",a[0]),A(),E("issueId",b.issueId)("comments",U(3,4,a)))},NBb=function(a){if(a&1){var b=u();F(0,"button",7);O("click",function(){v(b);var c=
P(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return x()});Q(1," Load more ");H()}},OBb=function(a){if(a&1){var b=u();F(0,"button",8);O("click",function(){v(b);var c=P(4);return x(c.goToResourcesTab())});Q(1," See all related links ");H()}},PBb=function(a){a&1&&(F(0,"div"),C(1,NBb,2,0,"button",6)(2,OBb,2,0,"ng-template",null,0,Mg),H());if(a&2){a=M(3);var b=P(3);A();E("ngIf",b.paginate)("ngIfElse",a)}},QBb=function(a,b){a&1&&(K(0),C(1,MBb,4,6,"div",2)(2,PBb,4,
2,"div",1),L());if(a&2){a=b.ngIf;b=P().ngIf;var c=P();A();E("ngForOf",a)("ngForTrackBy",c.trackByHref);A();E("ngIf",b.length!==a.length)}},RBb=function(a){a&1&&(K(0),C(1,QBb,3,3,"ng-container",1),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.linkGroupsToRender$)))},TBb=function(a,b){var c=a.filter(function(d){return kIa(d[0])});a=a.filter(function(d){return!kIa(d[0])});return SBb([].concat(r(c),r(a)).slice(0,b),"ASCENDING")},UBb=function(a){a&1&&(F(0,"div"),J(1,"b-spinner"),H())},VBb=function(a){a&
1&&J(0,"mat-icon",13)},XBb=function(a){a&1&&(K(0),dg(1,14),L());if(a&2){a=P().$implicit;P();var b=M(10);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,WBb,a))}},YBb=function(){},ZBb=function(a){a&1&&C(0,YBb,0,0,"ng-template")},$Bb=function(a){a&1&&(K(0),C(1,ZBb,1,0,null,15),L());a&2&&(a=P(2).$implicit,A(),E("ngTemplateOutlet",a.tabIconTemplate))},aCb=function(a){a&1&&(C(0,$Bb,2,1,"ng-container",7),dg(1,14));if(a&2){a=P().$implicit;P();var b=M(10);E("ngIf",a.tabIconTemplate);A();E("ngTemplateOutlet",
b)("ngTemplateOutletContext",Hg(3,WBb,a))}},bCb=function(a,b){if(a&1){var c=u();F(0,"button",10);T(1,"async");T(2,"async");T(3,"async");O("click",function(){var e=v(c).$implicit,f=P();e=e.key;f.internalExpandedTabs.has(e)?f.internalExpandedTabs.delete(e):f.internalExpandedTabs.add(e);f.expandedTabsChanged.emit(new Set(f.internalExpandedTabs));return x()});C(4,VBb,1,0,"mat-icon",11);T(5,"async");C(6,XBb,2,4,"ng-container",12);T(7,"async");C(8,aCb,2,5,"ng-template",null,1,Mg);H()}if(a&2){a=b.$implicit;
b=M(9);var d=P();Wf("expanded",!!U(1,10,zp(d.internalExpandedTabs,a.key)));Pf("aria-controls","expandable-tabs-",a.key,"-content");Nf("aria-label",a.ariaLabel)("aria-expanded",!!U(2,12,zp(d.internalExpandedTabs,a.key)))("aria-selected",!!U(3,14,zp(d.internalExpandedTabs,a.key)));A(4);E("ngIf",U(5,16,zp(d.internalExpandedTabs,a.key)));A(2);E("ngIf",U(7,18,zp(d.internalExpandedTabs,a.key)))("ngIfElse",b)}},dCb=function(a,b){if(a&1){var c=u();K(0);F(1,"button",16);O("click",function(){v(c);var d=P();
return x(cCb(d))});Q(2);H();L()}a&2&&(a=b.ngIf,b=P(),A(),Wf("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",!a.allTabsExpanded),Nf("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),A(),R(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},eCb=function(){},fCb=function(a){a&1&&C(0,eCb,0,0,"ng-template")},gCb=function(a){a&1&&(K(0),C(1,fCb,1,0,null,15),L());a&2&&(a=P(3).$implicit,A(),E("ngTemplateOutlet",a.tabIconTemplate))},hCb=function(a){a&1&&(F(0,"h4"),
C(1,gCb,2,1,"ng-container",7),dg(2,14),H());if(a&2){a=P(2).$implicit;P();var b=M(10);A();E("ngIf",a.tabIconTemplate);A();E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(3,WBb,a))}},iCb=function(a){a&1&&J(0,"span",19)},jCb=function(){},kCb=function(a){a&1&&C(0,jCb,0,0,"ng-template")},lCb=function(a){a&1&&(K(0),C(1,kCb,1,0,null,15),L());a&2&&(a=P(2).$implicit,A(),E("ngTemplateOutlet",a.tabContentTemplate))},nCb=function(a){a&1&&(F(0,"div",18),C(1,hCb,3,5,"h4",12),T(2,"async"),C(3,iCb,1,0,"ng-template",
null,2,Mg)(5,lCb,2,1,"ng-container",7),H());if(a&2){var b;a=M(4);var c=P().$implicit,d=P();Zf("expandable-tab-content ",c.key,"");kg("id","expandable-tabs-",c.key,"-content");A();E("ngIf",((b=U(2,8,d.visibleExpandedTabs$))!==null&&b!==void 0?b:Gg(10,mCb)).length>1)("ngIfElse",a);A(4);E("ngIf",c.tabContentTemplate)}},oCb=function(a,b){a&1&&(K(0),C(1,nCb,6,11,"div",17),T(2,"async"),L());a&2&&(a=b.$implicit,b=P(),A(),E("ngIf",U(2,1,zp(b.internalExpandedTabs,a.key))))},pCb=function(){},qCb=function(a){a&
1&&C(0,pCb,0,0,"ng-template")},rCb=function(a){a&1&&(K(0),C(1,qCb,1,0,null,15),L());a&2&&(a=P().tab,A(),E("ngTemplateOutlet",a.tabHeaderTemplate))},sCb=function(a){a&1&&Q(0);a&2&&(a=P().tab,yg(a.key))},tCb=function(a,b){a&1&&C(0,rCb,2,1,"ng-container",12)(1,sCb,1,1,"ng-template",null,3,Mg);a&2&&(a=b.tab,b=M(2),E("ngIf",a.tabHeaderTemplate)("ngIfElse",b))},uCb=function(a){a&1&&J(0,"mat-icon",10)},vCb=function(a){a&1&&(Q(0),T(1,"async"));if(a&2){var b;a=P(2);R("Screenshots (",(b=U(1,1,a.distinctImageLinksCount$))!==
null&&b!==void 0?b:0,")")}},yCb=function(a,b){if(a&1){var c=u();F(0,"inline-images-summary",12);T(1,"async");O("click",function(){v(c);var e=P(3);wCb(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return x()});H()}if(a&2){var d;a=b.ngIf;b=P(3);E("issueId",a)("imageLinks",(d=U(1,2,b.imageLinks$))!==null&&d!==void 0?d:Gg(4,xCb))}},zCb=function(a){a&1&&(C(0,yCb,2,5,"inline-images-summary",11),T(1,"async"));a&2&&(a=P(2),E("ngIf",U(1,1,a.issueId$)))},ACb=function(a){a&1&&J(0,"mat-icon",13)},BCb=function(a){a&
1&&(Q(0),T(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,")")}},CCb=function(a,b){if(a&1){var c=u();F(0,"b-mentioned-issues",15);O("click",function(){v(c);var d=P(3);wCb(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return x()});H()}a&2&&(a=b.ngIf,b=P(3),E("issueReferences",a)("currentIssueId",b.issueId))},DCb=function(a){a&1&&(C(0,CCb,1,2,"b-mentioned-issues",14),T(1,"async"));a&2&&(a=P(2),E("ngIf",U(1,1,a.issues$)))},
ECb=function(a){a&1&&J(0,"mat-icon",16)},FCb=function(a){a&1&&(Q(0),T(1,"async"));if(a&2){var b;a=P(2);R("Links (",(b=U(1,1,a.distinctOtherLinksCount$))!==null&&b!==void 0?b:0,")")}},GCb=function(a){if(a&1){var b=u();F(0,"related-links-widget",17);T(1,"async");O("click",function(){v(b);var d=P(2);wCb(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return x()});H()}if(a&2){var c;a=P(2);E("links",(c=U(1,2,a.otherLinks$))!==null&&c!==void 0?c:Gg(4,xCb))("issueId",a.issueId)}},HCb=function(a){a&1&&
J(0,"mat-icon",18)},ICb=function(a){a&1&&Q(0,"Similar issues")},JCb=function(a,b){if(a&1){var c=u();F(0,"suggested-similar-issues",20);O("click",function(){v(c);var d=P(3);wCb(d.issueSummaryTracking,d.issueId,d.TabKeys.SIMILAR_ISSUES);return x()});H()}a&2&&(a=b.ngIf,b=P(3),E("issueId",b.issueId)("similarIssueIds",a))},KCb=function(a){a&1&&(C(0,JCb,1,2,"suggested-similar-issues",19),T(1,"async"));a&2&&(a=P(2),E("ngIf",U(1,1,a.similarIssueIds$)))},MCb=function(a,b){if(a&1){var c=u();F(0,"expandable-tabs",
2);O("expandedTabsChanged",function(d){var e=v(c).ngIf,f=P();return x(f.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){v(c);var e=P(),f=e.issueSummaryTracking;e=e.issueId;for(var h=l(LCb),k=h.next();!k.done;k=h.next())k=k.value,d.has(k)?(Rr(f.issueInteractionsTracking,e,k+"-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+"-content-not-shown")):(Rr(f.issueInteractionsTracking,e,k+"-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete(k+
"-content-shown"));d.size>0?(f.recordImpressionOnce(),Rr(f.issueInteractionsTracking,e,"SW-content-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Rr(f.issueInteractionsTracking,e,"SW-content-not-shown"),f.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return x()});F(1,"expandable-tab",3);C(2,uCb,1,0,"ng-template",4)(3,vCb,2,3,"ng-template",5)(4,zCb,2,3,"ng-template",6);H();F(5,"expandable-tab",7);C(6,ACb,1,0,"ng-template",
4)(7,BCb,2,3,"ng-template",5)(8,DCb,2,3,"ng-template",6);H();F(9,"expandable-tab",8);C(10,ECb,1,0,"ng-template",4)(11,FCb,2,3,"ng-template",5)(12,GCb,2,5,"ng-template",6);H();F(13,"expandable-tab",9);C(14,HCb,1,0,"ng-template",4)(15,ICb,1,0,"ng-template",5)(16,KCb,2,3,"ng-template",6);H()()}a&2&&(a=b.ngIf,b=P(),E("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),A(),E("key",b.TabKeys.IMAGES),A(4),E("key",b.TabKeys.MENTIONED_ISSUES),A(4),E("key",b.TabKeys.LINKS),A(4),E("key",b.TabKeys.SIMILAR_ISSUES))},
NCb=function(a,b){a&1&&(F(0,"li",6)(1,"div",7),J(2,"b-user-image",8),H(),F(3,"div",9),J(4,"b-user-display",10)(5,"b-formatted-date-time",11),F(6,"p",12),Q(7," Formatting: "),F(8,"code",13),Q(9),H()(),J(10,"br"),F(11,"span",14)(12,"b-person-hovercard",15),T(13,"omitObfuscatedEmail"),Q(14),T(15,"appendDomain"),H()(),Q(16),H(),F(17,"pre"),Q(18),H()());a&2&&(a=b.$implicit,b=b.index,A(2),E("email",a.author==null?null:a.author.emailAddress),A(2),E("model",a.author),A(),E("timestamp",a.updateTime),A(4),
R(" ",a.formattingMode," "),A(3),E("email",U(13,8,a.author==null?null:a.author.emailAddress)),A(2),R(" <",U(15,10,a.author==null?null:a.author.emailAddress),"> "),A(2),R(" #",b+1," "),A(2),yg(a.updateText))},OCb=function(a){if(a&1){var b=u();F(0,"button",9);O("click",function(){v(b);var c=P(3);return x(c.editStatusUpdate())});Q(1," Edit ");H()}},PCb=function(a){a&1&&(K(0),F(1,"header",5)(2,"h4",6),Q(3,"Status Update"),H(),F(4,"p",7),Q(5,"No update yet."),H(),C(6,OCb,2,0,"button",8),T(7,"async"),H(),
L());a&2&&(a=P(2),A(6),$f(U(7,1,a.showEditButton$)?6:-1))},RCb=function(a){if(a&1){var b=u();F(0,"button",18);O("click",function(){v(b);var c=P(4);return x(QCb(c))});Q(1," Mark as fresh ");H()}},SCb=function(a){if(a&1){var b=u();F(0,"button",16);O("click",function(){v(b);var c=P(3);return x(c.editStatusUpdate())});Q(1," Edit ");H();C(2,RCb,2,0,"button",17);T(3,"async")}a&2&&(a=P(3),A(2),E("ngIf",U(3,1,a.freshnessIndicator$)===a.Freshness.STALE))},TCb=function(a){a&1&&J(0,"mat-icon",23)},UCb=function(a,
b){a&1&&(K(0),C(1,TCb,1,0,"mat-icon",19),T(2,"async"),Q(3," Updated by "),F(4,"span",20),Q(5),T(6,"shortenEmail"),H(),J(7,"b-formatted-date-time",21),F(8,"onedev-hovercard",null,0),J(10,"b-issue-person-card",22),H(),L());if(a&2){var c,d;a=b.ngIf;b=M(9);var e=P(3);A();E("ngIf",U(2,5,e.freshnessIndicator$)===e.Freshness.FRESH);A(3);E("onedevHovercardTrigger",b);A();R(" ",U(6,7,(c=a.author==null?null:a.author.emailAddress)!==null&&c!==void 0?c:"")," ");A(2);E("timestamp",a.updateTime);A(3);E("email",
(d=a.author==null?null:a.author.emailAddress)!==null&&d!==void 0?d:"")}},VCb=function(a,b){a&1&&J(0,"b-actions-menu",24);a&2&&(a=b.ngIf,E("buttonLabel","Status Update actions")("menuItems",a))},WCb=function(a,b){a&1&&(J(0,"b-note-container",28),T(1,"async"),T(2,"async"));if(a&2){var c;a=b.ngIf;b=P().ngIf;var d=P(3);E("issueId",b.issueId)("issueAccessLevel",U(1,4,d.accessLevel$))("note",a)("formattingMode",(c=U(2,6,d.formattingMode$))!==null&&c!==void 0?c:d.FormattingMode.PLAIN)}},XCb=function(a){if(a&
1){var b=u();F(0,"button",29);O("click",function(){v(b);var c=P(4);return x(c.isCollapsed=!1)});Q(1," Show More ");H()}},YCb=function(a){a&1&&(K(0),F(1,"div",25)(2,"div",null,1),C(4,WCb,3,8,"b-note-container",26),T(5,"async"),H(),C(6,XCb,2,0,"button",27),H(),L());a&2&&(a=P(3),A(2),Wf("collapsed",a.isCollapsed),A(2),E("ngIf",U(5,4,a.statusUpdateAsNote$)),A(2),E("ngIf",a.isCollapsed))},ZCb=function(a){a&1&&(K(0),F(1,"div",10)(2,"header",11)(3,"div",12)(4,"h4",13),Q(5,"Status Update"),H(),C(6,SCb,4,
3),T(7,"async"),H(),F(8,"div",14),C(9,UCb,11,9,"ng-container",4),T(10,"async"),C(11,VCb,1,2,"b-actions-menu",15),T(12,"async"),H()(),C(13,YCb,7,6,"ng-container",4),T(14,"async"),H(),L());a&2&&(a=P(2),A(6),$f(U(7,4,a.showEditButton$)?6:-1),A(3),E("ngIf",U(10,6,a.statusUpdate$)),A(2),E("ngIf",U(12,8,a.menuItems$)),A(2),E("ngIf",U(14,10,a.statusUpdate$)))},aDb=function(a,b){a&1&&(F(0,"div"),T(1,"async"),J(2,"mat-icon",3),C(3,PCb,8,3,"ng-container",4)(4,ZCb,15,12,"ng-container",4),H());a&2&&(a=b.ngIf,
b=P(),Zf("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",U(1,9,b.semanticClass$),""),Wf("display-none",Hg(11,$Cb,b.UiState.LOADING).includes(a))("short-height",b.UiState.EMPTY===a),A(3),E("ngIf",a===b.UiState.EMPTY),A(),E("ngIf",a===b.UiState.NORMAL))},bDb=function(a){switch(a){case 1:return"noUpdate";case 2:return"hasUpdate";case 0:return"";default:return""}},cDb=function(a){a&1&&(K(0),J(1,"llm-suggested-bug-fix",6),L());a&2&&(a=P().$implicit,A(),E("issueId",a))},dDb=
function(a,b){a&1&&(K(0),J(1,"issue-description-area",5)(2,"status-update",6),C(3,cDb,2,1,"ng-container",2),J(4,"b-issue-description",7),L());a&2&&(a=b.$implicit,b=P(),A(),E("id",a),A(),E("issueId",a),A(),E("ngIf",b.enableGoosePrompting||b.enableGoosePromptingSupportedIssues),A(),E("id",a))},eDb=function(a,b){a&1&&(J(0,"issue-summary-card",8,0),T(2,"async"));a&2&&(a=b.$implicit,b=M(1),Wf("hidden",!U(2,3,b.shouldShowSummaryCard$)),E("issueId",a))},fDb=function(a){a&1&&J(0,"issue-event-list",11);a&
2&&(a=P().$implicit,E("id",a))},gDb=function(a){a&1&&J(0,"issue-event-list",11);a&2&&(a=P().$implicit,E("id",a))},hDb=function(a,b){a&1&&(F(0,"div",9),J(1,"b-event-stream-header"),C(2,fDb,1,1,"issue-event-list",10),J(3,"b-post-comment",6),C(4,gDb,1,1,"issue-event-list",10),H());a&2&&(a=b.$implicit,b=P(),Wf("recent-first",b.showRecentEventsFirst),A(2),E("ngIf",!b.showRecentEventsFirst),A(),E("issueId",a),A(),E("ngIf",b.showRecentEventsFirst))},iDb=function(a){a&1&&(F(0,"section")(1,"h4"),J(2,"mat-icon",
2),Q(3),H(),J(4,"inline-images-summary",3)(5,"br")(6,"hr",4),H());if(a&2){a=P(2).ngIf;var b=P().ngIf;A(3);R(" Screenshots (",a.length,") ");A();E("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},jDb=function(a){a&1&&(K(0),C(1,iDb,7,4,"section",1),L());a&2&&(a=P().ngIf,A(),E("ngIf",a.length))},kDb=function(a){a&1&&(K(0),C(1,jDb,2,1,"ng-container",1),L());a&2&&(a=P(2),A(),E("ngIf",a.isInternalSession))},lDb=function(a){a&1&&(F(0,"section")(1,"h4"),J(2,"mat-icon",5),Q(3),H(),J(4,"b-mentioned-issues",
6)(5,"br")(6,"hr",4),H());if(a&2){a=P().ngIf;var b=P().ngIf;A(3);R(" Mentioned issues (",a.length,") ");A();E("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},mDb=function(a,b){a&1&&(K(0),C(1,lDb,7,4,"section",1),L());a&2&&(a=b.ngIf,A(),E("ngIf",a.length))},nDb=function(a){a&1&&(F(0,"section")(1,"h4"),J(2,"mat-icon",7),Q(3),H(),J(4,"related-links-widget",8),H());if(a&2){a=P().ngIf;var b=P().ngIf;A(3);R(" Links (",a.length,") ");A();E("links",a)("issueId",b.issueId)("paginate",!0)}},
oDb=function(a,b){a&1&&(K(0),C(1,nDb,5,4,"section",1),L());a&2&&(a=b.ngIf,A(),E("ngIf",a.length))},pDb=function(a){a&1&&(K(0),C(1,kDb,2,1,"ng-container",1),T(2,"async"),C(3,mDb,2,1,"ng-container",1),T(4,"async"),C(5,oDb,2,1,"ng-container",1),T(6,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,3,a.imageLinks$)),A(2),E("ngIf",U(4,5,a.issueReferences$)),A(2),E("ngIf",U(6,7,a.otherLinks$)))},qDb=function(a){a&1&&(F(0,"div",4),J(1,"img",5),F(2,"p",6),Q(3," This issue has no TODOs "),H(),F(4,"p",7),Q(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),
F(6,"a",8),Q(7,"Learn more"),H()()());a&2&&(a=P(3),A(),E("src",a.ROBOT_SLEEPING,cf))},rDb=function(a,b){a&1&&J(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=P(3).ngIf;var c=P().ngIf,d=P();E("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},sDb=function(a){if(a&1){var b=u();K(0);C(1,rDb,1,3,"b-package-mentions-listing",9);F(2,"p",10)(3,"a",11);O("click",function(){v(b);var c=P(4);return x(c.trackSqueegeeClick())});Q(4,"View in Squeegee");H()();L()}a&
2&&(a=P(2).ngIf,A(),E("ngForOf",a.mentions.packageMentionSet),A(2),E("href",a.link,cf))},tDb=function(a){a&1&&C(0,sDb,5,2,"ng-container",2);a&2&&(a=P().ngIf,E("ngIf",a.mentions))},uDb=function(a,b){a&1&&(K(0),C(1,qDb,8,1,"div",3)(2,tDb,1,1,"ng-template",null,0,Mg),L());a&2&&(a=b.ngIf,b=M(3),P(2),A(),E("ngIf",!(a.mentions&&a.mentions.totalMentions>0))("ngIfElse",b))},vDb=function(a){a&1&&(K(0),C(1,uDb,4,2,"ng-container",2),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.codeMentionsState$)))},wDb=
function(a){a&1&&J(0,"b-spinner",6);a&2&&E("large",!0)},xDb=function(a){a&1&&J(0,"b-hotlist-grid",7);a&2&&(a=P(),E("hotlists",a.hotlists))},yDb=function(a){a&1&&(F(0,"div",11),J(1,"b-spinner"),F(2,"span"),Q(3),H()());a&2&&(a=P(),A(3),R(" Searching",a.query?" for "+a.query:"","..."))},zDb=function(a){a&1&&(K(0),Q(1," No issues match your search. "),L())},ADb=function(a){a&1&&Q(0," Use search box to find issues. ")},CDb=function(a){a&1&&(F(0,"a",16),Q(1," Click to see all open issues"),H());a&2&&E("queryParams",
Gg(1,BDb))},DDb=function(a){a&1&&(F(0,"a",17),Q(1,"Learn more about searching"),H())},EDb=function(a){a&1&&(F(0,"div",12),J(1,"img",13),C(2,zDb,2,0,"ng-container",14)(3,ADb,1,0,"ng-template",null,0,Mg)(5,CDb,2,2,"a",15)(6,DDb,2,0,"ng-template",null,1,Mg),H());if(a&2){a=M(4);var b=M(7),c=P();E("bFocus",!0);A();E("src",c.SPACE_EMPTY_STATE,cf);A();E("ngIf",c.query)("ngIfElse",a);A(3);E("ngIf",c.currentTracker)("ngIfElse",b)}},GDb=function(a){if(a&1){var b=u();F(0,"div",18)(1,"b-issues-grid",19);O("init",
function(c){v(b);var d=P();return x(d.resultsGrid=c)});Cg("columnsChange",function(c){v(b);var d=P();Bg(d.issueColumns,c)||(d.issueColumns=c);return x(c)});O("columnsChange",function(){v(b);P();FDb();return x()})("sortChange",function(c){v(b);var d=P();return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=P();return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=P();return x(Sr(c,c.page,1))})("onPrevPage",function(){v(b);var c=P();return x(Sr(c,c.page,
-1))});H()()}a&2&&(a=P(),A(),E("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex),Ag("columns",a.issueColumns),E("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},HDb=function(a){a&1&&(F(0,"div",6)(1,"h2"),Q(2,"Manage SLOs"),H(),F(3,"p",7),Q(4,"You have admin rights for all SLOs listed below."),H()())},IDb=function(a){a&1&&J(0,"b-spinner",8);a&2&&E("large",!0)},JDb=function(a){a&1&&(F(0,"div",11),Q(1,"You have no Active SLOs"),H())},KDb=function(a){a&
1&&J(0,"b-slo-grid",12);a&2&&(a=P(2),E("slos",a.activeSlos))},LDb=function(a){a&1&&(K(0),C(1,JDb,2,0,"div",9)(2,KDb,1,1,"b-slo-grid",10),L());a&2&&(a=P(),A(),E("ngIf",!a.activeSlos.length),A(),E("ngIf",a.activeSlos.length))},MDb=function(a){a&1&&(F(0,"p",19),Q(1," You have no archived SLOs. "),H())},NDb=function(a){a&1&&J(0,"b-slo-grid",12);a&2&&(a=P(3),E("slos",a.archivedSlos))},ODb=function(a){a&1&&(F(0,"div",17),C(1,MDb,2,0,"p",18)(2,NDb,1,1,"b-slo-grid",10),H());a&2&&(a=P(2),A(),E("ngIf",!a.archivedSlos.length),
A(),E("ngIf",a.archivedSlos.length))},PDb=function(a){if(a&1){var b=u();K(0);F(1,"button",13);O("click",function(){v(b);var c=P();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return x()});F(2,"h4",14);J(3,"mat-icon",15);Q(4);H()();C(5,ODb,3,2,"div",16);L()}a&2&&(a=P(),A(3),Wf("rotate-180",a.areArchivedSlosExpanded),E("svgIcon","arrow-dropdown"),A(),R(" Archived SLOs (",a.archivedSlos.length,") "),A(),E("ngIf",a.areArchivedSlosExpanded))},QDb=function(a){a&1&&(K(0),F(1,"p"),Q(2,"Team inheritance path:"),
H(),J(3,"b-team-breadcrumb",1),L());a&2&&(a=P(),A(3),E("teamPath",a.teamPath))},RDb=function(a){a&1&&(K(0),F(1,"p"),Q(2,"Component inheritance path:"),H(),J(3,"b-component-breadcrumb",2),L());a&2&&(a=P(),A(3),E("componentPathInfo",a.componentPath))},SDb=function(a){var b={};a=l(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},VDb=function(a){return{approximateSize:Jj(a,2),groupEmail:Zh(a,1),sizeCategory:TDb[Kj(a,3,0)],permissionCategory:UDb[Kj(a,5,0)]}},
XDb=function(a){a=Yj(a,WDb,1,Ai());return{groupMetadata:(a!=null?a:[]).map(VDb)}},ZDb=function(a,b){var c=[];if(!b||!a)return c;for(var d=l(YDb),e=d.next();!e.done;e=d.next()){e=e.value;var f=li(e.accessor(b)||[],e.accessor(a)||[]);f.length&&c.push({field:e.field,addedPrincipals:f})}return c},aEb=function(a,b){if(!a.appenders||!b||ci(b.appenders,a.appenders))return!1;a=l(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,$Db.has(c)&&!b.appenders.includes(c))return!0;return!1},bEb=
function(a){var b=new Map;a=l(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},cEb=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"},dEb=function(a){if(a.size===0)return Tr;
for(var b=a.size===1?Oh("p",{},"The following large group is added: "):Oh("p",{},"The following large groups are added: "),c=[],d=l(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var f=a.get(e).approximateSize;c.push(Oh("p",{},Nh([Oh("b",{},e)," has approximately ",Oh("b",{},f)," Googlers."])))}return Nh([b].concat(r(c)))},eEb=function(a){if(a.size===0)return Tr;var b=a.size===1?Oh("p",{},"The following open group is added: "):Oh("p",{},"The following open groups are added: "),c=[];a=l(a.keys());
for(var d=a.next();!d.done;d=a.next())c.push(Oh("p",{},Oh("b",{},d.value)));return Nh([b].concat(r(c)))},fEb=function(a){var b=new Map;a=l(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},gEb=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},hEb=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},Ur=function(a){var b=a.split(":");a=b[0];return a==="ALIAS"?(b=b[1],{value:b,displayText:tra(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],principalType:a,detailedUserType:null}},iEb=function(a,b){a&1&&J(0,"b-contact-chip",
6);a&2&&(a=b.$implicit,b=P(2),E("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},jEb=function(a,b){a&1&&(K(0),F(1,"tr",3)(2,"th",4),Q(3),H(),F(4,"td"),C(5,iEb,1,5,"b-contact-chip",5),H()(),L());a&2&&(a=b.$implicit,A(3),yg(a.permission),A(2),E("ngForOf",a.principals))},nEb=function(a){var b="minimal";b=b===void 0?"expanded":b;a=kEb(a);a=qi(a,function(c){c=lEb(c);return mEb(c,b)});return kEb(a)},pEb=
function(a){a=kEb(a);a=qi(a,function(b){b=oEb(b);return lEb(b)});return kEb(a)},mEb=function(a,b){var c=b==="expanded"?qEb:rEb;return new Set([].concat(r(a)).flatMap(function(d){return[].concat(r(c.get(d)))}))},oEb=function(a){return new Set(Vr.filter(function(b){return bra(a,rEb.get(b))}))},lEb=function(a){a=mEb(a,"expanded");var b=oEb(a);return new Set([].concat(r(b)).filter(function(c){return[].concat(r(sEb.get(c))).every(function(d){return!b.has(d)})}))},kEb=function(a){var b=new Map;a=l(a.entries());
for(var c=a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(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},uEb=function(){function a(f,h){c.has(f)||c.set(f,new Set);var k=c.get(f);k.add(h);var q;h=l((q=b.get(h))!=null?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,k.has(q)||a(f,q)}var b=tEb,c=new Map,d=[].concat(r(b.values())).flatMap(function(f){return[].concat(r(f))});d=l(new Set([].concat(r(b.keys()),
r(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},vEb=function(a){var b=nEb(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(r((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")}}},wEb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return Oi([].concat(r(b?[].concat(r(b.inheritedAdmins||[]),r(b.admins||[]),r(b.appenders||[])):[]),r(a?[].concat(r(a.admins||[]),r(a.editors||[]),r(a.appenders||[]),r(a.readers||[]),r(a.restrictedReaders||[]),r(a.restrictedPlusReaders||[])):[]))).sort()},yEb=function(a){function b(e){var f;return[].concat(r((f=d.get(e))!=null?f:[])).sort()}if(!a)return xEb;var c=a.issueAccessPolicy;
a=a.componentAccessPolicy;var d=pEb(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}},zEb=function(a,b){var c;(c=!b)||(c=!(!ci([].concat(r(b.admins)).sort(),[].concat(r(a.admins)).sort())||!ci([].concat(r(b.appenders)).sort(),
[].concat(r(a.appenders)).sort())||!ci(b.implicitAccess,a.implicitAccess)));return!c},AEb=function(a,b){return b&&a?!ci([].concat(r(a.admins)).sort(),[].concat(r(b.admins)).sort())||!ci([].concat(r(a.editors)).sort(),[].concat(r(b.editors)).sort())||!ci([].concat(r(a.appenders)).sort(),[].concat(r(b.appenders)).sort())||!ci([].concat(r(a.readers)).sort(),[].concat(r(b.readers)).sort())||!ci([].concat(r(a.restrictedReaders)).sort(),[].concat(r(b.restrictedReaders)).sort())||!ci([].concat(r(a.restrictedPlusReaders)).sort(),
[].concat(r(b.restrictedPlusReaders)).sort()):!1},BEb=function(a,b){var c=Object.keys(a);c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!isa(a[d],b[d]))return!0;return!1},CEb=function(a){if(a&1){var b=u();F(0,"input",16);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});H()}a&2&&(a=P(2),E("disabled",!a.rolesEditor.isAdmin),Ag("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
DEb=function(a){if(a&1){var b=u();F(0,"input",17);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.rolesEditor.component.accessLimit.accessLevel,c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});H()}a&2&&(a=P(2),E("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner()),Ag("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},EEb=function(a){if(a&1){var b=u();F(0,"input",18);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.rolesEditor.component.accessLimit.accessLevel,
c)||(d.rolesEditor.component.accessLimit.accessLevel=c);return x(c)});H()}a&2&&(a=P(2),E("disabled",!a.rolesEditor.isAdmin||!a.isParentPublic()),Ag("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},FEb=function(a,b){a&1&&(F(0,"p",19)(1,"a",20),Q(2," Learn more "),H()());a&2&&(a=b.$implicit,A(),E("href",a,cf))},GEb=function(a){a&1&&(F(0,"div",3)(1,"div",4)(2,"span",5),Q(3,"Component visibility: "),H()(),F(4,"div",6)(5,"div",7),C(6,CEb,1,2,"input",8),F(7,"label",9),Q(8),H()(),F(9,"div",7),
C(10,DEb,1,2,"input",10),F(11,"label",11),Q(12),H()(),F(13,"div",12),C(14,EEb,1,2,"input",13),F(15,"label",14),Q(16),H()()(),C(17,FEb,3,1,"p",15),H());a&2&&(a=P(),A(6),E("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),A(2),R(" ",Q6a(a.AccessLevelStrings.INTERNAL)," "),A(2),E("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),A(2),R(" ",Q6a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),A(2),E("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
A(2),R(" ",Q6a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),A(),E("ngIf",$Pa(a.documentationLinks)))},LEb=function(a,b){if(a&1){var c=u();K(0);F(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);Q(6);H();F(7,"button",5);J(8,"mat-icon",6);H()();F(9,"b-multi-user-input",7);O("usersChange",function(e){var f=v(c).$implicit,h=P();return x(h.updateRolesMap(f.roleType,e))})("isValid",function(e){var f=v(c).$implicit,h=P();h.aclFormValidity.set(f.roleType,e);e=[].concat(r(h.aclFormValidity.values())).every(Boolean);
h.formIsValid.emit(e);return x()});H()()();F(10,"td");J(11,"b-icon",8);H();F(12,"td");J(13,"b-icon",8);H();F(14,"td");J(15,"b-icon",8);H();F(16,"td");J(17,"b-icon",8);H();F(18,"td");J(19,"b-icon",8);H();F(20,"td");J(21,"b-icon",8);H();F(22,"td");J(23,"b-icon",8);H();F(24,"td");J(25,"b-icon",8);H()();L()}if(a&2){var d;a=b.$implicit;b=P();A(3);Wf("bv2-edit-resource-readonly",b.canEdit);A(2);E("htmlFor",a.roleType);A();yg(a.label);A();E("matTooltip",a.tooltip);A(2);E("idForInputBox",a.roleType)("users",
a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",(d=a.customValidators)!==null&&d!==void 0?d:Gg(22,HEb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(a.chips==null?0:a.chips.values)&&a.chips.values.length>0?Hg(26,IEb,Ig(23,JEb,a.chips.displayText,a.chips.values)):Gg(28,KEb));Nf("disabled",b.canEdit?null:!0);A(2);E("name",b.getIconName(a,"componentAdmin"));A(2);E("name",b.getIconName(a,"createIssues"));A(2);E("name",
b.getIconName(a,"issueAdmin"));A(2);E("name",b.getIconName(a,"issueEditor"));A(2);E("name",b.getIconName(a,"issueCommenter"));A(2);E("name",b.getIconName(a,"issueReader"));A(2);E("name",b.getIconName(a,"restrictedReader"));A(2);E("name",b.getIconName(a,"restrictedPlusReader"))}},MEb=function(a){a&1&&(F(0,"div",2),J(1,"b-spinner"),H())},OEb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",3)(2,"mat-tab-group",4);O("selectedIndexChange",function(c){v(b);var d=P();return x(d.tabChange(c))});F(3,"mat-tab",
5)(4,"roles-view",6);O("saveRolesMap",function(c){v(b);var d=P();NEb(d.rolesEditor,c);return x()});H()();F(5,"mat-tab",7);J(6,"permissions-view",8);H()()()()}a&2&&(a=P(),A(2),E("selectedIndex",a.selectedTabIndex),A(2),E("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),A(2),E("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))},QEb=function(a){if(a&1){var b=u();F(0,"b-button",24,2);O("onAction",function(){v(b);var c=P(3);return x(PEb(c))});Q(2);H()}a&2&&(a=P(3),E("disabled",a.isSaving()),A(2),R(" ",a.archiveAction," Component "))},REb=function(a){if(a&1){var b=u();F(0,"b-button",25);O("onAction",function(){v(b);var c=P(3);return x(c.createIssue())});Q(1," Create Issue ");H()}a&2&&(a=P(3),E("tooltip",
a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},SEb=function(a){a&1&&(K(0),F(1,"a",21),Q(2," Browse Components "),H(),C(3,QEb,3,2,"b-button",22)(4,REb,2,2,"b-button",23),L());a&2&&(a=P(2),A(),E("routerLinkObj",a.componentListRoute(a.component.componentId)),A(2),E("ngIf",a.isAdmin()),A(),E("ngIf",!a.isAnonymous))},TEb=function(a){a&1&&(F(0,"div",26),J(1,"b-spinner"),H())},UEb=function(a){a&1&&(F(0,"span",42),Q(1," (archived) "),H())},VEb=function(a){a&1&&
dg(0)},WEb=function(a){a&1&&dg(0)},XEb=function(a){a&1&&dg(0)},YEb=function(a){a&1&&dg(0)},ZEb=function(a){a&1&&dg(0)},aFb=function(a){if(a&1){var b=u();F(0,"div",81)(1,"div",51)(2,"label",82)(3,"span",48);Q(4,"Parent Component");H()();F(5,"span",53)(6,"div",83)(7,"strong");Q(8,"Careful!");H();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. ");
F(10,"div",55);J(11,"div",56)(12,"div",57);H()()()();F(13,"b-team-component-picker",84);O("selectedComponentChange",function(c){v(b);var d=P(4);return x(d.parentComponent=c!==null&&c!==void 0?c:null)});H()()}a&2&&(a=P(4),A(2),Wf("required",a.isParentComponentRequired&&!$Eb(a)),A(11),E("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!$Eb(a)))},bFb=function(a){a&1&&(F(0,"a",85),Q(1," Learn more "),H());a&2&&(P(4),E("href",oqb(),cf))},
cFb=function(a){if(a&1){var b=u();F(0,"div",86)(1,"label",87)(2,"span",48);Q(3,"Retention Settings");H()();F(4,"div",88)(5,"p");Q(6,"Please choose a period of time to retain the data stored in this component.");J(7,"br");F(8,"a",89);Q(9," Learn more ");H()()();F(10,"div",90)(11,"b-retention-settings-form",91);O("modelChange",function(c){v(b);var d=P(4);return x(d.component.retentionSettings=c)})("validChange",function(c){v(b);P(4).retentionIsValid=c;return x()});H()()()}a&2&&(a=P(4),Wf("bv2-edit-resource-readonly",
!a.isAdmin()),A(8),E("href",Wr(),cf),A(3),E("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("componentPathInfo",a.component.componentPathInfo)("componentId",a.component.componentId)("initialModel",a.component.retentionSettings))},eFb=function(a){if(a&1){var b=u();F(0,"div",95)(1,"b-component-team-picker",96);O("modelChange",function(c){v(b);var d=P(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&dFb(d);return x()});H()()}a&2&&
(a=P(5),A(),lg("anchorTarget",a.hasUnsavedChanges()?"_blank":"_self"),E("isAdmin",a.isAdmin())("isTopLevel",!a.isParentComponentRequired)("parentModel",a.parentComponent==null?null:a.parentComponent.team)("useInternalLink",!0)("model",a.component.team))},fFb=function(a){a&1&&(F(0,"div",92)(1,"label",93)(2,"span",48),Q(3,"Team Configuration"),H()(),C(4,eFb,2,6,"div",94),H());a&2&&(a=P(4),Wf("bv2-edit-resource-readonly",!a.isAdmin()),A(4),E("ngIf",a.component.team))},gFb=function(a){a&1&&(F(0,"a",108),
Q(1),H());if(a&2){var b;a=P().ngIf;var c=P(5);E("routerLinkObj",c.getSloManagementLink(a.id));A();R(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},hFb=function(a){a&1&&Q(0," None ")},iFb=function(a,b){a&1&&(F(0,"div",106),Q(1," Inherited SLO Policy: "),C(2,gFb,2,2,"a",107)(3,hFb,1,0,"ng-template",null,9,Mg),H());a&2&&(a=b.ngIf,b=M(4),A(2),E("ngIf",a.id!=="0")("ngIfElse",b))},jFb=function(a){a&1&&(F(0,"a",112),Q(1),T(2,"titlecase"),H());a&2&&(a=P().ngIf,E("routerLinkObj",a.link),
A(),zg(" (",U(2,3,a.type),") ",a.name," "))},kFb=function(a){a&1&&Q(0," None ")},lFb=function(a){a&1&&(F(0,"div",114),J(1,"slo-inheritance-breadcrumbs",115),H());a&2&&(a=P().ngIf,A(),E("componentPath",a.componentPath)("teamPath",a.teamPath))},mFb=function(a){a&1&&(K(0),C(1,lFb,2,2,"div",113),L());a&2&&(a=P(6),A(),E("ngIf",a.showSloInheritancePath))},nFb=function(a,b){if(a&1){var c=u();F(0,"div",109);Q(1," Policy Source: ");C(2,jFb,3,5,"a",110)(3,kFb,1,0,"ng-template",null,10,Mg);F(5,"button",111);
O("click",function(){v(c);var e=P(5);return x(e.showSloInheritancePath=!e.showSloInheritancePath)});Q(6);H();C(7,mFb,2,1,"ng-container",18);T(8,"async");H()}if(a&2){a=b.ngIf;b=M(4);var d=P(5);A(2);E("ngIf",a.link)("ngIfElse",b);A(3);Nf("aria-expanded",d.showSloInheritancePath);A();R(" ",d.showSloInheritancePath?"Hide":"Show"," full path ");A();E("ngIf",U(8,5,d.policySourcePath$))}},oFb=function(a){a&1&&(K(0),Q(1,", "),F(2,"a",117),Q(3,"Team Leads"),H(),L());a&2&&(a=P(7),A(2),E("routerLinkObj",{path:"/teams/"+
a.component.team.id+"/edit",fragment:a.tabsService.Tab.ACCESS}))},pFb=function(a){a&1&&(K(0),Q(1," SLO Admins: "),F(2,"a",117),Q(3,"Component Admins"),H(),C(4,oFb,4,1,"ng-container",18),L());a&2&&(a=P(6),A(2),E("routerLinkObj",a.componentPermissions(a.componentId)),A(2),E("ngIf",a.component.team&&a.component.team.id!=="0"))},qFb=function(a){a&1&&(F(0,"div",116),C(1,pFb,5,2,"ng-container",18),H());a&2&&(a=P(5),A(),E("ngIf",a.enableTeamLeadSloEditingUi))},rFb=function(a){a&1&&(K(0),J(1,"mat-icon",118),
Q(2," on "),L())},sFb=function(a){a&1&&(J(0,"mat-icon",119),Q(1," off "))},tFb=function(a){a&1&&(K(0),Q(1," Lock: "),C(2,rFb,3,0,"ng-container",12),T(3,"async"),C(4,sFb,2,0,"ng-template",null,11,Mg),L());if(a&2){a=M(5);var b=P(5);A(2);E("ngIf",U(3,2,b.sloLocked$))("ngIfElse",a)}},vFb=function(a){if(a&1){var b=u();F(0,"div",120)(1,"mat-checkbox",121);O("change",function(c){v(b);var d=P(5);c=c.checked;d.component.slo.inherit=!c;c||dFb(d);return x()});F(2,"span");Q(3,"Override the inherited SLO policy");
H()()()}a&2&&(a=P(5),A(),E("checked",!a.component.slo.inherit)("disabled",!uFb(a)))},wFb=function(a){if(a&1){var b=u();F(0,"div",128)(1,"label",129);Q(2," Justification ");H();J(3,"mat-icon",130);F(4,"textarea",131);Cg("ngModelChange",function(c){v(b);var d=P(6);Bg(d.component.slo.comment,c)||(d.component.slo.comment=c);return x(c)});H()()}a&2&&(a=P(6),A(4),Ag("ngModel",a.component.slo.comment),E("disabled",!Xr(a)))},xFb=function(a){a&1&&(F(0,"a",132),J(1,"mat-icon",133),H());a&2&&(a=P(6),lg("target",
a.hasUnsavedChanges()?"_blank":"_self"),E("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},BFb=function(a){if(a&1){var b=u();K(0);C(1,wFb,5,2,"div",122);F(2,"mat-slide-toggle",123);Cg("ngModelChange",function(c){v(b);var d=P(5);Bg(d.isEnableSloChecked,c)||(d.isEnableSloChecked=c);return x(c)});O("change",function(c){v(b);var d=P(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return x()});Q(3," Enable SLO ");H();F(4,"div",124)(5,"label",125);Q(6,"SLO policy");H();F(7,
"slo-picker",126);O("onSloSelect",function(c){v(b);var d=P(5);return x(d.onSloChange(c))});H();C(8,xFb,2,2,"a",127);H();L()}a&2&&(a=P(5),A(),E("ngIf",yFb(a)),A(),Wf("indented",zFb(a)),Ag("ngModel",a.isEnableSloChecked),E("disabled",!AFb(a)),A(5),E("bv2Disabled",!a.isEnableSloChecked||!AFb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&AFb(a)?"Type to search for an SLO":"SLO disabled"),A(),E("ngIf",a.component.slo.id&&a.component.slo.id!=="0"))},CFb=function(a){a&1&&(F(0,
"div",97)(1,"div",51)(2,"label",98)(3,"span",48),Q(4,"SLO Configuration"),H()(),F(5,"span",53)(6,"div",99)(7,"strong"),Q(8,"Careful!"),H(),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. "),F(10,"div",55),J(11,"div",56)(12,"div",57),H()()()(),F(13,"div",100),C(14,iFb,5,2,"div",101),T(15,"async"),C(16,nFb,9,7,"div",102),T(17,"async"),C(18,qFb,2,1,"div",103),F(19,"div",104),C(20,tFb,
6,4,"ng-container",18),H()(),C(21,vFb,4,2,"div",105)(22,BFb,9,9,"ng-container",18),H());if(a&2){a=P(4);Wf("bv2-edit-resource-readonly",!Xr(a));A(14);E("ngIf",U(15,8,a.inheritedSlo$));A(2);E("ngIf",U(17,10,a.sloPolicySource$));A(2);E("ngIf",a.sessionIsInternal);A(2);E("ngIf",a.enableSloLockingUi);A();E("ngIf",zFb(a));A();if(a.component&&a.component.slo){var b=!!a.component.team&&a.component.team.id!=="0",c=!a.component.slo.inherit;a=a.component.parentComponentId===0&&!b||c}else a=!1;E("ngIf",a)}},
DFb=function(a){if(a&1){var b=u();F(0,"mat-slide-toggle",134);O("change",function(c){v(b);P(4).component.spamProtection=c.checked?"ALL_PROTECTIONS":"NO_PROTECTIONS";return x()});Q(1," Enable Spam Protections ");H()}a&2&&(a=P(4),E("checked",a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"?a.component.spamProtection==="ALL_PROTECTIONS"||a.component.spamProtection==="SPAM_PROTECTION_UNSPECIFIED":!1)("disabled",a.isAccessEditDisabled()))},EFb=function(a){if(a&1){var b=u();F(0,"div",
77)(1,"b-button",135);O("onAction",function(){v(b);var c=P(4);return x(c.saveMetadata())});Q(2," Update ");H();F(3,"b-button",136);O("onAction",function(){v(b);var c=P(4);return x(c.revertMetadataChanges())});Q(4," Revert Changes ");H();F(5,"b-button",136);O("onAction",function(){v(b);var c=P(4);return x(c.createChild())});Q(6," Create Child Component ");H()()}a&2&&(a=P(4),A(),E("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),A(2),E("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),
A(2),E("disabled",a.hasUnsavedMetadataChanges()))},FFb=function(a){if(a&1){var b=u();F(0,"b-button",137);O("onAction",function(){v(b);var c=P(4);return x(c.showUpdateHistoryModal())});Q(1," View History ");H()}},GFb=function(a){a&1&&J(0,"b-spinner")},HFb=function(a){if(a&1){var b=u();F(0,"b-component-children-list",138);O("onVisit",function(){v(b);var c=P(4);return x(c.trackClick("openChildComponent"))});H()}a&2&&(a=P(4),E("children",a.childComponents))},IFb=function(a){a&1&&(F(0,"span"),Q(1," No child components. "),
H())},JFb=function(a){if(a&1){var b=u();F(0,"div",43)(1,"form",44,8);J(3,"b-error-banner",45);F(4,"div",46)(5,"label",47)(6,"span",48);Q(7,"Name");H()();F(8,"input",49);Cg("ngModelChange",function(c){v(b);var d=P(3);Bg(d.component.name,c)||(d.component.name=c);return x(c)});H()();F(9,"div",50)(10,"div",51)(11,"label",52)(12,"span",48);Q(13,"Description");H()();F(14,"span",53)(15,"div",54);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. ");
F(17,"div",55);J(18,"div",56)(19,"div",57);H()()()();F(20,"textarea",58);Cg("ngModelChange",function(c){v(b);var d=P(3);Bg(d.component.description,c)||(d.component.description=c);return x(c)});Q(21,"              ");H()();C(22,aFb,14,5,"div",59);F(23,"div",60)(24,"div",61)(25,"mat-checkbox",62);O("change",function(c){v(b);var d=P(3);return x(d.setCommentEditState(c.checked))});H()();F(26,"div")(27,"strong",63);Q(28,"Editable Comments");H();F(29,"div",64);Q(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");
J(31,"br");C(32,bFb,2,1,"a",65);H()()();C(33,cFb,12,8,"div",66)(34,fFb,5,3,"div",67)(35,CFb,23,12,"div",68);F(36,"div",69)(37,"div",51)(38,"label",70)(39,"span",48);Q(40,"Component Alias");H()();F(41,"span",53)(42,"div",71);Q(43," You can create a new issue in this component by sending an email to this alias. ");J(44,"br");F(45,"a",72);Q(46," Learn more ");H();F(47,"div",55);J(48,"div",56)(49,"div",57);H()()()();F(50,"div")(51,"a",73);Q(52);H()()();C(53,DFb,2,2,"mat-slide-toggle",74);F(54,"div",75);
C(55,EFb,7,3,"div",76);F(56,"div",77);C(57,FFb,2,0,"b-button",78);H()();F(58,"div",79)(59,"label")(60,"span",48);Q(61,"Child Components");H()();C(62,GFb,1,0,"b-spinner",18)(63,HFb,1,1,"b-component-children-list",80)(64,IFb,2,0,"span",18);H()()()}a&2&&(a=P(3),A(),Wf("show-errors",a.error),A(2),E("error",a.error),A(),Wf("bv2-edit-resource-readonly",Yr(a)),A(4),Ag("ngModel",a.component.name),E("disabled",Yr(a)),A(),Wf("bv2-edit-resource-readonly",Yr(a)),A(11),Ag("ngModel",a.component.description),E("disabled",
Yr(a)),A(2),E("ngIf",a.isAdmin()),A(),Wf("bv2-edit-resource-readonly",a.isAccessEditDisabled()),A(2),E("checked",a.commentEditsEnabled)("disabled",Yr(a)),A(7),E("ngIf",!a.sessionIsExternal),A(),E("ngIf",!a.sessionIsExternal),A(),E("ngIf",a.sessionIsInternal),A(),E("ngIf",a.component.slo&&a.sessionIsInternal),A(10),E("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",cf),A(6),kg("href","mailto:",a.component.emailAlias,"",cf),Nf("aria-label","Component Alias -"+a.component.emailAlias),
A(),yg(a.component.emailAlias),A(),E("ngIf",a.sessionIsInternal&&a.getComponentAccessLevel()==="EXTERNAL_PUBLIC"),A(2),E("ngIf",a.isEditorInternal||Xr(a)),A(2),E("ngIf",a.componentHistoryUiEnabled),A(5),E("ngIf",a.childComponents===void 0),A(),E("ngIf",a.childComponents&&a.childComponents.length>0),A(),E("ngIf",a.childComponents&&a.childComponents.length===0))},KFb=function(a){a&1&&(F(0,"div",143),Q(1," Standard Fields "),H())},MFb=function(a){if(a&1){var b=u();F(0,"b-component-standard-fields",144);
O("updateComponent",function(c){v(b);var d=P(4);return x(LFb(d,c))});H()}a&2&&(a=P(4),E("effortSpec",a.component.effortSpec)("parentEffortSpec",a.parentComponent==null?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},NFb=function(a){a&1&&(F(0,"div",145),Q(1," Custom Fields "),H())},PFb=function(a){a&1&&(C(0,KFb,2,0,"div",139)(1,MFb,1,3,"b-component-standard-fields",140)(2,NFb,2,0,"div",141),J(3,"b-component-custom-fields",142));a&2&&(a=P(3),E("ngIf",OFb(a)),A(),E("ngIf",OFb(a)),
A(),E("ngIf",OFb(a)),A(),E("editMode",a.isEditorInternal)("isSaving",a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},RFb=function(a){a&1&&(F(0,"a",149),Q(1," Learn more "),H());a&2&&(P(4),E("href",QFb(),cf))},TFb=function(a){if(a&1){var b=u();F(0,"div",43)(1,"div",146);Q(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");C(3,RFb,2,1,"a",147);H();F(4,"b-field-reorder",148);O("onReload",
function(){v(b);var c=P(3);return x(SFb(c))});H()()}a&2&&(a=P(3),A(3),E("ngIf",a.sessionIsInternal),A(),E("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},UFb=function(a){a&1&&J(0,"b-edit-templates",151);a&2&&(a=P(4),E("componentId",a.componentId)("supportCustomFields",!0))},VFb=function(a){a&1&&(F(0,"div"),Q(1),H());a&2&&(a=P().$implicit,A(),yg(a.description))},WFb=function(a,b){a&1&&(F(0,"div",153)(1,"label"),Q(2),
H(),C(3,VFb,2,1,"div",18),F(4,"div")(5,"a",73),Q(6),H()()());a&2&&(a=b.$implicit,A(2),yg(a.name),A(),E("ngIf",a.description),A(2),E("href",a.url,cf),Nf("aria-label","Click to open the template "+a.name),A(),yg(a.url))},XFb=function(a){a&1&&(K(0),C(1,WFb,7,5,"div",152),L());a&2&&(a=P(4),A(),E("ngForOf",a.templates))},YFb=function(a){a&1&&(F(0,"div",43),C(1,UFb,1,2,"b-edit-templates",150)(2,XFb,2,1,"ng-container",18),H());a&2&&(a=P(3),A(),E("ngIf",a.isEditorInternal),A(),E("ngIf",!a.isEditorInternal))},
$Fb=function(a){if(a&1){var b=u();F(0,"role-based-permissions",154);O("onTabChange",function(c){v(b);var d=P(3).tabsService;d.selectedAccessSubTabIndex=c;ZFb(d);return x()});H()}a&2&&(a=P(3),E("tabIndex",a.tabsService.selectedAccessSubTabIndex))},aGb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",27)(2,"h2");Q(3);H();C(4,UEb,2,0,"span",28);F(5,"a",29);O("click",function(){v(b);var k=P(2);return x(k.trackClick("recentIssues"))});Q(6," (Recent Issues)");H();J(7,"b-component-access-level-indicator",
30)(8,"b-tracker-chip-smart",31);H();F(9,"div",32);J(10,"b-component-breadcrumb",33)(11,"div",34);H();F(12,"mat-tab-group",35);O("selectedIndexChange",function(k){v(b);var q=P(2);return x(q.tabsService.tabChange(k))});F(13,"mat-tab",36);C(14,VEb,1,0,"ng-container",37);H();F(15,"mat-tab",38);C(16,WEb,1,0,"ng-container",37);H();F(17,"mat-tab",39);C(18,XEb,1,0,"ng-container",37);H();F(19,"mat-tab",40);C(20,YEb,1,0,"ng-container",37);H();F(21,"mat-tab",41);C(22,ZEb,1,0,"ng-container",37);H()();C(23,JFb,
65,31,"ng-template",null,3,Mg)(25,PFb,4,7,"ng-template",null,4,Mg)(27,TFb,5,5,"ng-template",null,5,Mg)(29,YFb,3,2,"ng-template",null,6,Mg)(31,$Fb,1,1,"ng-template",null,7,Mg);H()}if(a&2){a=M(24);var c=M(26),d=M(28),e=M(30),f=M(32),h=P(2);A(3);zg(" Component ",h.component.componentId,": ",h.currentName," ");A();E("ngIf",h.isArchived());A();E("routerLinkObj",h.getRecentIssuesLink());A(2);E("accessLevel",h.getComponentAccessLevel());A();E("trackerId",h.component.trackerId);A(2);E("componentPathInfo",
h.component.componentPathInfo)("isArchived",h.isArchived())("label","Parent Component");A(2);E("selectedIndex",h.tabsService.selectedTabIndex);A();E("id",h.tabsService.Tab.BASIC);A();E("ngTemplateOutlet",a);A();E("id",h.tabsService.Tab.CUSTOM_FIELDS)("label",OFb(h)?"Fields":"Custom Fields");A();E("ngTemplateOutlet",c);A();E("id",h.tabsService.Tab.FIELD_ORDERING);A();E("ngTemplateOutlet",d);A();E("id",h.tabsService.Tab.TEMPLATES);A();E("ngTemplateOutlet",e);A();E("id",h.tabsService.Tab.ACCESS);A();
E("ngTemplateOutlet",f)}},bGb=function(a){a&1&&(F(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."),J(3,"br"),F(4,"a",159),Q(5," Learn more "),H()(),F(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 "),J(8,"br"),Q(9," so they can be scheduled for deletion. "),F(10,"a",160),Q(11," Learn more "),H()()());a&2&&(P(3),A(4),
E("href","http://go/archived-components",cf),A(6),E("href",Wr(),cf))},cGb=function(a){a&1&&(F(0,"span")(1,"p"),Q(2," Unarchiving a component will NOT cause its subcomponents to be unarchived."),J(3,"br"),Q(4," If you need to recursively unarchive subcomponents please use the buganizer_admin tool. "),F(5,"a",161),Q(6," Learn more "),H()()());a&2&&(P(3),A(5),E("href","http://go/buganizer-admin",cf))},dGb=function(a,b){a&1&&(F(0,"span")(1,"span"),Q(2),H(),F(3,"span"),Q(4," : "),F(5,"b"),Q(6),H()(),J(7,
"br"),H());a&2&&(a=b.$implicit,b=P(4),A(2),yg(a.componentPath),A(),Wf("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays),A(3),yg(b.getRetentionPeriod(a)))},eGb=function(a){a&1&&(F(0,"span"),C(1,dGb,8,4,"span",162),H());a&2&&(a=P(3),A(),E("ngForOf",a.descendants))},fGb=function(a){a&1&&(F(0,"span")(1,"span"),Q(2),H()());a&2&&(a=P(3),A(2),yg(a.descendants[0].componentPath))},gGb=function(a){if(a&1){var b=u();F(0,"h2",155);Q(1);H();F(2,"mat-dialog-content");C(3,bGb,12,2,"span",18)(4,
cGb,7,1,"span",18);F(5,"p");Q(6," The following components will be affected: ");H();F(7,"div",156);C(8,eGb,2,1,"span",18)(9,fGb,3,1,"span",18);H()();F(10,"mat-dialog-actions")(11,"button",157);O("click",function(){v(b);var c=P(2);c.archive();c.isArchiving=!1;return x()});Q(12," Yes ");H();F(13,"button",158);O("click",function(){v(b);P(2).isArchiving=!1;return x()});Q(14," No ");H()()}a&2&&(a=P(2),A(),yg(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+
'"'+(a.archiveAction==="Archive"?" and its subcomponents?":"?"):""),A(2),E("ngIf",a.archiveAction==="Archive"),A(),E("ngIf",a.archiveAction==="Unarchive"),A(4),E("ngIf",a.archiveAction==="Archive"),A(),E("ngIf",a.archiveAction==="Unarchive"))},hGb=function(a){if(a&1){var b=u();K(0);F(1,"div",13)(2,"div",14)(3,"div",15)(4,"b-button",16);O("onAction",function(){v(b);var c=P();return x(c.back())});J(5,"b-icon",17);H();C(6,SEb,5,3,"ng-container",18);H()()();F(7,"div",19);C(8,TEb,2,0,"div",20)(9,aGb,33,
21,"div",18);H();C(10,gGb,15,5,"ng-template",null,1,Mg);L()}a&2&&(a=P(),A(6),E("ngIf",a.component),A(2),E("ngIf",a.isLoading),A(),E("ngIf",!a.isLoading&&a.component&&a.component.componentId))},iGb=function(a){a&1&&(F(0,"div",163),J(1,"b-tracker-redirect",164),H());a&2&&(a=P(),A(),E("component",a.component))},jGb=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}},kGb=
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}},lGb=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},mGb=function(a,b){a&1&&(F(0,"div",
45),J(1,"b-team-breadcrumb",46),H());a&2&&(a=b.ngIf,A(),E("teamPath",a))},nGb=function(a,b){a&1&&(K(0),Q(1),L());a&2&&(a=b.ngIf,A(),yg(a.trim()))},oGb=function(a){a&1&&Q(0," No description ")},pGb=function(a,b){a&1&&(K(0),J(1,"b-multi-user-input",47),L());a&2&&(a=b.ngIf,A(),E("users",a),Nf("disabled",!0))},qGb=function(a){a&1&&(K(0),F(1,"p"),Q(2,"No child teams"),H(),L())},rGb=function(a,b){a&1&&(K(0),J(1,"br"),F(2,"a",49),Q(3),H(),L());a&2&&(a=b.$implicit,A(2),kg("routerLink","/teams/",a.id,"/edit"),
A(),yg(a.name))},sGb=function(a){a&1&&C(0,rGb,4,3,"ng-container",48);a&2&&(a=P().ngIf,E("ngForOf",a))},tGb=function(a,b){a&1&&(K(0),C(1,qGb,3,0,"ng-container",24)(2,sGb,1,1,"ng-template",null,2,Mg),L());a&2&&(a=b.ngIf,b=M(3),A(),E("ngIf",a.length===0)("ngIfElse",b))},uGb=function(a){a&1&&(F(0,"a",52),Q(1),H());if(a&2){var b;a=P().ngIf;E("routerLinkObj",a.link);A();R(" ",(b=a.slo==null?null:a.slo.name)!==null&&b!==void 0?b:a.id," ")}},vGb=function(a){a&1&&Q(0," None ")},wGb=function(a,b){a&1&&(F(0,
"div",50),Q(1," Inherited SLO Policy: "),C(2,uGb,2,2,"a",51)(3,vGb,1,0,"ng-template",null,3,Mg),H());a&2&&(a=b.ngIf,b=M(4),A(2),E("ngIf",a.link)("ngIfElse",b))},xGb=function(a,b){a&1&&(F(0,"a",53),Q(1),H());a&2&&(a=b.ngIf,E("routerLinkObj",a.link),A(),R(" ",a.name," "))},yGb=function(a){a&1&&Q(0," None ")},zGb=function(a){a&1&&(K(0),J(1,"mat-icon",54),Q(2," on "),L())},AGb=function(a){a&1&&(J(0,"mat-icon",55),Q(1," off "))},BGb=function(a){a&1&&(K(0),Q(1," Lock: "),C(2,zGb,3,0,"ng-container",24)(3,
AGb,2,0,"ng-template",null,4,Mg),L());if(a&2){a=M(4);var b=P(2);A(2);E("ngIf",b.originalSloLock)("ngIfElse",a)}},CGb=function(a){if(a&1){var b=u();F(0,"div",57)(1,"mat-checkbox",58);O("change",function(c){v(b);var d=P(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return x()});F(2,"span");Q(3,"Override the inherited SLO");H()()()}a&2&&(a=P(3),A(),E("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},DGb=function(a){if(a&1){var b=u();F(0,"div",
63)(1,"label",64);Q(2," Justification to override the org SLO ");H();J(3,"mat-icon",65);F(4,"textarea",66);T(5,"async");O("ngModelChange",function(c){v(b);var d=P(4);return x(d.sloJustification$.next(c))});H()()}a&2&&(a=P(4),A(3),E("matTooltip",a.justificationRequiredText),Nf("aria-label",a.justificationRequiredText),A(),E("ngModel",U(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},EGb=function(a,b){a&1&&(F(0,"a",67),T(1,"async"),J(2,"mat-icon",15),H());a&2&&(a=b.ngIf,b=P(4),lg("target",
U(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),E("routerLinkObj",a))},FGb=function(a){if(a&1){var b=u();K(0);C(1,DGb,6,6,"div",59);F(2,"div",20)(3,"mat-slide-toggle",60);Cg("ngModelChange",function(d){v(b);var e=P(3);Bg(e.enableSloChecked,d)||(e.enableSloChecked=d);return x(d)});O("change",function(d){v(b);var e=P(3);return x(e.enableSloChecked=d.checked)});Q(4," Enable SLO ");H();F(5,"slo-picker",61);O("onSloSelect",function(d){v(b);var e=P(3);return x(e.onSloChange(d))});H();C(6,EGb,3,4,"a",62);
T(7,"async");H();L()}if(a&2){a=P().ngIf;var c=P(2);A();E("ngIf",!a.value);A(2);Wf("indented",!a.value);Ag("ngModel",c.enableSloChecked);E("disabled",!c.hasEditAccess);A(2);E("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");A();E("ngIf",U(7,9,c.sloPickerLink$))}},GGb=function(a,b){a&1&&(K(0),C(1,CGb,4,2,"div",56)(2,FGb,8,11,"ng-container",12),L());a&2&&(a=b.ngIf,b=P(2),A(),
E("ngIf",!a.value),A(),E("ngIf",!b.isSloInheritEnabled))},HGb=function(a){if(a&1){var b=u();F(0,"div",20)(1,"mat-checkbox",68);O("change",function(c){v(b);var d=P(2);return x(d.sloLocked=c.checked)});F(2,"span");Q(3,"Lock for all child teams");H()()()}a&2&&(a=P(2),A(),E("checked",a.sloLocked)("disabled",!a.canEditSloLock))},KGb=function(a){if(a&1){var b=u();F(0,"div",69)(1,"div",70)(2,"button",71);T(3,"async");O("click",function(){v(b);var c=P().ngIf,d=P();return x(IGb(d,c))});Q(4," Update ");H();
F(5,"button",72);T(6,"async");O("click",function(){v(b);var c=P(2);return x(JGb(c))});Q(7," Revert changes ");H()()()}a&2&&(a=P(2),A(2),E("disabled",!U(3,2,a.hasUnsavedChanges$)),A(3),E("disabled",!U(6,4,a.hasUnsavedChanges$)))},LGb=function(a){a&1&&(K(0),F(1,"p"),Q(2,"No mapped components"),H(),L())},MGb=function(a,b){a&1&&(F(0,"ul")(1,"li")(2,"a",49),Q(3),H()()());a&2&&(a=b.$implicit,A(2),kg("routerLink","/components/",a.componentId,"/edit"),A(),R(" ",a.name," "))},NGb=function(a){a&1&&(C(0,MGb,
4,3,"ul",48),T(1,"async"));a&2&&(a=P(3),E("ngForOf",U(1,1,a.associatedComponents$)))},OGb=function(a,b){a&1&&(K(0),C(1,LGb,3,0,"ng-container",24)(2,NGb,2,3,"ng-template",null,5,Mg),L());a&2&&(a=b.ngIf,b=M(3),A(),E("ngIf",a.length===0)("ngIfElse",b))},QGb=function(a){if(a&1){var b=u();F(0,"mat-tab",73)(1,"div",19)(2,"div",74)(3,"label",75)(4,"span",22);Q(5,"Triage search scope");H()();F(6,"input",76);Cg("ngModelChange",function(c){v(b);var d=P(2);Bg(d.teamExperiments.triage.scope,c)||(d.teamExperiments.triage.scope=
c);return x(c)});H()();F(7,"div",69)(8,"div",70)(9,"button",77);O("click",function(){v(b);var c=P(2);return x(PGb(c))});Q(10," Update ");H()()()()()}a&2&&(a=P(2),E("id",a.Tab.TRIAGE),A(6),Ag("ngModel",a.teamExperiments.triage.scope))},UGb=function(a,b){if(a&1){var c=u();K(0);F(1,"div",13)(2,"h2");Q(3);F(4,"a",14);Q(5);J(6,"mat-icon",15);H()()();C(7,mGb,2,1,"div",16);T(8,"async");F(9,"mat-tab-group",17);Cg("selectedIndexChange",function(f){v(c);var h=P();Bg(h.selectedTabIndex,f)||(h.selectedTabIndex=
f);return x(f)});O("selectedIndexChange",function(f){v(c);var h=P();return x(h.tabChange(f))});F(10,"mat-tab",18)(11,"div",19);Q(12," Team information on this page comes from ");F(13,"a",14);Q(14," Team Graph ");J(15,"mat-icon",15);H();Q(16," and is view only. ");F(17,"div",20)(18,"div",21)(19,"label")(20,"span",22);Q(21,"Description");H()();F(22,"div",23);C(23,nGb,2,1,"ng-container",24)(24,oGb,1,0,"ng-template",null,0,Mg);H()()();F(26,"div",20)(27,"div",25)(28,"label",26)(29,"span",22);Q(30," Team admins ");
H();F(31,"span",27)(32,"div",28);Q(33," Team admins are team leads from Team Graph. ");F(34,"div",29);J(35,"div",30)(36,"div",31);H()()()();C(37,pGb,2,2,"ng-container",12);T(38,"async");H()();F(39,"div",20)(40,"div",21)(41,"label")(42,"span",22);Q(43,"Child team(s)");H()();C(44,tGb,4,2,"ng-container",12);T(45,"async");H()()()();F(46,"mat-tab",32)(47,"div",19)(48,"div",25)(49,"label",26)(50,"span",22);Q(51,"SLO configuration");H()();F(52,"span",27)(53,"div",33)(54,"strong");Q(55,"Careful!");H();Q(56,
" 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. ");F(57,"div",29);J(58,"div",30)(59,"div",31);H()()()();F(60,"div",34);C(61,wGb,5,2,"div",35);T(62,"async");F(63,"div",36);Q(64," Policy Source: ");C(65,xGb,2,2,"a",37);T(66,"async");C(67,yGb,1,0,"ng-template",null,1,Mg);H();F(69,"div",38);C(70,BGb,5,2,"ng-container",12);H()();J(71,"b-error-banner",39);C(72,GGb,3,2,"ng-container",12);T(73,"async");
C(74,HGb,4,2,"div",40);F(75,"div",20)(76,"div",25)(77,"label",26)(78,"span",22);Q(79," SLO lead ");H()();F(80,"span",27)(81,"div",28);Q(82," Single team lead receiving SLO reports of unassigned issues. ");F(83,"div",29);J(84,"div",30)(85,"div",31);H()()()();F(86,"div");K(87);F(88,"b-multi-user-input",41);O("usersChange",function(f){v(c);var h=P();f.length>1||(h.sloLead=f.length===1?f[0]:"");return x()})("isValid",function(f){v(c);var h=P();return x(h.isSloLeadValid=f)});H();L();H()();C(89,KGb,8,6,
"div",42);H()();F(90,"mat-tab",43)(91,"div",19)(92,"div",20)(93,"div",21)(94,"label")(95,"span",22);Q(96," Component(s) that have mapped to this team ");H()()();C(97,OGb,4,2,"ng-container",12);T(98,"async");H()()();C(99,QGb,11,2,"mat-tab",44);H();L()}if(a&2){a=b.ngIf;b=M(25);var d=M(68),e=P();A(3);R(" Team ",a.teamId,": ");A();kg("href","https://moma.corp.google.com/team/",a.teamId,"",cf);A();R(" ",a.name," ");A(2);E("ngIf",U(8,30,e.teamPath$));A(2);Ag("selectedIndex",e.selectedTabIndex);A();E("id",
e.Tab.BASIC);A(3);kg("href","https://moma.corp.google.com/team/",a.teamId,"",cf);A(10);E("ngIf",a.description)("ngIfElse",b);A(14);E("ngIf",U(38,32,e.adminsAndLeads$));A(7);E("ngIf",U(45,34,e.childTeams$));A(2);E("id",e.Tab.SLO);A(15);E("ngIf",U(62,36,e.inheritedSlo$));A(4);E("ngIf",U(66,38,e.sloPolicySource$))("ngIfElse",d);A(5);E("ngIf",e.enableSloLockingUi);A();E("error",e.error);A();E("ngIf",Hg(44,RGb,U(73,40,e.isRootTeam$)));A(2);E("ngIf",e.enableSloLockingUi);A(14);E("users",e.sloLead?Hg(46,
SGb,e.sloLead):Gg(48,TGb))("customValidators",e.sloLeadUserValidators)("detailedUserValidators",e.sloLeadGooglerValidators)("maxUserAllowed",1);Nf("disabled",e.hasEditAccess?null:!0);A();E("ngIf",e.hasEditAccess);A();E("id",e.Tab.MAPPINGS);A(7);E("ngIf",U(98,42,e.associatedComponents$));A(2);E("ngIf",e.enableTeamScope)}},$Gb=function(a,b){return a.results.map(function(c){var d=c.task,e=VGb(c.signals,b);if(d&&e){var f,h,k,q,t=d.taskId,w=d.taskResourceType,y=d.title,D=WGb(e);c=XGb(c,e);if(d.issueResource){var G=
d.issueResource.priority;G=G==="P0"||G==="P1"?G:null}else G=null;return{id:t,type:w,description:y,lastAlertTimestamp:D,signals:c,link:d.externalLink,icon:aCa(d),priority:G,accessLevel:(k=(f=d.issueResource)==null?void 0:f.accessLevel)!=null?k:null,hotlistIds:d.issueResource?d.issueResource.hotlistIds:[],issueId:xFa(d.taskId).length===1?xFa(d.taskId)[0]:null,futureAvailability:YGb(e),reviewEstimate:ZGb(e),lastMentionLink:((h=d.driveResource)==null?0:h.lastMentionLink)&&d.driveResource.lastMentionLink!==
""?d.driveResource.lastMentionLink:void 0,isStaleTask:(q=d.isStaleTask)!=null?q:!1}}}).filter(Gi)},VGb=function(a,b){return a.filter(function(c){return c.signalStatus===b})},XGb=function(a,b){return aHb(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})},aHb=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"})},WGb=function(a){return a.sort(function(b,c){var d,e;return((d=Pi(c.timestamp))!=null?
d:0)-((e=Pi(b.timestamp))!=null?e:0)})[0].timestamp},Zr=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}},bHb=function(a){var b=a[0],c=
Zr(b);a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,Zr(d)<c&&(b=d,c=Zr(b));return b},YGb=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(Gi)},ZGb=function(a){return a.map(function(b){var c;return(c=b.changelistAlert)==null?void 0:c.reviewEstimate}).find(Gi)},cHb=function(a){if(a&1){var b=u();F(0,"a",5);O("click",function(){v(b);P(2).analytics.trackEvent("mentionsCard","navigate","comment");
return x()});Q(1," a comment ");H()}a&2&&(a=P(2),E("href",a.lastMentionLink,cf))},dHb=function(a){a&1&&Q(0," a comment ")},eHb=function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"span"),J(3,"b-user-display",2),Q(4," mentioned you in "),C(5,cHb,2,1,"a",3)(6,dHb,1,0),H(),F(7,"span"),J(8,"b-formatted-date-time",4),H()(),F(9,"div"),Q(10),H()());a&2&&(a=P(),A(3),E("model",{emailAddress:b.authorDisplayName}),A(2),$f(a.lastMentionLink?5:6),A(3),E("timestamp",b.lastModifiedTimestamp),A(2),yg(b.content))},fHb=
function(a,b){if(a&1){var c=u();F(0,"a",8);O("click",function(){v(c);P(4).analytics.trackEvent("mentionsCard","navigate","commentNumber");return x()});Q(1);H()}a&2&&(a=b.ngIf,b=P(4),E("routerLinkObj",b.getCommentNumberLink(b.issueId,a)),A(),R(" comment #",a," "))},hHb=function(a){if(a&1){var b=u();F(0,"div",11)(1,"span",12);Q(2," Was this 'Needs Response' alert accurate? ");H();F(3,"button",13);O("click",function(){v(b);var c=P(5);return x(c.trackThumbsUp())});J(4,"mat-icon",14);H();F(5,"button",
15);O("click",function(){v(b);var c=P(5);return x(c.trackThumbsDown())});J(6,"mat-icon",16);H()()}a&2&&(a=P(5),A(3),E("disabled",a.hasReacted),A(),E("ngClass",Hg(4,gHb,a.thumbsUpClicked)),A(),E("disabled",a.hasReacted),A(),E("ngClass",Hg(6,gHb,a.thumbsDownClicked)))},iHb=function(a,b){a&1&&(F(0,"div"),J(1,"b-note-container",9),C(2,hHb,7,8,"div",10),H());if(a&2){a=b.ngIf;b=P(2).$implicit;var c=P(2);A();E("issueId",c.issueId)("note",a)("formattingMode",b.formattingMode);A();E("ngIf",c.needsResponse&&
!b.commentRedacted)}},kHb=function(a){a&1&&(F(0,"div",2)(1,"div",3)(2,"span",4),J(3,"b-user-display",5),F(4,"span"),Q(5," mentioned you in "),C(6,fHb,2,2,"a",6),H()(),F(7,"span"),J(8,"b-formatted-date-time",7),H()(),C(9,iHb,3,4,"div",0),H());if(a&2){var b=P();a=b.$implicit;var c=b.$index;b=b.$count;P(2);E("ngClass",Hg(5,jHb,c!==b-1));A(3);E("model",a.lastCommentEditorUser);A(3);E("ngIf",a.commentNumber);A(2);E("timestamp",a.commentLastModifiedAtDate);A();if(a.unlinkifiedComment){var d;c={commentNumber:(d=
a.commentNumber)!=null?d: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 c=null;E("ngIf",c)}},lHb=function(a,b){a&1&&C(0,kHb,10,7,"div",2);a&2&&$f(b.$implicit.unlinkifiedComment!=null?0:-1)},nHb=function(a,b){a&1&&(K(0),F(1,"div",1),bg(2,lHb,1,1,null,null,mHb),F(4,"div"),dg(5),H()(),L());a&2&&(a=b.ngIf,A(2),cg(a))},oHb=function(a){return a===
void 0||a===null?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},pHb=function(a){a&1&&dg(0)},rHb=function(a){a&1&&C(0,pHb,1,0,"ng-container",5);if(a&2){a=P().$implicit;P(2);var b=M(3);E("ngTemplateOutlet",b)("ngTemplateOutletContext",Hg(2,qHb,a))}},sHb=function(a,b){a&1&&C(0,rHb,1,4,"ng-container");a&2&&(a=b.$implicit,b=P(2),$f(b.SIGNAL_TO_DISPLAY_TEXT.has(a.type)?0:-1))},uHb=function(a){a&1&&(F(0,"div",4),bg(1,sHb,1,1,null,null,tHb),H());a&2&&(a=P(),A(),cg(a.signals))},vHb=function(a){a&
1&&dg(0)},xHb=function(a,b){a&1&&(F(0,"div",6),C(1,vHb,1,0,"ng-container",5),F(2,"div",7),Q(3),H()());if(a&2){a=P(2);var c=M(3);A();E("ngTemplateOutlet",c)("ngTemplateOutletContext",Hg(4,qHb,b));A();E("matTooltip",wHb(a.signals,b));A();R(" and ",a.signals.length-1," more ")}},yHb=function(a){a&1&&C(0,xHb,4,6,"div",6);if(a&2){var b;a=P();$f((b=a.getHighestPrioritySignal(a.signals))?0:-1,b)}},CHb=function(a,b){if(a&1){var c=u();F(0,"div",11,2);O("mouseenter",function(){var f=v(c).xapLet,h=M(1);return x(f?
h.disabled=!0:null)})("mouseleave",function(){var f=v(c).xapLet,h=M(1);return x(f?h.disabled=!1:null)});Q(2);H()}if(a&2){a=b.xapLet;b=P().signal;var d=M(2),e=P();Zf("signal-chip type-button urgent-",e.getSignalUrgency(b),"");Wf("keep-focus-ring",a);E("onedevHovercardActive",a)("onedevHovercardTrigger",d)("matTooltip",zHb(e,b)||AHb(b)?'Press "Alt/Option + Right Arrow Key" to show comment':BHb.get(b.type));Nf("tabindex",a?"0":"-1");A(2);R(" ",e.SIGNAL_TO_DISPLAY_TEXT.get(b.type)," ")}},EHb=function(a){a&
1&&J(0,"mentioned-issue-comments-card",9,3);if(a&2){var b;a=M(1);var c=P(2).signal,d=P();E("onedevIsHovercardReady",a.contentReady$)("issueId",d.issueId)("commentNumbers",(b=c.commentNumbers)!==null&&b!==void 0?b:Gg(4,DHb))("needsResponse",c.type==="MENTIONED_NEEDS_RESPONSE")}},FHb=function(a){a&1&&C(0,EHb,2,5,"mentioned-issue-comments-card",12)},GHb=function(a){a&1&&J(0,"mentioned-drive-comments-card",10,3);if(a&2){a=M(1);var b=P(2).signal;E("onedevIsHovercardReady",a.contentReady$)("fileId",b.driveFileId)("commentId",
b.driveCommentId)("lastMentionLink",b.driveCommentLink)}},HHb=function(a){a&1&&C(0,GHb,2,4,"mentioned-drive-comments-card",13)},IHb=function(a,b){a&1&&(C(0,CHb,3,10,"div",8),F(1,"onedev-hovercard",null,1),C(3,FHb,1,0,"mentioned-issue-comments-card",9)(4,HHb,1,0,"mentioned-drive-comments-card",10),H());a&2&&(a=b.signal,b=P(),E("xapLet",zHb(b,a)||AHb(a)),A(3),$f(zHb(b,a)?3:-1),A(),$f(AHb(a)?4:-1))},JHb=function(a,b){a&1&&(F(0,"mat-chip-option",3)(1,"span",4),Q(2),H()());if(a&2){a=b.$implicit;b=P().$implicit;
var c=P();E("value",b)("selected",c.selectedSources.includes(b));A();E("matTooltip",a.tooltipText);A();R(" ",a.displayName," ")}},KHb=function(a,b){a&1&&(K(0),C(1,JHb,3,4,"mat-chip-option",2),L());a&2&&(a=b.$implicit,b=P(),A(),E("ngIf",b.DEFINITIONS[a]))},LHb=function(a,b){if(a&1){var c=u();F(0,"button",7);O("click",function(){var d=v(c).$implicit,e=P();d=d.numberOfDays;e.selectedTimeBoundary=d;e.change.emit(d);return x()});Q(1);H()}a&2&&(a=b.$implicit,b=P(),E("disabled",a.numberOfDays===b.selectedTimeBoundary),
A(),R(" ",a.label," "))},MHb=function(a){if(a&1){var b=u();K(0);F(1,"div",1)(2,"span",2)(3,"a",3);O("click",function(){v(b);P().onChipClicked.emit();return x()});Q(4,"DMA");H()()();L()}a&2&&(a=P(),A(),E("matTooltip",a.DMA_TOOLTIP_TEXT))},NHb=function(a){a&1&&(F(0,"label",10),Q(1),H());a&2&&(a=P().$implicit,E("matTooltip",a.description),A(),yg(a.label))},OHb=function(a){a&1&&(F(0,"mat-tab"),C(1,NHb,2,2,"ng-template",9),H())},PHb=function(a){if(a&1){var b=u();F(0,"mat-tab-group",7);O("selectedIndexChange",
function(c){v(b);var d=P();return x(d.onTabIndexChange(c))});C(1,OHb,2,0,"mat-tab",8);H()}a&2&&(a=P(),E("selectedIndex",0),A(),E("ngForOf",a.tabData))},QHb=function(a,b){if(a&1){var c=u();K(0);F(1,"source-filter-chips",11);O("change",function(d){v(c);var e=P().missionControlPrefs;d=d.map(sRa);e.prefs.needsAttentionSources=d;Yp(e,{needsAttentionSources:d,isNeedsAttentionSourcesConfigured:!0});return x()});H();L()}a&2&&(a=b.ngIf,b=P(),A(),E("sourceFilterKeys",b.ALL_NEEDS_ATTENTION_SOURCE_FILTERS)("selectedSources",
a))},RHb=function(a,b){if(a&1){var c=u();K(0);F(1,"time-boundary-filter",12);O("change",function(d){v(c);var e=P().missionControlPrefs;e.prefs.needsAttentionDaysOld=d;Yp(e,{needsAttentionDaysOld:d});return x()});H();L()}a&2&&(a=b.ngIf,A(),E("selectedTimeBoundary",a))},SHb=function(a){a&1&&(F(0,"p",14),Q(1," No alerts "),H())},UHb=function(a){if(a&1){var b=u();F(0,"th",31)(1,"mat-checkbox",32);O("change",function(d){v(b);var e=P(2).$implicit,f=P(2);return x(d?THb(f,e):null)});H()()}if(a&2){a=P(2).$implicit;
var c=P(2);A();E("checked",c.selection.hasValue()&&c.selection.selected.length===a.length)("indeterminate",c.selection.hasValue()&&c.selection.selected.length!==a.length)}},VHb=function(a,b){if(a&1){var c=u();F(0,"td",33)(1,"mat-checkbox",34);O("click",function(d){v(c);return x(d.stopPropagation())})("change",function(d){var e=v(c).$implicit,f=P(4);return x(d?f.selection.toggle(e.id):null)});H()()}a&2&&(a=b.$implicit,b=P(4),A(),E("checked",b.selection.isSelected(a.id)))},WHb=function(a){a&1&&(F(0,
"th",31),Q(1),H());a&2&&(a=P(4),A(),yg(a.selection.hasValue()?"":"Type"))},XHb=function(a,b){a&1&&(F(0,"td",33),J(1,"mat-icon",35),H());a&2&&(a=b.$implicit,A(),Zf("product-icon ",a.icon,""),E("matTooltip",a.type)("svgIcon",a.icon))},YHb=function(a){a&1&&(F(0,"span"),Q(1,"Description"),H())},$Hb=function(a){if(a&1){var b=u();F(0,"button",37);O("click",function(){v(b);var c=P(5);return x(ZHb(c))});Q(1);H()}a&2&&(a=P(5),A(),yg(ho(a.signalStatusFilter$)===0?"Dismiss":"Un-dismiss"))},aIb=function(a){a&
1&&(F(0,"th",31),C(1,YHb,2,0,"span",5)(2,$Hb,2,1,"button",36),H());a&2&&(a=P(4),A(),E("ngIf",!a.selection.hasValue()),A(),E("ngIf",a.selection.hasValue()))},bIb=function(a){a&1&&J(0,"b-issue-visibility-chip",40);if(a&2){a=P(2).$implicit;var b=P(4);E("issueId",b.extractLastDigits(a.id))}},cIb=function(a){a&1&&J(0,"b-component-access-level-indicator",41);a&2&&(a=P(2).$implicit,E("accessLevel",a.accessLevel)("compactMode",!0))},dIb=function(a){if(a&1){var b=u();F(0,"div",48);O("click",function(){v(b);
P(2);P(4).analytics.trackEvent("missionControl","click","stalenessChip-{{row.type}}");return x()});Q(1," Slow reply ");H()}},eIb=function(a){a&1&&(F(0,"div",49),T(1,"futureAvailability"),J(2,"mat-icon",50),H());a&2&&(a=P(2).$implicit,E("matTooltip",U(1,1,a.futureAvailability)))},fIb=function(a){a&1&&(F(0,"div",51),Q(1),T(2,"number"),H());a&2&&(a=P(2).$implicit,A(),R(" <",Kg(2,1,a.reviewEstimate.seconds/60,"1.0-0"),"m "))},gIb=function(a){a&1&&J(0,"b-issue-priority-display",52);a&2&&(a=P(2).$implicit,
E("issuePriority",a.priority))},hIb=function(a){if(a&1){var b=u();F(0,"div",39);C(1,bIb,1,1,"b-issue-visibility-chip",40)(2,cIb,1,2,"b-component-access-level-indicator",41)(3,dIb,2,0,"div",42)(4,eIb,3,3,"div",43)(5,fIb,3,4,"div",44)(6,gIb,1,1,"b-issue-priority-display",45);F(7,"a",46);O("auxclick",function(){v(b);var d=P().$implicit,e=P(2).$implicit,f=P(2);return x(f.sendClickAnalytics(d,e.slice(0,f.numDisplayedRows)))});Q(8);H();F(9,"onedev-dma-chip",47);O("onChipClicked",function(){v(b);var d=P(5);
return x(d.sendDmaAnalytics())});H()()}if(a&2){a=P().$implicit;var c=P(4);A();$f(c.enableNewVisibilityChips&&a.type===c.TaskResourceType.ISSUE?1:2);A(2);E("ngIf",c.enableStaleTasks&&a.isStaleTask);A();E("ngIf",c.hasFutureAvailability(a));A();E("ngIf",a.reviewEstimate&&a.reviewEstimate.seconds>=60);A();E("ngIf",a.priority);A();E("href",a.type==="ISSUE"?"/issues/"+a.issueId:a.lastMentionLink?a.lastMentionLink:a.link,cf);Nf("target",a.type!==c.TaskResourceType.ISSUE?"_blank":null);A();R(" ",a.description,
" ");A();E("hotlistIds",a.hotlistIds)}},iIb=function(a){a&1&&(F(0,"span",53),Q(1,"No access to linked file"),H())},jIb=function(a,b){a&1&&(F(0,"td",33),C(1,hIb,10,9,"div",38)(2,iIb,2,0,"ng-template",null,1,Mg),H());a&2&&(a=b.$implicit,b=M(3),A(),E("ngIf",a.description&&a.description!=="")("ngIfElse",b))},kIb=function(a){a&1&&(F(0,"th",31),Q(1),H());a&2&&(a=P(4),A(),yg(a.selection.hasValue()?"":"Most recent alert"))},lIb=function(a){a&1&&J(0,"b-formatted-date-time",55);a&2&&(a=P().$implicit,E("timestamp",
a.lastAlertTimestamp)("paddingLeftPx",0))},mIb=function(a,b){a&1&&(F(0,"td",33),C(1,lIb,1,2,"b-formatted-date-time",54),H());a&2&&(a=b.$implicit,A(),E("ngIf",a.lastAlertTimestamp))},nIb=function(a){a&1&&(F(0,"th",31),Q(1),H());a&2&&(a=P(4),A(),R(" ",a.selection.hasValue()?"":"Alert"," "))},oIb=function(a,b){a&1&&(F(0,"td",33),J(1,"needs-attention-signals-cell",56),H());a&2&&(a=b.$implicit,A(),E("issueId",a.issueId)("signals",a.signals))},pIb=function(a){a&1&&(F(0,"th",31),Q(1),H());a&2&&(a=P(4),A(),
yg(a.selection.hasValue()?"":"Action"))},qIb=function(a,b){a&1&&(F(0,"td",33)(1,"a",57),Q(2),H()());a&2&&(a=b.$implicit,b=P(4),A(2),R(" ",b.SIGNAL_TO_ACTION_TEXT.get(b.getHighestPrioritySignal(a.signals).type)," "))},rIb=function(a){a&1&&J(0,"td",58)},sIb=function(a,b){if(a&1){var c=u();F(0,"td",33)(1,"button",59);O("click",function(d){var e=v(c).$implicit,f=P(4);d.preventDefault();return x(f.copyIdOrLink(e))});J(2,"mat-icon",60);H()()}a&2&&(a=b.$implicit,b=P(4),A(),E("matTooltip",a.type===b.TaskResourceType.ISSUE?
"Copy ID to clipboard":"Copy link to clipboard"),Nf("aria-label",a.type===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"))},tIb=function(a){a&1&&J(0,"td",58)},wIb=function(a){if(a&1){var b=u();F(0,"td",33)(1,"button",61);O("click",function(c){var d=v(b).$implicit,e=P(4);c.preventDefault();return x(uIb(e,d))});J(2,"mat-icon",62);H()()}a&2&&(a=P(4),A(),E("ariaLabel",vIb(a))("matTooltip",vIb(a)))},xIb=function(a){a&1&&J(0,"tr",63)},yIb=function(a){if(a&1){var b=u();F(0,"tr",
64);O("click",function(c){var d=v(b).$implicit,e=P(2).$implicit,f=P(2);return x(f.navigateToResource(c,d,e.slice(0,f.numDisplayedRows)))});H()}},zIb=function(a){a&1&&(F(0,"tr",65)(1,"td",66),Q(2," No alerts found "),H()())},AIb=function(a){a&1&&J(0,"mat-icon",70)},BIb=function(a){a&1&&J(0,"mat-icon",71)},CIb=function(a){if(a&1){var b=u();F(0,"button",67);O("click",function(){v(b);var d=P(2).$implicit,e=P(2);return x(e.setNumDisplayedRows(d))});Q(1);C(2,AIb,1,0,"mat-icon",68)(3,BIb,1,0,"mat-icon",
69);H()}if(a&2){a=P(2).$implicit;var c=P(2);A();R(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");A();E("ngIf",a.length>c.numDisplayedRows);A();E("ngIf",a.length===c.numDisplayedRows)}},DIb=function(a){a&1&&(K(0),F(1,"table",15),K(2,16),C(3,UHb,2,2,"th",17)(4,VHb,2,1,"td",18),L(),K(5,19),C(6,WHb,2,1,"th",17)(7,XHb,2,5,"td",18),L(),K(8,20),C(9,aIb,3,2,"th",17)(10,jIb,4,2,"td",18),L(),K(11,21),C(12,kIb,2,1,"th",17)(13,mIb,2,1,"td",18),L(),K(14,22),C(15,nIb,2,1,"th",17)(16,oIb,2,2,"td",
18),L(),K(17,23),C(18,pIb,2,1,"th",17)(19,qIb,3,1,"td",18),L(),K(20,24),C(21,rIb,1,0,"td",25)(22,sIb,3,2,"td",18),L(),K(23,26),C(24,tIb,1,0,"td",25)(25,wIb,3,2,"td",18),L(),C(26,xIb,1,0,"tr",27)(27,yIb,1,0,"tr",28)(28,zIb,3,0,"tr",29),H(),C(29,CIb,4,3,"button",30),L());if(a&2){a=P().$implicit;var b=P(2);A();E("dataSource",a.slice(0,b.numDisplayedRows));A(25);E("matHeaderRowDef",b.displayedColumns);A();E("matRowDefColumns",b.displayedColumns);A(2);E("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},
EIb=function(a,b){a&1&&(K(0),C(1,SHb,2,0,"p",13)(2,DIb,30,4,"ng-container",5),L());a&2&&(a=b.$implicit,A(),E("ngIf",a.length===0),A(),E("ngIf",a.length>0))},FIb=function(a){a&1&&(K(0),C(1,EIb,3,2,"ng-container",5),T(2,"async"),L());a&2&&(a=P(),A(),E("ngIf",U(2,1,a.allNeedsAttention$)))},GIb=function(a){a&1&&(F(0,"div",72),J(1,"b-spinner",73),H());a&2&&(A(),E("ariaLabel","loading needs attention alerts"))},HIb=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=Oi(a).filter(function(d){return!c.includes(d)}).sort();return[c.join(","),a.join(",")]},IIb=function(a,b){a&1&&(F(0,"div",8)(1,"span",9),Q(2),H()());a&2&&(a=b.ngIf,A(2),yg(a))},JIb=function(a){a&1&&(F(0,"div",10),J(1,"b-needs-attention-table",11),H());a&2&&(a=P(),A(),E("refreshTable",a.refreshData))},KIb=function(a){return{label:"Viewed",description:"Issues you recently viewed",issues:a.watchMany({custom:"viewed",pageSize:50}).pipe(z(function(b){return b.results})),loading:!1}},LIb=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"},MIb=function(a){a&1&&(F(0,"label",16),Q(1),H());a&2&&(a=P().$implicit,E("matTooltip",a.description),A(),yg(a.label))},NIb=function(a,b){if(a&1){var c=u();K(0);F(1,"source-filter-chips",18);O("change",function(d){v(c);var e=P(4).prefsService;d=d.map(sRa);e.prefs.myTasksSources=d;Yp(e,{myTasksSources:d,isMyTasksSourcesConfigured:!0});return x()});H();L()}a&2&&(a=b.ngIf,
b=P(4),A(),E("sourceFilterKeys",b.ALL_MY_TASK_FILTERS)("selectedSources",a))},OIb=function(a,b){if(a&1){var c=u();K(0);F(1,"time-boundary-filter",19);O("change",function(d){v(c);var e=P(4).prefsService;e.prefs.myTasksDaysOld=d;Yp(e,{myTasksDaysOld:d});return x()});H();L()}a&2&&(a=b.ngIf,A(),E("selectedTimeBoundary",a))},PIb=function(a){a&1&&(F(0,"div",14)(1,"span",5),Q(2,"Sources"),H(),C(3,NIb,2,2,"ng-container",17),T(4,"async"),C(5,OIb,2,1,"ng-container",17),T(6,"async"),H());a&2&&(a=P(3),A(3),E("ngIf",
U(4,2,a.sources$)),A(2),E("ngIf",U(6,4,a.timeBoundary$)))},QIb=function(a,b){a&1&&J(0,"b-issues-table",20);a&2&&(a=P(4),E("issueIds",a.getIds(b))("tableColumns",a.tableColumns)("options",a.tableOptions))},RIb=function(a,b){a&1&&(K(0),F(1,"p",21),Q(2),H(),L());a&2&&(a=b.ngIf,A(2),R(" ",a.length===0?"Enable source filters to see tasks":"No tasks"," "))},SIb=function(a){a&1&&(K(0),C(1,RIb,3,1,"ng-container",17),T(2,"async"),L());a&2&&(a=P(5),A(),E("ngIf",U(2,1,a.sources$)))},TIb=function(a){a&1&&(F(0,
"th",38),Q(1,"Type"),H())},UIb=function(a,b){a&1&&(F(0,"td",39),J(1,"mat-icon",40),H());a&2&&(a=b.$implicit,b=P(6),A(),Zf("product-icon ",b.taskResourceTypeToIcon(a),""),E("matTooltip",a.taskResourceType)("svgIcon",b.taskResourceTypeToIcon(a)))},VIb=function(a){a&1&&(F(0,"th",38),Q(1,"Description"),H())},WIb=function(a){a&1&&J(0,"b-issue-visibility-chip",45);a&2&&(a=P(3).$implicit,E("issueId",a.issueId)("compactMode",!0))},XIb=function(a){a&1&&C(0,WIb,1,2,"b-issue-visibility-chip",45);a&2&&(a=P(2).$implicit,
$f(a.issueId?0:-1))},YIb=function(a){a&1&&J(0,"b-component-access-level-indicator",41);a&2&&(a=P(3).$implicit,E("accessLevel",a.issueResource.accessLevel)("compactMode",!0))},ZIb=function(a){a&1&&C(0,YIb,1,2,"b-component-access-level-indicator",46);a&2&&(a=P(2).$implicit,E("ngIf",a.issueResource&&a.issueResource.accessLevel))},$Ib=function(a){a&1&&J(0,"b-issue-priority-display",47);a&2&&(a=P(2).$implicit,E("issuePriority",a.issueResource.priority))},aJb=function(a){if(a&1){var b=u();F(0,"onedev-dma-chip",
48);O("onChipClicked",function(){v(b);var c=P(8);return x(c.sendDmaAnalytics())});H()}a&2&&(a=P(2).$implicit,E("hotlistIds",a.issueResource.hotlistIds))},cJb=function(a){if(a&1){var b=u();K(0);C(1,XIb,1,1)(2,ZIb,1,1,"b-component-access-level-indicator",41)(3,$Ib,1,1,"b-issue-priority-display",42);F(4,"a",43);O("auxclick",function(){v(b);var d=P().$implicit,e=P(6);return x(e.sendClickAnalytics(d))});Q(5);H();C(6,aJb,1,1,"onedev-dma-chip",44);L()}if(a&2){a=P().$implicit;var c=P(6);A();$f(c.enableNewVisibilityChips?
1:2);A(2);E("ngIf",a.issueResource&&a.issueResource.priority&&bJb(a.issueResource.priority));A();E("href",a.taskResourceType===c.TaskResourceType.ISSUE?"/issues/"+c.extractLastDigits(a.taskId):a.externalLink,cf);Nf("target",a.taskResourceType!==c.TaskResourceType.ISSUE?"_blank":null);A();yg(a.title);A();E("ngIf",a.issueResource&&a.issueResource.hotlistIds)}},dJb=function(a){a&1&&(F(0,"span",49),Q(1,"No access to linked file"),H())},eJb=function(a,b){a&1&&(F(0,"td",39),C(1,cJb,7,6,"ng-container",15)(2,
dJb,2,0,"ng-template",null,2,Mg),H());a&2&&(a=b.$implicit,b=M(3),A(),E("ngIf",a.title&&a.title!=="")("ngIfElse",b))},fJb=function(a){a&1&&(F(0,"th",38),Q(1,"Last modified"),H())},gJb=function(a){a&1&&J(0,"b-formatted-date-time",51);a&2&&(a=P().$implicit,E("timestamp",a.lastModifiedTimestamp)("paddingLeftPx",0))},hJb=function(a,b){a&1&&(F(0,"td",39),C(1,gJb,1,2,"b-formatted-date-time",50),H());a&2&&(a=b.$implicit,A(),E("ngIf",a.lastModifiedTimestamp))},iJb=function(a){a&1&&(F(0,"th",38),Q(1,"My role"),
H())},jJb=function(a,b){a&1&&(F(0,"td",39),Q(1),H());a&2&&(a=b.$implicit,A(),yg(a.resourceRelationships[0].roleName))},kJb=function(a){a&1&&(F(0,"th",38),Q(1,"Creation date"),H())},lJb=function(a){a&1&&(K(0),J(1,"b-formatted-date-time",51),L());a&2&&(a=P().$implicit,A(),E("timestamp",a.createdTimestamp)("paddingLeftPx",0))},mJb=function(a,b){a&1&&(F(0,"td",39),C(1,lJb,2,2,"ng-container",15),H());a&2&&(a=b.$implicit,P(6),b=M(11),A(),E("ngIf",a.createdTimestamp)("ngIfElse",b))},nJb=function(a){a&1&&
J(0,"td",52)},oJb=function(a,b){if(a&1){var c=u();F(0,"td",39)(1,"button",53);O("click",function(d){var e=v(c).$implicit,f=P(6);d.preventDefault();return x(f.copyIdOrLink(e))});J(2,"mat-icon",54);H()()}a&2&&(a=b.$implicit,b=P(6),A(),E("matTooltip",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"),Nf("aria-label",a.taskResourceType===b.TaskResourceType.ISSUE?"Copy ID to clipboard":"Copy link to clipboard"))},pJb=function(a){a&1&&J(0,"tr",55)},qJb=function(a){if(a&
1){var b=u();F(0,"tr",56);O("click",function(c){var d=v(b).$implicit,e=P(6);return x(e.navigateToResource(c,d))});H()}},rJb=function(a){a&1&&J(0,"mat-icon",62)},sJb=function(a){a&1&&J(0,"mat-icon",63)},tJb=function(a){if(a&1){var b=u();F(0,"button",59);O("click",function(){v(b);var d=P(3).ngIf,e=P(4);return x(e.setNumDisplayedRows(d))});Q(1);C(2,rJb,1,0,"mat-icon",60)(3,sJb,1,0,"mat-icon",61);H()}if(a&2){a=P(3).ngIf;var c=P(4);A();R(" ",a.length>c.numDisplayedRows?"Show more":"Show less"," ");A();
E("ngIf",a.length>c.numDisplayedRows);A();E("ngIf",a.length===c.numDisplayedRows)}},uJb=function(a){a&1&&(F(0,"td",57),C(1,tJb,4,3,"button",58),H());if(a&2){a=P(2).ngIf;var b=P(4);A();E("ngIf",a.length>b.DEFAULT_NUM_ROWS_DISPLAYED)}},vJb=function(a){a&1&&J(0,"tr",64);if(a&2){a=P(2).ngIf;var b=P(4);E("hidden",!(a.length>b.DEFAULT_NUM_ROWS_DISPLAYED))}},wJb=function(a,b){a&1&&(F(0,"td",67),Q(1),H());a&2&&(a=b.ngIf,A(),R(" ",a.length===0?"Enable source filters to see tasks":"No tasks found"," "))},xJb=
function(a){a&1&&(F(0,"tr",65),C(1,wJb,2,1,"td",66),T(2,"async"),H());a&2&&(a=P(6),A(),E("ngIf",U(2,1,a.sources$)))},AJb=function(a){a&1&&(K(0),F(1,"table",22),K(2,23),C(3,TIb,2,0,"th",24)(4,UIb,2,5,"td",25),L(),K(5,26),C(6,VIb,2,0,"th",24)(7,eJb,4,2,"td",25),L(),K(8,27),C(9,fJb,2,0,"th",24)(10,hJb,2,1,"td",25),L(),K(11,28),C(12,iJb,2,0,"th",24)(13,jJb,2,1,"td",25),L(),K(14,29),C(15,kJb,2,0,"th",24)(16,mJb,2,2,"td",25),L(),K(17,30),C(18,nJb,1,0,"td",31)(19,oJb,3,2,"td",25),L(),C(20,pJb,1,0,"tr",32)(21,
qJb,1,0,"tr",33),K(22,34),C(23,uJb,2,1,"td",35),L(),C(24,vJb,1,1,"tr",36)(25,xJb,3,3,"tr",37),H(),L());if(a&2){a=P().ngIf;var b=P(2).$implicit,c=P(2);A();Zf("table-",b.label,"");E("dataSource",a.slice(0,c.numDisplayedRows)||Gg(7,yJb));A(19);E("matHeaderRowDef",c.displayColumns);A();E("matRowDefColumns",c.displayColumns);A(3);E("matFooterRowDef",Gg(8,zJb))}},BJb=function(a,b){a&1&&(K(0),C(1,SIb,3,3,"ng-container",17)(2,AJb,26,9,"ng-container",17),L());a&2&&(a=b.ngIf,A(),E("ngIf",a.length===0),A(),
E("ngIf",a.length>0))},CJb=function(a){a&1&&(K(0),C(1,QIb,1,3,"b-issues-table",20),T(2,"async"),C(3,BJb,3,2,"ng-container",17),T(4,"async"),L());if(a&2){var b;a=P().$implicit;A();$f((b=U(2,2,a.issues))?1:-1,b);A(2);E("ngIf",U(4,4,a.liteTasks))}},DJb=function(a,b){a&1&&(F(0,"mat-tab"),C(1,MIb,2,2,"ng-template",13)(2,PIb,7,6,"div",14)(3,CJb,5,6,"ng-container",15),H());a&2&&(a=b.$implicit,P(2),b=M(9),A(2),$f(a.liteTasks?2:-1),A(),E("ngIf",!a.loading)("ngIfElse",b))},EJb=function(a){if(a&1){var b=u();
F(0,"div",10)(1,"mat-tab-group",11);O("selectedIndexChange",function(c){v(b);var d=P();return x(d.onTabIndexChange(c))});C(2,DJb,4,3,"mat-tab",12);H()()}a&2&&(a=P(),A(),E("selectedIndex",a.INITIAL_TAB_INDEX),A(),E("ngForOf",a.tabData))},FJb=function(a){a&1&&(F(0,"div",68),J(1,"b-spinner",69),H());a&2&&(A(),E("ariaLabel","loading tasks"))},GJb=function(a){a&1&&Q(0,"--")},HJb=function(a,b){return a.lastModifiedTimestamp?b.lastModifiedTimestamp?Pi(b.lastModifiedTimestamp)-Pi(a.lastModifiedTimestamp):
1:-1},IJb=function(a){a&1&&(F(0,"mat-option",26),Q(1),H());a&2&&(a=P().$implicit,E("value",a),A(),R(" ",a.name," "))},JJb=function(a,b){a&1&&(K(0),C(1,IJb,2,2,"mat-option",25),L());a&2&&(a=b.$implicit,A(),E("ngIf",a.shouldDisplay()))},KJb=function(a,b){a&1&&(F(0,"mat-option",29),Q(1),H());a&2&&(a=b.$implicit,E("value",a.id),A(),R(" ",a.name," "))},MJb=function(a){if(a&1){var b=u();F(0,"mat-form-field",5)(1,"mat-select",27);Cg("ngModelChange",function(c){v(b);var d=P();Bg(d.preferredHomepage.selectedOptionId,
c)||(d.preferredHomepage.selectedOptionId=c);return x(c)});O("selectionChange",function(){v(b);var c=P();return x(LJb(c.preferredHomepage))});C(2,KJb,2,2,"mat-option",28);H()()}a&2&&(a=P(),A(),Ag("ngModel",a.preferredHomepage.selectedOptionId),A(),E("ngForOf",a.preferredHomepage.selectedMainOption.options))},NJb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-slide-toggle",30);O("change",function(c){v(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 x()});Q(2,' Show red "attention" badge in left navigation ');H()()}a&2&&(a=P(),A(),E("checked",!a.hideBadgeInNav))},OJb=function(a,b){a&1&&(F(0,"mat-option",31),Q(1),H());a&2&&(a=b.$implicit,E("value",a.value),A(),R(" ",a.label," "))},PJb=function(a,b){a&1&&(F(0,"mat-option",31),Q(1),H());a&2&&(a=b.$implicit,E("value",a.value),A(),R(" ",
a.label," "))},QJb=function(a,b){a&1&&(F(0,"mat-option",31),Q(1),H());a&2&&(a=b.$implicit,E("value",a.value),A(),R(" ",a.label," "))},RJb=function(a){if(a&1){var b=u();F(0,"div",21)(1,"mat-slide-toggle",32);O("change",function(c){v(b);var d=P();c=c.checked;d.userPreferences.showInlineImages=c;d.save("showInlineImages",c.toString());return x()});Q(2," Show SnipIt images inline in comments ");H()()}a&2&&(a=P(),A(),E("checked",a.getShowInlineImages()))},SJb=function(a){if(a&1){var b=u();K(0);F(1,"div",
0)(2,"div",1)(3,"p",2);Q(4,"Other");H()();F(5,"div")(6,"div")(7,"mat-slide-toggle",33);O("change",function(c){v(b);var d=P();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return x(d.save("saveBugScreensaverPreferences"))});Q(8," Enable bug screensaver ");H()()()();L()}a&2&&(a=P(),A(7),E("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},TJb=function(a,b){a&1&&(F(0,"mat-option",20),Q(1),T(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",
a),A(),R(" ",U(2,2,a)," "))},UJb=function(a,b){a&1&&(F(0,"mat-option",20),Q(1),T(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",U(2,2,a)," "))},VJb=function(a,b){a&1&&(F(0,"mat-option",20),Q(1),T(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",U(2,2,a)," "))},WJb=function(a,b){a&1&&(F(0,"mat-option",20),Q(1),T(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",U(2,2,a)," "))},XJb=function(a,b){a&1&&(F(0,"mat-option",20),Q(1),
T(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",U(2,2,a)," "))},YJb=function(a,b){a&1&&(F(0,"mat-option",20),Q(1),T(2,"toNewEmailPreference"),H());a&2&&(a=b.$implicit,E("value",a),A(),R(" ",U(2,2,a)," "))},ZJb=function(a,b){a&1&&(F(0,"mat-option",3),Q(1),H());a&2&&(a=b.$implicit,E("value",a.id),A(),R(" ",a.displayName," "))},$Jb=function(a,b){return a.gmt===b.gmt?a.id>b.id?1:-1:a.gmt>b.gmt?1:-1},aKb=function(a){a&1&&(K(0),J(1,"b-spinner"),L())},bKb=function(a){a&1&&(F(0,
"mat-hint"),Q(1,"This field is read-only"),H())},cKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.frequency),A(),R(" ",a.display," "))},dKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.ordinal),A(),R(" ",a.display," "))},eKb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",15)(2,"mat-label");Q(3," Repeat on ");H();F(4,"mat-select",17);O("ngModelChange",function(d){v(b);var e=P(2).ngIf,f=P(2);$r(f,Object.assign({},
e,{ordinal:d}));return x()});C(5,dKb,2,2,"mat-option",18);H()()()}if(a&2){a=P(2).ngIf;var c=P(2);A(4);E("ngModel",a.ordinal);A();E("ngForOf",c.repeatOnOptions.get(a.frequency))}},fKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.timeOfDay),A(),R(" ~",a.display," "))},gKb=function(a,b){if(a&1){var c=u();K(0);F(1,"div")(2,"mat-form-field",15)(3,"mat-label");Q(4," Repeat at ");H();F(5,"mat-select",22);O("ngModelChange",function(e){v(c);var f=P(2).ngIf,h=P(2);$r(h,
Object.assign({},f,{timeOfDay:e}));return x()});C(6,fKb,2,2,"mat-option",18);H()()();L()}if(a&2){a=b.ngIf;b=P(2).ngIf;var d=P(2);A(5);E("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);A();E("ngForOf",a)}},hKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.value),A(),yg(a.displayText))},jKb=function(a,b){if(a&1){var c=u();F(0,"div",28)(1,"a",29);Q(2);H();F(3,"button",30);O("click",function(){var d=v(c).$implicit,e=P(3).ngIf,f=P(2);return x(iKb(f,e,d))});
J(4,"mat-icon",31);H()()}a&2&&(a=b.$implicit,A(),E("href","/slos/"+a,cf),A(),yg(a),A(),E("matTooltip","Remove SLO ID "+a))},lKb=function(a){if(a&1){var b=u();K(0);F(1,"div")(2,"mat-form-field",23)(3,"mat-label");Q(4,"Days remaining");H();F(5,"input",24);Cg("ngModelChange",function(d){v(b);var e=P(4);Bg(e.inputDaysRemaining,d)||(e.inputDaysRemaining=d);return x(d)});O("blur",function(){v(b);var d=P(2).ngIf,e=P(2);return x(e.setDaysRemaining(d))})("keydown.enter",function(){v(b);var d=P(2).ngIf,e=P(2);
return x(e.setDaysRemaining(d))});H()()();F(6,"div")(7,"mat-form-field",23)(8,"mat-label");Q(9,"Types");H();F(10,"mat-select",25);O("ngModelChange",function(d){v(b);var e=P(2).ngIf,f=P(2);return x(f.setIssueType(d,e))});bg(11,hKb,2,2,"mat-option",21,ag);H()()();F(13,"div",9)(14,"mat-form-field",26)(15,"mat-label");Q(16,"Add SLO ID");H();F(17,"input",27);Cg("ngModelChange",function(d){v(b);var e=P(4);Bg(e.newSloId,d)||(e.newSloId=d);return x(d)});O("keydown.enter",function(){v(b);var d=P(2).ngIf,e=
P(2);return x(kKb(e,d))})("blur",function(){v(b);var d=P(2).ngIf,e=P(2);return x(kKb(e,d))});H()();bg(18,jKb,5,3,"div",28,ag);H();L()}if(a&2){a=P(2).ngIf;var c=P(2);A(5);Ag("ngModel",c.inputDaysRemaining);A(5);E("ngModel",a.types);A();cg(c.typeChoices);A(6);Ag("ngModel",c.newSloId);A();cg(a.sloIds)}},mKb=function(a){a&1&&(F(0,"div",32),Q(1),H());a&2&&(a=P(2).ngIf,A(),R(" Subscription ID: ",a.id," "))},nKb=function(a){if(a&1){var b=u();K(0);F(1,"div")(2,"mat-form-field",15)(3,"mat-label");Q(4," Frequency ");
H();F(5,"mat-select",17);O("ngModelChange",function(d){v(b);var e=P().ngIf,f=P(2);return x(f.setFrequency(d,e))});C(6,cKb,2,2,"mat-option",18);H()()();C(7,eKb,6,2,"div",2)(8,gKb,7,3,"ng-container",2);T(9,"async");F(10,"div")(11,"b-timezone-picker",19);O("timezoneIdChange",function(d){v(b);var e=P().ngIf,f=P(2);return x(f.setTimeZone(d,e))});H()();C(12,lKb,20,3,"ng-container",2)(13,mKb,2,1,"div",20);L()}if(a&2){a=P().ngIf;var c=P(2);A(5);E("ngModel",a.frequency);A();E("ngForOf",c.frequencyOptions);
A();E("ngIf",a.frequency!==c.DAILY);A();E("ngIf",U(9,8,c.repeatAtOptions$));A(3);E("timezoneId",a.timeZone.id)("fullWidth",!0);A();E("ngIf",c.enableSloReportFiltering);A();E("ngIf",a.id)}},pKb=function(a,b){if(a&1){var c=u();K(0);F(1,"div")(2,"div",9)(3,"mat-slide-toggle",14);T(4,"async");O("change",function(){v(c);var d=P(2);return x(oKb(d))});Q(5," Subscribe to your own reports ");C(6,aKb,2,0,"ng-container",2);T(7,"async");H()();F(8,"div")(9,"mat-form-field",15)(10,"mat-label");Q(11,"Scope");H();
F(12,"input",16);O("focus",function(){v(c);var d=P(2);return x(d.inputHasFocus=!0)})("blur",function(){v(c);var d=P(2);return x(d.inputHasFocus=!1)});H();C(13,bKb,2,0,"mat-hint",2);H()();C(14,nKb,14,10,"ng-container",2);H();L()}a&2&&(a=b.ngIf,b=P(2),A(3),E("disabled",U(4,6,b.isThinking$))("checked",a.id!==0),A(3),E("ngIf",U(7,8,b.isThinking$)),A(6),E("ngModel",b.currentUser.email),A(),E("ngIf",b.inputHasFocus),A(),E("ngIf",a.id!==0))},qKb=function(a){a&1&&(K(0),F(1,"div",3)(2,"div",4)(3,"p",5),Q(4,
"Frequency settings"),H(),F(5,"p",11),Q(6," Choose when to receive your own reports. "),F(7,"a",12),Q(8,"Learn more"),H()()(),C(9,pKb,15,10,"ng-container",2),T(10,"async"),H(),J(11,"hr",13),L());a&2&&(a=P(),A(9),E("ngIf",U(10,1,a.userSubscription$)))},rKb=function(a){a&1&&(K(0),J(1,"b-spinner"),L())},sKb=function(a){a&1&&(F(0,"th",41),Q(1,"Scope"),H())},tKb=function(a,b){a&1&&(F(0,"td",42),Q(1),H());a&2&&(a=b.$implicit,A(),R(" ",a.lead.emailAddress," "))},uKb=function(a){a&1&&(F(0,"th",41),Q(1,"Frequency"),
H())},xKb=function(a,b){a&1&&(F(0,"td",42),Q(1),T(2,"async"),T(3,"async"),H());if(a&2){var c;a=b.$implicit;b=P(2);A();Qla(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?a.frequency==="weekly"?"- "+vKb[a.ordinal-1].display:a.frequency==="monthly"?"- "+wKb(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)," ")}},yKb=function(a){a&1&&J(0,"th",41)},AKb=function(a){if(a&1){var b=
u();F(0,"td",42)(1,"button",43);J(2,"mat-icon",44);H();F(3,"mat-menu",null,1)(5,"button",45);O("click",function(){var c=v(b).$implicit,d=P(2);return x(d.openDialog(c))});Q(6," Edit subscription ");H();F(7,"button",46);O("click",function(){var c=v(b).$implicit,d=P(2);return x(zKb(d,c))});Q(8," Delete subscription ");H()()()}a&2&&(a=M(4),A(),E("matMenuTriggerFor",a))},BKb=function(a){a&1&&J(0,"tr",47)},CKb=function(a,b){a&1&&J(0,"tr",48);a&2&&(a=b.$implicit,Nf("aria-label","Subscription with ID "+a.id+
" and scoped to "+a.lead.emailAddress))},DKb=function(a){a&1&&(K(0),F(1,"table",33),K(2,34),C(3,sKb,2,0,"th",35)(4,tKb,2,1,"td",36),L(),K(5,37),C(6,uKb,2,0,"th",35)(7,xKb,4,8,"td",36),L(),K(8,38),C(9,yKb,1,0,"th",35)(10,AKb,9,1,"td",36),L(),C(11,BKb,1,0,"tr",39)(12,CKb,1,1,"tr",40),H(),L());a&2&&(a=P(),A(),E("dataSource",a.subscriptions$),A(10),E("matHeaderRowDef",a.columns),A(),E("matRowDefColumns",a.columns))},EKb=function(a){a&1&&(F(0,"mat-error"),Q(1,"Please select a valid, single user"),H())},
FKb=function(a){a&1&&(F(0,"mat-error"),Q(1,"Report for sundar@ cannot be generated"),H())},GKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.frequency),A(),R(" ",a.display," "))},HKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.ordinal),A(),R(" ",a.display," "))},IKb=function(a){if(a&1){var b=u();F(0,"div")(1,"mat-form-field",15)(2,"mat-label");Q(3," Repeat on ");H();F(4,"mat-select",17);Cg("ngModelChange",function(d){v(b);
var e=P().$implicit;Bg(e.ordinal,d)||(e.ordinal=d);return x(d)});C(5,HKb,2,2,"mat-option",18);H()()()}if(a&2){a=P().$implicit;var c=P();A(4);Ag("ngModel",a.ordinal);A();E("ngForOf",c.repeatOnOptions.get(a.frequency))}},JKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.timeOfDay),A(),R(" ~",a.display," "))},KKb=function(a,b){if(a&1){var c=u();K(0);F(1,"div")(2,"mat-form-field",15)(3,"mat-label");Q(4," Repeat at ");H();F(5,"mat-select",22);Cg("ngModelChange",function(e){v(c);
var f=P().$implicit;Bg(f.timeOfDay,e)||(f.timeOfDay=e);return x(e)});C(6,JKb,2,2,"mat-option",18);H()()();L()}if(a&2){a=b.ngIf;b=P().$implicit;var d=P();A(5);Ag("ngModel",b.timeOfDay);E("compareWith",d.compareTimeOfDay);A();E("ngForOf",a)}},LKb=function(a,b){a&1&&(F(0,"mat-option",21),Q(1),H());a&2&&(a=b.$implicit,E("value",a.value),A(),yg(a.displayText))},NKb=function(a,b){if(a&1){var c=u();F(0,"div",28)(1,"a",29);Q(2);H();F(3,"button",30);O("click",function(){var d=v(c).$implicit,e=P(2).$implicit;
P();return x(MKb(e,d))});J(4,"mat-icon",31);H()()}a&2&&(a=b.$implicit,A(),E("href","/slos/"+a,cf),A(),yg(a),A(),E("matTooltip","Remove SLO ID "+a))},PKb=function(a){if(a&1){var b=u();K(0);F(1,"div")(2,"mat-form-field",15)(3,"mat-label");Q(4,"Days remaining");H();F(5,"input",56);Cg("ngModelChange",function(d){v(b);var e=P().$implicit;Bg(e.daysRemaining,d)||(e.daysRemaining=d);return x(d)});H()()();F(6,"div")(7,"mat-form-field",15)(8,"mat-label");Q(9,"Types");H();F(10,"mat-select",25);Cg("ngModelChange",
function(d){v(b);var e=P().$implicit;Bg(e.types,d)||(e.types=d);return x(d)});bg(11,LKb,2,2,"mat-option",21,ag);H()()();F(13,"div",9)(14,"mat-form-field",57)(15,"mat-label");Q(16,"Add SLO ID");H();F(17,"input",27);Cg("ngModelChange",function(d){v(b);var e=P(2);Bg(e.newSloId,d)||(e.newSloId=d);return x(d)});O("keydown.enter",function(){v(b);var d=P().$implicit,e=P();return x(OKb(e,d))})("blur",function(){v(b);var d=P().$implicit,e=P();return x(OKb(e,d))});H()();bg(18,NKb,5,3,"div",28,ag);H();L()}if(a&
2){a=P().$implicit;var c=P();A(5);Ag("ngModel",a.daysRemaining);A(5);Ag("ngModel",a.types);A();cg(c.typeChoices);A(6);Ag("ngModel",c.newSloId);A();cg(a.sloIds)}},QKb=function(a){a&1&&(F(0,"div",32),Q(1),H());a&2&&(a=P().$implicit,A(),R(" Subscription ID: ",a.id," "))},TKb=function(a,b){if(a&1){var c=u();F(0,"h1",49);Q(1,"Add report subscription");H();F(2,"mat-dialog-content")(3,"p",50);Q(4," Select the user (scope) and frequency of the report you wish to receive. ");H();F(5,"div")(6,"mat-form-field",
51)(7,"mat-label");Q(8,"Scope");H();F(9,"input",52);O("ngModelChange",function(e){var f=v(c).$implicit,h=P();return x(f.lead=h.emailToUser(e))});H();C(10,EKb,2,0,"mat-error",2)(11,FKb,2,0,"mat-error",2);H()();F(12,"div")(13,"mat-form-field",15)(14,"mat-label");Q(15," Frequency ");H();F(16,"mat-select",17);Cg("ngModelChange",function(e){var f=v(c).$implicit;Bg(f.frequency,e)||(f.frequency=e);return x(e)});O("ngModelChange",function(e){var f=v(c).$implicit;P();return x(RKb(e,f))});C(17,GKb,2,2,"mat-option",
18);H()()();C(18,IKb,6,2,"div",2)(19,KKb,7,3,"ng-container",2);T(20,"async");F(21,"div")(22,"b-timezone-picker",19);O("timezoneIdChange",function(e){var f=v(c).$implicit;return x(f.timeZone.id=e)});H()();C(23,PKb,20,3,"ng-container",2)(24,QKb,2,1,"div",20);F(25,"p",53);Q(26," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");H();F(27,"a",54);Q(28,"Learn more");H()();F(29,"mat-dialog-actions")(30,"button",55);Q(31,
"Cancel");H();F(32,"button",10);O("click",function(){var e=v(c).$implicit,f=P();return x(SKb(f,e))});Q(33);H()()}if(a&2){var d;a=b.$implicit;b=P();A(9);E("ngModel",(d=a.lead==null?null:a.lead.emailAddress)!==null&&d!==void 0?d:"")("bContactAutocomplete","SINGLE");A();E("ngIf",b.dialogInvalidEmailFormat);A();E("ngIf",b.ceoSelected);A(5);Ag("ngModel",a.frequency);A();E("ngForOf",b.frequencyOptions);A();E("ngIf",a.frequency!==b.DAILY);A();E("ngIf",U(20,14,b.repeatAtOptions$));A(3);E("timezoneId",a.timeZone.id)("fullWidth",
!0);A();E("ngIf",b.enableSloReportFiltering);A();E("ngIf",a.id);A(8);E("disabled",!a.lead||!a.lead.emailAddress);A();R(" ",a.id===0?"Add":"Update"," ")}},wKb=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"},UKb=function(a){a&1&&(F(0,"mat-tab",6)(1,"div",3),J(2,"b-slo-reports-settings"),H()())},WKb=function(a,b){b=b===void 0?!0:b;return ge(function(c){if(c.nextAddress==1)if(window.crypto.subtle&&b)c=ie(c,crypto.subtle.digest("SHA-256",
a),3);else{var d=c.return;var e=new VKb;e.update(new Uint8Array(a));e=(new Uint8Array(e.digest())).buffer;c=d.call(c,e)}else c=c.return(c.yieldResult);return c})},$Kb=function(a){var b=a.useSubtleCrypto===void 0?!0:a.useSubtleCrypto;var c=a.parts;var d,e,f,h;return ge(function(k){if(k.nextAddress==1){if(c.length===0)throw Error("zf");d=[];for(e=0;e<c.length;e++)f=c[e],typeof f==="string"?d.push(XKb.encode(f).buffer):d.push(f),e<c.length-1&&d.push(YKb);h=ZKb.apply(null,r(d));return ie(k,WKb(h,b),2)}return k.return(k.yieldResult)})},
aLb=function(){var a=new Uint8Array(10);crypto.getRandomValues(a);return a},bLb=function(a){return a.reduce(function(b,c){return BigInt(256)*b+BigInt(c)},BigInt(0)).toString(36)},ZKb=function(){for(var a=jd.apply(0,arguments),b=0,c=l(a),d=c.next();!d.done;d=c.next())b+=d.value.byteLength;b=new Uint8Array(b);c=0;a=l(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},cLb=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,k;return ge(function(q){if(q.nextAddress==1)return f=d?d:new ArrayBuffer(0),ie(q,$Kb({useSubtleCrypto:e,parts:[b,f,c]}),2);h=q.yieldResult;k=new Uint8Array(h);return q.return(bLb(k).padStart(50,"0").slice(0,50))})},dLb=function(a){for(var b=a.trustedOrigin,c=a.product,d=a.fileHash+"-h"+a.version+".scf.usercontent.goog",e=l(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},
eLb=function(a){if(a&1){var b=u();F(0,"b-star-toggle",13);O("starClicked",function(){v(b);var c=P(2);return x(c.toggleStar())});H()}a&2&&(a=P(2),E("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},fLb=function(a){a&1&&J(0,"b-star-toggle",14);a&2&&E("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)},gLb=function(a,b){a&1&&(F(0,"li")(1,"a",15),Q(2),H()());a&2&&(a=b.$implicit,b=P(2),A(),E("href",b.getUrl(a),cf),A(),yg(b.getDisplayName(a)))},hLb=function(a){if(a&1){var b=u();F(0,"div")(1,"div",4)(2,"div",5);C(3,eLb,1,3,"b-star-toggle",6)(4,fLb,1,4,"b-star-toggle",7);F(5,"span",8);Q(6);H();F(7,"button",9);O("click",function(){v(b);var c=P();return x(c.openEditBookmarkGroup())});H()();F(8,"div",10);Q(9);H()();F(10,"ul",11);C(11,gLb,3,2,"li",12);H()()}a&2&&(a=P(),A(3),E("ngIf",!a.userIsAdmin),
A(),E("ngIf",a.userIsAdmin),A(2),R("Bookmark Group: ",a.bookmarkGroup.name," "),A(3),yg(a.bookmarkGroup.description),A(2),E("ngForOf",a.bookmarkGroup.item))},iLb=function(a){if(a&1){var b=u();F(0,"button",10);O("click",function(){v(b);var c=P(2);return x(c.addToMissionControl(c.hotlistId))});Q(1," Hotlist insights in Home ");H()}},jLb=function(a,b){a&1&&C(0,iLb,2,0,"button",9);a&2&&(a=P(),$f(a.showAddToMcButton(b)?0:-1))},kLb=function(a){if(a&1){var b=u();F(0,"b-star-toggle",18);O("starClicked",function(){v(b);
var c=P(2);return x(c.toggleStar())})("keydown.space",function(c){v(b);return x(c.stopPropagation())})("keydown.enter",function(c){v(b);return x(c.stopPropagation())});H()}a&2&&(a=P(2),E("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},lLb=function(a){a&1&&J(0,"b-star-toggle",19);a&2&&E("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)},mLb=function(a){a&1&&J(0,"b-star-toggle",19);a&2&&E("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},nLb=function(a){a&1&&(F(0,"div",20),Q(1," Hotlist not found. "),H());a&2&&E("bFocus",!0)},oLb=function(a){a&1&&(F(0,"div"),Q(1," Loading details... "),H())},pLb=function(a){a&1&&(F(0,"span",27),Q(1," (archived) "),H())},qLb=function(a){a&1&&(F(0,"span",28),Q(1," \u00a0(changed) "),H())},rLb=function(a){if(a&1){var b=u();F(0,"div")(1,"span",21);Q(2," Hotlist: ");
F(3,"span",22);Q(4);H()();C(5,pLb,2,0,"span",23);F(6,"div",24)(7,"button",25);O("click",function(){v(b);var c=P(2);return x(c.openEditHotlist())});H()();C(8,qLb,2,0,"span",26);H()}a&2&&(a=P(2),A(3),E("matTooltip",a.hotlist.description),A(),R(" ",a.hotlist.name," "),A(),E("ngIf",a.hotlist.archived),A(3),E("ngIf",a.hasParamChanges()))},sLb=function(a){if(a&1){var b=u();F(0,"div",29)(1,"button",30);O("click",function(){v(b);var c=P(2);return x(c.save())});Q(2,"Save ");H();F(3,"button",31);O("click",
function(){v(b);var c=P(2);return x(c.discardChanges())});Q(4,"Discard changes ");H()()}},tLb=function(a){a&1&&(F(0,"div",11),C(1,kLb,1,3,"b-star-toggle",12)(2,lLb,1,4,"b-star-toggle",13)(3,mLb,1,4,"b-star-toggle",13),F(4,"div",14),C(5,nLb,2,1,"div",15)(6,oLb,2,0,"div",16)(7,rLb,9,4,"div",16),H(),C(8,sLb,5,0,"div",17),H());a&2&&(a=P(),A(),E("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),A(),E("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),A(),E("ngIf",!a.hotlist),A(2),E("ngIf",
!a.hotlist&&!a.hotlistLoading),A(),E("ngIf",a.hotlistLoading),A(),E("ngIf",a.hotlist&&!a.hotlistLoading),A(),E("ngIf",a.hasParamChanges()))},uLb=function(a){a&1&&(F(0,"div",32),J(1,"b-spinner"),F(2,"span"),Q(3),H()());a&2&&(a=P(),A(3),R(" Loading hotlist: ",a.hotlistId,""))},vLb=function(a){a&1&&(F(0,"div",33),Q(1),H());a&2&&(a=P(),E("bFocus",!0),A(),R(" No issues in hotlist ",a.hotlistId,". "))},wLb=function(a){if(a&1){var b=u();F(0,"div",34)(1,"b-issues-grid",35);O("init",function(c){v(b);var d=
P();return x(d.resultsGrid=c)});Cg("focusedRowIndexChange",function(c){v(b);var d=P();Bg(d.focusedRowIndex,c)||(d.focusedRowIndex=c);return x(c)})("columnsChange",function(c){v(b);var d=P();Bg(d.issueColumns,c)||(d.issueColumns=c);return x(c)});O("sortChange",function(c){v(b);var d=P();return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=P();return x(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){v(b);var d=P();return x(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",
function(){v(b);var c=P();return x(Sr(c,c.page,1))})("onPrevPage",function(){v(b);var c=P();return x(Sr(c,c.page,-1))});H()()}a&2&&(a=P(),A(),E("searchResults",a.searchResults),Ag("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns),E("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},xLb=function(a){if(a&1){var b=u();F(0,"button",10);O("click",function(){v(b);var c=P(2);return x(c.addToMissionControl(c.savedSearchId))});Q(1," Saved Search insights in Home ");
H()}},yLb=function(a,b){a&1&&C(0,xLb,2,0,"button",9);a&2&&(a=P(),$f(a.showAddToMcButton(b)?0:-1))},zLb=function(a){a&1&&(F(0,"div"),Q(1," Loading details... "),H())},ALb=function(a){a&1&&(F(0,"div"),Q(1," Saved search not found. "),H())},BLb=function(a){a&1&&(F(0,"span",17),Q(1," \u00a0(changed) "),H())},CLb=function(a){if(a&1){var b=u();F(0,"div",13);Q(1," Saved search: ");F(2,"span",14);Q(3);H();F(4,"button",15);O("click",function(){v(b);var c=P(2);return x(c.openEditSavedSearch())});H();C(5,BLb,
2,0,"span",16);H()}a&2&&(a=P(2),A(2),E("matTooltip",a.savedSearch.description),A(),R(" ",a.savedSearch.name," "),A(2),E("ngIf",a.hasParamChanges()))},DLb=function(a){a&1&&(F(0,"div",11),C(1,zLb,2,0,"div",8)(2,ALb,2,0,"div",8)(3,CLb,6,3,"div",12),H());a&2&&(a=P(),A(),E("ngIf",!a.savedSearch&&a.isLoading),A(),E("ngIf",!a.savedSearch&&!a.isLoading),A(),E("ngIf",a.savedSearch))},ELb=function(a){if(a&1){var b=u();F(0,"button",23);O("click",function(){v(b);var c=P(2);return x(c.save())});Q(1,"Save ");H()}},
FLb=function(a){if(a&1){var b=u();F(0,"div",18);C(1,ELb,2,0,"button",19);F(2,"button",20);O("click",function(){v(b);var c=P();return x(c.discardChanges())});Q(3,"Discard changes ");H();F(4,"span",21)(5,"a",22);O("click",function(){v(b);var c=P();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return x()});Q(6," Back to normal search");H()()()}a&2&&(a=P(),A(),E("ngIf",a.isEditable()),A(4),E("href",a.exitLink,cf))},GLb=function(a){a&1&&(F(0,"span"),Q(1),H());a&2&&(a=P(3),A(),R(" Searching",
a.searchParams.query?" for "+a.searchParams.query:"","..."))},HLb=function(a){a&1&&(F(0,"div",27),J(1,"b-spinner"),C(2,GLb,2,1,"span",8),H());a&2&&(a=P(2),A(2),E("ngIf",a.searchParams))},ILb=function(a){a&1&&(F(0,"div",28),Q(1," No issues in saved search. "),H());a&2&&E("bFocus",!0)},JLb=function(a){if(a&1){var b=u();F(0,"div",29)(1,"b-issues-grid",30);O("init",function(c){v(b);var d=P(2);return x(d.resultsGrid=c)});Cg("focusedRowIndexChange",function(c){v(b);var d=P(2);Bg(d.focusedRowIndex,c)||(d.focusedRowIndex=
c);return x(c)})("columnsChange",function(c){v(b);var d=P(2);Bg(d.issueColumns,c)||(d.issueColumns=c);return x(c)});O("sortChange",function(c){v(b);var d=P(2);return x(d.setSort(c.field,c.direction))})("rowClick",function(c){v(b);var d=P(2);return x(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){v(b);var c=P(2);return x(Sr(c,c.page,1))})("onPrevPage",function(){v(b);var c=P(2);return x(Sr(c,c.page,-1))});H()()}a&2&&(a=P(2),A(),E("searchResults",a.searchResults),Ag("focusedRowIndex",
a.focusedRowIndex)("columns",a.issueColumns),E("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort())("enableSidebar",!0))},KLb=function(a){a&1&&(F(0,"div"),C(1,HLb,3,1,"div",24)(2,ILb,2,1,"div",25)(3,JLb,2,6,"div",26),H());a&2&&(a=P(),A(),E("ngIf",a.isLoading),A(),E("ngIf",!a.isLoading&&!a.hasResults()),A(),E("ngIf",!a.isLoading&&a.hasResults()))},LLb=function(a,b){return a()?[b]:[]},MLb=function(){var a=Xc(as).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",
b.PROD="Prod",b)[a]},NLb=function(a){a=a.internal;var b,c,d;(b=a.getFeatures())==null?d=void 0:d=Jl(b,1,Ai(Bi)).sort().join("-");b=(c=d)!=null?c:"";var e,f,h;(e=a.getFeatures())==null?h=void 0:h=Jl(e,2,Ai(Bi)).sort().join("-");c=(f=h)!=null?f:"";return Zh(a,10,"all_features")+(":enabled-"+b)+(":disabled-"+c)},bs=function(a,b){return a.querySelector('[peoplekit-id="'+b+'"]')},OLb=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"))})},PLb=function(a){return a.closest('[class~="aU4VQc"]')},QLb=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},cs=function(a,b,c,d,e,f){e=e===void 0?new RLb:e;f=f===void 0?"":f;b=pp(SLb,{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:TLb()});e=new ULb(b,e);a.appendChild(b);return e},
WLb=function(a,b){var c="",d=0;b=l(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 VLb(VLb($p(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},XLb=function(a){var b=a.getDisplayName();return b?WLb(b,a.getMatchInfo().getDisplayNameMatches()):""},YLb=
function(a){var b=a.getDisplayValue();return b?WLb(b,a.getMatchInfo().getDisplayValueMatches()):""},ZLb=function(a,b){var c=b?XLb(a):$p(a.getDisplayName());b=b?YLb(a):$p(a.getDisplayValue());c=c||b;b=b||$p(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()]}},$Lb=function(a){var b=a.result();b=ZLb(b,!1);a=a.getDisplayNameWithOverrideApplied();return{label:$p(a)||
b.sublabel,sublabel:b.sublabel,name:a,photos:b.photos,hovercardId:b.hovercardId}},aMb=function(a){var b;switch(((b=a.statefulChipConfig)==null?void 0:b.chipState)||0){case 3:return"isError";default:return""}},dMb=function(a,b,c,d){var e="",f=$p(a.getDescription()),h=!1,k=a.getMemberList().length;if(k>1||a.getDisplayName())e=a.getMemberList().map(function(q){var t=q.getPrimaryTarget().getName(),w="";if(t){if(b){var y;var D=(t=(D=q.getPrimaryTarget())==null?void 0:(y=D.getName())==null?void 0:y.getGivenName())?
WLb(t,q.getMatchInfo().getGivenNameMatches()):""}else D=$p(t.getGivenName());(w=D)||(w=b?XLb(q):$p(q.getDisplayName()))}w||(w=b?YLb(q):$p(q.getDisplayValue()));return w}),c&&(e=e.reverse()),e=b?XLb(a)||bMb({memberNames:e}):$p(a.getDisplayName())||bMb({memberNames:e}),f||d||a.getTotalMemberCount()===null||(f=cMb({memberCount:Number(a.getTotalMemberCount())}),h=!0);else if(k===1)return f=a.getMemberList()[0],h=ZLb(f,b),Object.assign({},h,{type:a.getPrimaryTarget().getTargetType(),flatResult:f,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}},es=function(a){return new ds(a)},eMb=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},fMb=function(a){return a.resultType===4||a.resultType===5},lMb=function(a){gMb.addCoreFactory({type:0,configurationKey:a,factory:{create:function(b){var c=
b.chipConfig;var d=b.chipCustomization,e=b.isRightToLeft;e=dMb(b.selection.result(),!1,e,!1);if(e.flatResult){var f=Object,h=f.assign,k=e.flatResult,q=k.getPrimaryTarget(),t=c.getWarnForExternalSelections()&&q.getOrgState()===2;q=c.getShouldDisplayExternalSelectionIcon()&&t&&q.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:e.photos;d=aMb(d);c={id:fs(hMb),label:e.label,name:k.getDisplayName(),photos:q,hovercardId:e.hovercardId,stateClass:d,
isWarning:t,isDeletionDisabled:!c.getAllowChipDeletion()};c=h.call(f,{},c,{type:e.type})}else c=Object.assign({},{id:fs(iMb),isDeletionDisabled:!c.getAllowChipDeletion(),stateClass:"",isWarning:!1,name:e.label},e);e=pp(jMb,c);cs(bs(e,"d6MZcd"),c.photos,b.avatarSize,b.resultListItemAvatarSize,b.appearanceConfig);b.parent.appendChild(e);return{chip:new kMb(e,b.selection,b.selectionsState),root:e,state:0}},shouldCreate:fMb}})},mMb=function(a){return 0===a.resultType},pMb=function(a){gMb.addCoreFactory({type:1,
configurationKey:a,factory:{create:function(b){var c=b.selection;var d=b.chipConfig;var e=b.chipCustomization,f=$Lb(c),h=c.result().getPrimaryTarget();c=d.getWarnForExternalSelections()&&h.getOrgState()===2;h=d.getShouldDisplayExternalSelectionIcon()&&c&&h.getDataSource()!==1?["https://www.gstatic.com/people/peoplekit/icons/light_theme/out_of_domain_yellow500.svg"]:f.photos;e=aMb(e);d={id:fs(hMb),label:f.label,name:f.name,photos:h,hovercardId:f.hovercardId,stateClass:e,isWarning:c,isDeletionDisabled:!d.getAllowChipDeletion()};
d=pp(nMb,Object.assign({},d,{avatarSize:b.avatarSize}));b.parent.appendChild(d);return{chip:new oMb(d,b.selection,b.selectionsState),root:d,state:0}},shouldCreate:mMb}})},wMb=function(a,b,c,d,e){var f=qMb(c),h=gs(a),k=hs(a);k&&h.intersection(rMb(k));sMb(h,op(a),op(c));a=tMb(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new is(b,h.top+(a&1?h.height:0));h=uMb(h,f);a=tMb(c,d);h=vMb(h,js(c),a).rect;c=hs(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},zMb=function(a,b){ks(a,new is(b.left,b.top));b=b.getSize();xMb(js(a),b)||yMb(a,b)},AMb=function(a,b){return new ls(a,b)},DMb=function(a,b,c){b=pp(BMb,{label:c.label,id:b,ariaLabel:c.ariaLabel});a.appendChild(b);a=c.showDelayMs;c=c.hideDelayMs;c=new ms(b,a===void 0?500:a,c===void 0?300:c);return new CMb(b,c)},EMb=function(a){return!a.chipCustomization.statefulChipConfig||
a.chipCustomization.statefulChipConfig.chipState===0||a.chipConfig.getWarnForExternalSelections()&&a.chipCustomization.statefulChipConfig.chipState!==3?!1:!0},FMb=function(a){gMb.addDecoratorFactory({type:0,factory:{create:function(b,c){return{chip:new ns(c.chip,b.chipCustomization.statefulChipConfig.tooltipLabel,b.chipCustomization.statefulChipConfig.ariaLabel),root:c.root,state:b.chipCustomization.statefulChipConfig.chipState}},shouldCreate:EMb},configurationKey:a})},HMb=function(a,b,c){return new vp(new GMb(a===
void 0?0:a,b!=null?b:[],c!=null?c:null))},os=function(a){return(a||"").trim()},ps=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)},qs=function(a){return eMb("pcw-click",a)},JMb=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:(b=
IMb.get(a))==null?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},KMb=function(a){return a.map(function(b){if(rs)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)}})},NMb=function(a,b){var c=fs(ss.getInstance()),d=Object,e=d.assign;c=c+":"+a.id;var f=KMb(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("Jf`"+b);}d=pp(LMb,e.call(d,{},a,{id:c,keyboardShortcut:f,densityClass:b}));a.veid&&ps({element:d,veid:a.veid,actions:["impression","pcw-click"],componentId:"peoplekitweb"});return new MMb(d,a)},PMb=function(a){var b=new OMb([]);return new ts(a,b)},QMb=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},SMb=function(a,
b){return new RMb(a,b)},VMb=function(a,b,c,d){var e=pp(TMb);ps({element:e,veid:28041,actions:["impression"],componentId:"peoplekitweb"});var f=new UMb(e);a.appendChild(e);return new us(e,b,c,f,d)},YMb=function(a,b){b=pp(WMb,{label:b.label});a.appendChild(b);return new XMb(b)},$Mb=function(a,b){for(var c=l(ZMb.values()),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=ZMb.get(b))&&a.classList.add(b)},bNb=function(a,b){for(var c=l(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=
c.next())a.classList.remove(d.value);(b=aNb.get(b))&&a.classList.add(b)},eNb=function(a,b,c,d){b=pp(cNb,{content:b,header:d});a.appendChild(b);a=bs(b,"Sx9Kwc");d=YMb(bs(b,"IbE0S"),{label:"Close"});bNb(b,c.getTheme());$Mb(a,c.getStyle());return new dNb(b,d)},gNb=function(a,b){var c=fNb({header:"Couldn't hide suggestion"});var d=vs("<div>There was a problem and this person could not be hidden</div>");a=eNb(a,d,b,c);ps({element:a.getRoot(),veid:131913,actions:["impression"],componentId:"peoplekitweb"});
return a},hNb=function(a,b){var c=fNb({header:"Couldn't hide suggestion"});var d=vs("<div>Groups of 2 or more people can't be hidden</div>");a=eNb(a,d,b,c);ps({element:a.getRoot(),veid:166230,actions:["impression"],componentId:"peoplekitweb"});return a},iNb=function(a,b){var c=fNb({header:"Couldn't show suggestion"});var d=vs("<div>There was a problem and this person could not be shown in suggestions</div>");a=eNb(a,d,b,c);ps({element:a.getRoot(),veid:184760,actions:["impression"],componentId:"peoplekitweb"});
return a},kNb=function(a,b,c,d){var e=b.result().getMemberList();e.length===1?(b=ZLb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):b=$Lb(b);var f=b.hovercardId,h=b.name;var k=b.label;var q=b.sublabel;e=vs;f='<div peoplekit-id="'+ws("tJHJj")+'" class="'+ws("peoplekitComponentsDialogImplAvatarHeader")+'" data-hovercard-id="'+ws(f)+'" data-name="'+ws(h)+'"><div class="'+ws("peoplekitComponentsDialogImplHeaderRow")+'"><div class="'+ws("peoplekitComponentsDialogImplLeft")+
'">';h=vs('<div class="'+ws("peoplekitComponentsDialogImplAvatar")+'"><div class="'+ws("peoplekitComponentsDialogImplAvatarContainer")+'" peoplekit-id="'+ws("d6MZcd")+'"></div></div>');f=f+h+'</div><div class="'+ws("peoplekitComponentsDialogImplCenter")+'">';k=vs('<div class="'+ws("peoplekitComponentsDialogImplLabelContainer")+'"><div peoplekit-id="'+ws("E0kCZc")+'" class="'+ws("peoplekitComponentsDialogImplLabel")+" "+ws("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+xs(ys(k))+"</div>"+
(q?'<div class="'+ws("peoplekitComponentsDialogImplSublabel")+" "+ws("peoplekitComponentsDialogImplLabelRow")+'" translate="no">'+xs(ys(q))+"</div>":"")+"</div>");k=e(f+k+"</div></div></div>");e=d===0?"Hide":"Show";q='<div peoplekit-id="'+ws("bN97Pc")+'"><div class="'+ws("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(d===0?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+ws("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=vs((d===0?q+"This person won't be suggested again unless you search for them in Photos.":
q+"Suggest this person when showing people results.")+"</div></div>");d=pp(cNb,{content:d,header:k,confirmAction:!0});a.appendChild(d);k=bs(d,"Sx9Kwc");a=YMb(bs(d,"IbE0S"),{label:"Cancel"});q=q={confirmButtonText:e};q=q.confirmButtonText;f="";switch(Wa(q)?q.toString():q){case "Confirm":f+="Confirm";break;case "Hide":f+="Hide";break;case "Show":f+="Show";break;default:f+="Apply"}q=YMb(bs(d,"McfNlf"),{label:f});bNb(d,c.getTheme());$Mb(k,c.getStyle());k={element:q.getRoot(),veid:0,actions:["pcw-click",
"impression"],componentId:"peoplekitweb"};switch(e){case "Hide":k.veid=131909;ps(k);break;case "Show":k.veid=131910,ps(k)}a=new jNb(d,a,q);d=bs(a.getRoot(),"d6MZcd");cs(d,b.photos,36,36,c);return new zs(a)},lNb=function(a){As.addDecoratorFactory({type:0,factory:{create:function(b,c){return new Bs(c,b.appearanceConfig,b.clientConfig,b.result,b.ariaParent)},shouldCreate:function(b){var c=b.result.getMemberList().length>=2;c=b.result.getResultType()!==7&&!c;var d=!!(new Cs).filterResult(b.result);return hk(b.clientConfig.internal,
7,!1)&&!d&&c}},configurationKey:a})},pNb=function(a,b){var c=pp(mNb,{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("Jf`"+f);}}e.call(d,f);if(b.tooltipLabel){d=c.getAttribute("data-tooltip-id")||"";var h=DMb(a,d,{label:b.tooltipLabel,ariaLabel:b.ariaLabel});
nNb(h,c)}return new oNb(c,b.icon,b.disabledIcon,h,b.disableDomNavigation,b.onClick)},rNb=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 qNb(a,b,e)},tNb=function(a){As.addDecoratorFactory({type:2,factory:{create:function(b,c){return new sNb(c,b.appearanceConfig,b.clientConfig,b.interactions)},shouldCreate:function(b){return hk(b.clientConfig.internal,7,!1)&&!!(new Cs).filterResult(b.result)}},configurationKey:a})},
uNb=function(a){As.addDecoratorFactory({type:1,factory:{create:function(b,c){return rNb(c,b.appearanceConfig,b.resultCustomizationConfig.secondaryActionButtonConfig,b.interactions)},shouldCreate:function(b){return!!b.resultCustomizationConfig.secondaryActionButtonConfig&&!(hk(b.clientConfig.internal,7,!1)&&(new Cs).filterResult(b.result))}},configurationKey:a})},vNb=function(a){a=NLb(a);pMb(a);FMb(a);lMb(a);lNb(a);tNb(a);uNb(a)},Ds=function(a,b,c){b=[b,c].map(function(d){return d!=null?d:""}).join(";");
a.setAttribute("pkd-ac-state",String(Lh(b)))},wNb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(Lh(b)))},xNb=function(a,b){a.setAttribute("pkd-ps-state",String(Lh("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(Lh("2")))},function(){a.setAttribute("pkd-ps-state",String(Lh("3")))})},BNb=function(a){var b=pp(yNb,{id:fs(zNb)});a.appendChild(b);return new ANb(b)},ENb=function(a){if(Es){var b=CNb(a);DNb(a,b)}else a.scrollIntoView({block:"nearest"})},
FNb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("Jf`"+a);}},GNb=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";default:throw Error("Jf`"+a);}},HNb=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},INb=function(a){var b,c=(b=a.getClient())==
null?void 0:b.getApplication();a=a.getRequestType();return c&&a?[c,a]:null},JNb=function(a){return(a=INb(a))?JSON.stringify(a):null},KNb=function(a,b){b=b===void 0?null:b;b=a.getProfileId()||b;return b?(a=INb(a))?JSON.stringify([a,b]):null:null},MNb=function(a){return LNb.map(function(b){return new Fs(a,b)})},NNb=function(a){var b=new Gs;if(a instanceof Hs)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.")}else b.setErrorType(5),b.setErrorMessage(a.message);return b},Ks=function(a){a=a===void 0?null:a;var b=(new Is).setExperimentFlags(new Js).setSource(3);a&&b.setError(NNb(a));return b},WNb=function(a){var b=b===void 0?new ONb:b;if(PNb)return PNb;var c=new QNb(a),d=new RNb(a),e;(b.cachedIsStorageAvailable_=SNb(b.storage_))?e=new Ls(a,b):e=new Ms(a);
b=e;try{b.clean()}catch(f){}c=new TNb(new UNb(b,c),d);return PNb=new VNb(a,c)},YNb=function(a){var b=a.resultCustomizationConfig,c=ZLb(a.result,!0);a=XNb(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}},XNb=function(a,b){var c=a.result,
d=a.resultConfig;a=GNb(a.appearanceConfig.getDensity());var e=[];hk(ZNb.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:fs($Nb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:a,tags:e,allowSublabelTranslation:!1}},bOb=function(a){var b=a.result,c=a.resultCustomizationConfig,
d=a.appearanceConfig,e=a.isRightToLeft,f=hk(a.clientConfig.internal,6,!1);d=GNb(d.getDensity());b=dMb(b,!0,e,f);if(b.flatResult)return d=Object.assign({},a,{result:b.flatResult}),d=XNb(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:fs(aOb),hovercardId:b.hovercardId,label:b.label,sublabel:c.shouldHideSublabel?"":a,type:b.type,photos:b.photos,densityClass:d,tags:[],allowSublabelTranslation:e}},dOb=function(a,b,c,d,e,f){return new cOb(a,b,c,d,e,f)},eOb=function(a){return a.resultCustomizationConfig.shouldDisable?2:a.selectionsState.get(a.result.getPrimaryTarget().getId())&&!a.resultConfig.getAllowResultDeselection()?
1:0},gOb=function(a,b){return new fOb(a,b===void 0?"":b)},hOb=function(a){var b=-1;(a=Ns(a))&&ul(a,2)&&(b=Lj(a,2,0));return"index:"+b},jOb=function(a,b,c,d,e,f,h,k,q){a={result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:f,isRightToLeft:h,interactions:k,resultCustomizationConfig:d.getResultCustomizationCallback()(a,b),ariaParent:q};f=NLb(f);f=f===void 0?"\ud83c\udf68":f;return(new iOb(f===void 0?"\ud83c\udf68":f)).create(a)},mOb=function(a){var b=fs(ss.getInstance());b=pp(kOb,
{id:b,header:a});return new lOb(b,a)},nOb=function(a,b,c){return new Os(a,b,c)},oOb=function(a,b,c){return(b=b.getGroupName(c))?new Ps(a,b):a},pOb=function(a,b,c,d){var e=b.getGroupName(c);b=b.getResultListGroupConfig(c);return e&&b.infoGroupConfig?new Qs(a,b.infoGroupConfig,d):a},qOb=function(a,b,c){var d=b.getGroupName(c);b=b.getResultListGroupConfig(c);return d&&b.collapsibleGroupConfig?new Rs(a,b.collapsibleGroupConfig):a},tOb=function(a,b,c,d,e,f,h,k,q){h=pp(rOb,{header:h||""});a.appendChild(h);
a=BNb(bs(h,"tjneg"));return{resultList:new sOb(a,b,c,d,e,f,k,q),list:a}},wOb=function(a,b,c,d,e,f,h,k,q,t){a=tOb(a,b,c,d,e,k,q,f,t);b=a.resultList;b=new uOb(b,a.list,h);return new vOb(b,f)},yOb=function(a,b,c,d,e,f,h,k,q,t){q=pp(rOb,{header:q||""});a.appendChild(q);a=BNb(bs(q,"tjneg"));b=new xOb(a,b,c,d,e,f,h,k,t);return new vOb(b,f)},zOb=function(){return"https://support.google.com/contacts/answer/7345608"},BOb=function(a){return AOb.some(function(b){return a instanceof b})},COb=function(a){return a.getAttribute("peoplekit-id")===
"XLuqBd"},EOb=function(a,b){return new DOb(a,b)},FOb=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},Ss=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},Ts=function(a,b,c,d){var e;d=l(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;},GOb=function(a,b,c,d,e){e=l(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f(a,b,c,
d)},IOb=function(a){if(HOb.has(a))return HOb.get(a);throw Error("Xf`"+a);},KOb=function(a){if(JOb.has(a))return JOb.get(a);throw Error("Yf`"+a);},LOb=function(a){for(var b=new Map,c=l(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},NOb=function(a){return a?a.__owner?a.__owner:a.parentNode&&a.parentNode.nodeType===11?a.parentNode.host:MOb(a):null},OOb=function(a,b,c){for(c||(a=NOb(a));a&&!b(a);)a=NOb(a)},QOb=function(a,b,c,d,e,f){var h=c.beginSession(function(){},
f.sessionOptions||new Us);return POb(a,b,c,h,d,e,f)},POb=function(a,b,c,d,e,f,h){var k=f.internal,q=e.getEnvironmentConfig(),t=q.experimentsConfig_.getProfileId();if(t)if(k.getExperiments().getIsEnabled()){var w=Nb(ROb||(ROb=SOb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));w=new TOb(w,7)}else w=new Vs;else w=new Vs;k=k.getExperiments();q=w.loadExperiments(k.getApplication(),(new Ws).setPeopleApiEnv(q.apiEnv_),t);ZNb=new UOb(k,q);vNb&&vNb(f);f.internal.getClearcut().setInterfaceType(4);
f.internal.getClearcut().setComponentFlow(7);q=pp(VOb,{classes:"aU4VQc"});a.appendChild(q);hk(f.internal,14,!0)&&e.setStyle(1);bNb(q,e.getTheme());ps({element:q,veid:64611,actions:["impression"],componentId:"peoplekitweb"});a=new Xs;t=e.getEntryPoint();t=new WOb(d,a,t);w=e.getEntryPoint();k=f.internal.getClearcut();w=new XOb(k,w);w=Ys(w);k=k.getInterfaceType();k=new YOb(new ZOb(w,k));var y=new $Ob(h.intelligence);h=pp(aPb);$Mb(h,e.getStyle());q.appendChild(h);w=pp(bPb);ps({element:w,veid:85843,actions:["impression"],
componentId:"peoplekitweb"});$Mb(w,e.getStyle());h.appendChild(w);var D=bs(w,"tjneg");a:{var G=e.getAutocompleteHeader(),I=e.getAutocompleteCustomGrouping();if(f.internal.getEnableAutocompleteLegalese()){var N=e.getAutocompleteGroupingType()===4||e.getAutocompleteGroupingType()===5,S=I&&BOb(I);y=yOb(D,e,e,f,a,t,N&&S?I:new Zs,y,G,b)}else{switch(e.getAutocompleteGroupingType()){case 1:y=yOb(D,e,e,f,a,t,new Zs,y,G,b);break a;case 2:y=wOb(D,e,e,f,a,t,new $s(e.getAutocompleteGroupingLabel()),y,G,b);break a;
case 3:y=wOb(D,e,e,f,a,t,new at(e.getAutocompleteGroupingLabel()),y,G,b);break a;case 4:if(!I)break;y=hk(f.internal,7,!1)?yOb(D,e,e,f,a,t,I,y,G,b):wOb(D,e,e,f,a,t,I,y,G,b);break a;case 5:if(I){y=yOb(D,e,e,f,a,t,I,y,G,b);break a}}y=tOb(D,e,e,f,a,y,G,t,b);y=new vOb(y.resultList,t)}}D=bs(D,"rymPhb");b.setAttribute("aria-owns",D.id);b.setAttribute("aria-controls",D.id);D.setAttribute("aria-labelledby",b.id);G=e.getNoResultsMessage();D=pp(cPb);G?G.display?G=new dPb(D,G):(G=pp(ePb,G),D.appendChild(G),G=
new fPb):G=new gPb;w.appendChild(D);k=new hPb(w,b,y,d,k,e,G,f);hk(f.internal,7,!1)&&(k=new bt(k,c,d,f,e,b));b=new iPb(h,b,k,a,e);xNb(b.getRoot(),c);c=f.internal.getClearcut();k=e.getEntryPoint();f=new ct;d=pJa();k=(new jPb).setClientId(c.getClientId()).setApplication(c.getSocialApplicationOrUndefined()).setEntryPoint(k).setVersionName("1.0").setBaselineCl(652523468);f=new dt(f,1394,d,void 0,void 0,void 0,new kPb(k));f.setClientSideLogOnlyForDevelopment(!c.getEnableClearcut()||!1);c=new CJa;d=ZNb.getExperimentIds();
c=hc(c,3,d,Eb);f.clearcut_.setClearExperimentIds(c);f.setComponentID("peoplekitweb");c=new lPb(q,f);c.start(mPb);return new nPb(q,b,a,t,c,e)},pPb=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&&oPb(b,d.substring(c+1));a=a.substring(0,c+1)}if(a==="@")return b;oPb(b,a);return b},oPb=function(a,b){a.push(b);var c=b.length+1;qPb.lastIndex=0;for(var d=qPb.exec(b);d&&d.index<c;d=qPb.exec(b))a.push(b.substring(Number(qPb.lastIndex)))},
uPb=function(a){a=Array.from(a).flatMap(function(f){return(f||"").split(rPb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=et(sPb(c.value)).replace(tPb,"").toUpperCase().toLowerCase();c=l(pPb(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})},wPb=function(a){var b;return vPb(function(c){c.nextAddress==1&&(b=0);if(c.nextAddress!=
3)return b<a?ie(c,b,3):c.jumpTo(0);b++;return c.jumpTo(2)})},xPb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&ft(a.id)&&a.id.getType()!==9?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},APb=function(a,b,c){if(ft(a.id)||ft(b.id)){var d=yPb.has(a.id.getType()),e=yPb.has(b.id.getType());if(d!==e)return d?-1:1;if(ft(a.id)&&ft(b.id))return zPb(a,b,c,!1)}d=xPb(a,c);c=xPb(b,c);(c=d!==c?d>c?-1:1:0)||(c=a.dataSource===1,c=c!==(b.dataSource===1)?c?-1:1:0);c||(a=!!a.isPrimary,
c=a!==!!b.isPrimary?a?-1:1:0);return c},zPb=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?APb(a,b,c):0},FPb=function(a,b,c){var d=gt(b.getTargetType(),b.getValue()),e=[].concat(r(b.getProfileIdList().map(BPb)),r(b.getContactIdList().map(CPb)),r(b.getCustomSourceIdList().map(DPb)));EPb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:b.getContactIdList().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}},GPb=function(a){return(a||"").trim()},PPb=function(a){var b=a.resultData,c=a.targetData,d=HPb(ht(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&(d.resultType_=
b.getResultType());c.hasValue()&&d.setValue(GPb(c.getValue()));vl(c,2)&&d.setCanonicalValue(GPb(c.getCanonicalValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new IPb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new it).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));
if(b.hasTotalMemberCount()){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()||"");c.hasOrgState()&&(d.orgState_=c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&JPb(d,c.getTagList().map(function(h){return KPb(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&(d.extendedData_=c.getExtendedData());
c.hasEmailSecurityInfo()&&(a=c.getEmailSecurityInfo(),LPb(d,MPb(a.certificateStatus_,a.getCertificateExpirySec_asLegacyNumberOrString(),a.getEncryptionSupport()==4||a.getEncryptionSupport()==2)));c.hasReachabilityInfo()&&(c=c.getReachabilityInfo(),NPb(d,new OPb(c.reachabilityStatus,c.getClientData())));return d},QPb=function(a){a=a===void 0?{requestCorpHeaders:!1}:a;var b=(new jt).setDevice(1);a.requestCorpHeaders&&Ol(b,2,2);return b},SPb=function(a){return a?RPb.get(a)||0:0},WPb=function(a){switch(a.getValueCase()){case 2:return kt(a.getEmail().getValue()||
"");case 3:var b=a.getPhone();return b.getOriginalValue()&&b.getCanonicalValue()?(a=TPb(b.getOriginalValue()||""),b=TPb(b.getCanonicalValue()||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):TPb(b.getCanonicalValue()||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=bk(a,UPb,4,lt);if(a.hasProfileId())return a=a.getProfileId()||"",new mt(8,ip(a).toLowerCase(),a);switch(xj(a,nt)){case 2:return a=a.getEmail()||"",new mt(6,ip(a).toLowerCase(),a);case 3:return VPb(a.getPhone()||"")}}return ot},
YPb=function(a){return Yj(a,XPb,5,Ai()).map(function(b){switch(b.getIdCase()){case 1:return BPb(b.getProfileId()||"");case 2:return CPb(b.getContactId()||"");default:return null}}).filter(Boolean)},ZPb=function(a,b){return Ak(a,pt,3)&&Gj(a,pt,3).getIsPlaceholder()?3:qt(b,8)?1:0},$Pb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},aQb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},bQb=function(a){return!!a&&
!!a.getPrimary()},dQb=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"+cQb(a):""},hQb=function(a){var b=void 0;if(Gj(a,pt,3)){var c;b=(c=b)!=null?c:new eQb;rt(b,fQb,Gj(a,pt,3))}if(Gj(a,st,5)){var d;b=(d=b)!=null?d:new eQb;rt(b,gQb,Gj(a,st,5))}return b},kQb=function(a){var b=
void 0;if(Gj(a,iQb,9)){var c;b=(c=b)!=null?c:new eQb;rt(b,jQb,Gj(a,iQb,9))}return b},mQb=function(a){var b=new tt,c=a?2:1;lQb(b.setEventType(4),c).setToken(a);return b},oQb=function(a,b){var c=new ut;c=(new tt).setLookupInfo(c);vt(c.setEventType(6),9).setItemCount(a.length).setQueryScope(nQb.get(b)||0);return c},pQb=function(){var a=new tt;vt(a.setEventType(6),10);return a},qQb=function(){var a=new tt;vt(a.setEventType(6),2);return a},rQb=function(a,b){var c=new tt;vt(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(nQb.get(b)||
0);return c},sQb=function(a){var b=new tt;vt(b.setEventType(6),5).setQueryScope(nQb.get(a)||0);return b},tQb=function(a,b){switch(a){case 8:case 3:case 17:return(new wt).setProfileId(b);case 1:case 6:return(new wt).setEmail(b);case 7:case 2:return(new wt).setPhone(b);case 13:case 14:return a=new wt,Cj(a,4,xt,b);case 4:case 9:return(new wt).setContactId(b);default:return null}},wQb=function(a){return((a=Yj(a,uQb,2,Ai()).find(function(b){return yt(b,1)===1}))?vQb.get(yt(a,2)):0)||0},zt=function(a){return(a||
"").trim()},zQb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(xQb(zt(Qqa(kr(b.getAffinity(),1)))));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new IPb).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 it).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(yQb.get(b.getType())||0)))},
BQb=function(a,b){if(b.hasProfileId())switch(xj(b,nt)){case 2:var c=zt(b.getEmail());return AQb(ht(a.id).setValue(zt(b.getProfileId())),(new At).setType(1).setValue(c));case 3:return c=zt(b.getPhone()),AQb(ht(a.id).setValue(zt(b.getProfileId())),(new At).setType(2).setValue(c));default:return b=zt(b.getProfileId()),ht(a.id).setValue(b)}switch(xj(b,nt)){case 2:return b=zt(b.getEmail()),AQb(ht(a.id).setValue(b),(new At).setType(1).setValue(b));case 3:return b=zt(b.getPhone()),AQb(ht(a.id).setValue(b),
(new At).setType(2).setValue(b));default:return b=zt(b.getProfileId()),ht(a.id).setValue(b)}},EQb=function(a,b){var c=HPb(ht(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&zQb(c,b);a.group&&((b=Yj(a.group,CQb,6,Ai()).find(function(d){return Yn(d,1,DQb)!=null}))?c.setValue(zt(Yn(b,1,DQb))):a.group.hasGroupId()&&c.setValue(zt(a.group.getGroupId())));a.targetExtendedData&&(c.extendedData_=a.targetExtendedData);a.target=c},GQb=function(a){return new FQb(a)},JQb=function(a){if(a.getTargetType()===
8){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=HQb.get(b)))return b}return(b=IQb.get(a.getTargetType()))?b:ft(a.getId())?8:0},LQb=function(a,b,c){var d=new Bt,e=new Ct;Pj(d,Ct,2,e);e.setProvenance(b);b=new Dt;Pj(d,Dt,1,b);Ll(b,9,c===1);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=JQb(a)===8?8:a.getProfileId()?3:4;Ol(b,8,c);c=null;a.getTargetType()===8&&(e=a.getOriginatingField())&&HQb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);
ft(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);c=JQb(a);Ol(b,7,c);b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(a.getDataSource()===3);yt(b,7)===8&&b.setGroupId(a.getId().getValue());return new KQb(a,d)},NQb=function(a){a=MQb.indexOf(a.provenance);return a<0?MQb.length:a},OQb=function(a){return a.containerIds&&a.containerIds.some(function(b){return b.getType()===3})},PQb=function(a){var b;return(new Set(((b=
a.containerIds)!=null?b:[]).map(String))).size},RQb=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=l(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=oMa(d,new QQb(f,e))}return[c,d]})));return a},UQb=function(a){return hk(a,21,!1)?new SQb:TQb},VQb=function(a){return a!==0&&a!==12},
WQb=function(a,b){return new Promise(function(c){b>0?setTimeout(function(){return c(a)},b):c(a)})},XQb=function(a,b,c){b=WQb(b,c);return Promise.race([a,b])},YQb=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)}}},aRb=function(a,b,c,d){b=ZQb(a,b).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;
return new Ft(e,f)});c=ZQb(a,c).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new Ft(e,f)});a=ZQb(a,d).map(function(e){var f=l(e);e=f.next().value;f=f.next().value;return new Ft(e,f)});return new $Qb(b,c,a)},bRb=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}},cRb=function(a){return a.reduce(function(b,c){var d=bRb(c);if(b.has(d)){var e;(e=b.get(d))==
null||e.push(c)}else b.set(d,[c]);return b},new Map)},dRb=function(a,b){b=b===void 0?new Gt:b;var c=new Map;a=l(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=l(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}},fRb=function(a,b){return!a||a instanceof eRb?a:new eRb(a,b)},gRb=function(a){var b=new Ht,c=b.setQueryId(It(a,3)).setSelectionId(It(a,4)),d=It(a,5);Tl(c,3,d).setInstanceId(a.getInstanceIdOrUndefined()).setAffinityVersion(a.getAffinityVersionOrUndefined());
return b},iRb=function(a){var b=new hRb,c;if(a=(c=Gj(a,Jt,18))==null?void 0:c.getSessionState())c=gRb(a),Pj(b,Ht,2,c);return b},kRb=function(a){return jRb.get(a)||0},mRb=function(a,b){var c=lRb(Kt(new Lt,"PeopleStore").setLogSource(Kj(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(652523468).setEnableClearcut(a.getEnableClearcut()),[].concat(r(b.getExperiments().getExperimentIdsList()),r(Mt?Mt.getExperimentIds():[]))).setClientAgent(2);
b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());if(a=Yj(a,Nt,5,Ai()).find(function(d){return d.getEntryPoint()===0}))c.setEventSource(Ot(a,4)),c.setEventSourceId(Ot(a,4));return c},nRb=function(a,b){return new Pt(a,b)},oRb=function(a){return(Ak(a,Qt,12)?Gj(Gj(a,Qt,12),Nt,2):a.getSources())||new Nt},pRb=function(a){return(Ak(a,Qt,12)?Gj(Gj(a,Qt,12),Nt,3):a.getSources())||new Nt},qRb=function(a){return a.filter(function(b){var c,d=(c=Ns(b))==null?void 0:Kj(c,4,0),e;return((e=Gj(b,Dt,1))==null?
void 0:Kj(e,8,0))!==3||d!==2&&d!==1?!0:!1})},sRb=function(a){return a.filter(function(b){var c;return(b=(c=Gj(b,Dt,1))==null?void 0:c.getFieldType())&&rRb.has(b)?!1:!0})},tRb=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)},uRb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Jj(a,3,0)+":"+Jj(a,4,0)+":"+Jj(a,5,0)+":"+a.getInstanceId()},vRb=function(a){return Ak(a,Ct,2)?Ns(a).getContext()||0:0},wRb=function(a){var b=
new Map;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Jj(d,3,0)+"-"+Jj(d,4,0)+"-"+Jj(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},St=function(a,b,c,d){d=d===void 0?!1:d;a=a.filter(function(h){return!hk(h,4,!1)});if(d){d=l(a);for(var e=d.next();!e.done;e=d.next())Ll(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),d=l(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());
a=wRb(a);c=[];a=l(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 Rt;f.setSessionState(e);f.setEventType(b);Dk(f,3,d);f.setEventSources(e.getSources());c.push(f)}return c},xRb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new Tt},yRb=function(a,b){var c={};return Oh("a",(c.href=b,c.target="_blank",c.rel="noopener noreferrer nofollow",c),
a)},BRb=function(){return Xc(as).getEnvironmentType()==="QA"?zRb:ARb},ERb=function(){return Xc(as).getEnvironmentType()==="QA"?CRb:DRb},HRb=function(){return Xc(as).getEnvironmentType()==="QA"?FRb:GRb},IRb=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},JRb=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},KRb=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");},da=KRb(this),Ut=function(a,b){if(b)a:{var c=da;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&&JRb(c,a,{configurable:!0,writable:!0,value:b})}};
Ut("Symbol",function(a){if(a)return a;var b=function(f,h){this.$jscomp$symbol$id_=f;JRb(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});
Ut("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=da[b[c]];typeof d==="function"&&typeof d.prototype[a]!="function"&&JRb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return LRb(IRb(this))}})}return a});Ut("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var LRb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},Vt=function(a){return a.raw=a},MRb=function(a,b){a.raw=b;return a},l=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:IRb(a)};throw Error("e`"+String(a));},Mk=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},r=function(a){return a instanceof Array?a:Mk(l(a))},Wt=function(a,b){return Object.prototype.hasOwnProperty.call(a,
b)},NRb=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)Wt(d,e)&&(a[e]=d[e])}return a};Ut("Object.assign",function(a){return a||NRb});
var ORb=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},PRb=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=ORb(e.prototype||Object.prototype);return Function.prototype.apply.call(c,
e,d)||e}}(),QRb;if(typeof Object.setPrototypeOf=="function")QRb=Object.setPrototypeOf;else{var RRb;a:{var SRb={a:!0},TRb={};try{TRb.__proto__=SRb;RRb=TRb.a;break a}catch(a){}RRb=!1}QRb=RRb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var Xt=QRb,V=function(a,b){a.prototype=ORb(b.prototype);a.prototype.constructor=a;if(Xt)Xt(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},Yt=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
Yt.prototype.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};Yt.prototype.next_=function(a){this.yieldResult=a};Yt.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};Yt.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};var ie=function(a,b,c){a.nextAddress=c;return{value:b}};Yt.prototype.jumpTo=function(a){this.nextAddress=a};
var me=function(a){a.nextAddress=0},he=function(a,b,c){a.catchAddress_=b;c!=void 0&&(a.finallyAddress_=c)},Zt=function(a,b){a.nextAddress=b;a.catchAddress_=0},le=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},je=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},ke=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},URb=function(a){this.context_=new Yt;this.program_=a};URb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return VRb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return $t(this)};
var WRb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return VRb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return $t(a)};URb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return VRb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return $t(this)};
var VRb=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),$t(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,f);return $t(a)},$t=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}},XRb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return WRb(a,b)};this[Symbol.iterator]=function(){return this}},vPb=function(a){var b=wPb;a=new XRb(new URb(a));Xt&&b.prototype&&Xt(a,
b.prototype);return a},YRb=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())})},ge=function(a){return YRb(new XRb(new URb(a)))},sha=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))})},jd=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};Ut("Reflect",function(a){return a?a:{}});Ut("Reflect.construct",function(){return PRb});Ut("Reflect.setPrototypeOf",function(a){return a?a:Xt?function(b,c){try{return Xt(b,c),!0}catch(d){return!1}}:null});
Ut("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(k){k(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(this.batch_==null){this.batch_=[];var k=this;this.asyncExecuteFunction(function(){k.executeBatch_()})}this.batch_.push(h)};var d=da.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 k=0;k<h.length;++k){var q=
h[k];h[k]=null;try{q()}catch(t){this.asyncThrow_(t)}}}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 k=this.createResolveAndReject_();try{h(k.resolve,k.reject)}catch(q){k.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(t){return function(w){q||(q=!0,t.call(k,w))}}var k=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 k=h!=null;break a;case "function":k=!0;break a;default:k=!1}k?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var k=void 0;try{k=h.then}catch(q){this.reject_(q);return}typeof k=="function"?this.settleSameAsThenable_(k,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,k){if(this.state_!=0)throw Error("k`"+h+"`"+k+"`"+this.state_);this.state_=h;this.result_=k;this.state_===2&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var k=da.console;typeof k!=="undefined"&&k.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=da.CustomEvent,k=da.Event,q=da.dispatchEvent;if(typeof q==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof k==="function"?h=new k("unhandledrejection",{cancelable:!0}):(h=da.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 k=this.createResolveAndReject_();h.callWhenSettled_(k.resolve,k.reject)};e.prototype.settleSameAsThenable_=function(h,k){var q=this.createResolveAndReject_();try{h.call(k,q.resolve,q.reject)}catch(t){q.reject(t)}};e.prototype.then=function(h,k){function q(D,G){return typeof D=="function"?function(I){try{t(D(I))}catch(N){w(N)}}:
G}var t,w,y=new e(function(D,G){t=D;w=G});this.callWhenSettled_(q(h,t),q(k,w));return y};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,k){function q(){switch(t.state_){case 1:h(t.result_);break;case 2:k(t.result_);break;default:throw Error("l`"+t.state_);}}var t=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(k,q){q(h)})};e.race=
function(h){return new e(function(k,q){for(var t=l(h),w=t.next();!w.done;w=t.next())c(w.value).callWhenSettled_(k,q)})};e.all=function(h){var k=l(h),q=k.next();return q.done?c([]):new e(function(t,w){function y(I){return function(N){D[I]=N;G--;G==0&&t(D)}}var D=[],G=0;do D.push(void 0),G++,c(q.value).callWhenSettled_(y(D.length-1),w),q=k.next();while(!q.done)})};return e});var au=function(a,b,c){if(a==null)throw new TypeError("m`"+c);if(b instanceof RegExp)throw new TypeError("n`"+c);return a+""};
Ut("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=au(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}});Ut("Object.setPrototypeOf",function(a){return a||Xt});Ut("Symbol.dispose",function(a){return a?a:Symbol("o")});
Ut("WeakMap",function(a){function b(){}function c(q){var t=typeof q;return t==="object"&&q!==null||t==="function"}function d(q){if(!Wt(q,f)){var t=new b;JRb(q,f,{value:t})}}function e(q){var t=Object[q];t&&(Object[q]=function(w){if(w instanceof b)return w;Object.isExtensible(w)&&d(w);return t(w)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),t=Object.seal({}),w=new a([[q,2],[t,3]]);if(w.get(q)!=2||w.get(t)!=3)return!1;w.delete(q);w.set(t,4);return!w.has(q)&&w.get(t)==4}catch(y){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,k=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=l(q);for(var t;!(t=q.next()).done;)t=t.value,this.set(t[0],t[1])}};k.prototype.set=function(q,t){if(!c(q))throw Error("p");d(q);if(!Wt(q,f))throw Error("q`"+q);q[f][this.id_]=t;return this};k.prototype.get=function(q){return c(q)&&Wt(q,f)?q[f][this.id_]:void 0};k.prototype.has=function(q){return c(q)&&Wt(q,f)&&Wt(q[f],this.id_)};k.prototype.delete=
function(q){return c(q)&&Wt(q,f)&&Wt(q[f],this.id_)?delete q[f][this.id_]:!1};return k});
Ut("Map",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var k=Object.seal({x:4}),q=new a(l([[k,"s"]]));if(q.get(k)!="s"||q.size!=1||q.get({x:4})||q.set({x:4},"t")!=q||q.size!=2)return!1;var t=q.entries(),w=t.next();if(w.done||w.value[0]!=k||w.value[1]!="s")return!1;w=t.next();return w.done||w.value[0].x!=4||w.value[1]!="t"||!t.next().done?!1:!0}catch(y){return!1}}())return a;var b=new WeakMap,c=function(k){this[0]={};this[1]=
f();this.size=0;if(k){k=l(k);for(var q;!(q=k.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(k,q){k=k===0?0:k;var t=d(this,k);t.list||(t.list=this[0][t.id]=[]);t.entry?t.entry.value=q:(t.entry={next:this[1],previous:this[1].previous,head:this[1],key:k,value:q},t.list.push(t.entry),this[1].previous.next=t.entry,this[1].previous=t.entry,this.size++);return this};c.prototype.delete=function(k){k=d(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],
k.entry.previous.next=k.entry.next,k.entry.next.previous=k.entry.previous,k.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(k){return!!d(this,k).entry};c.prototype.get=function(k){return(k=d(this,k).entry)&&k.value};c.prototype.entries=function(){return e(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return e(this,function(k){return k.key})};c.prototype.values=function(){return e(this,
function(k){return k.value})};c.prototype.forEach=function(k,q){for(var t=this.entries(),w;!(w=t.next()).done;)w=w.value,k.call(q,w[1],w[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(k,q){var t=q&&typeof q;t=="object"||t=="function"?b.has(q)?t=b.get(q):(t=""+ ++h,b.set(q,t)):t="p_"+q;var w=k[0][t];if(w&&Wt(k[0],t))for(k=0;k<w.length;k++){var y=w[k];if(q!==q&&y.key!==y.key||q===y.key)return{id:t,list:w,index:k,entry:y}}return{id:t,list:w,index:-1,entry:void 0}},e=function(k,
q){var t=k[1];return LRb(function(){if(t){for(;t.head!=k[1];)t=t.previous;for(;t.next!=t.head;)return t=t.next,{done:!1,value:q(t)};t=null}return{done:!0,value:void 0}})},f=function(){var k={};return k.previous=k.next=k.head=k},h=0;return c});
Ut("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(l([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=
l(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});Ut("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(k){return k};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}});
Ut("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Wt(b,d)&&c.push([d,b[d]]);return c}});Ut("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});Ut("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});Ut("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
Ut("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});Ut("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=au(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}});Ut("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
Ut("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}});Ut("String.prototype.includes",function(a){return a?a:function(b,c){return au(this,b,"includes").indexOf(b,c||0)!==-1}});
var ZRb=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};Ut("Array.prototype.entries",function(a){return a?a:function(){return ZRb(this,function(b,c){return[b,c]})}});Ut("Array.prototype.keys",function(a){return a?a:function(){return ZRb(this,function(b){return b})}});Ut("globalThis",function(a){return a||da});
Ut("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});var $Rb=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}};Ut("Array.prototype.find",function(a){return a?a:function(b,c){return $Rb(this,b,c).v}});Ut("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Wt(b,d)&&c.push(b[d]);return c}});
Ut("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}});Ut("Math.log10",function(a){return a?a:function(b){return Math.log(b)/Math.LN10}});
Ut("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}});Ut("Array.prototype.values",function(a){return a?a:function(){return ZRb(this,function(b,c){return c})}});Ut("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});
Ut("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 bu=function(a){return a?a:Array.prototype.fill};Ut("Int8Array.prototype.fill",bu);Ut("Uint8Array.prototype.fill",bu);Ut("Uint8ClampedArray.prototype.fill",bu);Ut("Int16Array.prototype.fill",bu);Ut("Uint16Array.prototype.fill",bu);Ut("Int32Array.prototype.fill",bu);
Ut("Uint32Array.prototype.fill",bu);Ut("Float32Array.prototype.fill",bu);Ut("Float64Array.prototype.fill",bu);Ut("String.prototype.repeat",function(a){return a?a:function(b){var c=au(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("r");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});Ut("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}});
Ut("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}});Ut("Array.prototype.findIndex",function(a){return a?a:function(b,c){return $Rb(this,b,c).i}});
Ut("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}});
Ut("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("s");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}});
Ut("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 aSb=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};Ut("Array.prototype.at",function(a){return a?a:aSb});var cu=function(a){return a?a:aSb};Ut("Int8Array.prototype.at",cu);Ut("Uint8Array.prototype.at",cu);
Ut("Uint8ClampedArray.prototype.at",cu);Ut("Int16Array.prototype.at",cu);Ut("Uint16Array.prototype.at",cu);Ut("Int32Array.prototype.at",cu);Ut("Uint32Array.prototype.at",cu);Ut("Float32Array.prototype.at",cu);Ut("Float64Array.prototype.at",cu);Ut("String.prototype.at",function(a){return a?a:aSb});
Ut("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;})})}});Ut("Reflect.isExtensible",function(a){return a?a:typeof Object.isExtensible=="function"?Object.isExtensible:function(){return!0}});Ut("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});Ut("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});
var bSb=function(a,b){for(;a;){var c=Reflect.getOwnPropertyDescriptor(a,b);if(c)return c;a=Reflect.getPrototypeOf(a)}};Ut("Reflect.set",function(a){return a?a:function(b,c,d,e){var f=bSb(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}});Ut("Reflect.get",function(a){return a?a:function(b,c,d){if(arguments.length<=2)return b[c];var e=bSb(b,c);if(e)return e.get?e.get.call(d):e.value}});
Ut("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("t`"+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("u");c[d[0]]=d[1]}return c}});var cSb=function(a,b){a=a!==void 0?String(a):" ";return b>0&&a?a.repeat(Math.ceil(b/a.length)).substring(0,b):""};
Ut("String.prototype.padStart",function(a){return a?a:function(b,c){var d=au(this,null,"padStart");return cSb(c,b-d.length)+d}});Ut("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("v");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});
Ut("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("w`"+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});
Ut("String.prototype.codePointAt",function(a){return a?a:function(b){var c=au(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}}});Ut("String.prototype.padEnd",function(a){return a?a:function(b,c){var d=au(this,null,"padStart");return d+cSb(c,b-d.length)}});
Ut("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)}});Ut("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});var dSb=dSb||{},Ba=this||self,eSb=function(a,b){var c=gp("WIZ_global_data.oxN3nb");a=c&&c[a];return a!=null?a:b},du=Ba._F_toggles||[],gp=function(a,b){a=a.split(".");b=b||Ba;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},zb=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},Va=function(a){var b=zb(a);return b=="array"||b=="object"&&typeof a.length=="number"},Wa=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},Xa=function(a){return Object.prototype.hasOwnProperty.call(a,
fSb)&&a[fSb]||(a[fSb]=++gSb)},fSb="closure_uid_"+(Math.random()*1E9>>>0),gSb=0,hSb=function(a,b,c){return a.call.apply(a.bind,arguments)},iSb=function(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},eu=function(a,b,c){eu=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=
-1?hSb:iSb;return eu.apply(null,arguments)},fu=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)}},jSb=function(a){(0,eval)(a)},kSb=function(a,b){a=a.split(".");var c=Ba;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},gu=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),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}},lSb=function(a){return a};var Fma=aa(function(a){return typeof a==="number"}),Sma=aa(function(a){return typeof a==="string"}),Gma=aa(function(a){return typeof a==="boolean"}),spb=aa(function(a){return!!a&&(typeof a==="object"||typeof a==="function")}),baa=aa(function(a){return Array.isArray(a)});var ba=globalThis;var ea=Object.getOwnPropertyDescriptor,maa=Object.defineProperty,paa=Object.getPrototypeOf,Faa=Object.create,Gaa=Array.prototype.slice,$aa=ca("addEventListener"),aba=ca("removeEventListener"),pa=ca(""),mSb=typeof window!=="undefined",oa=mSb?window:void 0,ja=mSb&&oa||globalThis,nSb=typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope,yaa=!("nw"in ja)&&typeof ja.process!=="undefined"&&ja.process.toString()==="[object process]",Haa=!yaa&&!nSb&&!(!mSb||!oa.HTMLElement),Iaa=typeof ja.process!==
"undefined"&&ja.process.toString()==="[object process]"&&!nSb&&!(!mSb||!oa.HTMLElement),kaa={},oSb=ca("enable_beforeunload"),laa=function(a){if(a=a||ja.event){var b=kaa[a.type];b||(b=kaa[a.type]=ca("ON_PROPERTY"+a.type));var c=this||a.target||ja;b=c[b];Haa&&c===oa&&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"&&ja[oSb]&&typeof c==="string"?a.returnValue=c:c==void 0||c||a.preventDefault());
return c}},ka=ca("originalInstance"),raa=!1,saa=!1;var ra=!1;if(typeof window!=="undefined")try{var pSb=Object.defineProperty({},"passive",{get:function(){ra=!0}});window.addEventListener("test",pSb,pSb);window.removeEventListener("test",pSb,pSb)}catch(a){ra=!1}var Aaa={useG:!0},qa={},zaa={},Caa=new RegExp("^"+pa+"(\\w+)(true|false)$"),xaa=ca("propagationStopped");var Kaa,Laa,Maa,Naa,va;var Vaa=[].concat(r("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(" ")),
r(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),r(["autocomplete","autocompleteerror"]),r(["toggle"]),r("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),r("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(" ")),
r("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),r("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 Zaa=ca("zoneTask");gu(ya,Error);ya.prototype.name="CustomError";var qSb;gu(dba,ya);dba.prototype.name="AssertionError";var iba=void 0,gba,hba,rSb=typeof TextDecoder!=="undefined",mba,lba=typeof String.prototype.isWellFormed==="function",kba=typeof TextEncoder!=="undefined";var hu=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},wQa=function(a){return zr("@ldap.google.com",a.slice(a.length-16))==0},dq=function(a){return/^[\s\xa0]*$/.test(a)},mi=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},zr=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},zSb=function(a){if(!sSb.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace(tSb,"&amp;"));a.indexOf("<")!=
-1&&(a=a.replace(uSb,"&lt;"));a.indexOf(">")!=-1&&(a=a.replace(vSb,"&gt;"));a.indexOf('"')!=-1&&(a=a.replace(wSb,"&quot;"));a.indexOf("'")!=-1&&(a=a.replace(xSb,"&#39;"));a.indexOf("\x00")!=-1&&(a=a.replace(ySb,"&#0;"));return a},tSb=/&/g,uSb=/</g,vSb=/>/g,wSb=/"/g,xSb=/'/g,ySb=/\x00/g,sSb=/[\x00&<>"']/,Ga=function(a,b){return a.indexOf(b)!=-1},BSb=function(a,b){var c=0;a=mi(String(a)).split(".");b=mi(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=ASb(f[1].length==0?0:parseInt(f[1],10),h[1].length==0?0:parseInt(h[1],10))||ASb(f[2].length==0,h[2].length==0)||ASb(f[2],h[2]);f=f[3];h=h[3]}while(c==0)}return c},ASb=function(a,b){return a<b?-1:a>b?1:0};var CSb=!!(du[0]&2048),DSb=!!(du[0]&64),ESb=!!(du[0]&4096),FSb=!!(du[0]&32),GSb=!!(du[0]&16);var HSb=eSb(1,!0),Ea=CSb?ESb:eSb(610401301,!1),cca=CSb?DSb||!FSb:eSb(188588736,!0),Pda=CSb?DSb||!GSb:eSb(645172343,HSb);var Fa,ISb=Ba.navigator;Fa=ISb?ISb.userAgentData||null:null;var Cba=function(a,b){return Array.prototype.indexOf.call(a,b,void 0)},Na=function(a,b,c){Array.prototype.forEach.call(a,b,c)},JSb=function(a,b,c){return Array.prototype.filter.call(a,b,c)},KSb=function(a,b,c){return Array.prototype.map.call(a,b,c)},LSb=function(a,b){return Array.prototype.some.call(a,b,void 0)};var MSb=function(a){MSb[" "](a);return a};MSb[" "]=function(){};var NSb=function(a,b){try{return MSb(a[b]),!0}catch(c){}return!1};var OSb=pba(),Es=qba(),PSb=Ha("Edge"),iu=Ha("Gecko")&&!(Ga(Da().toLowerCase(),"webkit")&&!Ha("Edge"))&&!(Ha("Trident")||Ha("MSIE"))&&!Ha("Edge"),ju=Ga(Da().toLowerCase(),"webkit")&&!Ha("Edge"),QSb=ju&&Ha("Mobile"),rs=zba(),RSb=Ja()?Fa.platform==="Windows":Ha("Windows"),SSb=(Ja()?Fa.platform==="Linux":Ha("Linux"))||(Ja()?Fa.platform==="Chrome OS":Ha("CrOS")),TSb=xba(),USb=yba(),VSb=Ha("iPad"),WSb=Ha("iPod"),XSb=Ka();Ga(Da().toLowerCase(),"kaios");var YSb;
a:{var ZSb="",$Sb=function(){var a=Da();if(iu)return/rv:([^\);]+)(\)|;)/.exec(a);if(PSb)return/Edge\/([\d\.]+)/.exec(a);if(Es)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ju)return/WebKit\/(\S+)/.exec(a);if(OSb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();$Sb&&(ZSb=$Sb?$Sb[1]:"");if(Es){var aTb,bTb=Ba.document;aTb=bTb?bTb.documentMode:void 0;if(aTb!=null&&aTb>parseFloat(ZSb)){YSb=String(aTb);break a}}YSb=ZSb}var cTb=YSb;var dTb=rba(),eTb=yba()||Ha("iPod"),fTb=Ha("iPad"),gTb=uba(),hTb=sba(),iTb=tba()&&!Ka();var jTb={},ku=null,kTb=iu||ju||!iTb&&typeof Ba.atob=="function",mTb=function(a,b){b===void 0&&(b=0);lTb();b=jTb[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],k=a[e+1],q=a[e+2],t=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|q>>6];q=b[q&63];c[f++]=t+h+k+q}t=0;q=d;switch(a.length-e){case 2:t=a[e+1],q=b[(t&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|t>>4]+q+d}return c.join("")},xQb=function(a){if(kTb)return Ba.atob(a);var b="";nTb(a,function(c){b+=String.fromCharCode(c)});
return b},oTb=function(a){var b=[];nTb(a,function(c){b.push(c)});return b},nTb=function(a,b){function c(q){for(;d<a.length;){var t=a.charAt(d++),w=ku[t];if(w!=null)return w;if(!dq(t))throw Error("O`"+t);}return q}lTb();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(k===64&&e===-1)break;b(e<<2|f>>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}},lTb=function(){if(!ku){ku={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],
c=0;c<5;c++){var d=a.concat(b[c].split(""));jTb[c]=d;for(var e=0;e<d.length;e++){var f=d[e];ku[f]===void 0&&(ku[f]=e)}}}};var Qba=/[-_.]/g,Oba={"-":"+",_:"/",".":"="},hb={};var pTb,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 pTb||(pTb=new gb(null,hb))},zda=function(a){var b=a.value_;return b==null?"":typeof b==="string"?b:a.value_=Nba(b)};gb.prototype.isEmpty=function(){return this.value_==null};gb.prototype.sizeBytes=function(){var a=Rh(this);return a?a.length:0};
var Cta=function(a){var b={};b=b.parsingErrorsAreFatal===void 0?!0:b.parsingErrorsAreFatal;if(a=Rh(a)){var c=a.length;b=rSb?jba(a,0,c,b):fba(a,0,c,b)}else b="";return b},qTb=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=
Rh(a);b=Rh(b);return Sba(c,b)},Rh=function(a){if(hb!==hb)throw Error("P");var b=a.value_;b==null||Ya(b)||(typeof b==="string"?b=Rba(b):(zb(b),b=null));return b==null?b:a.value_=b},pda=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 qTb(a,b)};var cb=Symbol(),Vca=Symbol(),rTb=Symbol(),Mda=Symbol(),Yda=Symbol();var ec=function(a,b){a[cb]&=~b},ab=function(a){return a[cb]|0};var Yba={},Zba={},mda,sTb=[];sTb[cb]=55;mda=Object.freeze(sTb);var lu=function(a,b,c){this.idx_=0;this.arr_=a;this.mapper=b;this.thisArg=c};lu.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}};lu.prototype[Symbol.iterator]=function(){return new lu(this.arr_,this.mapper,this.thisArg)};var pb,fca,Sb=0,Bi=Object.freeze({});Object.freeze({});var Xda=Object.freeze({});var qca=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var tTb;var sb=0,tb=0;var Cca=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var ida={},mu=function(){var a=function(){return PRb(Map,[],this.constructor)};V(a,Map);return a}(),Qb=function(a,b,c,d){c=c===void 0?Yca:c;d=d===void 0?Yca:d;var e=mu.call(this)||this;var f=ab(a);f|=64;a[cb]=f;e.arrayState=f;e.valueCtor=b;e.keyToApi=c;e.valueToApi=e.valueCtor?Zca:d;for(var h=0;h<a.length;h++){var k=a[h],q=c(k[0],!1,!0),t=k[1];b?t===void 0&&(t=null):t=d(k[1],!1,!0,void 0,void 0,f);mu.prototype.set.call(e,q,t)}return e};V(Qb,mu);
var uTb=function(a){if(a.arrayState&2)throw Error("T");},Ada=function(a,b){b=b===void 0?$ca:b;if(a.size!==0)return Hda(a,b)},Hda=function(a,b){b=b===void 0?$ca:b;var c=[];a=mu.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=Qb.prototype;g.clear=function(){uTb(this);mu.prototype.clear.call(this)};g.delete=function(a){uTb(this);return mu.prototype.delete.call(this,this.keyToApi(a,!0,!1))};
g.entries=function(){var a=Array.from(mu.prototype.keys.call(this));return new lu(a,gda,this)};g.keys=function(){return mu.prototype.keys.call(this)};g.values=function(){var a=Array.from(mu.prototype.keys.call(this));return new lu(a,Qb.prototype.get,this)};g.forEach=function(a,b){var c=this;mu.prototype.forEach.call(this,function(d,e){a.call(b,c.get(e),e,c)})};
g.set=function(a,b){uTb(this);a=this.keyToApi(a,!0,!1);return a==null?this:b==null?(mu.prototype.delete.call(this,a),this):mu.prototype.set.call(this,a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState))};g.has=function(a){return mu.prototype.has.call(this,this.keyToApi(a,!1,!1))};
g.get=function(a){a=this.keyToApi(a,!1,!1);var b=mu.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&&mu.prototype.set.call(this,a,c),c):b}};var oda=function(a,b,c){return b instanceof Qb?bda(a,b,c):dda(a,b,c)};Qb.prototype[Symbol.iterator]=function(){return this.entries()};Qb.prototype.toJSON=void 0;Qb.prototype.mapPrototypeMarker=Zba;var hda;var Rb=void 0;var tda,uda,vda;var Uda=function(a){if(typeof Proxy!=="function")return a;var b=Tda(a);if(b)return b;b=new Proxy(a,{set:function(c,d,e){Ida();c[d]=e;return!0}});Lda(a,b);return b},Jda=void 0,Kda=void 0,Tda=function(a){var b;return(b=Jda)==null?void 0:b.get(a)},Wda=function(a){var b;return((b=Kda)==null?void 0:b.get(a))||a};var nu=function(a,b){a=a.internalArray_;return Zb(a,a[cb],b)},Zb=function(a,b,c,d){if(c===-1)return null;var e=b>>14&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(Oda(a,b,e,c)&&rTb!=null){var h;a=(h=tTb)!=null?h:tTb={};h=a[rTb]||0;h>=4||(a[rTb]=h+1,rca())}return d}return Oda(a,b,e,c)}},ro=function(a,b,c,d){var e=a.internalArray_,f=e[cb];mb(f);Wb(e,f,b,c,d);return a},Ak=function(a,b,c,d){return aea(a,b,c,d===void 0?!1:d)!==void 0},
ok=function(a,b,c,d){return aea(a,b,zj(a,d,c))!==void 0},vTb=function(a,b){a=a.internalArray_;return bea(a,a[cb],ou,b,3,!1,!0).length},pu=function(a,b,c,d,e){cea(a,b,c,e,d,!1,1);return a},jr=function(a,b){a=a.internalArray_;var c=a[cb],d=Zb(a,c,b),e=zca(d);e!=null&&e!==d&&Wb(a,c,b,e);return e},kr=function(a,b){a=a.internalArray_;var c=a[cb],d=Zb(a,c,b),e=kb(d,!0,!0,!!(c&34));e!=null&&e!==d&&Wb(a,c,b,e);return e},Ai=function(a,b){return a===Bi?2:b?4:2},qo=function(a,b){a=kr(a,b);return a==null?fb():
a},Xj=function(a,b,c,d){var e=a.internalArray_,f=e[cb];mb(f);if(d==null){var h=Zda(e);if($da(h,e,f,c)===b)h.set(c,0);else return a}else{h=Zda(e);var k=$da(h,e,f,c);k!==b&&(k&&(f=Wb(e,f,k)),h.set(c,b))}Wb(e,f,b,d);return a},zj=function(a,b,c){return xj(a,b)===c?c:-1},xj=function(a,b){a=a.internalArray_;return $da(Zda(a),a,a[cb],b)},qu=function(a,b,c){a=a.internalArray_;var d=a[cb];mb(d);var e=Zb(a,d,c);b=Nb(Kb(e,b,!0,d));e!==b&&Wb(a,d,c,b);return b},wTb=function(a,b,c,d){var e=a[cb],f=Zb(a,e,c,d),
h;if(f!=null&&ib(f))return b=Nb(f),b!==f&&Wb(a,e,c,b,d),b.internalArray_;if(Array.isArray(f)){var k=ab(f);k&2?h=Ub(f,k,!1):h=f;h=m(h,b[0],b[1])}else h=m(void 0,b[0],b[1]);h!==f&&Wb(a,e,c,h,d);return h},ru=function(a,b,c){return(a=aea(a,b,c,!1))?a:Uca(b)},Gj=function(a,b,c,d){d=d===void 0?!1:d;b=aea(a,b,c,d);if(b==null)return b;a=a.internalArray_;var e=a[cb];if(!(e&2)){var f=Nb(b);f!==b&&(b=f,Wb(a,e,c,b,d))}return b},Yj=function(a,b,c,d){a=a.internalArray_;var e=a[cb];return bea(a,e,b,c,d,void 0,!1,
!(2&e))},Pj=function(a,b,c,d,e){d==null&&(d=void 0);return ro(a,c,d,e)},gk=function(a,b,c,d){d==null&&(d=void 0);return Xj(a,b,c,d)},Dk=function(a,b,c){var d=a.internalArray_,e=d[cb];mb(e);if(c==null)return Wb(d,e,b),a;c=Wda(c);for(var f=ab(c),h=f,k=!!(2&f)||!!(2048&f),q=k||Object.isFrozen(c),t=!q&&(void 0===Xda||!1),w=!0,y=!0,D=0;D<c.length;D++){var G=c[D];k||(G=bb(G.internalArray_),w&&(w=!G),y&&(y=G))}k||(f|=5,f=w?f|8:f&-9,f=y?f|16:f&-17);if(t||q&&f!==h)c=$a(c),h=0,f=$b(f,e),f=bc(f,e,!0);f!==h&&
(c[cb]=f);Wb(d,e,b,c);return a},gr=function(a,b,c,d,e){cea(a,b,c,d,e);return a},su=function(a,b,c,d){a=a.internalArray_;var e=a[cb];mb(e);b=bea(a,e,c,b,2,!1,!0);a=c=0;if(Array.isArray(d))for(e=0;e<d.length;e++){var f=d[e];b.push(f);(f=bb(f.internalArray_))&&!c++&&ec(b,8);f||a++||ec(b,16)}else for(d=l(d),e=d.next();!e.done;e=d.next())e=e.value,b.push(e),(e=bb(e.internalArray_))&&!c++&&ec(b,8),e||a++||ec(b,16)},tu=function(a,b){return Qca(nu(a,b))},zl=function(a,b){return Ib(nu(a,b))},uu=function(a,
b){a=nu(a,b);var c;a==null?c=a:Cb(a)?typeof a==="number"?c=Nca(a):c=Pca(a):c=void 0;return c},il=function(a,b,c,d,e){return cc(a,b,Qca,c,d,e,0)},$k=function(a,b){return cc(a,b,dea,1,void 0,void 0,4096)},xTb=function(a,b){return cc(a,b,Ib,Ai(),void 0,void 0,0)},qt=function(a,b){return Bca(nu(a,b))},vu=function(a,b){return Fb(nu(a,b))},Tj=function(a,b){return Tca(nu(a,b))},yt=function(a,b){return Eca(nu(a,b))},hk=function(a,b,c){c=c===void 0?!1:c;return nc(qt(a,b),c)},Lj=function(a,b,c){c=c===void 0?
0:c;return nc(vu(a,b),c)},Jj=function(a,b,c){c=c===void 0?0:c;return nc(tu(a,b),c)},yTb=function(a){var b=b===void 0?0:b;return nc(uu(a,23),b)},wu=function(a,b,c){c=c===void 0?"0":c;return nc(zl(a,b),c)},ak=function(a,b,c){c=c===void 0?0:c;return nc(jr(a,b),c)},Zh=function(a,b,c){c=c===void 0?"":c;return nc(Tj(a,b),c)},Kj=function(a,b,c){c=c===void 0?0:c;return nc(yt(a,b),c)},xu=function(a,b){var c=c===void 0?"0":c;return nc(Ib(nu(a,b),!0),c)},Al=function(a,b){var c=c===void 0?"0":c;return nc(Ib(nu(a,
b),!0),c)},Zk=function(a,b,c,d,e){return cc(a,b,Fb,c,d,e)},yu=function(a,b,c){a=Zk(a,b,3,void 0,!0);ob(a,c);return a[c]},zTb=function(a,b){a=il(a,b,3,void 0,!0);ob(a);return a[void 0]},ATb=function(a,b,c,d,e){return cc(a,b,zca,c,d,e)},zi=function(a,b,c,d,e){return cc(a,b,Tca,c,d,e)},zu=function(a,b,c){a=zi(a,b,3,void 0,!0);ob(a,c);return a[c]},Jl=function(a,b,c,d,e){return cc(a,b,Eca,c,d,e)},BTb=function(a,b){a=Jl(a,b,3,void 0,!0);ob(a);return a[void 0]},K$a=function(a,b){b=zj(a,dr,b);a=nu(a,b);var c=
c===void 0?!1:c;c=a==null?a:Cb(a)?typeof a==="string"?Pca(a):c?Oca(a):Nca(a):void 0;return c},Yn=function(a,b,c){return Tj(a,zj(a,c,b))},bk=function(a,b,c,d){return Gj(a,b,zj(a,d,c))},Au=function(a,b){a=vu(a,b);return a==null?void 0:a},It=function(a,b){a=tu(a,b);return a==null?void 0:a},Jm=function(a,b){a=Tj(a,b);return a==null?void 0:a},Ot=function(a,b){a=yt(a,b);return a==null?void 0:a},Ll=function(a,b,c){return ro(a,b,Bb(c))},jk=function(a,b,c){return jc(a,b,Bb(c),!1)},Ml=function(a,b,c){return ro(a,
b,c==null?c:Eb(c))},kj=function(a,b,c){return jc(a,b,c==null?c:Eb(c),0)},Tl=function(a,b,c){return ro(a,b,Hb(c))},Ij=function(a,b,c){return jc(a,b,Hb(c),"0")},Sl=function(a,b,c){return ro(a,b,Hb(c))},Ik=function(a,b,c){return jc(a,b,yb(c),0)},Sj=function(a,b,c){return ro(a,b,Sca(c))},sj=function(a,b,c){return jc(a,b,Sca(c),"")},Cj=function(a,b,c,d){return Xj(a,b,c,Sca(d))},Oj=function(a,b,c){return jc(a,b,kb(c,!1,!0,!1),fb())},Ol=function(a,b,c){return ro(a,b,Dca(c))},uj=function(a,b,c){return jc(a,
b,Dca(c),0)},Bu=function(a,b,c){return mc(a,b,Eb,c,void 0,Zk)},Vl=function(a,b,c){return hc(a,b,c,Gb)},tj=function(a,b,c){return hc(a,b,c,Jb)},Ul=function(a,b,c){return hc(a,b,c,Db)},tl=function(a,b){return qt(a,b)!=null},ul=function(a,b){return vu(a,b)!=null},El=function(a,b){return tu(a,b)!=null},vl=function(a,b){return Tj(a,b)!=null},wl=function(a,b){return yt(a,b)!=null};var fea,oc,cra=0,X=function(a,b,c){this.internalArray_=m(a,b,c)};X.prototype.toJSON=function(){return gea(this)};X.prototype.serialize=function(a){try{return oc=!0,a&&(fea=a===hca||a!==gca&&a!==lca&&a!==oca?hca:a),JSON.stringify(gea(this),yda)}finally{a&&(fea=void 0),oc=!1}};var Vqa=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("$");return Tb(a,Uba(b))};
X.prototype.getExtension=function(a){return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,Ai(void 0,!0),!0):a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,Ai(void 0,!0),!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var CTb=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};
X.prototype.hasExtension=function(a){return a.ctor?Ak(this,a.ctor,a.fieldIndex,!0):CTb(this,a)!==void 0};X.prototype.clone=function(){var a=this.internalArray_;return Tb(this.constructor,Ub(a,a[cb],!1))};X.prototype.isMutable=function(){return!bb(this.internalArray_)};X.prototype.isImmutable=function(){return bb(this.internalArray_)};
var rt=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)};X.prototype.messagePrototypeMarker=Yba;X.prototype.toString=function(){try{return oc=!0,gea(this).toString()}finally{oc=!1}};var qea="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var DTb,ETb=function(){if(DTb===void 0){var a=null,b=Ba.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:lSb,createScript:lSb,createScriptURL:lSb})}catch(c){Ba.console&&Ba.console.error(c.message)}DTb=a}else DTb=a}return DTb};var Cu=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===FTb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=GTb};Cu.prototype.toString=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var HTb=function(a){return a instanceof Cu&&a.constructor===Cu&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===GTb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},GTb={},FTb={};var Du=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};Du.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};var Cc=function(a){if(a instanceof Du&&a.constructor===Du)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;zb(a);return"type_error:TrustedResourceUrl"},ITb={},Ph=function(a){var b=ETb();a=b?b.createScriptURL(a):a;return new Du(a,ITb)};var JTb=Vt([""]),KTb=MRb(["\x00"],["\\0"]),LTb=MRb(["\n"],["\\n"]),MTb=MRb(["\x00"],["\\u0000"]);tea(function(a){return a(JTb)})||tea(function(a){return a(KTb)})||tea(function(a){return a(LTb)})||tea(function(a){return a(MTb)});var uc=function(a){this.privateDoNotAccessOrElseWrappedUrl=a};uc.prototype.toString=function(){return this.privateDoNotAccessOrElseWrappedUrl};var wea=new uc("about:invalid#zClosurez");var uea=function(a){this.isValid=a},vea=[wc("data"),wc("http"),wc("https"),wc("mailto"),wc("ftp"),new uea(function(a){return/^[^:]*([/?#]|$)/.test(a)})],xea=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;var NTb=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a};NTb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};var OTb=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a};OTb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};var PTb={},zc=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a};zc.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var Mh=function(a){if(a instanceof zc&&a.constructor===zc)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;zb(a);return"type_error:SafeHtml"},VJa=function(a){return a instanceof zc?a:Kh(zSb(String(a)))},Kh=function(a){var b=ETb();a=b?b.createHTML(a):a;return new zc(a,PTb)},Tr=new zc(Ba.trustedTypes&&Ba.trustedTypes.emptyHTML||"",PTb);var QTb="alternate author bookmark canonical cite help icon license modulepreload next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var STb=function(a){var b=gp("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||Ba.$googDebugFname||b}catch(h){e="Not available",c=!0}b=RTb(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,Eu[c])c=Eu[c];else{c=String(c);if(!Eu[c]){var f=/function\s+([^\(]+)/m.exec(c);Eu[c]=f?f[1]:"[Anonymous]"}c=Eu[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}},RTb=function(a,b){b||(b={});b[TTb(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[TTb(a)]&&(c+="\nCaused by: ",a.stack&&a.stack.indexOf(a.toString())==0||(c+=typeof a==="string"?a:a.message+"\n"),c+=RTb(a,b));return c},TTb=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack},Eu={};var UTb=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")},VTb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},Cp=function(a){return!/[^0-9]/.test(a)},$p=function(a){return a=zSb(a)},WTb=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},VLb=function(a,b,c){return a.replace(new RegExp(vo(b),
"g"),c.replace(/\$/g,"$$$$"))},vo=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},XTb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Fu=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+XTb("0",Math.max(0,b-c))+a},cq=function(a){return a==null?"":String(a)},Gu=function(){return Math.floor(Math.random()*
2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Date.now()).toString(36)},yk=function(a){var b=Number(a);return b==0&&dq(a)?NaN:b},YTb=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()},ni=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},ii=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},ZTb=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 Hu=function(a,b){this.key_=a;this.value_=b},$Tb=function(a){throw Error("ea`"+a.key_);};Hu.prototype.string=function(a){if(this.value_==null)return arguments.length==0&&$Tb(this),a;if(typeof this.value_==="string")return this.value_;throw new TypeError("fa`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
Hu.prototype.bool=function(a){if(this.value_==null)return arguments.length==0&&$Tb(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("ha`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};
var bUb=function(){var a=aUb;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("ia`"+a.key_+"`"+a.value_+"`"+typeof a.value_);};
Hu.prototype.number=function(a){if(this.value_==null)return arguments.length==0&&$Tb(this),a;if(typeof this.value_==="number")return this.value_;if(typeof this.value_==="string"){var b=Number(this.value_);if(!isNaN(b)&&!dq(this.value_))return b}throw new TypeError("ja`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};Hu.prototype.isDefined=function(){return this.value_!=null};
Hu.prototype.toString=function(){if(this.value_==null)var a=null;else if(typeof this.value_==="string")a=this.value_;else throw new TypeError("ga`"+this.key_+"`"+this.value_+"`"+typeof this.value_);a===null&&$Tb(this);return a};Hu.prototype.array=function(a){if(this.value_==null){if(arguments.length==0)throw Error("ea`"+this.key_);return a}return cUb(this,Va(this.value_)?this.value_:typeof this.value_!=="string"?[this.value_]:dUb(this))};
var cUb=function(a,b){return KSb(b,function(c,d){return new Hu(this.key_+"["+d+"]",c)},a)},dUb=function(a){a=a.string();return a.trim()==""?[]:a.split(",").map(function(b){return b.trim()})};Hu.prototype.object=function(a){if(this.value_==null){if(arguments.length==0)throw Error("ea`"+this.key_);return a}if(!Va(this.value_)&&Wa(this.value_))return hea(this.value_,function(b,c){return new Hu(this.key_+"."+c,b)},this);throw new TypeError("ka`"+this.key_+"`"+this.value_+"`"+typeof this.value_);};var eUb;if(!(eUb=typeof window==="undefined")){var aUb,fUb,gUb=fUb=fUb===void 0?window:fUb;gUb=gUb===void 0?window:gUb;var hUb,iUb=gUb;iUb=iUb===void 0?window:iUb;hUb=iUb.WIZ_global_data;aUb=new Hu("mXaIFf",hUb&&"mXaIFf"in hUb?hUb.mXaIFf:null);var jUb=bUb();eUb=jUb===null?!0:jUb}
if(eUb){var Iu=globalThis,kUb=Iu[ca("forceDuplicateZoneCheck")]===!0;if(Iu.Zone&&(kUb||typeof Iu.Zone.__symbol__!=="function"))throw Error("oa");Iu.Zone!=null||(Iu.Zone=faa());var ta=Iu.Zone;Dea();Eea();Fea();Jaa();Xaa();bba();cba()};var Gea=Ec({"\u0275prov":Ec}),Kea=Ec({"\u0275inj":Ec}),Hea=Ec({ngInjectableDef:Ec}),Lea=Ec({ngInjectorDef:Ec});var Jc=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};V(Jc,Error);var bd=Ec({"\u0275cmp":Ec}),Cfa=Ec({"\u0275dir":Ec}),Gfa=Ec({"\u0275pipe":Ec}),lUb=Ec({"\u0275mod":Ec}),Ifa=Ec({"\u0275fac":Ec}),Hd=Ec({__NG_ELEMENT_ID__:Ec}),mUb=Ec({__NG_ENV_ID__:Ec});var Kc=null,Mc=!1,Uea=1,Oc=Symbol("qa"),Ju={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 nUb=Symbol("ra"),oUb=Symbol("sa"),efa=Symbol("ta"),dfa=Object.assign({},Ju,{value:nUb,dirty:!0,error:null,equal:Pea,producerMustRecompute:function(a){return a.value===nUb||a.value===oUb},producerRecomputeValue:function(a){if(a.value===oUb)throw Error("ua");var b=a.value;a.value=oUb;var c=$ea(a);try{var d=a.computation()}catch(e){d=efa,a.error=e}finally{afa(a,c)}b!==nUb&&b!==efa&&d!==efa&&a.equal(b,d)?a.value=b:(a.value=d,a.version++)}});var ifa=function(){throw Error();};var gfa=Object.assign({},Ju,{equal:Pea,value:void 0});var lfa=function(){},kfa=Object.assign({},Ju,{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:function(a){a.schedule!==null&&a.schedule(a.ref)},hasRun:!1,cleanupFn:lfa});var Pc;var pfa=Ec({__forward_ref__:Ec});var ld=function(a,b){this._desc=a;this.\u0275prov=void 0;typeof b=="number"?this.__NG_ELEMENT_ID__=b:b!==void 0&&(this.\u0275prov=Fc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};ld.prototype.toString=function(){return"InjectionToken "+this._desc};da.Object.defineProperties(ld.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Ke=globalThis;var pUb={},qUb=/\n/gm,Vc=void 0;var Sfa=new ld("");var rUb=new ld("",-1);var Rfa=new ld("");var Wfa=function(){};Wfa.prototype.get=function(a,b){b=b===void 0?pUb:b;if(b===pUb)throw a=Error("wa`"+Ic(a)),a.name="NullInjectorError",a;return b};var dd={},ad=[];var Tfa=Ec({provide:String,useValue:Ec});var rma=new ld("");var aga={},sUb={},Vfa=void 0,Ku=function(){},nd=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;cga(a,function(f){return tUb(e,f)});this.records.set(rUb,md(void 0,this));d.has("environment")&&this.records.set(Ku,md(void 0,this));a=this.records.get(rma);a!=null&&typeof a.value==="string"&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Rfa,ad,2))};V(nd,Ku);
nd.prototype.destroy=function(){dga(this);this._destroyed=!0;var a=Lc(null);try{for(var b=l(this._ngOnDestroyHooks),c=b.next();!c.done;c=b.next())c.value.ngOnDestroy();var d=this._onDestroyHooks;this._onDestroyHooks=[];for(var e=l(d),f=e.next();!f.done;f=e.next()){var h=f.value;h()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Lc(a)}};
nd.prototype.onDestroy=function(a){var b=this;dga(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);c!==-1&&b._onDestroyHooks.splice(c,1)}};
nd.prototype.get=function(a,b,c){b=b===void 0?pUb:b;c=c===void 0?0:c;dga(this);if(a.hasOwnProperty(mUb))return a[mUb](this);c=rfa(c);var d=Wc(this),e=Qc();try{if(!(c&4)){var f=this.records.get(a);if(f===void 0){var h=(typeof a==="function"||typeof a==="object"&&a instanceof ld)&&Iea(a),k;if(k=h)if(h.providedIn){var q=Tc(h.providedIn);k=typeof q==="string"?q==="any"||this.scopes.has(q):this.injectorDefTypes.has(q)}else k=!1;k?f=md(Zfa(a),aga):f=null;this.records.set(a,f)}if(f!=null){a:{b=f;var t=Lc(null);
try{b.value===aga&&(b.value=sUb,b.value=b.factory());var w;if(w=typeof b.value==="object"&&b.value){var y=b.value;w=y!==null&&typeof y==="object"&&typeof y.ngOnDestroy==="function"}w&&this._ngOnDestroyHooks.add(b.value);var D=b.value;break a}finally{Lc(t)}D=void 0}return D}}var G=c&2?Xfa():this.parent;b=c&8&&b===pUb?null:b;return G.get(a,b)}catch(ua){if(ua.name==="NullInjectorError"){(ua.ngTempTokenPath=ua.ngTempTokenPath||[]).unshift(Ic(a));if(d)throw ua;D=ua;var I=this.source,N=D.ngTempTokenPath;
a.__source&&N.unshift(a.__source);var S="\n"+D.message;a=I;a=a===void 0?null:a;S=S&&S.charAt(0)==="\n"&&S.charAt(1)=="\u0275"?S.slice(2):S;var W=Ic(N);if(Array.isArray(N))W=N.map(Ic).join(" -> ");else if(typeof N==="object"){I=[];for(var Z in N)if(N.hasOwnProperty(Z)){var fa=N[Z];I.push(Z+":"+(typeof fa==="string"?JSON.stringify(fa):Ic(fa)))}W="{"+I.join(", ")+"}"}var ma="R3InjectorError"+(a?"("+a+")":"")+"["+W+"]: "+S.replace(qUb,"\n  ");D.message=ma;D.ngTokenPath=N;D.ngTempTokenPath=null;throw D;
}throw ua;}finally{Qc(e),Wc(d)}};var Qga=function(a){var b=Lc(null),c=Wc(a),d=Qc();try{for(var e=a.get(Sfa,ad,2),f=l(e),h=f.next();!h.done;h=f.next()){var k=h.value;k()}}finally{Wc(c),Qc(d),Lc(b)}};nd.prototype.toString=function(){for(var a=[],b=l(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(Ic(c.value));return"R3Injector["+a.join(", ")+"]"};
var dga=function(a){if(a._destroyed)throw new Jc(205,!1);},tUb=function(a,b){b=Tc(b);var c=kd(b)?b:Tc(b&&b.provide),d=bga(b);if(!kd(b)&&b.multi===!0){var e=a.records.get(c);e||(e=md(void 0,aga,!0),e.factory=function(){return sfa(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};da.Object.defineProperties(nd.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var iga=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};iga.prototype.isFirstChange=function(){return this.firstChange};rd.ngInherit=!0;var zd=rga(null),bja=null,jia=!1,Kf=!0;var Md=function(a,b){var c=B;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var uUb={};var vUb=function(a,b){this.injector=a;this.parentInjector=b};vUb.prototype.get=function(a,b,c){c=rfa(c);var d=this.injector.get(a,uUb,c);return d!==uUb||b===uUb?d:this.parentInjector.get(a,b,c)};var zga=!0,Bga=0,Kd={},Nd=function(a,b){this._tNode=a;this._lView=b};Nd.prototype.get=function(a,b,c){return Kga(this._tNode,this._lView,a,rfa(c),b)};(new ld("")).__NG_ELEMENT_ID__=function(a){var b=Ad();if(b===null)throw new Jc(204,!1);if(b.type&2)return b.value;if(a&8)return null;throw new Jc(204,!1);};var wUb=Yc(Pd(function(a){return{token:a}}),-1),Lu=Yc(Pd(),8);Yc(Pd(),2);var Mu=Yc(Pd(),4);Yc(Pd(),1);Ec({provide:String,useValue:Ec});var Ne=function(){},Sg=function(a){if(Array.isArray(a))return Rga({name:""},void 0,a,"");var b,c=(b=a.name)!=null?b:"";return Rga({name:c},a.parent,a.providers,c)},xUb=new Wfa;Ne.\u0275prov=Fc({token:Ne,providedIn:"any",factory:function(){return n(rUb)}});Ne.__NG_ELEMENT_ID__=-1;var Nu=function(){};var Ou=function(){},wBa=function(){};var yUb=function(){},zUb=new ld("",{providedIn:"root",factory:function(){return!1}});new ld("",{providedIn:"root",factory:function(){return!1}});var kma=new ld("");var Sga=void 0;var Uga=new Map,$ia=0;var AUb=new ld("",{providedIn:"root",factory:function(){return"ng"}}),tma=new ld(""),Oe=new ld("",{providedIn:"platform",factory:function(){return"unknown"}});new ld("");
var Pu=new ld(""),BUb=new ld("",{providedIn:"root",factory:function(){var a,b;return((a=Tga().body)==null?void 0:(b=a.querySelector("[ngCspNonce]"))==null?void 0:b.getAttribute("ngCspNonce"))||null}}),CUb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1};new ld("",{providedIn:"root",factory:function(){return CUb}});var DUb=function(){},EUb=function(){};var Rd=function(a){this.nativeElement=a};Rd.__NG_ELEMENT_ID__=function(){return Sd(Ad(),u())};var FUb=function(){},Qu=function(){this.destroyNode=null};Qu.__NG_ELEMENT_ID__=function(){var a=u(),b=ud(Ad().index,a);return(pd(b)?b:a)[11]};var GUb=this,gf=function(){this._console=console};gf.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};gf.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};var ima=new ld("",{providedIn:"root",factory:function(){return Xc(gf).handleError.bind(GUb)}});var Se=function(){};Se.__NG_ELEMENT_ID__=Xga;Se.__NG_ENV_ID__=function(a){return a};var Td=function(a){this._lView=a};V(Td,Se);Td.__NG_ENV_ID__=Se.__NG_ENV_ID__;Td.__NG_ELEMENT_ID__=Se.__NG_ELEMENT_ID__;Td.prototype.onDestroy=function(a){var b=this;mga(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 Zga=new Set;var HUb=Wd(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 Yd=function(a){this.initialTeardown=a;this.closed=!1;this._teardowns=this._parentage=null};g=Yd.prototype;
g.unsubscribe=function(){if(!this.closed){this.closed=!0;var a=this._parentage;if(Array.isArray(a))for(var b=l(a),c=b.next();!c.done;c=b.next())c.value.remove(this);else a==null||a.remove(this);b=this.initialTeardown;if(Xd(b))try{b()}catch(f){var d=f instanceof HUb?f.errors:[f]}var e=this._teardowns;if(e)for(this._teardowns=null,b=l(e),c=b.next();!c.done;c=b.next()){c=c.value;try{Xd(c)?c():c.unsubscribe()}catch(f){c=void 0,d=(c=d)!=null?c:[],f instanceof HUb?d=[].concat(r(d),r(f.errors)):d.push(f)}}if(d)throw new HUb(d);
}};g.add=function(a){if(a&&a!==this)if(this.closed)Xd(a)?a():a.unsubscribe();else{if(a instanceof Yd){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)&&$ga(b,a)};g.remove=function(a){var b=this._teardowns;b&&$ga(b,a);a instanceof Yd&&a._removeParent(this)};var IUb=new Yd;IUb.closed=!0;Yd.EMPTY=IUb;var Ru=function(a){Yd.call(this);this.isStopped=!1;this.destination=a instanceof Ru?a:new Su(!a||Xd(a)?{next:a!=null?a:void 0}:a);aha(a)&&a.add(this)};V(Ru,Yd);Ru.EMPTY=Yd.EMPTY;Ru.create=function(a,b,c){return new Tu(a,b,c)};g=Ru.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,Yd.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 Su=function(a){this.partialObserver=a};Su.prototype.next=function(a){var b=this.partialObserver;if(b.next)try{b.next(a)}catch(c){$d(c)}};Su.prototype.error=function(a){var b=this.partialObserver;if(b.error)try{b.error(a)}catch(c){$d(c)}else $d(a)};Su.prototype.complete=function(){var a=this.partialObserver;if(a.complete)try{a.complete()}catch(b){$d(b)}};
var Tu=function(a,b,c){Ru.call(this);var d;Xd(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 Su(d)};V(Tu,Ru);Tu.EMPTY=Ru.EMPTY;Tu.create=Ru.create;var de=typeof Symbol==="function"&&Symbol.observable||"@@observable";var ce=function(a){a&&(this._subscribe=a)};g=ce.prototype;g.lift=function(a){var b=new ce;b.source=this;b.operator=a;return b};g.subscribe=function(a,b,c){a=a&&a instanceof Ru||a&&Xd(a.next)&&Xd(a.error)&&Xd(a.complete)&&aha(a)?a:new Tu(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(e){var b;a:{for(b=a;b;){var c=b.destination,d=b.isStopped;if(b.closed||d){b=!1;break a}b=c&&c instanceof Ru?c:null}b=!0}b?a.error(e):$d(e)}};g.forEach=function(a,b){var c=this;b=cha(b);return new b(function(d,e){var f=c.subscribe(function(h){try{a(h)}catch(k){e(k),f==null||f.unsubscribe()}},e,d)})};g._subscribe=function(a){var b;return(b=this.source)==null?void 0:b.subscribe(a)};ce.prototype[de]=function(){return this};
ce.prototype.pipe=function(){var a=jd.apply(0,arguments);return a.length?bha(a)(this):this};var JUb=function(a){var b=cha(b);return new b(function(c,d){var e;a.subscribe(function(f){return e=f},function(f){return d(f)},function(){return c(e)})})};ce.create=function(a){return new ce(a)};var KUb=Wd(function(a){return function(){a(this);this.message="object unsubscribed"}});var yf=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};V(yf,ce);g=yf.prototype;g.lift=function(a){var b=new Uu(this,this);b.operator=a;return b};g._throwIfClosed=function(){if(this.closed)throw new KUb;};g.next=function(a){this._throwIfClosed();if(!this.isStopped)for(var b=l(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 ce.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?Yd.EMPTY:(d.push(a),new Yd(function(){return $ga(b.observers,a)}))};g._checkFinalizedStatuses=function(a){var b=this.thrownError,c=this.isStopped;this.hasError?a.error(b):c&&a.complete()};var Ir=function(a){var b=new ce;b.source=a;return b};
da.Object.defineProperties(yf.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.observers)==null?void 0:a.length)>0}}});yf.create=function(a,b){return new Uu(a,b)};var Uu=function(a,b){yf.call(this);this.destination=a;this.source=b};V(Uu,yf);Uu.create=yf.create;Uu.prototype.next=function(a){var b,c;(b=this.destination)==null||(c=b.next)==null||c.call(b,a)};Uu.prototype.error=function(a){var b,c;(b=this.destination)==null||(c=b.error)==null||c.call(b,a)};
Uu.prototype.complete=function(){var a,b;(a=this.destination)==null||(b=a.complete)==null||b.call(a)};Uu.prototype._subscribe=function(a){var b,c;return(c=(b=this.source)==null?void 0:b.subscribe(a))!=null?c:Yd.EMPTY};var rn=function(a){yf.call(this);this._value=a};V(rn,yf);rn.create=yf.create;rn.prototype._subscribe=function(a){var b=yf.prototype._subscribe.call(this,a);!b.closed&&a.next(this._value);return b};rn.prototype.getValue=function(){var a=this.thrownError,b=this._value;if(this.hasError)throw a;this._throwIfClosed();return b};rn.prototype.next=function(a){yf.prototype.next.call(this,this._value=a)};da.Object.defineProperties(rn.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Fe=new ce(function(a){return a.complete()});var fha=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var kha=function(a){return a&&typeof a.length==="number"&&typeof a!=="function"};var LUb={now:function(){return(LUb.delegate||Date).now()},delegate:void 0};var xf=function(a,b,c){a=a===void 0?Infinity:a;b=b===void 0?Infinity:b;c=c===void 0?LUb:c;yf.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)};V(xf,yf);xf.create=yf.create;
xf.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));MUb(this);yf.prototype.next.call(this,a)};xf.prototype._subscribe=function(a){this._throwIfClosed();MUb(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 MUb=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 OUb=function(a,b){b=b===void 0?NUb:b;this.SchedulerAction=a;this.now=b};OUb.prototype.schedule=function(a,b,c){b=b===void 0?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var NUb=LUb.now;var re=Wd(function(a){return function(){a(this);this.message="no elements in sequence"}});var ue=function(a,b,c,d,e){Ru.call(this,a);this.onUnsubscribe=e;b&&(this._next=function(f){try{b(f)}catch(h){this.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()})};V(ue,Ru);ue.EMPTY=Ru.EMPTY;ue.create=Ru.create;ue.prototype.unsubscribe=function(){var a;this.closed||(a=this.onUnsubscribe)!=null&&a.call(this);Ru.prototype.unsubscribe.call(this)};var wf=function(a,b){this.source=a;this.subjectFactory=b;this._subject=null;this._refCount=0;this._connection=null};V(wf,ce);wf.create=ce.create;wf.prototype._subscribe=function(a){return PUb(this).subscribe(a)};var PUb=function(a){var b=a._subject;if(!b||b.isStopped)a._subject=a.subjectFactory();return a._subject};wf.prototype._teardown=function(){this._refCount=0;var a=this._connection;this._subject=this._connection=null;a==null||a.unsubscribe()};
wf.prototype.connect=function(){var a=this,b=this._connection;if(!b){b=this._connection=new Yd;var c=PUb(this);b.add(this.source.subscribe(new ue(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=Yd.EMPTY)}return b};wf.prototype.refCount=function(){return ve()(this)};var vha=Array.isArray;var xha=Array.isArray,QUb=Object,yha=QUb.getPrototypeOf,zha=QUb.prototype,Aha=QUb.keys;var xe=function(a,b,c){Ru.call(this,a);this._next=b;this.shouldComplete=c};V(xe,Ru);xe.EMPTY=Ru.EMPTY;xe.create=Ru.create;xe.prototype._complete=function(){this.shouldComplete()?Ru.prototype._complete.call(this):this.unsubscribe()};var RUb=function(){return requestAnimationFrame.apply(null,r(jd.apply(0,arguments)))},SUb=function(){cancelAnimationFrame.apply(null,r(jd.apply(0,arguments)))};var Vu=function(){Yd.call(this)};V(Vu,Yd);Vu.EMPTY=Yd.EMPTY;Vu.prototype.schedule=function(){return this};var TUb=function(a,b){return setInterval.apply(null,[a,b].concat(r(jd.apply(2,arguments))))};var Wu=function(a,b){Yd.call(this);this.scheduler=a;this.work=b;this.pending=!1};V(Wu,Vu);Wu.EMPTY=Vu.EMPTY;g=Wu.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 TUb(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("Da");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,c=void 0;try{this.work(a)}catch(d){b=!0,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;$ga(c,this);a!=null&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null;Vu.prototype.unsubscribe.call(this)}};var Xu=function(a,b){b=b===void 0?NUb:b;OUb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};V(Xu,OUb);Xu.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 Ee=new Xu(Wu);var Yu=new ce(Zd);var Kha=Array.isArray;var Rha=Wd(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 Zu=function(a,b){Wu.call(this,a,b);this.scheduler=a;this.work=b};V(Zu,Wu);Zu.EMPTY=Wu.EMPTY;Zu.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return Wu.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=RUb(function(){return a.flush(void 0)}))};
Zu.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return Wu.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(SUb(b),a.scheduled=void 0)};var UUb=function(){Xu.apply(this,arguments)};V(UUb,Xu);UUb.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 VUb=new UUb(Zu);var WUb=1,XUb,Sha={},YUb=function(a){var b=WUb++;Sha[b]=!0;XUb||(XUb=Promise.resolve());XUb.then(function(){return Tha(b)&&a()});return b};var ZUb=function(){return YUb.apply(null,r(jd.apply(0,arguments)))};var $u=function(a,b){Wu.call(this,a,b);this.scheduler=a;this.work=b};V($u,Wu);$u.EMPTY=Wu.EMPTY;$u.prototype.requestAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!==null&&c>0)return Wu.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=ZUb(a.flush.bind(a,void 0)))};
$u.prototype.recycleAsyncId=function(a,b,c){c=c===void 0?0:c;if(c!=null&&c>0||c==null&&this.delay>0)return Wu.prototype.recycleAsyncId.call(this,a,b,c);a.actions.length===0&&(Tha(b),a.scheduled=void 0)};var $Ub=function(){Xu.apply(this,arguments)};V($Ub,Xu);$Ub.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 jo=new $Ub($u);Wd(function(a){return function(){a(this);this.message="argument out of range"}});Wd(function(a){return function(b){a(this);this.message=b}});Wd(function(a){return function(b){a(this);this.message=b}});var av=function(){this.taskId=0;this.pendingTasks=new Set;this.hasPendingTasks=new rn(!1)};av.prototype.add=function(){this._hasPendingTasks||this.hasPendingTasks.next(!0);var a=this.taskId++;this.pendingTasks.add(a);return a};av.prototype.remove=function(a){this.pendingTasks.delete(a);this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)};av.prototype.ngOnDestroy=function(){this.pendingTasks.clear();this._hasPendingTasks&&this.hasPendingTasks.next(!1)};
da.Object.defineProperties(av.prototype,{_hasPendingTasks:{configurable:!0,enumerable:!0,get:function(){return this.hasPendingTasks.value}}});av.\u0275prov=Fc({token:av,providedIn:"root",factory:function(){return new av}});var bv=function(a){a=a===void 0?!1:a;yf.call(this);this.pendingTasks=void 0;this.__isAsync=a;if(Pc!==void 0||Vc!=null){Xc(Se,{optional:!0});var b;this.pendingTasks=(b=Xc(av,{optional:!0}))!=null?b:void 0}};V(bv,yf);bv.create=yf.create;bv.prototype.emit=function(a){var b=Lc(null);try{yf.prototype.next.call(this,a)}finally{Lc(b)}};
bv.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=aVb(this,b),d&&(d=aVb(this,d)),c&&(c=aVb(this,c)));d=yf.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof Yd&&a.add(d);return d};
var aVb=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 Me=function(a){var b=a.enableLongStackTrace===void 0?!1:a.enableLongStackTrace;var c=a.shouldCoalesceEventChangeDetection===void 0?!1:a.shouldCoalesceEventChangeDetection;a=a.shouldCoalesceRunChangeDetection===void 0?!1:a.shouldCoalesceRunChangeDetection;this.hasPendingMicrotasks=this.hasPendingMacrotasks=!1;this.isStable=!0;this.onUnstable=new bv(!1);this.onMicrotaskEmpty=new bv(!1);this.onStable=new bv(!1);this.onError=new bv(!1);if(typeof Zone=="undefined")throw new Jc(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=!a&&c;this.shouldCoalesceRunChangeDetection=a;this.callbackScheduled=!1;cia(this)},bVb=function(){return typeof Zone!=="undefined"&&Zone.current.get("isAngularZone")===!0},cVb=function(){if(bVb())throw new Jc(909,!1);};
Me.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};Me.prototype.runTask=function(a,b,c,d){var e=this._inner;a=e.scheduleEventTask("NgZoneEvent: "+d,a,dVb,Xha,Xha);try{return e.runTask(a,b,c)}finally{e.cancelTask(a)}};Me.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};Me.prototype.runOutsideAngular=function(a){return this._outer.run(a)};
var dVb={},Le=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new bv;this.onMicrotaskEmpty=new bv;this.onStable=new bv;this.onError=new bv};Le.prototype.run=function(a,b,c){return a.apply(b,c)};Le.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};Le.prototype.runOutsideAngular=function(a){return a()};Le.prototype.runTask=function(a,b,c){return a.apply(b,c)};var eia={destroy:function(){}},iia=function(a,b,c){this.phase=a;this.pipelinedArgs=b;this.callbackFn=c;this.zone=Xc(Me);this.errorHandler=Xc(gf,{optional:!0});var d;(d=Xc(yUb,{optional:!0}))==null||d.notify(6)};iia.prototype.invoke=function(){var a=this;try{var b=this.zone.runOutsideAngular(function(){return a.callbackFn.apply(null,a.pipelinedArgs)});this.pipelinedArgs.splice(0,this.pipelinedArgs.length,b)}catch(d){var c;(c=this.errorHandler)==null||c.handleError(d)}};
var Re=function(){this.executingCallbacks=!1;var a={};this.buckets=(a[0]=new Set,a[1]=new Set,a[2]=new Set,a[3]=new Set,a);this.deferredCallbacks=new Set};Re.prototype.register=function(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)};Re.prototype.unregister=function(a){this.buckets[a.phase].delete(a);this.deferredCallbacks.delete(a)};
Re.prototype.execute=function(){this.executingCallbacks=!0;for(var a=l(Object.values(this.buckets)),b=a.next();!b.done;b=a.next()){b=l(b.value);for(var c=b.next();!c.done;c=b.next())c.value.invoke()}this.executingCallbacks=!1;a=l(this.deferredCallbacks);for(b=a.next();!b.done;b=a.next())b=b.value,this.buckets[b.phase].add(b);this.deferredCallbacks.clear()};Re.prototype.destroy=function(){for(var a=l(Object.values(this.buckets)),b=a.next();!b.done;b=a.next())b.value.clear();this.deferredCallbacks.clear()};
var Qe=function(){this.handler=null;this.internalCallbacks=[]};Qe.prototype.execute=function(){eVb(this);var a;(a=this.handler)==null||a.execute()};var eVb=function(a){var b=[].concat(r(a.internalCallbacks));a.internalCallbacks.length=0;a=l(b);for(b=a.next();!b.done;b=a.next())b=b.value,b()};Qe.prototype.ngOnDestroy=function(){var a;(a=this.handler)==null||a.destroy();this.handler=null;this.internalCallbacks.length=0};Qe.\u0275prov=Fc({token:Qe,providedIn:"root",factory:function(){return new Qe}});new ld("");var fVb=new ld("",{providedIn:"root",factory:function(){return!1}});new ld("");new ld("");new ld("");var nia=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,oia=/(<|>)/g;var ef={};var Xe=function(a){this.changingThisBreaksApplicationSecurity=a};Xe.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"};var gVb=function(){Xe.apply(this,arguments)};V(gVb,Xe);gVb.prototype.getTypeName=function(){return"HTML"};var hVb=function(){Xe.apply(this,arguments)};V(hVb,Xe);hVb.prototype.getTypeName=function(){return"URL"};var iVb=function(){Xe.apply(this,arguments)};V(iVb,Xe);
iVb.prototype.getTypeName=function(){return"ResourceURL"};var Bia;var Mia=function(a){this.inertDocumentHelper=a};Mia.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(Dia(a),"text/html").body;if(b===null)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var Lia=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
Lia.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=Dia(a);return b};var Eia=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var jVb=$e("area,br,col,hr,img,wbr"),kVb=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lVb=$e("rp,rt"),mVb=af(lVb,kVb),nVb=af(kVb,$e("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")),oVb=af(lVb,$e("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")),
Oia=af(jVb,nVb,oVb,mVb),Qia=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pVb=$e("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"),
qVb=$e("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"),
Pia=af(Qia,pVb,qVb),Ria=$e("script,style,template"),Nia=function(){this.buf=[]};Nia.prototype.endElement=function(a){a=Gia(a).toLowerCase();Oia.hasOwnProperty(a)&&!jVb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var Hia=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Iia=/([^#-~ |!])/g,Kia;var rVb={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 Tia;var Gja=[],Hja=Object.assign({},Ju,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){jga(a.lView)},consumerOnSignalRead:function(){this.lView[23]=this}}),Ija=Object.assign({},Ju,{consumerIsAlwaysLive:!0,consumerMarkedDirty:function(a){for(a=yd(a.lView);a&&a[1].type===2;)a=yd(a);a&&kga(a)},consumerOnSignalRead:function(){this.lView[23]=this}});var Ng=function(a,b,c){this._lView=a;this._cdRefInjectingView=b;this.notifyErrorHandler=c===void 0?!0:c;this._appRef=null;this._attachedToViewContainer=!1};g=Ng.prototype;g.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(qd(a)){var b=a[8],c=b?b.indexOf(this):-1;c>-1&&(We(a,c),Kfa(b,c))}this._attachedToViewContainer=!1}uia(this._lView[1],this._lView)};g.onDestroy=function(a){mga(this._lView,a)};
g.markForCheck=function(){kia(this._cdRefInjectingView||this._lView,4)};g.detach=function(){this._lView[2]&=-129};g.detectChanges=function(){this._lView[2]|=1024;Eja(this._lView,this.notifyErrorHandler)};
da.Object.defineProperties(Ng.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return Cja(b,a,b.firstChild,[])}},context:{configurable:!0,enumerable:!0,get:function(){return this._lView[8]},set:function(a){this._lView[8]=a}},destroyed:{configurable:!0,enumerable:!0,get:function(){return(this._lView[2]&256)===256}}});var sVb=function(){};sVb.\u0275prov=Fc({token:sVb,providedIn:"root",factory:function(){return null}});var tVb=function(a){this.ngModule=a};V(tVb,Nu);var uVb=function(a,b){return new Yg(b[bd]||null,a.ngModule)},Yg=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(yfa).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};V(Yg,EUb);
Yg.prototype.create=function(a,b,c,d){var e=Lc(null);try{d=d||this.ngModule;var f,h=d instanceof Ku?d:(f=d)==null?void 0:f.injector;h&&this.componentDef.getStandaloneInjector!==null&&(h=this.componentDef.getStandaloneInjector(h)||h);var k=h?new vUb(a,h):a,q=k.get(FUb,null);if(q===null)throw new Jc(407,!1);var t=k.get(sVb,null),w=k.get(Qe,null),y=k.get(yUb,null);a={rendererFactory:q,sanitizer:t,inlineEffectRunner:null,afterRenderEventManager:w,changeDetectionScheduler:y};var D=q.createRenderer(null,
this.componentDef),G=this.componentDef.selectors[0][0]||"div";if(c){var I=this.componentDef.encapsulation,N=k.get(fVb,!1)||I===3;var S=D.selectRootElement(c,N)}else{var W=G.toLowerCase();S=D.createElement(G,W==="svg"?"svg":W==="math"?"math":null)}q=S;G=512;this.componentDef.signals?G|=4096:this.componentDef.onPush||(G|=16);S=null;q!==null&&(S=null);var Z=kja(0,null,null,1,0,null,null,null,null,null,null),fa=aja(null,Z,null,G,null,null,a,D,k,null,S);qga(fa);try{var ma=this.componentDef;k=null;if(ma.findHostDirectiveDefs){var ua=
[];k=new Map;ma.findHostDirectiveDefs(ma,ua,k);ua.push(ma)}else ua=[ma];var Ua=fa[1];fa[25]=q;var ha=df(Ua,25,2,"#host",null);Ua=ua;for(var xa=fa[1],sa=l(Ua),Ma=sa.next();!Ma.done;Ma=sa.next())ha.mergedAttrs=Zc(ha.mergedAttrs,Ma.value.hostAttrs);ha.mergedAttrs!==null&&(Bja(ha,ha.mergedAttrs,!0),q!==null&&Aia(D,q,ha));sa=null;q!==null&&(sa=null);var Aa=a.rendererFactory.createRenderer(q,ma);Ma=16;ma.signals?Ma=4096:ma.onPush&&(Ma=64);var wb=aja(fa,fja(ma),null,Ma,fa[ha.index],ha,a,Aa,null,null,sa);
xa.firstCreatePass&&oja(xa,ha,Ua.length-1);gja(fa,wb);var Pb=fa[ha.index]=wb;var Vb=Z.data[25];if(q)if(c)tfa(D,q,["ng-version","0.0.0-PLACEHOLDER"]);else{var xb=ma.selectors[0];c=[];ha=[];xa=1;for(Aa=2;xa<xb.length;){var Uc=xb[xa];if(typeof Uc==="string")Aa===2?Uc!==""&&c.push(Uc,xb[++xa]):Aa===8&&ha.push(Uc);else{if((Aa&1)!==0)break;Aa=Uc}xa++}c&&tfa(D,q,c);if(ha&&ha.length>0){var Sa=ha.join(" ");Sa===""?D.removeAttribute(q,"class"):D.setAttribute(q,"class",Sa)}}if(b!==void 0){var nb=this.ngContentSelectors,
Za=Vb.projection=[];for(D=0;D<nb.length;D++){var Yb=b[D];Za.push(Yb!=null?Array.from(Yb):null)}}b=ua;nb=k;ua=[Lja];var ic=Ad(),Rc=fa[1],Ab=td(ic,fa);pja(Rc,fa,ic,b,null,nb);for(nb=0;nb<b.length;nb++){var dc=Ld(fa,Rc,ic.directiveStart+nb,ic);Qd(dc,fa)}hja(Rc,fa,ic);Ab&&Qd(Ab,fa);var Xb=Ld(fa,Rc,ic.directiveStart+ic.componentOffset,ic);Pb[8]=fa[8]=Xb;if(ua!==null)for(var vd=l(ua),Id=vd.next();!Id.done;Id=vd.next()){var of=Id.value;of(Xb,ma)}eja(Rc,ic,fa);var Lg=Xb;Aja(Z,fa,null)}finally{tga()}return new cv(this.componentType,
Lg,Sd(Vb,fa),fa,Vb)}finally{Lc(e)}};da.Object.defineProperties(Yg.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){var a=this.componentDef,b=a.inputTransforms;a=Kja(a.inputs,!0);if(b!==null)for(var c=l(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 Kja(this.componentDef.outputs,!1)}}});
var cv=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 Ng(d,void 0,!1);this.componentType=a};V(cv,DUb);
cv.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,nja(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=ud(this._tNode.index,c),kia(a,1)))};cv.prototype.destroy=function(){this.hostView.destroy()};cv.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
da.Object.defineProperties(cv.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new Nd(this._tNode,this._rootLView)}}});var hf=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new tVb(this);var d=(a[lUb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=Pga(a,b,[{provide:Ou,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver}].concat(r(c)),Ic(a),new Set(["environment"]));Qga(this._r3Injector);this.instance=this._r3Injector.get(a)};V(hf,Ou);
hf.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};hf.prototype.onDestroy=function(a){this.destroyCbs.push(a)};da.Object.defineProperties(hf.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var xBa=function(a){this.moduleType=a};V(xBa,wBa);xBa.prototype.create=function(a){return new hf(this.moduleType,a,[])};
var Nja=function(a){this.componentFactoryResolver=new tVb(this);this.instance=null;var b=new nd([].concat(r(a.providers),[{provide:Ou,useValue:this},{provide:Nu,useValue:this.componentFactoryResolver}]),a.parent||Xfa(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&Qga(b)};V(Nja,Ou);Nja.prototype.destroy=function(){this.injector.destroy()};Nja.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var vVb=new ld(""),dv=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=Xc(vVb,{optional:!0}))!=null?b:[]},wVb=function(a){if(!a.initialized){for(var b=[],c=l(a.appInits),d=c.next(),e={};!d.done;e={initResult:void 0},d=c.next())d=d.value,e.initResult=d(),jf(e.initResult)?b.push(e.initResult):Pja(e.initResult)&&(e=new Promise(function(f){return function(h,k){f.initResult.subscribe({complete:h,error:k})}}(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}};dv.\u0275fac=function(a){return new (a||dv)};dv.\u0275prov=Fc({token:dv,factory:dv.\u0275fac,providedIn:"root"});var ev=function(){};ev.prototype.log=function(a){console.log(a)};ev.prototype.warn=function(a){console.warn(a)};ev.\u0275fac=function(a){return new (a||ev)};ev.\u0275prov=Fc({token:ev,factory:ev.\u0275fac,providedIn:"platform"});var xVb=new ld(""),yVb=new ld(""),fv=function(a,b,c){var d=this;this._ngZone=a;this.registry=b;this._isZoneStable=!0;this._callbacks=[];this.taskTrackingZone=null;zVb||(zVb=c,AVb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone=typeof Zone=="undefined"?null:Zone.current.get("TaskTrackingZone")})};
fv.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(){cVb();queueMicrotask(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};fv.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
fv.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=BVb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0})}};
var BVb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};g=fv.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("Ja");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[]};fv.\u0275fac=function(a){return new (a||fv)(n(Me),n(gv),n(yVb))};fv.\u0275prov=Fc({token:fv,factory:fv.\u0275fac});var gv=function(){this._applications=new Map};gv.prototype.registerApplication=function(a,b){this._applications.set(a,b)};gv.prototype.unregisterApplication=function(a){this._applications.delete(a)};
gv.prototype.findTestabilityInTree=function(a,b){var c,d;return(d=(c=zVb)==null?void 0:c.findTestabilityInTree(this,a,b===void 0?!0:b))!=null?d:null};gv.\u0275fac=function(a){return new (a||gv)};gv.\u0275prov=Fc({token:gv,factory:gv.\u0275fac,providedIn:"platform"});var zVb;var nka={leading:!0,trailing:!1};var CVb=new ld(""),hv=function(){this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=Xc(ima);this.afterRenderEffectManager=Xc(Qe);this.zonelessEnabled=Xc(zUb);this.externalTestViews=new Set;this.beforeRender=new yf;this.afterTick=new yf;this.componentTypes=[];this.components=[];this.isStable=Xc(av).hasPendingTasks.pipe(z(function(a){return!a}));this._injector=Xc(Ku)};
hv.prototype.bootstrap=function(a,b){var c=this,d=a instanceof EUb;if(!this._injector.get(dv).done)throw new Jc(405,!1);var e;d?e=a:e=uVb(this._injector.get(Nu),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(Ou);var f=e.create(xUb,[],b||e.selector,a),h=f.location.nativeElement,k=f.injector.get(xVb,null);k==null||k.registerApplication(h);f.onDestroy(function(){c.detachView(f.hostView);ska(c.components,f);k==null||k.unregisterApplication(h)});this._loadComponent(f);
return f};hv.prototype.tick=function(){this._tick(!0)};hv.prototype._tick=function(a){if(this._runningTick)throw new Jc(101,!1);var b=Lc(null);try{this._runningTick=!0,DVb(this,a)}catch(c){this.internalErrorHandler(c)}finally{this._runningTick=!1,Lc(b),this.afterTick.next()}};
var DVb=function(a,b){var c=null;a._injector.destroyed||(c=a._injector.get(FUb,null,{optional:!0}));for(var d=0,e=a.afterRenderEffectManager;d<10;){var f=d===0;if(b||!f){a.beforeRender.next(f);for(var h=l(a._views),k=h.next();!k.done;k=h.next())k=k.value,tka(k._lView,k.notifyErrorHandler,f,a.zonelessEnabled)}else k=h=f=void 0,(f=c)==null||(k=(h=f).begin)==null||k.call(h),k=h=f=void 0,(f=c)==null||(k=(h=f).end)==null||k.call(h);d++;eVb(e);if(!a.allViews.some(function(q){return xd(q._lView)})&&(e.execute(),
!a.allViews.some(function(q){return xd(q._lView)})))break}},EVb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new Jc(902,!1);b._appRef=a;a=(b._lView[2]&512)!==0;var c=b._lView[16];c===null||a||ria(c,b._lView);lga(b._lView)};g=hv.prototype;g.detachView=function(a){ska(this._views,a);a._appRef=null;var b=(a._lView[2]&512)!==0,c=a._lView[16];c===null||b||sia(c,a._lView);qia(a._lView[1],a._lView)};
g._loadComponent=function(a){EVb(this,a.hostView);this.tick();this.components.push(a);var b=this._injector.get(CVb,[]);[].concat(r(this._bootstrapListeners),r(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 ska(b._destroyListeners,a)}};g.destroy=function(){if(this._destroyed)throw new Jc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};
da.Object.defineProperties(hv.prototype,{allViews:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this.externalTestViews.keys()),r(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}}});hv.\u0275fac=function(a){return new (a||hv)};
hv.\u0275prov=Fc({token:hv,factory:hv.\u0275fac,providedIn:"root"});var pg=function(){};pg.__NG_ELEMENT_ID__=zka;var Gf=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};V(Gf,pg);Gf.__NG_ELEMENT_ID__=pg.__NG_ELEMENT_ID__;g=Gf.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=FVb(a,b||{},e,null);GVb(this,a,d,wka(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 Yg(a[bd]||null);c=c||this.parentInjector;e||a.ngModule!=null||(f=(f?c:this.parentInjector).get(Ku,null))&&(e=f);d=a.create(c,d,null,e);GVb(this,d.hostView,b,wka(this._hostTNode,null));return d};g.insert=function(a,b){return GVb(this,a,b,!0)};
var GVb=function(a,b,c,d){var e=b._lView;if(qd(e[3])){var f=a.indexOf(b);f!==-1?a.detach(f):(f=e[3],f=new Gf(f,f[5],f[3]),f.detach(f.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;xka(a,e,c,d);if(b._appRef)throw new Jc(902,!1);b._attachedToViewContainer=!0;d=Aka(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};g=Gf.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=We(this._lContainer,a);b&&(Kfa(Aka(this._lContainer),a),uia(b[1],b))};g.detach=function(a){a=this._adjustIndex(a,-1);var b=We(this._lContainer,a);return b&&Kfa(Aka(this._lContainer),a)!=null?new Ng(b):null};g._adjustIndex=function(a,b){return a==null?this.length+(b===void 0?0:b):a};
da.Object.defineProperties(Gf.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return Sd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new Nd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=Fga(this._hostTNode,this._hostLView);if(a!==-1){var b=yga(a,this._hostLView);return new Nd(b[1].data[(a&32767)+8],b)}return new Nd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-10}}});var Bka=Cka;var Gka=Ika;new ld("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");new ld("");var Rf=0,Sf=0,Tf=0,Vka=0,Xka=0;var HVb=function(){};HVb.prototype.destroy=function(){};HVb.prototype.updateValue=function(){};var jla=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)};HVb.prototype.move=function(a,b){this.attach(b,this.detach(a))};var kla=function(){this.kvMap=new Map;this._vMap=void 0};g=kla.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=l(this.kvMap),c=b.next();!c.done;c=b.next()){var d=l(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 IVb=function(a,b,c){this.lContainer=a;this.$implicit=b;this.$index=c};da.Object.defineProperties(IVb.prototype,{$count:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var qla=function(a){this.trackByFn=a;this.liveCollection=void 0},rla=function(a,b,c){this.lContainer=a;this.hostLView=b;this.templateTNode=c;this.operationsCounter=void 0;this.needsIndexUpdate=!1};V(rla,HVb);g=rla.prototype;g.at=function(a){return vka(this.lContainer,a)[8].$implicit};
g.attach=function(a,b){var c=b[6];this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length);xka(this.lContainer,b,a,wka(this.templateTNode,c))};g.detach=function(a){this.needsIndexUpdate||(this.needsIndexUpdate=a!==this.length-1);return We(this.lContainer,a)};g.create=function(a,b){a=uka(this.hostLView,this.templateTNode,new IVb(this.lContainer,b,a),{dehydratedView:null});var c;(c=this.operationsCounter)==null||c.recordCreate();return a};
g.destroy=function(a){uia(a[1],a);var b;(b=this.operationsCounter)==null||b.recordDestroy()};g.updateValue=function(a,b){vka(this.lContainer,a)[8].$implicit=b};g.reset=function(){this.needsIndexUpdate=!1;var a;(a=this.operationsCounter)==null||a.reset()};da.Object.defineProperties(rla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.lContainer.length-10}}});var tla=["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 ula={};var qg=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=qg.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=zla)};g=qg.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 ug=function(a){a._changes===void 0||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)},Ola=function(a,b){a._onDirty=b};
qg.prototype.setDirty=function(){this.dirty=!0;var a;(a=this._onDirty)==null||a.call(this)};qg.prototype.destroy=function(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())};da.Object.defineProperties(qg.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._changes)!=null?a:this._changes=new bv}}});Symbol.iterator;var og=function(){};og.__NG_ELEMENT_ID__=Bla;var ng=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};V(ng,og);ng.__NG_ELEMENT_ID__=og.__NG_ELEMENT_ID__;ng.prototype.createEmbeddedView=function(a,b){return FVb(this,a,b)};var FVb=function(a,b,c,d){a=uka(a._declarationLView,a._declarationTContainer,b,{embeddedViewInjector:c,dehydratedView:d});return new Ng(a)};
da.Object.defineProperties(ng.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this._declarationTContainer.tView)==null?void 0:a.ssrId)||null}}});var Fla=function(a){this.queryList=a;this.matches=null};Fla.prototype.clone=function(){return new Fla(this.queryList)};Fla.prototype.setDirty=function(){this.queryList.setDirty()};var Ela=function(a){this.queries=a=a===void 0?[]:a};Ela.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 Ela(c)}return null};
Ela.prototype.detachView=function(a){zja(this,a)};var zja=function(a,b){for(var c=0;c<a.queries.length;c++)b.queries.queries[c].matches!==null&&a.queries[c].setDirty()},Ila=function(a,b,c){this.flags=b;this.read=c===void 0?null:c;typeof a==="string"?this.predicate=Jla(a):this.predicate=a},Kla=function(a){this.queries=a=a===void 0?[]:a};g=Kla.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 Kla(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)};da.Object.defineProperties(Kla.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var tg=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};
tg.prototype.elementStart=function(a,b){if(JVb(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}KVb(this,a,b,f);KVb(this,a,b,Mga(b,a,e,!1,!1))}else c===og?b.type&4&&KVb(this,a,b,-1):KVb(this,a,b,Mga(b,a,c,!1,!1))}};tg.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
tg.prototype.template=function(a,b){this.elementStart(a,b)};tg.prototype.embeddedTView=function(a,b){return JVb(this,a)?(this.crossesNgTemplate=!0,LVb(this,-a.index,b),new tg(this.metadata)):null};
var JVb=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},KVb=function(a,b,c,d){if(d!==null){var e=a.metadata.read;e!==null?e===Rd||e===pg||e===og&&c.type&4?LVb(a,c.index,-2):(b=Mga(c,b,e,!1,!1),b!==null&&LVb(a,c.index,b)):LVb(a,c.index,d)}},LVb=function(a,b,c){a.matches===null?a.matches=[b,c]:a.matches.push(b,c)};var Eg=function(a){this._injector=a;this.cachedInjectors=new Map};Eg.prototype.ngOnDestroy=function(){try{for(var a=l(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;c!==null&&c.destroy()}}finally{this.cachedInjectors.clear()}};Eg.\u0275prov=Fc({token:Eg,providedIn:"environment",factory:function(){return new Eg(n(Ku))}});var iv=function(){};iv.\u0275fac=function(a){return new (a||iv)(n(hv))};iv.\u0275mod=cd({type:iv});iv.\u0275inj=Gc({});Object.assign({},gfa,{transformFn:void 0,applyValueToInputSignal:function(a,b){jfa(a,b)}});ema.required=function(){return Nla(!0)};var Wg=function(){};Wg.__NG_ELEMENT_ID__=fma;var MVb=function(){};MVb.prototype.supports=function(a){return Eka(a)};MVb.prototype.create=function(a){return new NVb(a)};var OVb=function(a,b){return b},NVb=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||OVb};
NVb.prototype.forEachItem=function(a){var b;for(b=this._itHead;b!==null;b=b._next)a(b)};
var PVb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var f=!a||c&&c.currentIndex<gma(a,d,e)?c:a,h=gma(f,d,e),k=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,t=k-d;if(q!=t){for(var w=0;w<q;w++){var y=w<e.length?e[w]:e[w]=0,D=y+w;t<=D&&D<q&&(e[w]=y+1)}e[f.previousIndex]=t-q}}h!==k&&b(f,h,k)}},QVb=function(a,b){for(a=a._identityChangesHead;a!==null;a=a._nextIdentityChange)b(a)};g=NVb.prototype;
g.diff=function(a){a==null&&(a=[]);if(!Eka(a))throw new Jc(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 k=0;Fka(a,function(q){h=b._trackByFn(k,q);c!==null&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,k)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,k),d=!0);c=c._next;k++});this.length=k}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 RVb(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 jv);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 jv);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};da.Object.defineProperties(NVb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}}});
var RVb=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},SVb=function(){this._tail=this._head=null};SVb.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)};
SVb.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};SVb.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 jv=function(){this.map=new Map};jv.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new SVb,this.map.set(b,c));c.add(a)};
jv.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};jv.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};jv.prototype.clear=function(){this.map.clear()};da.Object.defineProperties(jv.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return this.map.size===0}}});var TVb=function(){};TVb.prototype.supports=function(a){return a instanceof Map||Dka(a)};TVb.prototype.create=function(){return new UVb};var UVb=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=UVb.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||Dka(a)))throw new Jc(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 VVb(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)})};da.Object.defineProperties(UVb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}}});var VVb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var kv=function(a){this.factories=a};kv.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b!=null)return b;throw new Jc(901,!1);};kv.\u0275prov=Fc({token:kv,providedIn:"root",factory:function(){return new kv([new MVb])}});var lv=function(a){this.factories=a};lv.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new Jc(901,!1);};lv.\u0275prov=Fc({token:lv,providedIn:"root",factory:function(){return new lv([new TVb])}});var mv=function(){var a=this;this.appRef=Xc(hv);this.taskService=Xc(av);this.ngZone=Xc(Me);this.zonelessEnabled=Xc(zUb);var b;this.disableScheduling=(b=Xc(kma,{optional:!0}))!=null?b:!1;this.zoneIsDefined=typeof Zone!=="undefined"&&!!Zone.root.run;this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];this.subscriptions=new Yd;this.cancelScheduledCallback=null;this.runningTick=this.useMicrotaskScheduler=this.shouldRefreshViews=!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 Le||!this.zoneIsDefined))};
mv.prototype.notify=function(a){var b=this;if(this.zonelessEnabled||a!==5){switch(a){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&bVb())){var c=this.useMicrotaskScheduler?Wha:Vha;this.pendingRenderTaskId=this.taskService.add();this.zoneIsDefined?Zone.root.run(function(){b.cancelScheduledCallback=c(function(){b.tick(b.shouldRefreshViews)})}):
this.cancelScheduledCallback=c(function(){b.tick(b.shouldRefreshViews)})}}};mv.prototype.tick=function(a){var b=this;if(!this.runningTick&&!this.appRef.destroyed){var c=this.taskService.add();try{this.ngZone.run(function(){b.runningTick=!0;b.appRef._tick(a)},void 0,this.schedulerTickApplyArgs)}catch(d){throw this.taskService.remove(c),d;}finally{this.cleanup()}this.useMicrotaskScheduler=!0;Wha(function(){b.useMicrotaskScheduler=!1;b.taskService.remove(c)})}};
mv.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe();this.cleanup()};mv.prototype.cleanup=function(){this.runningTick=this.shouldRefreshViews=!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))};mv.\u0275fac=function(a){return new (a||mv)};mv.\u0275prov=Fc({token:mv,factory:mv.\u0275fac,providedIn:"root"});var Og=function(){this.zone=Xc(Me);this.changeDetectionScheduler=Xc(yUb);this.applicationRef=Xc(hv)};Og.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()})}}))};Og.prototype.ngOnDestroy=function(){var a;(a=this._onMicrotaskEmptySubscription)==null||a.unsubscribe()};
Og.\u0275fac=function(a){return new (a||Og)};Og.\u0275prov=Fc({token:Og,factory:Og.\u0275fac,providedIn:"root"});new ld("",{factory:function(){return!1}});var Pg=function(){this.subscription=new Yd;this.initialized=!1;this.zone=Xc(Me);this.pendingTasks=Xc(av)};
Pg.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(){cVb();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(!bVb())throw new Jc(909,
!1);b!=null||(b=a.pendingTasks.add())}))}};Pg.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};Pg.\u0275fac=function(a){return new (a||Pg)};Pg.\u0275prov=Fc({token:Pg,factory:Pg.\u0275fac,providedIn:"root"});var xh=new ld("",{providedIn:"root",factory:function(){return Xc(xh,12)||(typeof dSb!=="undefined"?"en-US":typeof $localize!=="undefined"&&$localize.locale||"en-US")}});new ld("",{providedIn:"root",factory:function(){return"USD"}});new ld("");new ld("");var nv=function(){};nv.\u0275fac=function(a){return new (a||nv)};nv.\u0275prov=Fc({token:nv,factory:nv.\u0275fac,providedIn:"root"});new ld("");var sma=new ld(""),Rg=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},WVb=function(a,b,c){var d=dia(c==null?void 0:c.ngZone,hma({eventCoalescing:c==null?void 0:c.ngZoneEventCoalescing,runCoalescing:c==null?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=Mja(b.moduleType,a.injector,[].concat(r(lma({ngZoneFactory:function(){return d},ignoreChangesOutsideZone:c==null?void 0:c.ignoreChangesOutsideZone})),[{provide:yUb,useExisting:mv}])),f=e.injector.get(gf,
null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(k){f.handleError(k)}});e.onDestroy(function(){ska(a._modules,e);h.unsubscribe()})});return qka(f,d,function(){var h=e.injector.get(dv);wVb(h);return h.donePromise.then(function(){e.injector.get(xh,"en-US");a._moduleDoBootstrap(e);return e})})})},YVb=function(){var a=XVb(),b=ov;var c=c===void 0?[]:c;var d=rka({},c);Promise.resolve(new xBa(b)).then(function(e){return WVb(a,e,d)})};
Rg.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(hv);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(function(c){return b.bootstrap(c)});else if(a.instance.ngDoBootstrap)a.instance.ngDoBootstrap(b);else throw new Jc(-403,!1);this._modules.push(a)};Rg.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
Rg.prototype.destroy=function(){if(this._destroyed)throw new Jc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(sma,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};da.Object.defineProperties(Rg.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
Rg.\u0275fac=function(a){return new (a||Rg)(n(Ne))};Rg.\u0275prov=Fc({token:Rg,factory:Rg.\u0275fac,providedIn:"platform"});var Qg=null,nma=new ld("");/*

 Copyright 2024 Google, Inc
 SPDX-License-Identifier: MIT
*/
r("click dblclick focusin focusout keydown keyup keypress mouseover mouseout submit touchstart touchend touchmove touchcancel auxclick change compositionstart compositionupdate compositionend beforeinput input select copy cut paste mousedown mouseup wheel contextmenu dragover dragenter dragleave drop dragstart dragend pointerdown pointermove pointerup pointercancel pointerover pointerout gotpointercapture lostpointercapture ended loadedmetadata pagehide pageshow visibilitychange beforematch".split(" "));
r(["focus","blur","error","load","toggle"]);Symbol.for("propagationStopped");new ld("",{providedIn:"root",factory:function(){return{}}});var ZVb=new ld("");var vma=new ld("",{providedIn:"root",factory:function(){return Xc($Vb)}}),$Vb=function(){};$Vb.\u0275prov=Fc({token:$Vb,providedIn:"root",factory:function(){return new aWb}});var aWb=function(){this.queuedEffectCount=0;this.queues=new Map;this.pendingTasks=Xc(av);this.taskId=null},bWb=function(a,b){a.enqueue(b);if(a.taskId===null){var c=a.taskId=a.pendingTasks.add();queueMicrotask(function(){a.flush();a.pendingTasks.remove(c);a.taskId=null})}};
aWb.prototype.enqueue=function(a){var b=a.creationZone;this.queues.has(b)||this.queues.set(b,new Set);b=this.queues.get(b);b.has(a)||(this.queuedEffectCount++,b.add(a))};aWb.prototype.flush=function(){for(var a=this;this.queuedEffectCount>0;)for(var b=l(this.queues),c=b.next(),d={};!c.done;d={queue$jscomp$4:void 0},c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;d.queue$jscomp$4=e;c===null?cWb(this,d.queue$jscomp$4):c.run(function(f){return function(){return cWb(a,f.queue$jscomp$4)}}(d))}};
var cWb=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,b.delete(d),a.queuedEffectCount--,d.run()},uma=function(a,b,c,d,e,f){var h=this;this.scheduler=a;this.effectFn=b;this.creationZone=c;this.injector=e;this.watcher=mfa(function(k){try{h.effectFn(k)}catch(t){var q;(q=h.injector.get(gf,null,{optional:!0}))==null||q.handleError(t)}},function(){return h.schedule()},f);this.unregisterOnDestroy=d==null?void 0:d.onDestroy(function(){return h.destroy()})};uma.prototype.run=function(){this.watcher.run()};
uma.prototype.schedule=function(){bWb(this.scheduler,this)};uma.prototype.destroy=function(){this.watcher.destroy();var a;(a=this.unregisterOnDestroy)==null||a.call(this)};var dWb=qma(null,"core",[]);new ld("@ngrx/store Internal Root Guard");new ld("@ngrx/store Internal Initial State");new ld("@ngrx/store Initial State");new ld("@ngrx/store Reducer Factory");new ld("@ngrx/store Internal Reducer Factory Provider");new ld("@ngrx/store Initial Reducers");new ld("@ngrx/store Internal Initial Reducers");new ld("@ngrx/store Store Features");new ld("@ngrx/store Internal Store Reducers");new ld("@ngrx/store Internal Feature Reducers");new ld("@ngrx/store Internal Feature Configs");new ld("@ngrx/store Internal Store Features");
new ld("@ngrx/store Internal Feature Reducers Token");new ld("@ngrx/store Feature Reducers");new ld("@ngrx/store User Provided Meta Reducers");new ld("@ngrx/store Meta Reducers");new ld("@ngrx/store Internal Resolved Meta Reducers");new ld("@ngrx/store User Runtime Checks Config");new ld("@ngrx/store Internal User Runtime Checks Config");new ld("@ngrx/store Internal Runtime Checks");new ld("@ngrx/store Check if Action types are unique");new ld("@ngrx/store Root Store Provider");new ld("@ngrx/store Feature State Provider");Object.values({RDL:"rdl",DAPPER:"dapper",SHERLOG:"sherlog",THIRD_EYE:"error_insights"});
var Uma={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"},Vma=Object.values(Uma),Jma=new Set(["site_path"]),zma={EQUALS:"=",NOT_EQUALS:"!=",REGEX_MATCH:"=~",NOT_REGEX_MATCH:"!~"},Lma="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(" "),
Kma="start_time end_time min_latency max_latency severity status_code task_index task_attempt_uid".split(" "),Mma=["has_traced_sample"];(function(a,b){if(typeof b==="function")return daa(a,function(){return Object.assign({},b.apply(null,r(jd.apply(0,arguments))),{type:a})});switch(b?b._as:"empty"){case "empty":return daa(a,function(){return{type:a}});case "props":return daa(a,function(c){return Object.assign({},c,{type:a})});default:throw Error("La");}})("NoopAction");var eWb={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},pv=eWb;pv=eWb;var fWb=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),gWb=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,hWb=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,iWb=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},jWb=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},qv=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=qv.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 qv(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 hi=function(a,b,c){typeof a==="number"?(this.date=kWb(a,b||0,c||1),lWb(this,c||1)):Wa(a)?(this.date=kWb(a.getFullYear(),a.getMonth(),a.getDate()),lWb(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),lWb(this,a))},kWb=function(a,b,c){b=new Date(a,b,c);a>=0&&a<100&&b.setFullYear(b.getFullYear()-1900);return b};g=hi.prototype;g.firstDayOfWeek_=pv.FIRSTDAYOFWEEK;
g.firstWeekCutOffDay_=pv.FIRSTWEEKCUTOFFDAY;g.clone=function(){var a=new hi(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 mWb=function(a){return iWb(a.getFullYear(),a.getMonth())};g=hi.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(iWb(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()),lWb(this,a.getDate()))};
g.toIsoString=function(a){var b=this.getFullYear(),c=b<0?"-":b>=1E4?"+":"";return[c+Fu(Math.abs(b),c?6:4),Fu(this.getMonth()+1,2),Fu(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 lWb=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};hi.prototype.valueOf=function(){return this.date.valueOf()};
var Ri=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())};gu(Ri,hi);g=Ri.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){hi.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=hi.prototype.toIsoString.call(this,a);return a?b+"T"+Fu(this.getHours(),2)+":"+Fu(this.getMinutes(),2)+":"+Fu(this.getSeconds(),2):b+"T"+Fu(this.getHours(),2)+Fu(this.getMinutes(),2)+Fu(this.getSeconds(),2)};g.equals=function(a){return this.getTime()==a.getTime()};g.toString=function(){return this.toIsoString()};g.clone=function(){var a=new Ri(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var dna={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15,0:"OK",1:"CANCELLED",2:"UNKNOWN",3:"INVALID_ARGUMENT",4:"DEADLINE_EXCEEDED",5:"NOT_FOUND",6:"ALREADY_EXISTS",7:"PERMISSION_DENIED",16:"UNAUTHENTICATED",8:"RESOURCE_EXHAUSTED",9:"FAILED_PRECONDITION",10:"ABORTED",11:"OUT_OF_RANGE",12:"UNIMPLEMENTED",
13:"INTERNAL",14:"UNAVAILABLE",15:"DATA_LOSS"};var nWb=/\s+/,oWb=[],rv=function(a,b){this._ngEl=a;this._renderer=b;this.initialClasses=oWb;this.stateMap=new Map};rv.prototype.ngDoCheck=function(){for(var a=l(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=l(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(a!=null){b=l(Object.keys(a));for(var c=b.next();!c.done;c=b.next())c=c.value,this._updateState(c,!!a[c])}this._applyStateDiff()};
rv.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})};rv.prototype._applyStateDiff=function(){for(var a=l(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}};
rv.prototype._toggleClass=function(a,b){var c=this;a=a.trim();a.length>0&&a.split(nWb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};da.Object.defineProperties(rv.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=a!=null?a.trim().split(nWb):oWb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass=typeof a==="string"?a.trim().split(nWb):a}}});
rv.\u0275fac=function(a){return new (a||rv)(B(Rd),B(Qu))};rv.\u0275dir=ed({type:rv,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});var pWb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};da.Object.defineProperties(pWb.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 sv=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};sv.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)};
sv.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;PVb(a,function(h,k,q){h.previousIndex==null?c.createEmbeddedView(b._template,new pWb(h.item,b._ngForOf,-1,-1),q===null?void 0:q):q==null?c.remove(k===null?void 0:k):k!==null&&(k=c.get(k),c.move(k,q),k.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}QVb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
da.Object.defineProperties(sv.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)}}});sv.\u0275fac=function(a){return new (a||sv)(B(pg),B(og),B(kv))};
sv.\u0275dir=ed({type:sv,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var tv=function(a,b){this._viewContainer=a;this._context=new qWb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
tv.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)))};
da.Object.defineProperties(tv.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){ena("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){ena("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});tv.\u0275fac=function(a){return new (a||tv)(B(pg),B(og))};
tv.\u0275dir=ed({type:tv,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var qWb=function(){this.ngIf=this.$implicit=null};var rWb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};rWb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};rWb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var uv=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};uv.prototype._addCase=function(){return this._caseCount++};uv.prototype._addDefault=function(a){this._defaultViews.push(a)};
uv.prototype._matchCase=function(a){a=a===this._ngSwitch;this._lastCasesMatched||(this._lastCasesMatched=a);this._lastCaseCheckIndex++;this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1);return a};
uv.prototype._updateDefaultCases=function(a){if(this._defaultViews.length>0&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=l(this._defaultViews),c=b.next();!c.done;c=b.next()){c=c.value;var d=a;d&&!c._created?c.create():!d&&c._created&&c.destroy()}}};da.Object.defineProperties(uv.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;this._caseCount===0&&this._updateDefaultCases(!0)}}});uv.\u0275fac=function(a){return new (a||uv)};
uv.\u0275dir=ed({type:uv,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var vv=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new rWb(a,b)};vv.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};vv.\u0275fac=function(a){return new (a||vv)(B(pg),B(og),B(uv,9))};vv.\u0275dir=ed({type:vv,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var wv=function(a,b,c){c._addDefault(new rWb(a,b))};wv.\u0275fac=function(a){return new (a||wv)(B(pg),B(og),B(uv,9))};wv.\u0275dir=ed({type:wv,selectors:[["","ngSwitchDefault",""]],standalone:!0});var xv=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};xv.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};
xv.prototype._shouldRecreateView=function(a){return!!a.ngTemplateOutlet||!!a.ngTemplateOutletInjector};xv.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)}})};xv.\u0275fac=function(a){return new (a||xv)(B(pg))};
xv.\u0275dir=ed({type:xv,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[rd]});var sWb=function(){};sWb.prototype.createSubscription=function(a,b){return Xg(function(){return a.subscribe({next:b,error:function(c){throw c;}})})};sWb.prototype.dispose=function(a){Xg(function(){return a.unsubscribe()})};var tWb=function(){};tWb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};tWb.prototype.dispose=function(){};
var uWb=new tWb,vWb=new sWb,yv=function(a){this._latestValue=null;this.markForCheckOnValueUpdate=!0;this._strategy=this._obj=this._subscription=null;this._ref=a};g=yv.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(jf(a))return uWb;if(Pja(a))return vWb;throw ch();};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()}};yv.\u0275fac=function(a){return new (a||yv)(B(Wg,16))};yv.\u0275pipe=fd({name:"async",type:yv,pure:!1,standalone:!0});var zv=function(){};zv.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw ch();return a.toLowerCase()};zv.\u0275fac=function(a){return new (a||zv)};zv.\u0275pipe=fd({name:"lowercase",type:zv,pure:!0,standalone:!0});
var wWb=/(?:[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,Av=
function(){};Av.prototype.transform=function(a){if(a==null)return null;if(typeof a!=="string")throw ch();return a.replace(wWb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};Av.\u0275fac=function(a){return new (a||Av)};Av.\u0275pipe=fd({name:"titlecase",type:Av,pure:!0,standalone:!0});var Ena=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,gh={},rna=/((?:[^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]*)/,una={};var xWb=new ld(""),yWb=new ld(""),Bv=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};Bv.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",k,q,t,w=(t=(q=c!=null?c:(k=this.defaultOptions)==null?void 0:k.timezone)!=null?q:this.defaultTimezone)!=null?t:void 0;return yna(a,h,d||this.locale,w)}catch(y){throw ch();}};
Bv.\u0275fac=function(a){return new (a||Bv)(B(xh,16),B(xWb,24),B(yWb,24))};Bv.\u0275pipe=fd({name:"date",type:Bv,pure:!0,standalone:!0});var Cv=function(){};Cv.prototype.transform=function(a){return JSON.stringify(a,null,2)};Cv.\u0275fac=function(a){return new (a||Cv)};Cv.\u0275pipe=fd({name:"json",type:Cv,pure:!1,standalone:!0});var Dv=function(a){this.differs=a;this.keyValues=[];this.compareFn=Gna};Dv.prototype.transform=function(a,b){var c=this;b=b===void 0?Gna: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};
Dv.\u0275fac=function(a){return new (a||Dv)(B(lv,16))};Dv.\u0275pipe=fd({name:"keyvalue",type:Dv,pure:!1,standalone:!0});var Jna=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var Ev=function(a){this._locale=a};
Ev.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("db`"+a);var d=a}else d=Number(a);a=d;var e=gg(c)[14][0],f=bh(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(";"),k=h[0],q=h[1],t=k.indexOf(".")!==-1?k.split("."):[k.substring(0,k.lastIndexOf("0")+1),k.substring(k.lastIndexOf("0")+
1)],w=t[0],y=t[1]||"";d.posPre=w.substring(0,w.indexOf("#"));for(e=0;e<y.length;e++){var D=y.charAt(e);D==="0"?d.minFrac=d.maxFrac=e+1:D==="#"?d.maxFrac=e+1:d.posSuf+=D}var G=w.split(",");d.gSize=G[1]?G[1].length:0;d.lgSize=G[2]||G[1]?(G[2]||G[1]).length:0;if(q){var I=k.length-d.posPre.length-d.posSuf.length,N=q.indexOf("#");d.negPre=q.substring(0,N).replace(/'/g,"");d.negSuf=q.slice(N+I).replace(/'/g,"")}else d.negPre=f+d.posPre,d.negSuf=d.posSuf;return Mna(a,d,c,b)}catch(S){throw ch();}};
Ev.\u0275fac=function(a){return new (a||Ev)(B(xh,16))};Ev.\u0275pipe=fd({name:"number",type:Ev,pure:!0,standalone:!0});var Fv=function(){};Fv.prototype.transform=function(a,b,c){if(a==null)return null;if(!this.supports(a))throw ch();return a.slice(b,c)};Fv.prototype.supports=function(a){return typeof a==="string"||Array.isArray(a)};Fv.\u0275fac=function(a){return new (a||Fv)};Fv.\u0275pipe=fd({name:"slice",type:Fv,pure:!1,standalone:!0});var Gv=function(){};Gv.\u0275fac=function(a){return new (a||Gv)};Gv.\u0275mod=cd({type:Gv});Gv.\u0275inj=Gc({});var zWb=function(a){return a.src};new ld("",{providedIn:"root",factory:function(){return zWb}});var vh=new ld("");new ld("");new ld("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var AWb=null,BWb=function(){};var Hv=function(){};Hv.prototype.historyGo=function(){throw Error("ca");};Hv.\u0275fac=function(a){return new (a||Hv)};Hv.\u0275prov=Fc({token:Hv,factory:function(){return Xc(Iv)},providedIn:"platform"});var CWb=new ld(""),Iv=function(){this._doc=Xc(vh);this._location=window.location;this._history=window.history};V(Iv,Hv);Iv.prototype.onPopState=function(a){var b=DWb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};
var EWb=function(a,b){var c=DWb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};g=Iv.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};
da.Object.defineProperties(Iv.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}}});Iv.\u0275fac=function(a){return new (a||Iv)};Iv.\u0275prov=Fc({token:Iv,factory:function(){return new Iv},providedIn:"platform"});var Jv=function(){};Jv.prototype.historyGo=function(){throw Error("ca");};Jv.\u0275fac=function(a){return new (a||Jv)};Jv.\u0275prov=Fc({token:Jv,factory:function(){return Xc(Kv)},providedIn:"root"});var FWb=new ld(""),Kv=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=(e=(d=b!=null?b:AWb.getBaseHref())!=null?d:(c=Xc(vh).location)==null?void 0:c.origin)!=null?e:""};V(Kv,Jv);g=Kv.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),EWb(this._platformLocation,a))};g.getBaseHref=function(){return this._baseHref};g.prepareExternalUrl=function(a){return Nna(this._baseHref,a)};g.path=function(a){var b=this._platformLocation.pathname+ih(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+ih(d)))};
g.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+ih(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)};Kv.\u0275fac=function(a){return new (a||Kv)(n(Hv),n(FWb,8))};Kv.\u0275prov=Fc({token:Kv,factory:Kv.\u0275fac,providedIn:"root"});var Lv=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];b!=null&&(this._baseHref=b)};V(Lv,Jv);g=Lv.prototype;g.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};g.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),EWb(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=Nna(this._baseHref,a);return a.length>0?"#"+a:a};g.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+ih(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+ih(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)};Lv.\u0275fac=function(a){return new (a||Lv)(n(Hv),n(FWb,8))};
Lv.\u0275prov=Fc({token:Lv,factory:Lv.\u0275fac});var Mv=function(a){var b=this;this._subject=new bv;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=Pna(Ona(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};g=Mv.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 Ona(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+ih(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+ih(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,complete:c})};Mv.\u0275fac=function(a){return new (a||Mv)(n(Jv))};Mv.\u0275prov=Fc({token:Mv,factory:function(){return new Mv(n(Jv))},providedIn:"root"});var GWb=function(){};GWb.\u0275prov=Fc({token:GWb,providedIn:"root",factory:function(){return Xc(Oe)==="browser"?new HWb:new IWb}});var HWb=function(){var a=Xc(vh),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};g=HWb.prototype;g.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=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 IWb=function(){};g=IWb.prototype;g.setOffset=function(){};g.getScrollPosition=function(){return[0,0]};g.scrollToPosition=function(){};g.scrollToAnchor=function(){};g.setHistoryScrollRestoration=function(){};var JWb=function(){};var Qna,Rna="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 jh;var Vna,lh;var Xna;var KWb;try{KWb=typeof Intl!=="undefined"&&Intl.v8BreakIterator}catch(a){KWb=!1}
var Nv=function(a){this.EDGE=(this.isBrowser=(this._platformId=a)?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&&!KWb)&&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};Nv.\u0275fac=function(a){return new (a||Nv)(n(Oe))};Nv.\u0275prov=Fc({token:Nv,factory:Nv.\u0275fac,providedIn:"root"});var doa=function(a,b){return b.id},LWb=0,MWb=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=LWb++},NWb=1,OWb=kh({passive:!1,capture:!0}),Ov=kh({passive:!0,capture:!0}),PWb=kh({passive:!0}),Pv=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=Xc(Nv);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=
1;this.previewEnd=this.previewStart=null;this.selectedValueChange=new bv;this.previewChange=new bv;this.activeDateChange=new bv;this.dragStarted=new bv;this.dragEnded=new bv;this._didDragSinceMouseDown=!1;this._injector=Xc(Ne);this._trackRow=function(d){return d};this._enterHandler=function(d){if(c._skipNextFocus&&d.type==="focus")c._skipNextFocus=!1;else if(d.target&&c.isRange){var e=c._getCellFromElement(d.target);e&&c._ngZone.run(function(){return c.previewChange.emit({value:e.enabled?e:null,event:d})})}};
this._touchmoveHandler=function(d){if(c.isRange){var e=koa(d),f=e?c._getCellFromElement(e):null;e!==d.target&&(c._didDragSinceMouseDown=!0);goa(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(f==null?0:f.enabled)?f:null,event:d})})}};this._leaveHandler=function(d){c.previewEnd!==null&&c.isRange&&(d.type!=="blur"&&(c._didDragSinceMouseDown=!0),!d.target||!c._getCellFromElement(d.target)||d.relatedTarget&&c._getCellFromElement(d.relatedTarget)||c._ngZone.run(function(){return c.previewChange.emit({value:null,
event:d})}))};this._mousedownHandler=function(d){if(c.isRange){c._didDragSinceMouseDown=!1;var e=d.target&&c._getCellFromElement(d.target);e&&c._isInRange(e.compareValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=goa(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var f=c._getCellFromElement(e),h;c.dragEnded.emit({value:(h=f==null?void 0:f.rawValue)!=null?h:null,
event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,event:d})})}};this._touchendHandler=function(d){(d=koa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+NWb++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,OWb);d.addEventListener("mouseenter",c._enterHandler,Ov);d.addEventListener("focus",c._enterHandler,Ov);d.addEventListener("mouseleave",
c._leaveHandler,Ov);d.addEventListener("blur",c._leaveHandler,Ov);d.addEventListener("mousedown",c._mousedownHandler,PWb);d.addEventListener("touchstart",c._mousedownHandler,PWb);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};g=Pv.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,OWb);a.removeEventListener("mouseenter",this._enterHandler,Ov);a.removeEventListener("focus",this._enterHandler,Ov);a.removeEventListener("mouseleave",this._leaveHandler,Ov);a.removeEventListener("blur",this._leaveHandler,Ov);a.removeEventListener("mousedown",this._mousedownHandler,PWb);a.removeEventListener("touchstart",this._mousedownHandler,PWb);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;Pe(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 hoa(a,this.startValue,this.endValue)};g._isRangeEnd=function(a){return ioa(a,this.startValue,this.endValue)};g._isInRange=function(a){return joa(a,this.startValue,this.endValue,this.isRange)};g._isComparisonStart=function(a){return hoa(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 ioa(a,this.comparisonStart,this.comparisonEnd)};g._isInComparisonRange=function(a){return joa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};g._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};g._isPreviewStart=function(a){return hoa(a,this.previewStart,this.previewEnd)};g._isPreviewEnd=function(a){return ioa(a,this.previewStart,this.previewEnd)};
g._isInPreview=function(a){return joa(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=goa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
Pv.\u0275fac=function(a){return new (a||Pv)(B(Rd),B(Me))};
Pv.\u0275cmp=p({type:Pv,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:[rd,Fg],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&&(C(0,aoa,3,6,"tr",0),bg(1,eoa,4,1,"tr",1,$na,!0),F(3,"label",2),Q(4),H(),F(5,"label",2),Q(6),H());a&2&&($f(b._firstRowOffset<b.labelMinRequiredCells?
0:-1),A(),cg(b.rows),A(2),E("id",b._startDateLabelId),A(),R(" ",b.startDateAccessibleName,"\n"),A(),E("id",b._endDateLabelId),A(),R(" ",b.endDateAccessibleName,"\n"))},dependencies:[rv],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)}.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);font-weight:var(--mat-datepicker-calendar-body-label-text-weight);color:var(--mat-datepicker-calendar-body-label-text-color)}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin: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)}.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)}.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)}.cdk-high-contrast-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);border-color:var(--mat-datepicker-calendar-date-outline-color)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-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)}@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)}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color);color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color)}.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)}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color)}.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) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 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) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color) 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)}.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)}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}\n'],
encapsulation:2,changeDetection:0});var QWb=new ld("cdk-input-modality-detector-options"),RWb={ignoreKeys:[18,17,224,91,16]},Qv=kh({passive:!0,capture:!0}),Rv=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new rn(null);this._lastTouchMs=0;this._onKeydown=function(f){var h,k;((h=e._options)==null?0:(k=h.ignoreKeys)==null?0:k.some(function(q){return q===f.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=nh(f))};this._onMousedown=function(f){Date.now()-e._lastTouchMs<650||(e._modality.next(loa(f)?
"keyboard":"mouse"),e._mostRecentTarget=nh(f))};this._onTouchstart=function(f){moa(f)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=nh(f))};this._options=Object.assign({},RWb,d);this.modalityDetected=this._modality.pipe(Af(1));this.modalityDetected.pipe(sf());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,Qv);c.addEventListener("mousedown",e._onMousedown,Qv);c.addEventListener("touchstart",e._onTouchstart,
Qv)})};Rv.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qv),document.removeEventListener("mousedown",this._onMousedown,Qv),document.removeEventListener("touchstart",this._onTouchstart,Qv))};da.Object.defineProperties(Rv.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});Rv.\u0275fac=function(a){return new (a||Rv)(n(Nv),n(Me),n(vh),n(QWb,8))};
Rv.\u0275prov=Fc({token:Rv,factory:Rv.\u0275fac,providedIn:"root"});var SWb=new ld("cdk-focus-monitor-default-options"),TWb=kh({passive:!0,capture:!0}),Sv=function(a,b,c,d,e){var f=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){f._windowFocused=!0;f._windowFocusTimeoutId=window.setTimeout(function(){return f._windowFocused=!1})};this._stopInputModalityDetector=
new yf;this._rootNodeFocusAndBlurListener=function(h){for(var k=nh(h);k;k=k.parentElement)h.type==="focus"?f._onFocus(h,k):f._onBlur(h,k)};this._document=d;this._detectionMode=(e==null?void 0:e.detectionMode)||0};
Sv.prototype.monitor=function(a,b){b=b===void 0?!1:b;a=sh(a);if(!this._platform.isBrowser||a.nodeType!==1)return pe();var c=Yna(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new yf,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
Sv.prototype.stopMonitoring=function(a){a=sh(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var Tv=function(a,b,c,d){b=sh(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var f=l(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=Sv.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=nh(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,TWb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,TWb)});this._rootNodeFocusListenerCount.set(c,a+1);++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(Df(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,TWb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,TWb),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};Sv.\u0275fac=function(a){return new (a||Sv)(n(Me),n(Nv),n(Rv),n(vh,8),n(SWb,8))};Sv.\u0275prov=Fc({token:Sv,factory:Sv.\u0275fac,providedIn:"root"});
var Uv=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new bv};Uv.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)})};Uv.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
da.Object.defineProperties(Uv.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});Uv.\u0275fac=function(a){return new (a||Uv)(B(Rd),B(Sv))};Uv.\u0275dir=ed({type:Uv,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});var Vv=function(a){this._platform=a};Vv.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};Vv.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||typeof a.getClientRects==="function"&&a.getClientRects().length)&&getComputedStyle(a).visibility==="visible"};
var UWb=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&&(ooa(c)===-1||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=ooa(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};
Vv.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")||noa(a);return c&&!this.isDisabled(a)&&((b==null?void 0:b.ignoreVisibility)||this.isVisible(a))};Vv.\u0275fac=function(a){return new (a||Vv)(n(Nv))};Vv.\u0275prov=Fc({token:Vv,factory:Vv.\u0275fac,providedIn:"root"});var Yv=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 VWb(h)};this.endAnchorListener=function(){return Wv(h)};this._enabled=!0;(e===void 0?0:e)||Xv(this)};
Yv.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 Xv=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))},WWb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Yv.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)};
Yv.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 Wv(this)};var Wv=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},VWb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};g=Yv.prototype;g.hasAttached=function(){return this._hasAttached};
g._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&UWb(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)&&UWb(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 XWb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Yv.prototype._executeOnStable=function(a){this._injector?Pe(a,{injector:this._injector}):setTimeout(a)};da.Object.defineProperties(Yv.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 Zv=function(a,b,c){this._checker=a;this._ngZone=b;this._injector=Xc(Ne);this._document=c};
Zv.prototype.create=function(a,b){return new Yv(a,this._checker,this._ngZone,this._document,b===void 0?!1:b,this._injector)};Zv.\u0275fac=function(a){return new (a||Zv)(n(Vv),n(Me),n(vh))};Zv.\u0275prov=Fc({token:Zv,factory:Zv.\u0275fac,providedIn:"root"});var $v=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;Xc(Nv).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))};g=$v.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||Xv(a);this.autoCapture&&this._captureFocus()};g.ngDoCheck=function(){this.focusTrap&&!this.focusTrap.hasAttached()&&Xv(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=mh();var a;(a=this.focusTrap)==null||WWb(a)};da.Object.defineProperties($v.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)}}});
$v.\u0275fac=function(a){return new (a||$v)(B(Rd),B(Zv),B(vh))};$v.\u0275dir=ed({type:$v,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Tg],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Tg]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Mf,rd]});var YWb=new Set,aw,bw=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):poa};bw.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!YWb.has(a))try{aw||(aw=document.createElement("style"),b&&aw.setAttribute("nonce",b),aw.setAttribute("type","text/css"),document.head.appendChild(aw)),aw.sheet&&(aw.sheet.insertRule("@media "+a+" {body{ }}",0),YWb.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
bw.\u0275fac=function(a){return new (a||bw)(n(Nv),n(BUb,8))};bw.\u0275prov=Fc({token:bw,factory:bw.\u0275fac,providedIn:"root"});var cw=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new yf};cw.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
cw.prototype.observe=function(a){var b=this;a=qoa(ph(a)).map(function(c){return b._registerQuery(c).observable});a=we(a);a=Ae(a.pipe(qf()),a.pipe(Af(1),pf(0)));return a.pipe(z(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}))};
cw.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 ce(function(e){var f=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(f);return function(){c.removeListener(f)}})).pipe(Bf(c),z(function(e){return{query:a,matches:e.matches}}),Df(this._destroySubject)),mql:c};this._queries.set(a,d);return d};cw.\u0275fac=function(a){return new (a||cw)(n(bw),n(Me))};
cw.\u0275prov=Fc({token:cw,factory:cw.\u0275fac,providedIn:"root"});var dw=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=Xc(cw).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},ZWb=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};dw.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
dw.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=ZWb(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")}};
dw.\u0275fac=function(a){return new (a||dw)(n(Nv),n(vh))};dw.\u0275prov=Fc({token:dw,factory:dw.\u0275fac,providedIn:"root"});var $Wb=new ld("liveAnnouncerElement",{providedIn:"root",factory:roa}),aXb=new ld("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var ew=function(){};ew.prototype.create=function(a){return typeof MutationObserver==="undefined"?null:new MutationObserver(a)};ew.\u0275fac=function(a){return new (a||ew)};ew.\u0275prov=Fc({token:ew,factory:ew.\u0275fac,providedIn:"root"});var fw=function(a){this._mutationObserverFactory=a;this._observedElements=new Map;this._ngZone=Xc(Me)};g=fw.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=sh(a);return new ce(function(d){var e=b._observeElement(c).pipe(z(function(f){return f.filter(function(h){return!soa(h)})}),He(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 yf,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)}};fw.\u0275fac=function(a){return new (a||fw)(n(ew))};fw.\u0275prov=Fc({token:fw,factory:fw.\u0275fac,providedIn:"root"});
var gw=function(a,b){this._contentObserver=a;this._elementRef=b;this.event=new bv;this._disabled=!1;this._currentSubscription=null};gw.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};gw.prototype.ngOnDestroy=function(){this._unsubscribe()};gw.prototype._subscribe=function(){this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?a.pipe(pf(this.debounce)):a).subscribe(this.event)};
gw.prototype._unsubscribe=function(){var a;(a=this._currentSubscription)==null||a.unsubscribe()};da.Object.defineProperties(gw.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=th(a);this._subscribe()}}});gw.\u0275fac=function(a){return new (a||gw)(B(fw),B(Rd))};
gw.\u0275dir=ed({type:gw,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Tg],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[Mf]});var hw=function(){};hw.\u0275fac=function(a){return new (a||hw)};hw.\u0275mod=cd({type:hw});hw.\u0275inj=Gc({providers:[ew]});var bXb=0,iw=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};g=iw.prototype;
g.announce=function(a){var b=jd.apply(1,arguments),c=this,d=this._defaultOptions;if(b.length===1&&typeof b[0]==="number")var e=b[0];else{b=l(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-"+bXb++;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)}};iw.\u0275fac=function(a){return new (a||iw)(n($Wb,8),n(Me),n(vh),n(aXb,8))};iw.\u0275prov=Fc({token:iw,factory:iw.\u0275fac,providedIn:"root"});var jw=function(a){a._applyBodyHighContrastModeCssClasses()};jw.\u0275fac=function(a){return new (a||jw)(n(dw))};jw.\u0275mod=cd({type:jw});jw.\u0275inj=Gc({imports:[hw]});var woa=0,kw=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+woa++;this._document=a;this._id=Xc(AUb)+"-"+woa++},lw=function(a,b,c,d){if(a._canBeDescribed(b,c)){var e=voa(c,d);typeof c!=="string"?(xoa(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)}},mw=function(a,b,c,d){if(c&&a._isElementNode(b)){d=voa(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=kw.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");xoa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(voa(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&&!this._platform.isBrowser&&a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
g._removeCdkDescribedByReferenceIds=function(a){var b=toa(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);uoa(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--;uh(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};g._isElementDescribedByMessage=function(a,b){a=toa(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};kw.\u0275fac=function(a){return new (a||kw)(n(vh),n(Nv))};kw.\u0275prov=Fc({token:kw,factory:kw.\u0275fac,providedIn:"root"});var nw=function(a,b,c,d,e,f,h,k){Yv.call(this,a,b,c,d,h.defer,k);this._focusTrapManager=e;this._inertStrategy=f;this._focusTrapManager.register(this)};V(nw,Yv);nw.prototype.destroy=function(){this._focusTrapManager.deregister(this);Yv.prototype.destroy.call(this)};nw.prototype._enable=function(){cXb(this._inertStrategy,this);XWb(this,!0)};nw.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);XWb(this,!1)};
da.Object.defineProperties(nw.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 dXb=function(){this._listener=null},cXb=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)})};dXb.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)&&Wv(a)})};var eXb=new ld("FOCUS_TRAP_INERT_STRATEGY");var ow=function(){this._focusTrapStack=[]};ow.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()};ow.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())};ow.\u0275fac=function(a){return new (a||ow)};ow.\u0275prov=Fc({token:ow,factory:ow.\u0275fac,providedIn:"root"});var pw=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._injector=Xc(Ne);this._document=d;this._inertStrategy=e||new dXb};pw.prototype.create=function(a,b){b=b===void 0?{defer:!1}:b;var c;typeof b==="boolean"?c={defer:b}:c=b;return new nw(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c,this._injector)};pw.\u0275fac=function(a){return new (a||pw)(n(Vv),n(Me),n(ow),n(vh),n(eXb,8))};
pw.\u0275prov=Fc({token:pw,factory:pw.\u0275fac,providedIn:"root"});var fXb=function(a,b){this._letterKeyStream=new yf;this._items=[];this._selectedItemIndex=-1;this._pressedLetters=[];this.selectedItem=this._selectedItem=new yf;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=fXb.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(Ef(function(c){return b._pressedLetters.push(c)}),pf(a),He(function(){return b._pressedLetters.length>0}),z(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,k=void 0,q=void 0;if(((h=(f=b)._skipPredicateFn)==null||!h.call(f,e))&&((q=(k=e).getLabel)==null?void 0:q.call(k).toLocaleUpperCase().trim().indexOf(c))===
0){b._selectedItem.next(e);break}}b._pressedLetters=[]})};var qw=function(a,b){var c=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._typeaheadSubscription=Yd.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 yf;this.change=new yf;a instanceof qg?this._itemChangesSubscription=a.changes.subscribe(function(d){return c._itemsChanged(d.toArray())}):Qja(a)&&(this._effectRef=wma(function(){return c._itemsChanged(a())},
{injector:b}))};qw.prototype.skipPredicate=function(a){this._skipPredicateFn=a;return this};
var rw=function(a){a._wrap=!0;return a},sw=function(a,b){a._vertical=b===void 0?!0:b;return a},tw=function(a,b){a._horizontal=b;return a},gXb=function(a){a._allowedModifierKeys=["shiftKey"];return a},hXb=function(a,b){b=b===void 0?200:b;a._typeaheadSubscription.unsubscribe();var c=a._getItemsArray();a._typeahead=new fXb(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},uw=function(a){a._homeAndEnd=!0;return a},iXb=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};qw.prototype.setActiveItem=function(a){var b=this._activeItem;vw(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
qw.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){jXb(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||oh(a,"shiftKey")){var e;(e=this._typeahead)==null||e.handleKey(a)}return}var f;(f=this._typeahead)==null||f.reset();a.preventDefault()};qw.prototype.isTyping=function(){return!!this._typeahead&&this._typeahead.isTyping()};var jXb=function(a){a._setActiveItemByIndex(a._getItemsArray().length-1,-1)};qw.prototype.setNextItemActive=function(){this._activeItemIndex<0?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
qw.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?jXb(this):this._setActiveItemByDelta(-1)};var vw=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=qw.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 Qja(this._items)?this._items():this._items instanceof qg?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)))};
da.Object.defineProperties(qw.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var ww=function(){qw.apply(this,arguments)};V(ww,qw);ww.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();qw.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var xw=function(){qw.apply(this,arguments);this._origin="program"};V(xw,qw);var kXb=function(a,b){a._origin=b;return a};xw.prototype.setActiveItem=function(a){qw.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var lXb=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=Yd.EMPTY;this._hasInitialFocused=!1;this.change=new yf;a instanceof qg?(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._initialFocus()})):Uha(a)?a.subscribe(function(d){c._items=d;var e;(e=c._typeahead)==null||e.setItems(d);c._updateActiveItemIndex(d);c._initialFocus()}):(this._items=a,this._initialFocus());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=lXb.prototype;g._initialFocus=function(){if(!this._hasInitialFocused&&this._items.length){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}yw(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(){yw(this,this._findNextAvailableItemIndex(-1))};g._focusLastItem=function(){yw(this,this._findPreviousAvailableItemIndex(this._items.length))};g._focusNextItem=function(){yw(this,this._findNextAvailableItemIndex(this._activeItemIndex))};g._focusPreviousItem=function(){yw(this,this._findPreviousAvailableItemIndex(this._activeItemIndex))};
var yw=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(k){return a._trackByFn(k)===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=lXb.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 fXb(this._items,{debounceInterval:typeof a==="number"?a:void 0,skipPredicate:function(c){return b._skipPredicateFn(c)}});this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(function(c){yw(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)&&yw(this,a)}};
g._expandCurrentItem=function(){var a=this;this._activeItem&&(this._isCurrentItemExpanded()?yoa(this._activeItem.getChildren()).pipe(qf()).subscribe(function(b){(b=b.find(function(c){return!a._skipPredicateFn(c)}))&&yw(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?yoa(a.getChildren()):pe(this._items.filter(function(b){return b.getParent()===null}))).pipe(qf()).subscribe(function(b){b=l(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 ld("tree-key-manager",{providedIn:"root",factory:function(){return function(a,b){return new lXb(a,b)}}});var zw=function(){};zw.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};zw.prototype.detach=function(){var a=this._attachedHost;a!=null&&(this._attachedHost=null,a.detach())};da.Object.defineProperties(zw.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return this._attachedHost!=null}}});var Aw=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};V(Aw,zw);
var Bw=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};V(Bw,zw);Bw.prototype.attach=function(a,b){this.context=b=b===void 0?this.context:b;return zw.prototype.attach.call(this,a)};Bw.prototype.detach=function(){this.context=void 0;return zw.prototype.detach.call(this)};da.Object.defineProperties(Bw.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var Cw=function(){this._isDisposed=!1};g=Cw.prototype;
g.hasAttached=function(){return!!this._attachedPortal};g.attach=function(a){if(a instanceof Aw)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof Bw)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 Dw=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};V(Dw,Cw);
Dw.prototype.attachComponentPortal=function(a){var b=this,c=uVb(a.componentFactoryResolver||this._componentFactoryResolver,a.component);if(a.viewContainerRef){var d=a.viewContainerRef.createComponent(c,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector,a.projectableNodes||void 0);this.setDisposeFn(function(){return d.destroy()})}else d=c.create(a.injector||this._defaultInjector||xUb),EVb(this._appRef,d.hostView),this.setDisposeFn(function(){b._appRef.viewCount>0&&b._appRef.detachView(d.hostView);
d.destroy()});this.outletElement.appendChild(this._getComponentRootNode(d));this._attachedPortal=a;return d};Dw.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};
Dw.prototype.dispose=function(){Cw.prototype.dispose.call(this);this.outletElement.remove()};Dw.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var Ew=function(a,b){Bw.call(this,a,b)};V(Ew,Bw);Ew.\u0275fac=function(a){return new (a||Ew)(B(og),B(pg))};Ew.\u0275dir=ed({type:Ew,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[Lf]});var Fw=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new bv;this._document=c};V(Fw,Cw);g=Fw.prototype;g.ngOnInit=function(){this._isInitialized=!0};
g.ngOnDestroy=function(){Cw.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=uVb(a.componentFactoryResolver||this._componentFactoryResolver,a.component),d=b.createComponent(c,b.length,a.injector||b.injector,a.projectableNodes||void 0);b!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]);Cw.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};g.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});Cw.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};
da.Object.defineProperties(Fw.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&Cw.prototype.detach.call(this),a&&Cw.prototype.attach.call(this,a),this._attachedPortal=a||null}}});Fw.\u0275fac=function(a){return new (a||Fw)(B(Nu),B(pg),B(vh))};
Fw.\u0275dir=ed({type:Fw,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Lf]});var Gw=function(){};Gw.\u0275fac=function(a){return new (a||Gw)};Gw.\u0275mod=cd({type:Gw});Gw.\u0275inj=Gc({});var mXb=new ld("cdk-dir-doc",{providedIn:"root",factory:zoa});var nXb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Hw=function(a){this.value="ltr";this.change=new bv;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)?nXb.test(navigator.language)?"rtl":"ltr":b==="rtl"?"rtl":"ltr"}};Hw.prototype.ngOnDestroy=function(){this.change.complete()};
Hw.\u0275fac=function(a){return new (a||Hw)(n(mXb,8))};Hw.\u0275prov=Fc({token:Hw,factory:Hw.\u0275fac,providedIn:"root"});var Iw=function(){};Iw.\u0275fac=function(a){return new (a||Iw)};Iw.\u0275mod=cd({type:Iw});Iw.\u0275inj=Gc({});var Jw=function(a){this._attachedOverlays=[];this._document=a};Jw.prototype.ngOnDestroy=function(){this.detach()};Jw.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};Jw.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);a>-1&&this._attachedOverlays.splice(a,1);this._attachedOverlays.length===0&&this.detach()};Jw.\u0275fac=function(a){return new (a||Jw)(n(vh))};Jw.\u0275prov=Fc({token:Jw,factory:Jw.\u0275fac,providedIn:"root"});var Kw=function(a,b){Jw.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,f={},h=e.length-1;h>-1;f={keydownEvents:void 0},h--)if(e[h]._keydownEvents.observers.length>0){f.keydownEvents=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(k){return function(){return k.keydownEvents.next(d)}}(f)):f.keydownEvents.next(d);break}}};V(Kw,Jw);
Kw.prototype.add=function(a){var b=this;Jw.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)};Kw.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
Kw.\u0275fac=function(a){return new (a||Kw)(n(vh),n(Me,8))};Kw.\u0275prov=Fc({token:Kw,factory:Kw.\u0275fac,providedIn:"root"});var Lw=function(a,b,c){Jw.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=nh(e)};this._clickListener=function(e){var f=nh(e),h=e.type==="click"&&d._pointerDownEventTarget?d._pointerDownEventTarget:f;d._pointerDownEventTarget=null;for(var k=d._attachedOverlays.slice(),q={},t=k.length-1;t>-1;q={outsidePointerEvents:void 0},t--){var w=k[t];if(!(w._outsidePointerEvents.observers.length<1)&&w.hasAttached()){if(Aoa(w.overlayElement,
f)||Aoa(w.overlayElement,h))break;q.outsidePointerEvents=w._outsidePointerEvents;d._ngZone?d._ngZone.run(function(y){return function(){return y.outsidePointerEvents.next(e)}}(q)):q.outsidePointerEvents.next(e)}}}};V(Lw,Jw);
Lw.prototype.add=function(a){var b=this;Jw.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}};
Lw.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}};
Lw.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)};Lw.\u0275fac=function(a){return new (a||Lw)(n(vh),n(Nv),n(Me,8))};Lw.\u0275prov=Fc({token:Lw,factory:Lw.\u0275fac,providedIn:"root"});var Mw=function(a,b){this._platform=b;this._document=a};Mw.prototype.ngOnDestroy=function(){var a;(a=this._containerElement)==null||a.remove()};var oXb=function(a){a._containerElement||a._createContainer();return a._containerElement};
Mw.prototype._createContainer=function(){if(this._platform.isBrowser||Zna())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");Zna()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
Mw.\u0275fac=function(a){return new (a||Mw)(n(vh),n(Nv))};Mw.\u0275prov=Fc({token:Mw,factory:Mw.\u0275fac,providedIn:"root"});var pXb=Una(),Nw=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};Nw.prototype.attach=function(){};
Nw.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=rh(-this._previousScrollPosition.left);a.style.top=rh(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
Nw.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");pXb&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);pXb&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
Nw.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 Ow=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()})}};Ow.prototype.attach=function(a){this._overlayRef=a};
Ow.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(He(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)}};Ow.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Ow.prototype.detach=function(){this.disable();this._overlayRef=null};var Pw=function(){};Pw.prototype.enable=function(){};Pw.prototype.disable=function(){};Pw.prototype.attach=function(){};var Qw=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};Qw.prototype.attach=function(a){this._overlayRef=a};
Qw.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;Boa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
Qw.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};Qw.prototype.detach=function(){this.disable();this._overlayRef=null};new ld("VIRTUAL_SCROLL_STRATEGY");var Rw=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new yf;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};Rw.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};Rw.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
Rw.prototype.scrolled=function(a){var b=this;a=a===void 0?20:a;return this._platform.isBrowser?new ce(function(c){b._globalSubscription||b._addGlobalListener();var d=a>0?b._scrolled.pipe(kf(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):pe()};
Rw.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var qXb=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};Rw.prototype._getWindow=function(){return this._document.defaultView||window};
Rw.prototype._scrollableContainsElement=function(a,b){b=sh(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};Rw.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return De(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};Rw.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};
Rw.\u0275fac=function(a){return new (a||Rw)(n(Me),n(Nv),n(vh,8))};Rw.\u0275prov=Fc({token:Rw,factory:Rw.\u0275fac,providedIn:"root"});var Sw=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new yf;this._elementScrolled=new ce(function(f){return e.ngZone.runOutsideAngular(function(){return De(e.elementRef.nativeElement,"scroll").pipe(Df(e._destroyed)).subscribe(f)})})};Sw.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};Sw.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
Sw.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&&Wna()!=0?(a.left!=null&&(a.right=b.scrollWidth-b.clientWidth-a.left),Wna()==2?a.left=a.right:Wna()==1&&(a.left=a.right?-a.right:a.right)):a.right!=null&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
Sw.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;Una()?b.scrollTo(a):(a.top!=null&&(b.scrollTop=a.top),a.left!=null&&(b.scrollLeft=a.left))};Sw.\u0275fac=function(a){return new (a||Sw)(B(Rd),B(Rw),B(Me),B(Hw,8))};Sw.\u0275dir=ed({type:Sw,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var rXb=new ld("_ViewRepeater");var sXb=function(){};sXb.prototype.applyChanges=function(a,b,c,d,e){PVb(a,function(f,h,k){if(f.previousIndex==null){var q=c(f,h,k);q=b.createEmbeddedView(q.templateRef,q.context,q.index);h=1}else k==null?(b.remove(h),h=3):(q=b.get(h),b.move(q,k),h=2);if(e){var t;e({context:(t=q)==null?void 0:t.context,operation:h,record:f})}})};sXb.prototype.detach=function(){};var tXb=function(){this._viewCache=[]};g=tXb.prototype;g.applyChanges=function(a,b,c,d,e){var f=this;PVb(a,function(h,k,q){var t;if(h.previousIndex==null)var w=(t=f._insertView(function(){return c(h,k,q)},q,b,d(h)))?1:0;else q==null?(f._detachAndCacheView(k,b),w=3):(t=f._moveView(k,q,b,d(h)),w=2);if(e){var y;e({context:(y=t)==null?void 0:y.context,operation:w,record:h})}})};g.detach=function(){for(var a=l(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 Tw=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 yf;b&&b.length&&(a?b.forEach(function(f){return e._markSelected(f)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};g=Tw.prototype;
g.select=function(){var a=this;jd.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};g.deselect=function(){var a=this;jd.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=l(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c}return a};da.Object.defineProperties(Tw.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var Uw=function(){this._listeners=[]};Uw.prototype.notify=function(a,b){for(var c=l(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};Uw.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};Uw.prototype.ngOnDestroy=function(){this._listeners=[]};Uw.\u0275fac=function(a){return new (a||Uw)};Uw.\u0275prov=Fc({token:Uw,factory:Uw.\u0275fac,providedIn:"root"});var Vw=function(a,b,c){var d=this;this._platform=a;this._change=new yf;this._changeListener=function(e){d._change.next(e)};this._document=c;b.runOutsideAngular(function(){if(a.isBrowser){var e=d._getWindow();e.addEventListener("resize",d._changeListener);e.addEventListener("orientationchange",d._changeListener)}d.change().subscribe(function(){return d._viewportSize=null})})};g=Vw.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(kf(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}};Vw.\u0275fac=function(a){return new (a||Vw)(n(Nv),n(Me),n(vh,8))};Vw.\u0275prov=Fc({token:Vw,factory:Vw.\u0275fac,providedIn:"root"});new ld("VIRTUAL_SCROLLABLE");var Ww=function(){};Ww.\u0275fac=function(a){return new (a||Ww)};Ww.\u0275mod=cd({type:Ww});Ww.\u0275inj=Gc({});var Xw=function(){};Xw.\u0275fac=function(a){return new (a||Xw)};Xw.\u0275mod=cd({type:Xw});Xw.\u0275inj=Gc({imports:[Iw,Ww,Iw,Ww]});var Yw=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new Pw};this.close=function(f){return new Ow(e._scrollDispatcher,e._ngZone,e._viewportRuler,f)};this.block=function(){return new Nw(e._viewportRuler,e._document)};this.reposition=function(f){return new Qw(e._scrollDispatcher,e._viewportRuler,e._ngZone,f)};this._document=d};Yw.\u0275fac=function(a){return new (a||Yw)(n(Rw),n(Vw),n(Me),n(vh))};
Yw.\u0275prov=Fc({token:Yw,factory:Yw.\u0275fac,providedIn:"root"});var Zw=function(a){this.scrollStrategy=new Pw;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=l(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a[c]!==void 0&&(this[c]=a[c])}};var $w=function(a,b,c,d,e,f,h,k,q,t,w){var y=this;t=t===void 0?!1:t;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=f;this._document=h;this._location=k;this._outsideClickDispatcher=q;this._animationsDisabled=t;this._injector=w;this._backdropElement=null;this._backdropClick=new yf;this._attachments=new yf;this._detachments=new yf;this._locationChanges=Yd.EMPTY;this._backdropClickHandler=function(D){return y._backdropClick.next(D)};this._backdropTransitionendHandler=
function(D){y._disposeBackdrop(D.target)};this._keydownEvents=new yf;this._outsidePointerEvents=new yf;this._renders=new yf;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy;this._afterRenderRef=Xg(function(){return gia(function(){y._renders.next()},{injector:y._injector})})};g=$w.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();Pe(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()){uXb(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();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 vXb=function(a){return(a=a._config.direction)?typeof a==="string"?a:a.value:"ltr"};g=$w.prototype;g._updateElementDirection=function(){this._host.setAttribute("dir",vXb(this))};g._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=rh(this._config.width);a.height=rh(this._config.height);a.minWidth=rh(this._config.minWidth);a.minHeight=rh(this._config.minHeight);a.maxWidth=rh(this._config.maxWidth);a.maxHeight=rh(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 uXb=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)})))};
$w.prototype._toggleClasses=function(a,b,c){b=ph(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,r(b)):a.classList.remove.apply(a.classList,r(b)))};
$w.prototype._detachContentWhenEmpty=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._renders.pipe(Df(Ge(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())})})};
$w.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};$w.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)};
da.Object.defineProperties($w.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var wXb=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var Eoa=/([A-Za-z%]+)$/,ax=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 yf;this._resizeSubscription=Yd.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};ax.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()})};
ax.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)xXb(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=oXb(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],f,h=l(this._preferredPositions),k=h.next();!k.done;k=h.next()){k=k.value;var q=this._getOriginPoint(a,d,k),t=this._getOverlayPoint(q,b,k),w=this._getOverlayFit(t,b,c,k);if(w.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(k,q);return}if(this._canFitWithFlexibleDimensions(w,t,c))e.push({position:k,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,k)});else if(!f||f.overlayFit.visibleArea<w.visibleArea)f={overlayFit:w,
overlayPoint:t,originPoint:q,position:k,overlayRect:b}}if(e.length){a=null;b=-1;e=l(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)}};ax.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
ax.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&wh(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 xXb=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=oXb(a._overlayContainer).getBoundingClientRect(),a._applyPosition(b,a._getOriginPoint(a._originRect,a._containerRect,b))):a.apply()}},yXb=function(a,b){a._scrollables=b;return a},bx=function(a,b){a._preferredPositions=b;b.indexOf(a._lastPosition)===-1&&(a._lastPosition=null);
return a},cx=function(a,b){a._viewportMargin=b;return a},dx=function(a,b){a._hasFlexibleDimensions=b===void 0?!0:b;return a},zXb=function(a,b){a._growAfterOpen=b===void 0?!0:b;return a},AXb=function(a,b){a._canPush=b===void 0?!0:b;return a},BXb=function(a,b){a._positionLocked=b===void 0?!0:b;return a};ax.prototype.setOrigin=function(a){this._origin=a;return this};var CXb=function(a,b){a._transformOriginSelector=b;return a};g=ax.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=Goa(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=Foa(this._overlayRef.getConfig().minHeight);var e=Foa(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=Goa(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),k=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?k||-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 wXb(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 k=this._lastBoundingBoxSize.height;f=e*2;e=a.y-e;f>k&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-k/2)}k=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(k){var t=a.x;b=c.right-a.x}else t=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=t*2,t=a.x-t,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(t=a.x-c/2);return{top:e,left:t,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=rh(a.height);c.top=rh(a.top);c.bottom=rh(a.bottom);
c.width=rh(a.width);c.left=rh(a.left);c.right=rh(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=rh(d));e&&(c.maxWidth=rh(e))}this._lastBoundingBoxSize=a;wh(this._boundingBox.style,c)};g._resetBoundingBoxStyles=function(){wh(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
g._resetOverlayElementStyles=function(){wh(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();wh(c,this._getExactOverlayY(b,a,h));wh(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=rh(f.maxHeight):e&&(c.maxHeight=""));f.maxWidth&&
(d?c.maxWidth=rh(f.maxWidth):e&&(c.maxWidth=""));wh(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=rh(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=rh(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:Coa(a,c),isOriginOutsideView:Boa(a,c),isOverlayClipped:Coa(b,c),isOverlayOutsideView:Boa(b,c)}};g._subtractOverflows=function(a){return jd.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 vXb(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&&ph(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 Rd)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}};
da.Object.defineProperties(ax.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var DXb=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};g=DXb.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 ex=function(a){a.left("");a._xPosition="center";return a},EXb=function(a){a.top("");a._alignItems="center";return a};
DXb.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",k="",q="",t="";if(d)t="flex-start";else if(f==="center")t=
"center",h?q=c:k=c;else if(h)if(f==="left"||f==="end")t="flex-end",k=c;else{if(f==="right"||f==="start")t="flex-start",q=c}else if(f==="left"||f==="start")t="flex-start",k=c;else if(f==="right"||f==="end")t="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":k;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=t;b.alignItems=e?"flex-start":this._alignItems}};
DXb.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 fx=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};fx.prototype.global=function(){return new DXb};var gx=function(a,b){return new ax(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};fx.\u0275fac=function(a){return new (a||fx)(n(Vw),n(vh),n(Nv),n(Mw))};fx.\u0275prov=Fc({token:fx,factory:fx.\u0275fac,providedIn:"root"});var FXb=0,hx=function(a,b,c,d,e,f,h,k,q,t,w,y){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=f;this._ngZone=h;this._document=k;this._directionality=q;this._location=t;this._outsideClickDispatcher=w;this._animationsModuleType=y};g=hx.prototype;
g.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Zw(a);a.direction=a.direction||this._directionality.value;return new $w(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ku))};g.position=function(){return this._positionBuilder};
g._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+FXb++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};g._createHostElement=function(){var a=this._document.createElement("div");oXb(this._overlayContainer).appendChild(a);return a};g._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(hv));return new Dw(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
hx.\u0275fac=function(a){return new (a||hx)(n(Yw),n(Mw),n(Nu),n(fx),n(Kw),n(Ne),n(Me),n(vh),n(Hw),n(Mv),n(Lw),n(Pu,8))};hx.\u0275prov=Fc({token:hx,factory:hx.\u0275fac,providedIn:"root"});var GXb=[{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"}],HXb=new ld("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.reposition()}}}),ix=function(a){this.elementRef=a};
ix.\u0275fac=function(a){return new (a||ix)(B(Rd))};ix.\u0275dir=ed({type:ix,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var jx=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=Yd.EMPTY;this._disposeOnNavigation=!1;this._ngZone=Xc(Me);this.viewportMargin=0;this.push=this.growAfterOpen=this.flexibleDimensions=this.lockPosition=this.hasBackdrop=this.disableClose=this.open=!1;this.backdropClick=new bv;this.positionChange=new bv;this.attach=new bv;this.detach=new bv;this.overlayKeydown=new bv;this.overlayOutsideClick=
new bv;this._templatePortal=new Bw(b,c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};g=jx.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=GXb);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||oh(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){var d=
a._getOriginElement(),e=nh(c);d&&(d===e||d.contains(e))||a.overlayOutsideClick.next(c)})};
g._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Zw({direction:this._dir,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 CXb(BXb(cx(zXb(AXb(dx(bx(a.setOrigin(this._getOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
g._createPositionStrategy=function(){var a=gx(this._overlay.position(),this._getOrigin());this._updatePositionStrategy(a);return a};g._getOrigin=function(){return this.origin instanceof ix?this.origin.elementRef:this.origin};g._getOriginElement=function(){return this.origin instanceof ix?this.origin.elementRef.nativeElement:this.origin instanceof Rd?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(mka(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()};
da.Object.defineProperties(jx.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"}}});jx.\u0275fac=function(a){return new (a||jx)(B(hx),B(og),B(pg),B(HXb),B(Hw,8))};
jx.\u0275dir=ed({type:jx,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",Tg],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Tg],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Tg],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Tg],push:[2,"cdkConnectedOverlayPush","push",Tg],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",
Tg]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Mf,rd]});var IXb={provide:HXb,deps:[hx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var kx=function(){};kx.\u0275fac=function(a){return new (a||kx)};kx.\u0275mod=cd({type:kx});kx.\u0275inj=Gc({providers:[hx,IXb],imports:[Iw,Gw,Xw,Xw]});var JXb=new ld("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),lx=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};lx.prototype._checkIsEnabled=function(a){return Zna()?!1:typeof this._sanityChecks==="boolean"?this._sanityChecks:!!this._sanityChecks[a]};lx.\u0275fac=function(a){return new (a||lx)(n(dw),n(JXb,8),n(vh))};lx.\u0275mod=cd({type:lx});
lx.\u0275inj=Gc({imports:[Iw,Iw]});var KXb=function(a,b,c,d,e){this._defaultMatcher=a;this.ngControl=b;this._parentFormGroup=c;this._parentForm=d;this._stateChanges=e;this.errorState=!1};KXb.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 ld("MAT_DATE_LOCALE",{providedIn:"root",factory:Koa});var mx=function(){this.localeChanges=this._localeChanges=new yf},nx=function(a,b){return b instanceof Ri&&a.isValid(b)?b:null},ox=function(a,b){return b==null||b instanceof Ri&&a.isValid(b)?b:a.invalid()};mx.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var px=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
mx.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!px(this,a,b):c==d}return a==b};var LXb=function(a,b,c,d){return c&&px(a,b,c)<0?c:d&&px(a,b,d)>0?d:b};var qx=new ld("mat-date-formats");var rx=function(){};rx.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};rx.\u0275fac=function(a){return new (a||rx)};rx.\u0275prov=Fc({token:rx,factory:rx.\u0275fac,providedIn:"root"});var tx=function(){};tx.\u0275fac=function(a){return new (a||tx)};
tx.\u0275cmp=p({type:tx,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("mdc-form-field--align-end",b.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Fg],attrs:["mat-internal-form-field",""],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),jg(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 MXb=new ld("MAT_OPTION_PARENT_COMPONENT");var NXb=new ld("MatOptgroup");var OXb=kh({passive:!0,capture:!0}),QXb=function(a,b,c,d){var e=PXb,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,OXb)}))};var RXb=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 SXb={enterDuration:225,exitDuration:150},TXb=kh({passive:!0,capture:!0}),UXb=["mousedown","touchstart"],VXb=["mouseup","mouseleave","touchend","touchcancel"],WXb=function(a,b,c,d){this._target=a;this._ngZone=b;this._platform=d;this._isPointerDown=!1;this._activeRipples=new Map;this._pointerUpEventsRegistered=!1;d.isBrowser&&(this._containerElement=sh(c))},XXb=function(a,b,c,d){d=d===void 0?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),f=Object.assign({},
SXb,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||Loa(b,c,e);b-=e.left;c-=e.top;var k=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=k+"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 t=new RXb(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";t.state=0;d.persistent||(a._mostRecentTransientRipple=t);var w=null;e||!k&&!f.exitDuration||a._ngZone.runOutsideAngular(function(){var y=function(){w&&(w.fallbackTimer=null);clearTimeout(G);a._finishRippleTransition(t)},D=function(){return a._destroyRipple(t)},G=setTimeout(D,k+100);q.addEventListener("transitionend",y);q.addEventListener("transitioncancel",D);w={onTransitionEnd:y,onTransitionCancel:D,
fallbackTimer:G}});a._activeRipples.set(t,w);!e&&k||a._finishRippleTransition(t);return t},YXb=function(a,b){if(b.state!==2&&b.state!==3){var c=b.element,d=Object.assign({},SXb,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};WXb.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||YXb(a._renderer,a)})};
var ZXb=function(a,b){var c=sh(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,UXb.forEach(function(d){QXb(a._ngZone,d,c,a)}))};g=WXb.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(){VXb.forEach(function(c){b._triggerElement.addEventListener(c,b,TXb)})}),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||YXb(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=loa(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,XXb(this,a.clientX,a.clientY,this._target.rippleConfig))};g._onTouchStart=function(a){if(!this._target.rippleDisabled&&!moa(a)&&(this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0,a=a.changedTouches))for(var b=0;b<a.length;b++)XXb(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&&YXb(a._renderer,a)}))};g._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
g._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(UXb.forEach(function(c){var d=PXb,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,OXb)))}}),this._pointerUpEventsRegistered&&(VXb.forEach(function(c){return b.removeEventListener(c,a,TXb)}),this._pointerUpEventsRegistered=!1))};
var PXb=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=nh(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 ux=new ld("mat-ripple-global-options"),vx=function(a,b,c,d,e){this._elementRef=a;this._animationMode=e;this.radius=0;this._isInitialized=this._disabled=!1;this._globalOptions=d||{};this._rippleRenderer=new WXb(this,b,a,c)};g=vx.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&&ZXb(this._rippleRenderer,this.trigger)};g.launch=function(a,b,c){return typeof a==="number"?XXb(this._rippleRenderer,a,b===void 0?0:b,Object.assign({},this.rippleConfig,c)):XXb(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
da.Object.defineProperties(vx.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}}});vx.\u0275fac=function(a){return new (a||vx)(B(Rd),B(Me),B(Nv),B(ux,8),B(Pu,8))};
vx.\u0275dir=ed({type:vx,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("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 wx=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};wx.\u0275fac=function(a){return new (a||wx)(B(Pu,8))};
wx.\u0275cmp=p({type:wx,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&Wf("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:[Fg],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)}.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)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);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)}.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);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)}.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)}.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)}.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 $Xb=["text"],aYb=[[["mat-icon"]],"*"],bYb=0,cYb=function(a,b){this.source=a;this.isUserInput=b===void 0?!1:b},xx=function(a,b,c,d){this._element=a;this._changeDetectorRef=b;this._parent=c;this.group=d;this._disabled=this._active=this._selected=!1;this._mostRecentViewValue="";this.id="mat-option-"+bYb++;this.onSelectionChange=new bv;this._stateChanges=new yf};g=xx.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||oh(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 cYb(this,a===void 0?!1:a))};
da.Object.defineProperties(xx.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(){return!(!this._parent||!this._parent.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()}}});xx.\u0275fac=function(a){return new (a||xx)(B(Rd),B(Wg),B(MXb,8),B(NXb,8))};
xx.\u0275cmp=p({type:xx,selectors:[["mat-option"]],viewQuery:function(a,b){a&1&&rg($Xb,7);if(a&2){var c;vg(c=wg())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(a,b){a&1&&O("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(eg("id",b.id),Nf("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),Wf("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",Tg]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Mf,Fg],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-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(ig(aYb),C(0,Moa,1,2,"mat-pseudo-checkbox",1),jg(1),F(2,"span",2,0),jg(4,1),H(),C(5,Noa,1,1,"mat-pseudo-checkbox",3)(6,Ooa,2,1,"span",4),J(7,"div",5));a&2&&($f(b.multiple?0:-1),A(5),$f(b.multiple||!b.selected||b.hideSingleSelectionIndicator?-1:5),A(),$f(b.group&&b.group._inert?
6:-1),A(),E("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[wx,vx],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);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight)}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.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);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)}.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)}.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}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::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-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var yx=function(){};yx.\u0275fac=function(a){return new (a||yx)};yx.\u0275mod=cd({type:yx});yx.\u0275inj=Gc({imports:[lx,lx]});var zx=function(){};zx.\u0275fac=function(a){return new (a||zx)};zx.\u0275mod=cd({type:zx});zx.\u0275inj=Gc({imports:[lx]});var Ax=function(){};Ax.\u0275fac=function(a){return new (a||Ax)};Ax.\u0275mod=cd({type:Ax});Ax.\u0275inj=Gc({imports:[yx,lx,zx,xx]});var dYb={capture:!0},eYb=["focus","mousedown","mouseenter","touchstart"],Bx=function(){var a=this;this._document=Xc(vh,{optional:!0});this._animationMode=Xc(Pu,{optional:!0});this._globalRippleOptions=Xc(ux,{optional:!0});this._platform=Xc(Nv);this._ngZone=Xc(Me);this._hosts=new Map;this._onInteraction=function(b){b=nh(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=l(eYb),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;(d=a._document)==null||d.addEventListener(c,a._onInteraction,dYb)}})};Bx.prototype.ngOnDestroy=function(){var a=this._hosts.keys();a=l(a);for(var b=a.next();!b.done;b=a.next())fYb(this,b.value);a=l(eYb);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,dYb)}};
var gYb=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","")},hYb=function(a,b){return a._hosts.get(b)||a._createRipple(b)};
Bx.prototype.setDisabled=function(a,b){var c=this._hosts.get(a);c?c.disabled=b:b?a.setAttribute("mat-ripple-loader-disabled",""):a.removeAttribute("mat-ripple-loader-disabled")};
Bx.prototype._createRipple=function(a){if(this._document){var b=this._hosts.get(a);if(b)return b;var c;(c=a.querySelector(".mat-ripple"))==null||c.remove();b=this._document.createElement("span");b.classList.add("mat-ripple",a.getAttribute("mat-ripple-loader-class-name"));a.append(b);b=new vx(new Rd(b),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);b._isInitialized=!0;b.trigger=a;b.centered=a.hasAttribute("mat-ripple-loader-centered");
b.disabled=a.hasAttribute("mat-ripple-loader-disabled");iYb(this,a,b);return b}};var iYb=function(a,b,c){b.removeAttribute("mat-ripple-loader-uninitialized");a._hosts.set(b,c)},fYb=function(a,b){var c=a._hosts.get(b);c&&(c.ngOnDestroy(),a._hosts.delete(b))};Bx.\u0275fac=function(a){return new (a||Bx)};Bx.\u0275prov=Fc({token:Bx,factory:Bx.\u0275fac,providedIn:"root"});var jYb=new ld("MAT_BUTTON_CONFIG"),kYb=[{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"]}],Cx=function(a,b,c,d){this._elementRef=a;this._platform=b;this._ngZone=c;this._animationMode=d;this._focusMonitor=Xc(Sv);this._rippleLoader=Xc(Bx);this._disabled=this._disableRipple=this._isFab=!1;var e=Xc(jYb,{optional:!0}),f=a.nativeElement,h=f.classList,k;this.disabledInteractive=(k=e==null?void 0:e.disabledInteractive)!=
null?k:!1;var q;this.color=(q=e==null?void 0:e.color)!=null?q:null;var t;(t=this._rippleLoader)==null||gYb(t,f,{className:"mat-mdc-button-ripple"});e=l(kYb);for(k=e.next();!k.done;k=e.next())k=k.value,q=k.mdcClasses,f.hasAttribute(k.attribute)&&h.add.apply(h,r(q))};g=Cx.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;(a=this._rippleLoader)==null||fYb(a,this._elementRef.nativeElement)};
g.focus=function(a,b){(a=a===void 0?"program":a)?Tv(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)};
da.Object.defineProperties(Cx.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._rippleLoader)==null?void 0:hYb(a,this._elementRef.nativeElement)},set:function(a){var b;(b=this._rippleLoader)==null||iYb(b,this._elementRef.nativeElement,a)}},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()}}});Cx.\u0275fac=function(){Te()};Cx.\u0275dir=ed({type:Cx,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Tg],disabled:[2,"disabled","disabled",Tg],ariaDisabled:[2,"aria-disabled","ariaDisabled",Tg],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Tg]},features:[Mf]});var Dx=function(a,b,c,d){Cx.call(this,a,b,c,d);var e=this;this._haltDisabledEvents=function(f){e.disabled&&(f.preventDefault(),f.stopImmediatePropagation())}};
V(Dx,Cx);Dx.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};Dx.prototype.ngOnDestroy=function(){Cx.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};Dx.prototype._getAriaDisabled=function(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled};Dx.\u0275fac=function(){Te()};
Dx.\u0275dir=ed({type:Dx,inputs:{tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:Ug(a)}]},features:[Mf,Lf]});var lYb=["mat-button",""],mYb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],nYb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
oYb=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, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);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, 0);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, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.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)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color);background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.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);background-color:var(--mdc-filled-button-disabled-container-color)}.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);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow);height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color);background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.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);background-color:var(--mdc-protected-button-disabled-container-color)}.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)}.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);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight);border-radius:var(--mdc-outlined-button-container-shape);border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);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, -4px);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, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color);border-color:var(--mdc-outlined-button-outline-color)}.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);border-color:var(--mdc-outlined-button-disabled-outline-color)}.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);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-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-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-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}\n'},
pYb=function(){return".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"},Ex=function(a,b,c,d){Cx.call(this,a,b,c,d)};V(Ex,Cx);Ex.\u0275dir=Cx.\u0275dir;
Ex.\u0275fac=function(a){return new (a||Ex)(B(Rd),B(Nv),B(Me),B(Pu,8))};
Ex.\u0275cmp=p({type:Ex,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(Nf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),Xf(b.color?"mat-"+b.color:""),Wf("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:[Lf,Fg],attrs:lYb,ngContentSelectors:nYb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(ig(mYb),J(0,"span",0),jg(1),F(2,"span",1),jg(3,1),H(),jg(4,2),J(5,"span",2)(6,"span",3));a&2&&Wf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[oYb(),pYb()],encapsulation:2,changeDetection:0});
var Fx=function(a,b,c,d){Dx.call(this,a,b,c,d)};V(Fx,Dx);Fx.\u0275dir=Dx.\u0275dir;Fx.\u0275fac=function(a){return new (a||Fx)(B(Rd),B(Nv),B(Me),B(Pu,8))};
Fx.\u0275cmp=p({type:Fx,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(Nf("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getDisabledAttribute()),Xf(b.color?"mat-"+b.color:""),Wf("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:[Lf,Fg],attrs:lYb,ngContentSelectors:nYb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a,b){a&1&&(ig(mYb),J(0,"span",0),jg(1),F(2,"span",1),jg(3,1),H(),jg(4,2),J(5,"span",2)(6,"span",3));a&2&&Wf("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},
styles:[oYb(),pYb()],encapsulation:2,changeDetection:0});var qYb=new ld("mat-mdc-fab-default-options",{providedIn:"root",factory:Roa});var rYb=["mat-icon-button",""],sYb=["*"],tYb=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, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color);-webkit-tap-highlight-color:rgba(0,0,0,0)}.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)}.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);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.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-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.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'},
uYb=function(){return".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"},Gx=function(a,b,c,d){Cx.call(this,a,b,c,d);gYb(this._rippleLoader,this._elementRef.nativeElement,{centered:!0})};
V(Gx,Cx);Gx.\u0275dir=Cx.\u0275dir;Gx.\u0275fac=function(a){return new (a||Gx)(B(Rd),B(Nv),B(Me),B(Pu,8))};
Gx.\u0275cmp=p({type:Gx,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(a,b){a&2&&(Nf("disabled",b._getDisabledAttribute())("aria-disabled",b._getAriaDisabled()),Xf(b.color?"mat-"+b.color:""),Wf("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:[Lf,Fg],attrs:rYb,
ngContentSelectors:sYb,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(ig(),J(0,"span",0),jg(1),J(2,"span",1)(3,"span",2))},styles:[tYb(),uYb()],encapsulation:2,changeDetection:0});var Hx=function(a,b,c,d){Dx.call(this,a,b,c,d)};V(Hx,Dx);Hx.\u0275dir=Dx.\u0275dir;Hx.\u0275fac=function(a){return new (a||Hx)(B(Rd),B(Nv),B(Me),B(Pu,8))};
Hx.\u0275cmp=p({type:Hx,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(a,b){a&2&&(Nf("disabled",b._getDisabledAttribute())("tabindex",b.disabled&&!b.disabledInteractive?-1:b.tabIndex)("aria-disabled",b._getDisabledAttribute()),Xf(b.color?"mat-"+b.color:""),Wf("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:[Lf,Fg],attrs:rYb,ngContentSelectors:sYb,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(a){a&1&&(ig(),J(0,"span",0),jg(1),J(2,"span",1)(3,"span",2))},styles:[tYb(),uYb()],encapsulation:2,changeDetection:0});var Ix=function(){};Ix.\u0275fac=function(a){return new (a||Ix)};Ix.\u0275mod=cd({type:Ix});Ix.\u0275inj=Gc({imports:[lx,yx,lx]});var Jx=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new yf;this.selection=a};Jx.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};Jx.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};Jx.prototype._isValidDateInstance=function(a){return a instanceof Ri&&this._adapter.isValid(a)};Jx.\u0275fac=function(){Te()};Jx.\u0275prov=Fc({token:Jx,factory:Jx.\u0275fac});
var Kx=function(a){Jx.call(this,null,a)};V(Kx,Jx);Kx.prototype.add=function(a){Jx.prototype.updateSelection.call(this,a,this)};Kx.prototype.isValid=function(){return this.selection!=null&&this._isValidDateInstance(this.selection)};Kx.prototype.isComplete=function(){return this.selection!=null};Kx.prototype.clone=function(){var a=new Kx(this._adapter);a.updateSelection(this.selection,this);return a};Kx.\u0275fac=function(a){return new (a||Kx)(n(mx))};Kx.\u0275prov=Fc({token:Kx,factory:Kx.\u0275fac});
var vYb={provide:Jx,deps:[[new Lu,new Mu,Jx],mx],useFactory:function(a,b){return a||new Kx(b)}};new Lu;new Mu;var Lx=function(){this.changes=new yf;this.openCalendarLabel="Open calendar";this.closeCalendarLabel="Close calendar"};Lx.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};Lx.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};Lx.\u0275fac=function(a){return new (a||Lx)};Lx.\u0275prov=Fc({token:Lx,factory:Lx.\u0275fac,providedIn:"root"});var wYb=new ld("MAT_DATE_RANGE_SELECTION_STRATEGY");new Lu;new Mu;var xYb=function(a,b){return b.id},yYb=0,Mx=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=Yd.EMPTY;this.activeDrag=null;this.selectedChange=new bv;this._userSelection=new bv;this.dragStarted=new bv;this.dragEnded=new bv;this.activeDateChange=new bv;this._activeDate=new Ri};g=Mx.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Bf(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);px(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=Nx(this._activeDate,c?1:-1);break;case 39:this.activeDate=Nx(this._activeDate,c?-1:1);break;case 38:this.activeDate=Nx(this._activeDate,-7);break;case 40:this.activeDate=Nx(this._activeDate,7);break;case 36:this.activeDate=Nx(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=Nx(this._activeDate,mWb(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?Ox(this._activeDate,-1):Px(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?Ox(this._activeDate,1):Px(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:this._previewEnd==null||oh(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}px(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 Ri);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+Qx(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 Qx(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
g._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=zYb(this._dateAdapter,"narrow"),c=zYb(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e],id:yYb++}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
g._createWeekCells=function(){var a=mWb(this.activeDate),b=AYb;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){d==7&&(this._weeks.push([]),d=0);var e=Qx(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),k=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new MWb(c+1,b[c],h,f,k,this._getCellCompareValue(e),
e))}};g._shouldEnableDate=function(a){return!!a&&(!this.minDate||px(this._dateAdapter,a,this.minDate)>=0)&&(!this.maxDate||px(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);a=this._dateAdapter.getDate(a);return(new Date(b,c,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};
da.Object.defineProperties(Mx.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=nx(this._dateAdapter,ox(this._dateAdapter,a))||new Ri;this._activeDate=LXb(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=nx(this._dateAdapter,ox(this._dateAdapter,a));
this._setRanges(this._selected)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}}});Mx.\u0275fac=function(a){return new (a||Mx)(B(Wg),B(qx,8),B(mx,8),B(Hw,8),B(wYb,8))};
Mx.\u0275cmp=p({type:Mx,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&rg(Pv,5);if(a&2){var c;vg(c=wg())&&(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:[rd,Fg],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&&(F(0,"table",0)(1,"thead",1)(2,"tr"),bg(3,Soa,5,2,"th",2,xYb),H(),F(5,"tr",3),J(6,"th",4),H()(),F(7,"tbody",5),O("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)}),H()());a&2&&(A(3),cg(b._weekdays),A(4),E("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:[Pv],encapsulation:2,changeDetection:0});var Rx=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=Yd.EMPTY;this.selectedChange=new bv;this.yearSelected=new bv;this.activeDateChange=new bv;this._activeDate=new Ri};g=Rx.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Bf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new Ri);var b=this._dateAdapter.getYear(this._activeDate)-yh(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=Qx(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);px(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=Ox(this._activeDate,c?1:-1);break;case 39:this.activeDate=Ox(this._activeDate,c?-1:1);break;case 38:this.activeDate=Ox(this._activeDate,-4);break;case 40:this.activeDate=Ox(this._activeDate,4);break;case 36:this.activeDate=Ox(this._activeDate,-yh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=Ox(this._activeDate,24-yh(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=Ox(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=Ox(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}px(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 yh(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=Qx(a,b,1);c=mWb(c);return Qx(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};g._createCellForYear=function(a){var b=Qx(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new MWb(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=Qx(a,0,1);this._dateAdapter.getYear(b)==a;b=Nx(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))};
da.Object.defineProperties(Rx.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=nx(this._dateAdapter,ox(this._dateAdapter,a))||new Ri;this._activeDate=LXb(this._dateAdapter,a,this.minDate,this.maxDate);Uoa(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=nx(this._dateAdapter,ox(this._dateAdapter,
a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}}});Rx.\u0275fac=function(a){return new (a||Rx)(B(Wg),B(mx,8),B(Hw,8))};
Rx.\u0275cmp=p({type:Rx,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&rg(Pv,5);if(a&2){var c;vg(c=wg())&&(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:[Fg],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&&(F(0,"table",0)(1,"thead",1)(2,"tr"),J(3,"th",2),H()(),F(4,"tbody",3),O("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)}),H()());a&2&&(A(4),E("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[Pv],encapsulation:2,changeDetection:0});var Sx=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=Yd.EMPTY;this.selectedChange=new bv;this.monthSelected=new bv;this.activeDateChange=new bv;this._activeDate=new Ri};g=Sx.prototype;g.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Bf(null)).subscribe(function(){return a._init()})};g.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
g._monthSelected=function(a){a=a.value;var b=Qx(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);px(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=Px(this._activeDate,c?1:-1);break;case 39:this.activeDate=Px(this._activeDate,c?-1:1);break;case 38:this.activeDate=Px(this._activeDate,-4);break;case 40:this.activeDate=Px(this._activeDate,4);break;case 36:this.activeDate=Px(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=Px(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=Ox(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=Ox(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}px(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 Ri);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=Qx(this._dateAdapter.getYear(this.activeDate),a,1);b=mWb(b);return Qx(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
g._createCellForMonth=function(a,b){var c=Qx(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 MWb(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=Qx(b,a,1);this._dateAdapter.getMonth(b)==a;b=Nx(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)};
da.Object.defineProperties(Sx.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=nx(this._dateAdapter,ox(this._dateAdapter,a))||new Ri;this._activeDate=LXb(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=nx(this._dateAdapter,
ox(this._dateAdapter,a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}}});Sx.\u0275fac=function(a){return new (a||Sx)(B(Wg),B(qx,8),B(mx,8),B(Hw,8))};
Sx.\u0275cmp=p({type:Sx,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&rg(Pv,5);if(a&2){var c;vg(c=wg())&&(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:[Fg],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&&(F(0,"table",0)(1,"thead",1)(2,"tr"),J(3,"th",2),H()(),F(4,"tbody",3),O("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)}),H()());a&2&&(A(4),E("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:[Pv],encapsulation:2,changeDetection:0});var BYb=1,Tx=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+BYb++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
Tx.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):Uoa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
Tx.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-yh(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+Qx(a,0,1).getFullYear();b=""+Qx(b,0,1).getFullYear();return[a,b]};
da.Object.defineProperties(Tx.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,r(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,r(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]}}});Tx.\u0275fac=function(a){return new (a||Tx)(B(Lx),B(Sc(function(){return Ux})),B(mx,8),B(qx,8),B(Wg))};
Tx.\u0275cmp=p({type:Tx,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],standalone:!0,features:[Fg],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&&(ig(),F(0,"div",0)(1,"div",1)(2,"label",2),Q(3),H(),F(4,"button",3),O("click",function(){b.calendar.currentView=b.calendar.currentView=="month"?"multi-year":"month"}),F(5,"span",4),Q(6),H(),Fd(),F(7,"svg",5),J(8,"polygon",6),H()(),zd.currentNamespace=null,J(9,"div",7),jg(10),F(11,"button",
8),O("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?Px(b.calendar.activeDate,-1):Ox(b.calendar.activeDate,b.calendar.currentView=="year"?-1:-24)}),H(),F(12,"button",9),O("click",function(){b.calendar.activeDate=b.calendar.currentView=="month"?Px(b.calendar.activeDate,1):Ox(b.calendar.activeDate,b.calendar.currentView=="year"?1:24)}),H()()());a&2&&(A(2),E("id",b._periodButtonLabelId),A(),yg(b.periodButtonDescription),A(),Nf("aria-label",b.periodButtonLabel)("aria-describedby",
b._periodButtonLabelId),A(2),yg(b.periodButtonText),A(),Wf("mat-calendar-invert",b.calendar.currentView!=="month"),A(4),E("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),Nf("aria-label",b.prevButtonLabel),A(),E("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),Nf("aria-label",b.nextButtonLabel))},dependencies:[Ex,Gx],encapsulation:2,changeDetection:0});
var Ux=function(a,b,c,d){var e=this;this._dateAdapter=b;this._dateFormats=c;this._changeDetectorRef=d;this._moveFocusOnNextTick=!1;this.startView="month";this.selectedChange=new bv;this.yearSelected=new bv;this.monthSelected=new bv;this.viewChanged=new bv(!0);this._userSelection=new bv;this._userDragDrop=new bv;this._activeDrag=null;this.stateChanges=new yf;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};g=Ux.prototype;
g.ngAfterContentInit=function(){this._calendarHeaderPortal=new Aw(this.headerComponent||Tx);this.activeDate=this.startAt||new Ri;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};
da.Object.defineProperties(Ux.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=nx(this._dateAdapter,ox(this._dateAdapter,a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=nx(this._dateAdapter,ox(this._dateAdapter,a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=nx(this._dateAdapter,ox(this._dateAdapter,a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=LXb(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)}}});Ux.\u0275fac=function(a){return new (a||Ux)(B(Lx),B(mx,8),B(qx,8),B(Wg))};
Ux.\u0275cmp=p({type:Ux,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(rg(Mx,5),rg(Sx,5),rg(Rx,5));if(a&2){var c;vg(c=wg())&&(b.monthView=c.first);vg(c=wg())&&(b.yearView=c.first);vg(c=wg())&&(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:[Dg([vYb]),rd,Fg],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&&(C(0,Voa,0,0,"ng-template",0),F(1,"div",1),C(2,Woa,1,11,"mat-month-view",2)(3,Xoa,1,6,"mat-year-view",3)(4,Yoa,1,6,"mat-multi-year-view",3),H());if(a&2){var c;E("cdkPortalOutlet",b._calendarHeaderPortal);A(2);$f((c=b.currentView)==="month"?2:c==="year"?3:c==="multi-year"?4:-1)}},dependencies:[Fw,
Uv,Mx,Sx,Rx],styles:['.mat-calendar{display:block;font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-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);font-weight:var(--mat-datepicker-calendar-period-button-text-weight);--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color)}.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)}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-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)}.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);font-size:var(--mat-datepicker-calendar-header-text-size);font-weight:var(--mat-datepicker-calendar-header-text-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)}.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 Vx=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};Vx.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};Vx.prototype.registerOnTouched=function(a){this.onTouched=a};Vx.prototype.registerOnChange=function(a){this.onChange=a};Vx.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};Vx.\u0275fac=function(a){return new (a||Vx)(B(Qu),B(Rd))};Vx.\u0275dir=ed({type:Vx});
var Ch=function(){Vx.apply(this,arguments)};V(Ch,Vx);Ch.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Ch)))(b||Ch)}}();Ch.\u0275dir=ed({type:Ch,features:[Lf]});var Wx=new ld("");var CYb={provide:Wx,useExisting:Sc(function(){return Bh}),multi:!0},DYb=new ld(""),Bh=function(a,b,c){Vx.call(this,a,b);this._compositionMode=c;this._composing=!1;this._compositionMode==null&&(this._compositionMode=!/android (\d+)/.test((AWb?window.navigator.userAgent:"").toLowerCase()))};V(Bh,Vx);Bh.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};Bh.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
Bh.prototype._compositionStart=function(){this._composing=!0};Bh.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};Bh.\u0275fac=function(a){return new (a||Bh)(B(Qu),B(Rd),B(DYb,8))};
Bh.\u0275dir=ed({type:Bh,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&&O("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:[Dg([CYb]),Lf]});var Xx=new ld(""),Yx=new ld(""),Zx=function(a){return apa(a)};var ay=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};g=ay.prototype;g._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=kpa(this._rawValidators)};g._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=mpa(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};
da.Object.defineProperties(ay.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 by=function(){ay.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};V(by,ay);var cy=function(){ay.apply(this,arguments)};V(cy,ay);da.Object.defineProperties(cy.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var EYb=function(a){this._cd=a};
da.Object.defineProperties(EYb.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 dy=function(a){this._cd=a};V(dy,EYb);dy.\u0275fac=function(a){return new (a||dy)(B(by,2))};
dy.\u0275dir=ed({type:dy,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&Wf("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:[Lf]});var ey=function(a){this._cd=a};V(ey,EYb);ey.\u0275fac=function(a){return new (a||ey)(B(cy,10))};
ey.\u0275dir=ed({type:ey,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&Wf("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:[Lf]});var fy=new ld("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var gy=function(){},FYb=function(a,b){this.value=a;this.source=b};V(FYb,gy);var GYb=function(a,b){this.pristine=a;this.source=b};V(GYb,gy);var HYb=function(a,b){this.touched=a;this.source=b};V(HYb,gy);var IYb=function(a,b){this.status=a;this.source=b};V(IYb,gy);var JYb=function(a){this.source=a};V(JYb,gy);var KYb=function(a){this.source=a};V(KYb,gy);
var hy=function(a,b){var c=this;this._pendingDirty=!1;this._hasOwnPendingAsyncValidator=null;this._pendingTouched=!1;this._onCollectionChange=function(){};this._parent=null;this._status=Vg(function(){return c.statusReactive()});this.statusReactive=xg();this._pristine=Vg(function(){return c.pristineReactive()});this.pristineReactive=xg(!0);this._touched=Vg(function(){return c.touchedReactive()});this.touchedReactive=xg(!1);this._events=new yf;this.events=Ir(this._events);this._onDisabledChange=[];
this._assignValidators(a);this._assignAsyncValidators(b)},xpa=function(a,b){a._assignValidators(b)},ypa=function(a,b){a._assignAsyncValidators(b)},LYb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(Zx):a===Zx},Apa=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&&Apa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new HYb(!0,e))},MYb=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){MYb(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 HYb(!1,e))},Bpa=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&&Bpa(a._parent,Object.assign({},b,{sourceControl:e}));c&&b.emitEvent!==!1&&a._events.next(new GYb(!1,
e))},NYb=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){NYb(f,{onlySelf:!0,emitEvent:b.emitEvent})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b,e);c&&b.emitEvent!==!1&&a._events.next(new GYb(!0,e))};g=hy.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 FYb(this.value,d)),this._events.next(new IYb(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}))});Ah(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&&(Ah(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 Ah=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 FYb(a.value,c)),a._events.next(new IYb(a.status,c)),a.valueChanges.emit(a.value),a.statusChanges.emit(a.status));a._parent&&!b.onlySelf&&Ah(a._parent,Object.assign({},
b,{sourceControl:c}))};g=hy.prototype;g._updateTreeValidity=function(a){a=a===void 0?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});Ah(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=fpa(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 IYb(this.status,b));this._parent&&this._parent._updateControlsErrors(a,b,c)};g._initObservables=function(){this.valueChanges=new bv;this.statusChanges=new bv};
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 GYb(this.pristine,b))};g._updateTouched=function(a,b){a=a===void 0?{}:a;this.touched=this._anyControlsTouched();this._events.next(new HYb(this.touched,b));this._parent&&!a.onlySelf&&this._parent._updateTouched(a,b)};g._registerOnCollectionChange=function(a){this._onCollectionChange=a};
g._setUpdateStrategy=function(a){Dh(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)?kpa(a):a||null};
g._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?mpa(a):a||null};
da.Object.defineProperties(hy.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 Xg(this.statusReactive)},
set:function(a){var b=this;Xg(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 Xg(this.pristineReactive)},set:function(a){var b=this;Xg(function(){return b.pristineReactive.set(a)})}},dirty:{configurable:!0,enumerable:!0,get:function(){return!this.pristine}},touched:{configurable:!0,enumerable:!0,get:function(){return Xg(this.touchedReactive)},set:function(a){var b=this;Xg(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 iy=function(a,b,c){var d=hy.call,e=Fpa(b);c=(Dh(b)?b.asyncValidators:c)||null;d.call(hy,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();Ah(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};V(iy,hy);var OYb=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=iy.prototype;
g.addControl=function(a){var b=b===void 0?{}:b;OYb(this,a);Ah(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];Ah(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;Gpa(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new Jc(1E3,"");if(!e[d])throw new Jc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});Ah(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);Ah(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&&Ah(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=l(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=l(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=l(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 PYb={provide:cy,useExisting:Sc(function(){return jy})},QYb=Promise.resolve(),jy=function(a,b,c){cy.call(this);var d=this;this.callSetDisabledState=c;this._submitted=Vg(function(){return d.submittedReactive()});this.submittedReactive=xg(!1);this._directives=new Set;this.ngSubmit=new bv;this.form=new iy({},kpa(a),mpa(b))};V(jy,cy);g=jy.prototype;g.ngAfterViewInit=function(){this._setUpdateStrategy()};
g.addControl=function(a){var b=this;QYb.then(function(){var c=b._findContainer(a.path);a.control=OYb(c,a.name,a.control);zh(a.control,a,b.callSetDisabledState);Ah(a.control,{emitEvent:!1});b._directives.add(a)})};g.removeControl=function(a){var b=this;QYb.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;QYb.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);Dpa(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(){this.form.reset(void 0);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};
da.Object.defineProperties(jy.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return Xg(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}}});jy.\u0275fac=function(a){return new (a||jy)(B(Xx,10),B(Yx,10),B(fy,8))};
jy.\u0275dir=ed({type:jy,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&O("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Dg([PYb]),Lf]});var ky=function(a,b,c){a=a===void 0?null:a;var d=hy.call,e=Fpa(b);c=(Dh(b)?b.asyncValidators:c)||null;d.call(hy,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();Ah(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});Dh(b)&&(b.nonNullable||b.initialValueIsDefault)&&(Hpa(a)?this.defaultValue=a.value:this.defaultValue=a)};V(ky,hy);g=ky.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)});Ah(this,b)};g.reset=function(a,b){a=a===void 0?this.defaultValue:a;b=b===void 0?{}:b;this._applyFormState(a);NYb(this,b);MYb(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&&Bpa(this),this._pendingTouched&&Apa(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};g._applyFormState=function(a){Hpa(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 RYb={provide:by,useExisting:Sc(function(){return ly})},SYb=Promise.resolve(),ly=function(a,b,c,d,e,f){by.call(this);this._changeDetectorRef=e;this.callSetDisabledState=f;this.control=new ky;this._registered=!1;this.name="";this.update=new bv;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Epa(d)};V(ly,by);g=ly.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);Cpa(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(){zh(this.control,this,this.callSetDisabledState);Ah(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;SYb.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&&Tg(a);SYb.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?opa(a,this._parent):[a]};
da.Object.defineProperties(ly.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}}});ly.\u0275fac=function(a){return new (a||ly)(B(cy,9),B(Xx,10),B(Yx,10),B(Wx,10),B(Wg,8),B(fy,8))};
ly.\u0275dir=ed({type:ly,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:[Dg([RYb]),Lf,rd]});var my=function(){};my.\u0275fac=function(a){return new (a||my)};my.\u0275dir=ed({type:my,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var TYb={provide:Wx,useExisting:Sc(function(){return ny}),multi:!0},ny=function(){Ch.apply(this,arguments)};V(ny,Ch);ny.prototype.writeValue=function(a){this.setProperty("value",a==null?"":a)};ny.prototype.registerOnChange=function(a){this.onChange=function(b){a(b==""?null:parseFloat(b))}};ny.\u0275fac=function(){var a;return function(b){return(a||(a=Od(ny)))(b||ny)}}();
ny.\u0275dir=ed({type:ny,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&O("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Dg([TYb]),Lf]});var UYb={provide:Wx,useExisting:Sc(function(){return oy}),multi:!0},py=function(){this._accessors=[]};py.prototype.add=function(a,b){this._accessors.push([a,b])};py.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}};py.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};
py.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};py.\u0275fac=function(a){return new (a||py)};py.\u0275prov=Fc({token:py,factory:py.\u0275fac,providedIn:"root"});var oy=function(a,b,c,d){Ch.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=(e=Xc(fy,{optional:!0}))!=null?e:"whenDisabledForLegacyCode"};V(oy,Ch);g=oy.prototype;
g.ngOnInit=function(){this._control=this._injector.get(by);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)};oy.\u0275fac=function(a){return new (a||oy)(B(Qu),B(Rd),B(py),B(Ne))};
oy.\u0275dir=ed({type:oy,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&O("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Dg([UYb]),Lf]});var VYb=new ld(""),WYb={provide:by,useExisting:Sc(function(){return qy})},qy=function(a,b,c,d,e){by.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new bv;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=Epa(c)};V(qy,by);
qy.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&vpa(b,this);zh(this.form,this,this.callSetDisabledState);Ah(this.form,{emitEvent:!1})}Cpa(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};qy.prototype.ngOnDestroy=function(){this.form&&vpa(this.form,this)};qy.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};qy.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
da.Object.defineProperties(qy.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}}});qy.\u0275fac=function(a){return new (a||qy)(B(Xx,10),B(Yx,10),B(Wx,10),B(VYb,8),B(fy,8))};
qy.\u0275dir=ed({type:qy,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Dg([WYb]),Lf,rd]});var XYb={provide:cy,useExisting:Sc(function(){return ry})},ry=function(a,b,c){cy.call(this);var d=this;this.callSetDisabledState=c;this._submitted=Vg(function(){return d._submittedReactive()});this._submittedReactive=xg(!1);this._onCollectionChange=function(){return d._updateDomValue()};this.directives=[];this.form=null;this.ngSubmit=new bv;this._setValidators(a);this._setAsyncValidators(b)};V(ry,cy);g=ry.prototype;
g.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};g.ngOnDestroy=function(){this.form&&(upa(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};g.addControl=function(a){var b=this.form.get(a.path);zh(b,a,this.callSetDisabledState);Ah(b,{emitEvent:!1});this.directives.push(a);return b};
g.removeControl=function(a){vpa(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);Dpa(this.form,this.directives);this.ngSubmit.emit(a);this.form._events.next(new JYb(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(){this.form.reset(void 0);this._submittedReactive.set(!1);this.form._events.next(new KYb(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&&(vpa(c||null,b),d instanceof ky&&(zh(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};g._setUpFormContainer=function(a){var b=this.form.get(a.path);ppa(b,a);Ah(b,{emitEvent:!1})};
g._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&upa(b,a)&&Ah(b,{emitEvent:!1})}};g._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};g._updateValidators=function(){ppa(this.form,this);this._oldForm&&upa(this._oldForm,this)};g._checkFormPresent=function(){};
da.Object.defineProperties(ry.prototype,{submitted:{configurable:!0,enumerable:!0,get:function(){return Xg(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[]}}});ry.\u0275fac=function(a){return new (a||ry)(B(Xx,10),B(Yx,10),B(fy,8))};
ry.\u0275dir=ed({type:ry,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&O("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Dg([XYb]),Lf,rd]});var YYb={provide:by,useExisting:Sc(function(){return sy})},sy=function(a,b,c,d,e){by.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new bv;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Epa(d)};V(sy,by);g=sy.prototype;g.ngOnChanges=function(a){this._added||this._setUpControl();Cpa(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};
da.Object.defineProperties(sy.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return opa(this.name==null?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});sy.\u0275fac=function(a){return new (a||sy)(B(cy,13),B(Xx,10),B(Yx,10),B(Wx,10),B(VYb,8))};
sy.\u0275dir=ed({type:sy,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Dg([YYb]),Lf,rd]});var ty=function(){this._validator=cpa};ty.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):cpa,this._onChange&&this._onChange())};ty.prototype.validate=function(a){return this._validator(a)};ty.prototype.registerOnValidatorChange=function(a){this._onChange=a};ty.prototype.enabled=function(a){return a!=null};ty.\u0275fac=function(a){return new (a||ty)};
ty.\u0275dir=ed({type:ty,features:[rd]});var ZYb={provide:Xx,useExisting:Sc(function(){return uy}),multi:!0},uy=function(){ty.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return typeof a==="number"?a:parseFloat(a)};this.createValidator=function(a){return $oa(a)}};V(uy,ty);uy.\u0275fac=function(){var a;return function(b){return(a||(a=Od(uy)))(b||uy)}}();
uy.\u0275dir=ed({type:uy,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&&Nf("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Dg([ZYb]),Lf]});var $Yb={provide:Xx,useExisting:Sc(function(){return vy}),multi:!0},vy=function(){ty.apply(this,arguments);this.inputName="required";this.normalizeInput=Tg;this.createValidator=function(){return apa}};
V(vy,ty);vy.prototype.enabled=function(a){return a};vy.\u0275fac=function(){var a;return function(b){return(a||(a=Od(vy)))(b||vy)}}();vy.\u0275dir=ed({type:vy,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&Nf("required",b._enabled?"":null)},inputs:{required:"required"},features:[Dg([$Yb]),Lf]});
var aZb={provide:Xx,useExisting:Sc(function(){return wy}),multi:!0},wy=function(){ty.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return typeof a==="number"?a:parseInt(a,10)};this.createValidator=function(a){return bpa(a)}};V(wy,ty);wy.\u0275fac=function(){var a;return function(b){return(a||(a=Od(wy)))(b||wy)}}();
wy.\u0275dir=ed({type:wy,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Nf("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Dg([aZb]),Lf]});var bZb={provide:Xx,useExisting:Sc(function(){return xy}),multi:!0},xy=function(){ty.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return dpa(a)}};
V(xy,ty);xy.\u0275fac=function(){var a;return function(b){return(a||(a=Od(xy)))(b||xy)}}();xy.\u0275dir=ed({type:xy,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Nf("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Dg([bZb]),Lf]});var yy=function(){};yy.\u0275fac=function(a){return new (a||yy)};yy.\u0275mod=cd({type:yy});yy.\u0275inj=Gc({});var zy=function(){};zy.\u0275fac=function(a){return new (a||zy)};zy.\u0275mod=cd({type:zy});zy.\u0275inj=Gc({imports:[yy]});var Ay=function(){};Ay.\u0275fac=function(a){return new (a||Ay)};Ay.\u0275mod=cd({type:Ay});Ay.\u0275inj=Gc({imports:[yy]});new ld("MAT_DATE_RANGE_INPUT_PARENT");var cZb=0,dZb=new ld("MatError"),By=function(a,b){this.id="mat-mdc-error-"+cZb++;a||b.nativeElement.setAttribute("aria-live","polite")};By.\u0275fac=function(a){return new (a||By)(Jd("aria-live"),B(Rd))};By.\u0275dir=ed({type:By,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&&eg("id",b.id)},inputs:{id:"id"},standalone:!0,features:[Dg([{provide:dZb,useExisting:By}])]});var eZb=0,Cy=function(){this.align="start";this.id="mat-mdc-hint-"+eZb++};Cy.\u0275fac=function(a){return new (a||Cy)};Cy.\u0275dir=ed({type:Cy,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(a,b){a&2&&(eg("id",b.id),Nf("align",null),Wf("mat-mdc-form-field-hint-end",b.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});var Dy=function(){};Dy.\u0275fac=function(a){return new (a||Dy)};Dy.\u0275dir=ed({type:Dy,selectors:[["mat-label"]],standalone:!0});var fZb=new ld("MatPrefix");var gZb=new ld("MatSuffix");var No=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=No.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(),hZb(this));this._started=!0};var hZb=function(a){queueMicrotask(function(){return a._onFinish()})};g=No.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 mHa=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,
k){return Math.max(h,k.totalTime)},0)};g=mHa.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 iZb=Eh("transitionMessages",[Hh("enter",Gh({opacity:1,transform:"translateY(0%)"})),Jh("void => enter",[Gh({opacity:0,transform:"translateY(-5px)"}),Fh("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Ey=function(){};Ey.\u0275fac=function(a){return new (a||Ey)};Ey.\u0275dir=ed({type:Ey});var jZb=function(a){var b=this;this._box=a;this._destroyed=new yf;this._resizeSubject=new yf;this._elementObservables=new Map;typeof ResizeObserver!=="undefined"&&(this._resizeObserver=new ResizeObserver(function(c){return b._resizeSubject.next(c)}))};
jZb.prototype.observe=function(a){var b=this;this._elementObservables.has(a)||this._elementObservables.set(a,(new ce(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(He(function(c){return c.some(function(d){return d.target===a})}),zf({bufferSize:1,refCount:!0}),Df(this._destroyed)));return this._elementObservables.get(a)};
jZb.prototype.destroy=function(){this._destroyed.next();this._destroyed.complete();this._resizeSubject.complete();this._elementObservables.clear()};var Fy=function(){this._observers=new Map;this._ngZone=Xc(Me)};Fy.prototype.ngOnDestroy=function(){for(var a=l(this._observers),b=a.next();!b.done;b=a.next())b=l(b.value),b.next(),b.next().value.destroy();this._observers.clear()};
Fy.prototype.observe=function(a,b){b=(b==null?void 0:b.box)||"content-box";this._observers.has(b)||this._observers.set(b,new jZb(b));return this._observers.get(b).observe(a)};Fy.\u0275fac=function(a){return new (a||Fy)};Fy.\u0275prov=Fc({token:Fy,factory:Fy.\u0275fac,providedIn:"root"});var kZb=new ld("FloatingLabelParent"),Gy=function(a){this._elementRef=a;this._monitorResize=this._floating=!1;this._resizeObserver=Xc(Fy);this._ngZone=Xc(Me);this._parent=Xc(kZb);this._resizeSubscription=new Yd};Gy.prototype.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};
Gy.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};Gy.prototype._handleResize=function(){var a=this;setTimeout(function(){return a._parent._handleLabelResized()})};
Gy.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()})})};
da.Object.defineProperties(Gy.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}}});
Gy.\u0275fac=function(a){return new (a||Gy)(B(Rd))};Gy.\u0275dir=ed({type:Gy,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("mdc-floating-label--float-above",b.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});var Hy=function(a,b){var c=this;this._elementRef=a;this._handleTransitionEnd=function(d){var e=c._elementRef.nativeElement.classList,f=e.contains("mdc-line-ripple--deactivating");d.propertyName==="opacity"&&f&&e.remove("mdc-line-ripple--active","mdc-line-ripple--deactivating")};b.runOutsideAngular(function(){a.nativeElement.addEventListener("transitionend",c._handleTransitionEnd)})};
Hy.prototype.activate=function(){var a=this._elementRef.nativeElement.classList;a.remove("mdc-line-ripple--deactivating");a.add("mdc-line-ripple--active")};Hy.prototype.deactivate=function(){this._elementRef.nativeElement.classList.add("mdc-line-ripple--deactivating")};Hy.prototype.ngOnDestroy=function(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)};Hy.\u0275fac=function(a){return new (a||Hy)(B(Rd),B(Me))};
Hy.\u0275dir=ed({type:Hy,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});var lZb=["notch"],Iy=function(a,b){this._elementRef=a;this._ngZone=b;this.open=!1};Iy.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")};
Iy.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)":""};Iy.\u0275fac=function(a){return new (a||Iy)(B(Rd),B(Me))};
Iy.\u0275cmp=p({type:Iy,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(a,b){a&1&&rg(lZb,5);if(a&2){var c;vg(c=wg())&&(b._notch=c.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("mdc-notched-outline--notched",b.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Fg],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&&(ig(),J(0,"div",1),F(1,"div",2,0),jg(3),H(),J(4,"div",3))},encapsulation:2,changeDetection:0});var mZb=["textField"],nZb=["iconPrefixContainer"],oZb=["textPrefixContainer"],pZb=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],qZb=new ld("MatFormField"),rZb=new ld("MAT_FORM_FIELD_DEFAULT_OPTIONS"),sZb=0,Jy=function(a,b,c,d,e,f,h){var k=this;this._elementRef=a;this._changeDetectorRef=
b;this._dir=d;this._platform=e;this._defaults=f;this._animationMode=h;this._labelChild=ema();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-"+sZb++;this._hintLabelId="mat-mdc-hint-"+sZb++;this._subscriptAnimationState="";this._destroyed=new yf;this._isFocused=null;this._needsOutlineLabelOffsetUpdate=!1;this._injector=
Xc(Ne);this.getLabelId=Vg(function(){return k._hasFloatingLabel()?k._labelId:null});this._hasFloatingLabel=Vg(function(){return!!k._labelChild()});f&&(f.appearance&&(this.appearance=f.appearance),this._hideRequiredMarker=!(f==null||!f.hideRequiredMarker),f.color&&(this.color=f.color))};Jy.prototype.ngAfterViewInit=function(){this._updateFocusState();this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};
Jy.prototype.ngAfterContentInit=function(){this._initializeControl();this._initializeSubscript();this._initializePrefixAndSuffix();this._initializeOutlineLabelOffsetSubscriptions()};Jy.prototype.ngAfterContentChecked=function(){};Jy.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};var tZb=function(a){return a._textField||a._elementRef};g=Jy.prototype;g._animateAndLockLabel=function(){this._hasFloatingLabel()&&(this.floatLabel="always")};
g._initializeControl=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-"+b.controlType);b.stateChanges.subscribe(function(){a._updateFocusState();a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(Df(this._destroyed)).subscribe(function(){return a._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();Ge(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});gia(function(){a._needsOutlineLabelOffsetUpdate&&(a._needsOutlineLabelOffsetUpdate=!1,a._updateOutlineLabelOffset())},{injector:this._injector});this._dir.change.pipe(Df(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._control.shouldLabelFloat||this._shouldAlwaysFloat()};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,r(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,r(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;c=(e=c==null?void 0:c.getBoundingClientRect().width)!=null?e:0;var f;e=(f=b==null?void 0:b.getBoundingClientRect().width)!=null?f:0;a.style.transform="var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc("+
((this._dir.value==="rtl"?"-1":"1")+" * ("+(c+e+"px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )"))}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)};
da.Object.defineProperties(Jy.prototype,{hideRequiredMarker:{configurable:!0,enumerable:!0,get:function(){return this._hideRequiredMarker},set:function(a){this._hideRequiredMarker=qh(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}}});Jy.\u0275fac=function(a){return new (a||Jy)(B(Rd),B(Wg),B(Me),B(Hw),B(Nv),B(rZb,8),B(Pu,8),B(vh))};
Jy.\u0275cmp=p({type:Jy,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(Pla(b._labelChild,sg(c,Dy,5)),sg(c,Ey,5),sg(c,fZb,5),sg(c,gZb,5),sg(c,dZb,5),sg(c,Cy,5));if(a&2){zd.currentQueryIndex+=1;var d;vg(d=wg())&&(b._formFieldControl=d.first);vg(d=wg())&&(b._prefixChildren=d);vg(d=wg())&&(b._suffixChildren=d);vg(d=wg())&&(b._errorChildren=d);vg(d=wg())&&(b._hintChildren=d)}},viewQuery:function(a,b){a&1&&(rg(mZb,5),rg(nZb,5),rg(oZb,5),rg(Gy,5),rg(Iy,5),rg(Hy,5));if(a&2){var c;vg(c=
wg())&&(b._textField=c.first);vg(c=wg())&&(b._iconPrefixContainer=c.first);vg(c=wg())&&(b._textPrefixContainer=c.first);vg(c=wg())&&(b._floatingLabel=c.first);vg(c=wg())&&(b._notchedOutline=c.first);vg(c=wg())&&(b._lineRipple=c.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(a,b){a&2&&Wf("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:[Dg([{provide:qZb,useExisting:Jy},{provide:kZb,useExisting:Jy}]),Fg],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",""],[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=u();ig(pZb);C(0,Mpa,1,1,"ng-template",null,0,Mg);F(2,"div",4,1);O("click",function(){v(c);return x(b._control.onContainerClick())});C(4,Npa,1,0,"div",5);F(5,"div",6);C(6,Qpa,2,2,"div",7)(7,Rpa,3,0,"div",8)(8,Spa,3,0,"div",9);F(9,"div",10);C(10,Upa,1,1,null,11);jg(11);H();C(12,Vpa,2,0,"div",
12)(13,Wpa,2,0,"div",13);H();C(14,Xpa,1,0,"div",14);H();F(15,"div",15);C(16,Ypa,2,1,"div",16)(17,$pa,5,2,"div",17);H()}if(a&2){var d;A(2);Wf("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);A(2);$f(b._hasOutline()||b._control.disabled?-1:4);A(2);$f(b._hasOutline()?6:-1);A();$f(b._hasIconPrefix?7:-1);A();$f(b._hasTextPrefix?
8:-1);A(2);$f(!b._hasOutline()||b._forceDisplayInfixLabel()?10:-1);A(2);$f(b._hasTextSuffix?12:-1);A();$f(b._hasIconSuffix?13:-1);A();$f(b._hasOutline()?-1:14);A();Wf("mat-mdc-form-field-subscript-dynamic-size",b.subscriptSizing==="dynamic");A();$f((d=b._getDisplayedMessages())==="error"?16:d==="hint"?17:-1)}},dependencies:[Gy,Iy,xv,Hy,Cy],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--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);caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.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)}.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)}.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)}.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)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color);caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}.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)}.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)}.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)}.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)}.mdc-text-field--disabled .cdk-high-contrast-active .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);border-top-right-radius:var(--mdc-filled-text-field-container-shape)}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-left:16px;padding-right:16px}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.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}.cdk-high-contrast-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)}.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)}.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)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.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)}.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)}.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)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color)}.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)}.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)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.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)}.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)}.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)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-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);border-width:var(--mdc-outlined-text-field-outline-width)}.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)}.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)}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.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)}.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)}.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)}.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)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;width:12px;border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}[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);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape)}.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);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape)}[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);border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 24px)}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*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}[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)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.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)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.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)}.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)}.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)}.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)}.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)}.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)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.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);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.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);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/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) / 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)}.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);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-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)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-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)}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)}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)}.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)}[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)}.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)}.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}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-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);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.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)}.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)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.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)}.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)}.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:[iZb]},changeDetection:0});var Ky=function(){};Ky.\u0275fac=function(a){return new (a||Ky)};Ky.\u0275mod=cd({type:Ky});Ky.\u0275inj=Gc({imports:[lx,Gv,hw,lx]});var uZb=Eh("transformPanel",[Jh("void => enter-dropdown",Fh("120ms cubic-bezier(0, 0, 0.2, 1)",Ih([Gh({opacity:0,transform:"scale(1, 0.8)"}),Gh({opacity:1,transform:"scale(1, 1)"})]))),Jh("void => enter-dialog",Fh("150ms cubic-bezier(0, 0, 0.2, 1)",Ih([Gh({opacity:0,transform:"scale(0.7)"}),Gh({transform:"none",opacity:1})]))),Jh("* => void",Fh("100ms linear",Gh({opacity:0})))]),vZb=Eh("fadeInCalendar",[Hh("void",Gh({opacity:0})),Hh("enter",Gh({opacity:1})),Jh("void => *",Fh("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))]);var wZb={provide:new ld("mat-datepicker-scroll-strategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.reposition()}}}),deps:[hx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Ly=function(a,b,c,d,e,f){this._elementRef=a;this._changeDetectorRef=b;this._globalModel=c;this._dateAdapter=d;this._rangeSelectionStrategy=e;this._subscriptions=new Yd;this._animationDone=new yf;this._isAnimating=!1;this._actionsPortal=null;
this._closeButtonText=f.closeCalendarLabel};g=Ly.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()};Ly.\u0275fac=function(a){return new (a||Ly)(B(Rd),B(Wg),B(Jx),B(mx),B(wYb,8),B(Lx))};
Ly.\u0275cmp=p({type:Ly,selectors:[["mat-datepicker-content"]],viewQuery:function(a,b){a&1&&rg(Ux,5);if(a&2){var c;vg(c=wg())&&(b._calendar=c.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:5,hostBindings:function(a,b){a&1&&hg("@transformPanel.start",function(c){return b._handleAnimationEvent(c)})("@transformPanel.done",function(c){return b._handleAnimationEvent(c)});a&2&&(fg("@transformPanel",b._animationState),Xf(b.color?"mat-"+b.color:""),Wf("mat-datepicker-content-touch",b.datepicker.touchUi))},
inputs:{color:"color"},exportAs:["matDatepickerContent"],standalone:!0,features:[Fg],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&&(F(0,"div",0)(1,"mat-calendar",1),O("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)}),H(),C(2,aqa,0,0,"ng-template",2),F(3,"button",3),
O("focus",function(){return b._closeButtonFocused=!0})("blur",function(){return b._closeButtonFocused=!1})("click",function(){return b.datepicker.close()}),Q(4),H()());if(a&2){var c;Wf("mat-datepicker-content-container-with-custom-header",b.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",b._actionsPortal);Nf("aria-modal",!0)("aria-labelledby",(c=b._dialogLabelId)!==null&&c!==void 0?c:void 0);A();Xf(b.datepicker.panelClass);E("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);A();E("cdkPortalOutlet",b._actionsPortal);
A();Wf("cdk-visually-hidden",!b._closeButtonFocused);E("color",b.color||"primary");A();yg(b._closeButtonText)}},dependencies:[$v,Ux,Fw,Ex],styles:[".mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color);color:var(--mat-datepicker-calendar-container-text-color);box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow);border-radius:var(--mat-datepicker-calendar-container-shape)}.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);border-radius:var(--mat-datepicker-calendar-container-touch-shape);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:[uZb,vZb]},changeDetection:0});var xZb=new ld("MAT_INPUT_VALUE_ACCESSOR");var yZb=kh({passive:!0}),My=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
My.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return Fe;var c=sh(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new yf,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,yZb);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,yZb)}});return d};
My.prototype.stopMonitoring=function(a){a=sh(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))};My.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};My.\u0275fac=function(a){return new (a||My)(n(Nv),n(Me))};My.\u0275prov=Fc({token:My,factory:My.\u0275fac,providedIn:"root"});var Ny=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new yf;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(f){e._hasFocus=f.type==="focus"};this._document=d;this._textareaElement=this._elementRef.nativeElement};g=Ny.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,Oy(this),this._ngZone.runOutsideAngular(function(){De(a._getWindow(),"resize").pipe(kf(16),Df(a._destroyed)).subscribe(function(){return Oy(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,Oy(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&&Oy(this)};
var Oy=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=Ny.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)};
da.Object.defineProperties(Ny.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=th(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=th(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){this._enabled!==a&&((this._enabled=a)?Oy(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()}}});Ny.\u0275fac=function(a){return new (a||Ny)(B(Rd),B(Nv),B(Me),B(vh,8))};
Ny.\u0275dir=ed({type:Ny,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&O("input",function(){})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",Tg],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"],standalone:!0,features:[Mf]});var Py=function(){};Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275mod=cd({type:Py});Py.\u0275inj=Gc({});var zZb="button checkbox file hidden image radio range reset submit".split(" "),AZb=0,Qy=function(a,b,c,d,e,f,h,k,q,t){var w=this;this._elementRef=a;this._platform=b;this.ngControl=c;this._autofillMonitor=k;this._formField=t;this._uid="mat-input-"+AZb++;this.focused=!1;this.stateChanges=new yf;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(G){return Sna().has(G)});
this._iOSKeyupListener=function(G){G=G.target;G.value||G.selectionStart!==0||G.selectionEnd!==0||(G.setSelectionRange(1,1),G.setSelectionRange(0,0))};var y=this._elementRef.nativeElement,D=y.nodeName.toLowerCase();this._inputValueAccessor=h||y;this._previousNativeValue=this.value;this.id=this.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",w._iOSKeyupListener)});this._errorStateTracker=new KXb(f,c,e,d,this.stateChanges);this._isServer=!this._platform.isBrowser;this._isNativeSelect=
D==="select";this._isTextarea=D==="textarea";this._isInFormField=!!t;this._isNativeSelect&&(this.controlType=y.multiple?"mat-native-select-multiple":"mat-native-select")};g=Qy.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)};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){a!==this.focused&&(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(){zZb.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)};
da.Object.defineProperties(Qy.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=qh(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:LYb(b))!=null?d:!1},
set:function(a){this._required=qh(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&Sna().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},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._inputValueAccessor.value},
set:function(a){a!==this.value&&(this._inputValueAccessor.value=a,this.stateChanges.next())}},readonly:{configurable:!0,enumerable:!0,get:function(){return this._readonly},set:function(a){this._readonly=qh(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.empty}}});Qy.\u0275fac=function(a){return new (a||Qy)(B(Rd),B(Nv),B(by,10),B(jy,8),B(ry,8),B(rx),B(xZb,10),B(My),B(Me),B(qZb,8))};
Qy.\u0275dir=ed({type:Qy,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(a,b){a&1&&O("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){});a&2&&(eg("id",b.id)("disabled",b.disabled)("required",b.required),Nf("name",b.name||null)("readonly",b.readonly&&
!b._isNativeSelect||null)("aria-invalid",b.empty&&b.required?null:b.errorState)("aria-required",b.required)("id",b.id),Wf("mat-input-server",b._isServer)("mat-mdc-form-field-textarea-control",b._isInFormField&&b._isTextarea)("mat-mdc-form-field-input-control",b._isInFormField)("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"},exportAs:["matInput"],standalone:!0,features:[Dg([{provide:Ey,useExisting:Qy}]),rd]});var Ry=function(){};Ry.\u0275fac=function(a){return new (a||Ry)};Ry.\u0275mod=cd({type:Ry});Ry.\u0275inj=Gc({imports:[lx,Ky,Ky,Py,lx]});var BZb=["button"],CZb=[[["","matDatepickerToggleIcon",""]]],Sy=function(){};Sy.\u0275fac=function(a){return new (a||Sy)};Sy.\u0275dir=ed({type:Sy,selectors:[["","matDatepickerToggleIcon",""]],standalone:!0});var Ty=function(a,b,c){this._intl=a;this._changeDetectorRef=b;this._stateChanges=Yd.EMPTY;this.tabIndex=(c=Number(c))||c===0?c:null};g=Ty.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:pe(),c=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:pe(),d=this.datepicker?Ge(this.datepicker.openedStream,this.datepicker.closedStream):pe();this._stateChanges.unsubscribe();this._stateChanges=Ge(this._intl.changes,b,c,d).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
da.Object.defineProperties(Ty.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}}});Ty.\u0275fac=function(a){return new (a||Ty)(B(Lx),B(Wg),Jd("tabindex"))};
Ty.\u0275cmp=p({type:Ty,selectors:[["mat-datepicker-toggle"]],contentQueries:function(a,b,c){a&1&&sg(c,Sy,5);if(a&2){var d;vg(d=wg())&&(b._customIcon=d.first)}},viewQuery:function(a,b){a&1&&rg(BZb,5);if(a&2){var c;vg(c=wg())&&(b._button=c.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(a,b){a&1&&O("click",function(c){return b._open(c)});a&2&&(Nf("tabindex",null)("data-mat-calendar",b.datepicker?b.datepicker.id:null),Wf("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",Tg],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],standalone:!0,features:[Mf,rd,Fg],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&&(ig(CZb),F(0,"button",1,0),C(2,bqa,2,0,":svg:svg",2),jg(3),H());a&2&&(E("disabled",b.disabled)("disableRipple",b.disableRipple),Nf("aria-haspopup",b.datepicker?"dialog":null)("aria-label",
b.ariaLabel||b._intl.openCalendarLabel)("tabindex",b.disabled?-1:b.tabIndex),A(2),$f(b._customIcon?-1:2))},dependencies:[Gx],styles:[".mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color)}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color)}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0});var Uy=function(){};Uy.\u0275fac=function(a){return new (a||Uy)};Uy.\u0275mod=cd({type:Uy});Uy.\u0275inj=Gc({providers:[Lx,wZb],imports:[Gv,Ix,kx,jw,Gw,lx,Ly,Ty,Tx,Ww]});var cqa=/^[a-z][a-z\d-]*$/i,dqa="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),gqa="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),hqa=["action","formaction","href"];var jqa=new Map([["zwieback_id:","zwieback"],["android_id:","android"],["anonymous_id:","anonymous"]]);var DZb=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=DZb.prototype;g.init=function(a,b,c,d){d=d===void 0?{}:d;this.aliasBytesFields=d.aliasBytesFields===void 0?!1:d.aliasBytesFields;a&&(a=lqa(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();EZb.length<100&&EZb.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){FZb(this,this.cursor_+a)};
var FZb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("kb`"+b+"`"+a.end_);},Vy=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("jb");FZb(a,c);return e},GZb=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},HZb=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 FZb(a,c),!!(b&127)}throw Error("jb");},IZb=function(a,b){if(b<0)throw Error("lb`"+b);var c=a.cursor_,d=c+b;if(d>a.end_)throw Error("kb`"+(a.end_-c)+"`"+b);a.cursor_=d;return c};DZb.prototype.readString=function(a,b){var c=IZb(this,a),d=this.bytes_;return rSb?jba(d,c,a,b):fba(d,c,a,b)};
DZb.prototype.readByteString=function(a){if(a==0)return fb();var b=IZb(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 EZb=[];var Sqa=function(a,b){if(EZb.length){var c=EZb.pop();c.init(a,void 0,void 0,b);a=c}else a=new DZb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};g=Sqa.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;Rqa.length<100&&Rqa.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 rqa=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=Vy(a.decoder_)>>>0;var c=b>>>3,d=b&7;if(!(d>=0&&d<=5))throw Error("fb`"+d+"`"+a.fieldCursor_);if(c<1)throw Error("gb`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},tqa=function(a){switch(a.nextWireType_){case 0:a.nextWireType_!=0?tqa(a):HZb(a.decoder_);break;case 1:a.decoder_.advance(8);break;case 2:if(a.nextWireType_!=2)tqa(a);else{var b=Vy(a.decoder_)>>>0;a.decoder_.advance(b)}break;
case 5:a.decoder_.advance(4);break;case 3:b=a.nextField_;do{if(!rqa(a))throw Error("hb");if(a.nextWireType_==4){if(a.nextField_!=b)throw Error("ib");break}tqa(a)}while(1);break;default:throw Error("fb`"+a.nextWireType_+"`"+a.fieldCursor_);}},JZb=function(a,b,c){var d=a.decoder_.getEnd(),e=Vy(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("eb`"+e+"`"+(e-h));a.decoder_.cursor_=f;a.decoder_.setEnd(d)};
Sqa.prototype.readString=function(){return KZb(this)};var KZb=function(a){var b=Vy(a.decoder_)>>>0;return a.decoder_.readString(b,!0)};Sqa.prototype.readByteString=function(){var a=Vy(this.decoder_)>>>0;return this.decoder_.readByteString(a)};var Rqa=[];var LZb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},NZb=function(a){if(!a)return MZb||(MZb=new LZb(0,0));if(!/^\d+$/.test(a))return null;xca(a);return new LZb(sb,tb)},MZb,OZb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},QZb=function(a){if(!a)return PZb||(PZb=new OZb(0,0));if(!/^-?\d+$/.test(a))return null;xca(a);return new OZb(sb,tb)},PZb;var Wy=function(){this.buffer_=[]};Wy.prototype.length=function(){return this.buffer_.length};Wy.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};Wy.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)};Wy.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var RZb=function(a,b){for(;b>127;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},SZb=function(a,b){if(b>=0)RZb(a,b);else{for(var c=0;c<9;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}};g=Wy.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(sb);this.writeUint32(tb)};
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){ub(a);this.writeSplitFixed64(sb,tb)};g.writeBool=function(a){this.buffer_.push(a?1:0)};g.writeEnum=function(a){SZb(this,a)};var TZb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Wy},Vh=function(a,b){b.length!==0&&(a.blocks_.push(b),a.totalLength_+=b.length)},UZb=function(a){Vh(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},Yh=function(a,b,c){RZb(a.encoder_,b*8+c)};g=TZb.prototype;g.writeInt32=function(a,b){b!=null&&b!=null&&(Yh(this,a,0),SZb(this.encoder_,b))};
g.writeInt64=function(a,b){b!=null&&(typeof b==="string"&&QZb(b),b!=null&&(Yh(this,a,0),typeof b==="number"?(a=this.encoder_,ub(b),a.writeSplitVarint64(sb,tb)):(b=QZb(b),this.encoder_.writeSplitVarint64(b.lo,b.hi))))};g.writeUint32=function(){};g.writeUint64=function(){};g.writeBool=function(a,b){b!=null&&(Yh(this,a,0),this.encoder_.writeBool(b))};g.writeEnum=function(a,b){b!=null&&(b=parseInt(b,10),Yh(this,a,0),SZb(this.encoder_,b))};g.writeSplitFixed64=function(a,b){Yh(this,a,1);this.encoder_.writeSplitFixed64(b)};
g.writeSplitVarint64=function(a,b){Yh(this,a,0);this.encoder_.writeSplitVarint64(b)};var Sh=function(a,b,c,d){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b;this.$$isRepeated=c;this.$$isMsg=d};var oqa=Symbol(),qda,Aqa=function(){},ada=function(a,b){var c=a[b];if(c!=null)return Array.isArray(c)?a[b]=pqa(c):c;c=a.extensions;if(c!=null&&(c=c[b],c!=null)){c=nqa(c);var d;!c[0].$$isRepeated||(d=a.repeatedFields)!=null&&d.has(b)||(a.repeatedFields||(a.repeatedFields=new Set)).add(b);d=c[1];if(d!=null)return a[b]=pqa(d)}},uqa,vqa,Th=Symbol(),Eqa=Symbol(),Jqa=Symbol(),Nqa=Symbol(),VZb=Wh(function(a,b,c){if(a.nextWireType_!==0)return!1;a=a.decoder_;var d=0,e=0,f=0,h=a.bytes_,k=a.cursor_;do{var q=
h[k++];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[k++],e|=(q&127)<<f;FZb(a,k);if(q<128)a=uca(d>>>0,e>>>0);else throw Error("jb");Xh(b,c,a);return!0},function(a,b,c){var d=a.writeInt64;a:if(b!=null){if(Cb(b)){if(typeof b==="string"){b=Hca(b);break a}if(typeof b==="number"){b=Jca(b);break a}}b=void 0}d.call(a,c,b)}),Xy=Wh(function(a,b,c){if(a.nextWireType_!==0)return!1;Xh(b,c,Vy(a.decoder_));return!0},function(a,b,c){a.writeInt32(c,Fb(b))}),WZb;
WZb=new Sh(function(a,b,c){if(a.nextWireType_!==0&&a.nextWireType_!==2)return!1;b=Qda(b,b[cb],c,!1);if(a.nextWireType_==2)for(c=Vy(a.decoder_)>>>0,c=a.decoder_.getCursor()+c;a.decoder_.getCursor()<c;)b.push(Vy(a.decoder_));else b.push(Vy(a.decoder_));return!0},function(a,b,c){if(Array.isArray(b)){var d=ab(b);if(!(d&4)){for(var e=0,f=0;e<b.length;e++){var h=Fb(b[e]);h!=null&&(b[f++]=h)}f<e&&(b.length=f);b[cb]=(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&&(Yh(e,f,0),SZb(e.encoder_,h))},!0,!1);
var XZb=Wh(function(a,b,c){if(a.nextWireType_!==1)return!1;var d=a.decoder_;a=GZb(d);d=GZb(d);Xh(b,c,vb(a,d));return!0},function(a,b,c){a:if(b!=null){if(Cb(b)){if(typeof b==="string"){b=Pca(b);break a}if(typeof b==="number"){b=Nca(b);break a}}b=void 0}b!=null&&(typeof b==="string"&&NZb(b),Yh(a,c,1),typeof b==="number"?a.encoder_.writeUint64(b):(c=NZb(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)))}),YZb=Wh(function(a,b,c){if(a.nextWireType_!==5)return!1;Xh(b,c,GZb(a.decoder_));return!0},function(a,b,
c){b=Gca(b);b!=null&&(Yh(a,c,5),a.encoder_.writeUint32(b))}),Yy=Wh(function(a,b,c){if(a.nextWireType_!==0)return!1;Xh(b,c,HZb(a.decoder_));return!0},function(a,b,c){a.writeBool(c,Bca(b))}),ZZb=Wh(function(a,b,c){if(a.nextWireType_!==2)return!1;Xh(b,c,KZb(a));return!0},function(a,b,c){b=Tca(b);b!=null&&(b=nba(b,!1),Yh(a,c,2),RZb(a.encoder_,b.length),Vh(a,a.encoder_.end()),Vh(a,b))}),mqa=new Sh(function(a,b,c,d,e){if(a.nextWireType_!==2)return!1;JZb(a,wTb(b,d,c,!0),e);return!0},Pqa,!1,!0),Dqa=new Sh(function(a,
b,c,d,e){if(a.nextWireType_!==2)return!1;JZb(a,wTb(b,d,c),e);return!0},Pqa,!1,!0),$Zb=Wh(function(a,b,c){if(a.nextWireType_!==0)return!1;Xh(b,c,Vy(a.decoder_));return!0},function(a,b,c){a.writeEnum(c,Fb(b))});var Zy=function(a,b){this.fieldIndex=a;this.ctor=b;this.isRepeated=0;this.getExtensionFn=Gj;this.setExtensionFn=Pj;this.defaultValue=void 0};var $y=function(a){this.internalArray_=m(a)};V($y,X);$y.prototype.getId=function(){return Zh(this,1)};$y.prototype.setId=function(a){return sj(this,1,a)};$y.prototype.getSourceId=function(){return Kj(this,2,0)};$y.prototype.setSourceId=function(a){return uj(this,2,a)};var oj=function(a){this.internalArray_=m(a)};V(oj,X);g=oj.prototype;g.getSeconds=function(){return Jj(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return Jj(this,1)};g.getSeconds_asString=function(){return xu(this,1)};g.setSeconds=function(a){return Ij(this,1,a)};g.getNanos=function(){return Lj(this,2)};g.setNanos=function(a){return kj(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 mj=function(a){this.internalArray_=m(a)};V(mj,X);g=mj.prototype;g.getSeconds=function(){return Jj(this,1)};g.getSeconds_asLegacyNumberOrString=function(){return Jj(this,1)};g.getSeconds_asString=function(){return xu(this,1)};g.setSeconds=function(a){return Ij(this,1,a)};g.getNanos=function(){return Lj(this,2)};g.setNanos=function(a){return kj(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.trunc(a/1E3)).setNanos(Math.trunc(a%1E3*1E6))};var az=function(a){this.internalArray_=m(a)};V(az,X);g=az.prototype;g.getUrl=function(){return Zh(this,1)};g.setUrl=function(a){return sj(this,1,a)};g.getHeight=function(){return Lj(this,2)};g.setHeight=function(a){return kj(this,2,a)};g.getWidth=function(){return Lj(this,3)};g.setWidth=function(a){return kj(this,3,a)};var bz=function(a){this.internalArray_=m(a)};V(bz,X);bz.prototype.getDuration=function(){return Gj(this,oj,2)};bz.repeatedFields_=[6];var a_b=function(a){this.internalArray_=m(a)};V(a_b,X);var cz=function(a){this.internalArray_=m(a)};V(cz,X);cz.prototype.getEmail=function(a){return zu(this,1,a)};cz.prototype.setEmail=function(a){return mc(this,1,Jb,a,void 0,zi)};cz.prototype.getGroupId=function(a){return zu(this,2,a)};cz.prototype.setGroupId=function(a){mc(this,2,Jb,a,void 0,zi)};cz.repeatedFields_=[1,2];var b_b=function(a){this.internalArray_=m(a)};V(b_b,X);var c_b=function(a){this.internalArray_=m(a)};V(c_b,X);c_b.prototype.getDownloadUrl=function(){return Zh(this,5)};var d_b=function(a){this.internalArray_=m(a)};V(d_b,X);var e_b=function(a){this.internalArray_=m(a)};V(e_b,X);e_b.prototype.getPhotoId=function(){return Zh(this,1)};var f_b=function(a){this.internalArray_=m(a)};V(f_b,X);var g_b=function(a){this.internalArray_=m(a)};V(g_b,X);var dz=function(a){this.internalArray_=m(a)};V(dz,X);var ez=[2,4,5,6,7];var h_b=function(a){this.internalArray_=m(a)};V(h_b,X);var Om=function(a){this.internalArray_=m(a)};V(Om,X);Om.prototype.getTypeName=function(){return Zh(this,1).split("/").pop()};Om.prototype.getValue=function(){var a=nu(this,2);if(Array.isArray(a)||a instanceof X)throw Error("nb");return qo(this,2)};Om.prototype.setValue=function(a){if(a==null)a=this;else if(Array.isArray(a))a=ro(this,2,Cda(a,Eda,void 0,void 0,!1));else if(typeof a==="string"||a instanceof gb||Ya(a))a=Oj(this,2,a);else throw Error("ob`"+a);return a};var ou=function(a){this.internalArray_=m(a)};V(ou,X);g=ou.prototype;g.getId=function(){return Gj(this,$y,1)};g.setId=function(a){return Pj(this,$y,1,a)};g.getName=function(){return Zh(this,2)};g.setName=function(a){return sj(this,2,a)};g.getDescription=function(){return Zh(this,3)};g.setDescription=function(a){return sj(this,3,a)};g.getParentId=function(){return Zh(this,4)};g.setParentId=function(a){return sj(this,4,a)};g.getType=function(){return Kj(this,6,0)};
g.setType=function(a){return uj(this,6,a)};g.getMimeType=function(){return Zh(this,7)};g.setMimeType=function(a){sj(this,7,a)};g.getUrl=function(){return Zh(this,8)};g.setUrl=function(a){return sj(this,8,a)};g.getIconUrl=function(){return Zh(this,11)};g.setIconUrl=function(a){return sj(this,11,a)};var fz=function(a){return Yj(a,az,10,Ai())};g=ou.prototype;g.getLastModifiedTimestamp=function(){return Gj(this,mj,12)};g.getVideoMetadata=function(){return Gj(this,bz,34)};
g.hasVideoMetadata=function(){return Ak(this,bz,34)};g.setOwnedByMe=function(a){return jk(this,39,a)};g.getOwner=function(){return zu(this,40)};g.setOwner=function(a){return mc(this,40,Jb,a,void 0,zi)};var gz=function(a){this.internalArray_=m(a)};V(gz,X);g=gz.prototype;g.getShared=function(){return hk(this,1)};g.setShared=function(a){jk(this,1,a)};g.getVideoMetadata=function(){return Gj(this,bz,3)};g.hasVideoMetadata=function(){return Ak(this,bz,3)};g.getDownloadUrl=function(){return Zh(this,10)};
ou.repeatedFields_=[5,10,22,40];var hz=function(a){this.internalArray_=m(a)};V(hz,X);hz.prototype.getLabel=function(){return Zh(this,2)};hz.prototype.setLabel=function(a){return sj(this,2,a)};var i_b=function(a){this.internalArray_=m(a)};V(i_b,X);g=i_b.prototype;g.getStatus=function(){return Kj(this,1,0)};g.setStatus=function(a){return uj(this,1,a)};g.getItemList=function(a){return Yj(this,ou,2,Ai(a))};g.addItem=function(a,b){return gr(this,2,ou,a,b)};g.setItem=function(a,b){return pu(this,2,ou,a,b)};g.getItemCount=function(){return vTb(this,2)};g.getErrorCode=function(){return Kj(this,4,0)};g.getInternalOnlyV1ViewInfo=function(){return Gj(this,hz,7)};i_b.repeatedFields_=[2];var iz=function(a){this.internalArray_=m(a)};V(iz,X);g=iz.prototype;g.getSourceId=function(){return Kj(this,1,0)};g.setSourceId=function(a){return uj(this,1,a)};g.getName=function(){return Zh(this,8)};g.setName=function(a){return sj(this,8,a)};g.getInternalOnlyV1ViewInfo=function(){return Gj(this,hz,18)};iz.repeatedFields_=[14];var jz=function(a){this.internalArray_=m(a)};V(jz,X);g=jz.prototype;g.getCommand=function(){return Kj(this,1,0)};g.setCommand=function(a){return uj(this,1,a)};g.getSource=function(){return Gj(this,iz,2)};g.setSource=function(a){return Pj(this,iz,2,a)};g.hasSource=function(){return Ak(this,iz,2)};g.setVisible=function(a){return jk(this,5,a)};g.getItemList=function(a){return Yj(this,ou,7,Ai(a))};g.addItem=function(a,b){return gr(this,7,ou,a,b)};g.setItem=function(a,b){return pu(this,7,ou,a,b)};
g.getItemCount=function(){return vTb(this,7)};g.getQuery=function(){return Zh(this,8)};g.setQuery=function(a){return sj(this,8,a)};g.clearQuery=function(){ro(this,8)};g.getAppId=function(){return Zh(this,9)};g.setAppId=function(a){return sj(this,9,a)};jz.repeatedFields_=[3,7];var j_b=function(a){this.internalArray_=m(a)};V(j_b,X);g=j_b.prototype;g.getCommand=function(){return Kj(this,1,0)};g.setCommand=function(a){return uj(this,1,a)};g.getItemList=function(a){return Yj(this,ou,4,Ai(a))};g.addItem=function(a,b){return gr(this,4,ou,a,b)};g.setItem=function(a,b){return pu(this,4,ou,a,b)};g.getItemCount=function(){return vTb(this,4)};var k_b=ai(j_b);j_b.repeatedFields_=[4];var l_b=function(a){this.internalArray_=m(a)};V(l_b,X);var m_b=[0,VZb,YZb,-1];var kz=function(a){this.internalArray_=m(a)};V(kz,X);kz.prototype.setBase=function(a){return Pj(this,l_b,1,a)};var n_b=[0,m_b,VZb];var o_b=[0,WZb,Xy];var lz=function(a){this.internalArray_=m(a)};V(lz,X);lz.prototype.setVeIndex=function(a){Ml(this,1,a)};var p_b=function(a,b){Ml(a,2,b)};lz.prototype.setElementIndex=function(a){Ml(this,5,a)};lz.prototype.getResultIndex=function(){return Lj(this,6,-1)};lz.prototype.setResultIndex=function(a){Ml(this,6,a)};var q_b=[0,Xy,-1,2,Xy,-4,Yy,Xy,XZb,n_b,Xy,o_b],r_b=Tqa(lz,q_b),s_b=function(a){return function(b){var c=new TZb;Fqa(b.internalArray_,c,Uh(a));return UZb(c)}}(q_b);var mz=function(a){this.internalArray_=m(a)};V(mz,X);mz.prototype.setVed=function(a){return Cj(this,5,t_b,a)};var u_b=[1,3,4],t_b=[2,5];var nz=function(a){this.internalArray_=m(a,233)};V(nz,X);nz.prototype.setUiType=function(a){return Ml(this,1,a)};nz.prototype.setElementIndex=function(a){Ml(this,3,a)};var v_b=function(a,b){hc(a,4,b,Eb)};nz.prototype.getResultIndex=function(){return Lj(this,7)};nz.prototype.setResultIndex=function(a){Ml(this,7,a)};nz.prototype.setVisible=function(a){return Ol(this,6,a)};nz.repeatedFields_=[4];var oz=function(a){this.internalArray_=m(a)};V(oz,X);g=oz.prototype;g.getCode=function(){return Lj(this,1)};g.setCode=function(a){return Ml(this,1,a)};g.getCodeOrUndefined=function(){return Au(this,1)};g.getMessage=function(){return Zh(this,3)};g.setMessage=function(a){return Sj(this,3,a)};var pz=function(a){this.internalArray_=m(a)};V(pz,X);var Nm=function(a){this.internalArray_=m(a)};V(Nm,X);Nm.prototype.getValue=function(){return Jj(this,1)};Nm.prototype.getValue_asLegacyNumberOrString=function(){return Jj(this,1)};Nm.prototype.setValue=function(a){return Ij(this,1,a)};var jj=function(a){this.internalArray_=m(a)};V(jj,X);g=jj.prototype;g.getYear=function(){return Lj(this,1)};g.setYear=function(a){return kj(this,1,a)};g.getMonth=function(){return Lj(this,2)};g.setMonth=function(a){return kj(this,2,a)};g.getDay=function(){return Lj(this,3)};var nm=function(a){this.internalArray_=m(a)};V(nm,X);var om=function(a,b){lc(a,1,Jb,b)};nm.repeatedFields_=[1];var xya=function(a){this.internalArray_=m(a)};V(xya,X);xya.prototype.getValue=function(){return Lj(this,1)};xya.prototype.setValue=function(a){return kj(this,1,a)};var zya=function(a){this.internalArray_=m(a)};V(zya,X);zya.prototype.getValue=function(){return hk(this,1)};zya.prototype.setValue=function(a){return jk(this,1,a)};var ao=function(a){this.internalArray_=m(a)};V(ao,X);g=ao.prototype;g.getHours=function(){return Lj(this,1)};g.setHours=function(a){return kj(this,1,a)};g.getMinutes=function(){return Lj(this,2)};g.setMinutes=function(a){return kj(this,2,a)};g.getSeconds=function(){return Lj(this,3)};g.setSeconds=function(a){return kj(this,3,a)};g.getNanos=function(){return Lj(this,4)};g.setNanos=function(a){return kj(this,4,a)};var vxa=function(a){this.internalArray_=m(a)};V(vxa,X);var yya=function(a){this.internalArray_=m(a)};V(yya,X);yya.prototype.getValue=function(){return Zh(this,1)};yya.prototype.setValue=function(a){return sj(this,1,a)};var w_b=function(a){this.cellValue=a};var qz=function(a,b,c){this.metricName=a;this.cellType=b;this.fields=c||[];this.cellMap=new Map};g=qz.prototype;g.addCell=function(a){var b=jd.apply(1,arguments),c=this.getCells(b);c?c.push(new w_b(a)):this.setCell(a,b)};g.setCell=function(a){var b=this.getKey(jd.apply(1,arguments));this.cellMap.set(b,[new w_b(a)])};g.getCells=function(){var a=this.getKey(jd.apply(0,arguments));return this.cellMap.has(a)?this.cellMap.get(a):void 0};
g.getCell=function(){var a=this.getCells(jd.apply(0,arguments));return a&&a.length?a[0]:void 0};g.clear=function(){this.cellMap.clear()};g.getKey=function(){var a=jd.apply(0,arguments);return a?a.join(","):"key"};var rz=function(a,b){qz.call(this,a,3,b)};V(rz,qz);rz.prototype.incrementCounter=function(){this.incrementCounterBy(1,jd.apply(0,arguments))};rz.prototype.incrementCounterBy=function(a){var b=jd.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue);this.setCell(c+a,b)};var x_b=function(a,b){qz.call(this,a,2,b)};V(x_b,qz);x_b.prototype.record=function(a){this.addCell(a,jd.apply(1,arguments))};var sz=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};sz.prototype.disposed_=!1;sz.prototype.isDisposed=function(){return this.disposed_};sz.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};sz.prototype[Symbol.dispose]=function(){this.dispose()};var Dq=function(a,b){b=fu(bi,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};sz.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var tz=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};tz.prototype.stopPropagation=function(){this.propagationStopped_=!0};tz.prototype.preventDefault=function(){this.defaultPrevented=!0};var y_b=[],z_b=[],A_b=!1,B_b=function(a){y_b[y_b.length]=a;if(A_b)for(var b=0;b<z_b.length;b++)a(eu(z_b[b].wrap,z_b[b]))};var C_b=function(){if(!Ba.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};Ba.addEventListener("test",c,b);Ba.removeEventListener("test",c,b)}catch(d){}return a}();var uz=function(a,b){tz.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)};gu(uz,tz);var D_b={2:"touch",3:"pen",4:"mouse"};
uz.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)?iu&&(NSb(b,"nodeName")||(b=null)):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=ju||a.offsetX!==
void 0?a.offsetX:a.layerX,this.offsetY=ju||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=rs?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType=typeof a.pointerType==="string"?a.pointerType:D_b[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.event_=a;a.defaultPrevented&&uz.superClass_.preventDefault.call(this)};uz.prototype.stopPropagation=function(){uz.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
uz.prototype.preventDefault=function(){uz.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var E_b="closure_listenable_"+(Math.random()*1E6|0),vz=function(a){return!(!a||!a[E_b])};var F_b=0;var G_b=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=++F_b;this.removed=this.callOnce=!1},H_b=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var wz=function(a){this.src=a;this.listeners={};this.typeCount_=0};wz.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=I_b(a,b,d,e);h>-1?(b=a[h],c||(b.callOnce=!1)):(b=new G_b(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};
wz.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=I_b(e,b,c,d);return b>-1?(H_b(e[b]),Pa(e,b),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var J_b=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=Qa(a.listeners[c],b);d&&(H_b(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--));return d};
wz.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.listeners)if(!a||c==a){for(var d=this.listeners[c],e=0;e<d.length;e++)++b,H_b(d[e]);delete this.listeners[c];this.typeCount_--}return b};wz.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=I_b(a,b,c,d));return e>-1?a[e]:null};
wz.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return iea(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 I_b=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 K_b="closure_lm_"+(Math.random()*1E6|0),L_b={},M_b=0,mp=function(a,b,c,d,e){if(d&&d.once)return xz(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)mp(a,b[f],c,d,e);return null}c=N_b(c);return vz(a)?a.listen(b,c,Wa(d)?!!d.capture:!!d,e):O_b(a,b,c,!1,d,e)},O_b=function(a,b,c,d,e,f){if(!b)throw Error("rb");var h=Wa(e)?!!e.capture:!!e,k=yz(a);k||(a[K_b]=k=new wz(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=P_b();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)C_b||(e=h),e===void 0&&
(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Q_b(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("sb");M_b++;return c},P_b=function(){var a=R_b,b=function(c){return a.call(b.src,b.listener,c)};return b},xz=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)xz(a,b[f],c,d,e);return null}c=N_b(c);return vz(a)?a.listenOnce(b,c,Wa(d)?!!d.capture:!!d,e):O_b(a,b,c,!0,d,e)},zz=function(a,b,c,d,e){if(Array.isArray(b))for(var f=
0;f<b.length;f++)zz(a,b[f],c,d,e);else d=Wa(d)?!!d.capture:!!d,c=N_b(c),vz(a)?a.unlisten(b,c,d,e):a&&(a=yz(a))&&(b=a.getListener(b,c,d,e))&&Az(b)},Az=function(a){if(typeof a==="number"||!a||a.removed)return!1;var b=a.src;if(vz(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Q_b(c),d):b.addListener&&b.removeListener&&b.removeListener(d);M_b--;(c=yz(b))?(J_b(c,a),c.typeCount_==0&&(c.src=null,b[K_b]=null)):H_b(a);
return!0},Q_b=function(a){return a in L_b?L_b[a]:L_b[a]="on"+a},R_b=function(a,b){if(a.removed)a=!0;else{b=new uz(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&Az(a);a=c.call(d,b)}return a},yz=function(a){a=a[K_b];return a instanceof wz?a:null},S_b="__closure_events_fn_"+(Math.random()*1E9>>>0),N_b=function(a){if(typeof a==="function")return a;a[S_b]||(a[S_b]=function(b){return a.handleEvent(b)});return a[S_b]};B_b(function(a){R_b=a(R_b)});var lp=function(){sz.call(this);this.eventTargetListeners_=new wz(this);this.actualEventTarget_=this;this.parentEventTarget_=null};gu(lp,sz);lp.prototype[E_b]=!0;g=lp.prototype;g.getParentEventTarget=function(){return this.parentEventTarget_};g.setParentEventTarget=function(a){this.parentEventTarget_=a};g.addEventListener=function(a,b,c,d){mp(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){zz(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 tz(a,c);else if(a instanceof tz)a.target=a.target||c;else{var e=a;a=new tz(d,c);rea(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(){lp.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 J_b(this.eventTargetListeners_,a)};g.removeAllListeners=function(){this.eventTargetListeners_&&this.eventTargetListeners_.removeAll(void 0)};
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,k=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=h.call(k,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 T_b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};T_b.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};T_b.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){};var Bz=function(a){return function(){return a}},Cz=function(){},U_b=function(a){return a},XJa=function(){var a=WJa;return function(){return!a.apply(this,arguments)}},V_b=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Dz=function(a,b){var c=0;return function(d){Ba.clearTimeout(c);var e=arguments;c=Ba.setTimeout(function(){a.apply(void 0,e)},b)}},W_b=function(a,b){var c=0,d=!1,e=[],f=function(){c=0;d&&(d=!1,h())},h=function(){c=Ba.setTimeout(f,b);var k=e;e=[];a.apply(void 0,k)};
return function(k){e=arguments;c?d=!0:h()}};var X_b=V_b(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Mh(Tr);return!b.parentElement}),UJa=function(a,b){if(X_b())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Mh(b)},Z_b=function(a,b){a:{var c=(a.ownerDocument&&a.ownerDocument.defaultView||Ba).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Y_b.test(c))break a;
c=""}c&&a.setAttribute("nonce",c);a.src=Cc(b)},OYa=function(a,b,c,d){a=NYa(a);b=b||Ba;c=c instanceof Cu?HTb(c):c||"";return d!==void 0?b.open(a,c,d):b.open(a,c)},Y_b=/^[\w+/_-]+[=]{0,2}$/,NYa=function(a){a=yc(a);return a===void 0?wea.toString():a};var is=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};is.prototype.clone=function(){return new is(this.x,this.y)};is.prototype.equals=function(a){return a instanceof is&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var uMb=function(a,b){return new is(a.x-b.x,a.y-b.y)};g=is.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 is?(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 Ez=function(a,b){this.width=a;this.height=b},xMb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};g=Ez.prototype;g.clone=function(){return new Ez(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 op=function(a){return a?new Fz(Gz(a)):qSb||(qSb=new Fz)},Hz=function(a,b){return typeof b==="string"?a.getElementById(b):b},Iz=function(a,b){return(b||document).getElementsByTagName(String(a))},Jz=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},a0b=function(a,b){pc(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:$_b.hasOwnProperty(d)?a.setAttribute($_b[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},$_b={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"},Kz=function(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new Ez(a.clientWidth,a.clientHeight)},Mz=function(a){var b=Lz(a);a=a.parentWindow||a.defaultView;return new is(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},Lz=function(a){return a.scrollingElement?a.scrollingElement:ju||a.compatMode!="CSS1Compat"?a.body||
a.documentElement:a.documentElement},Nz=function(a){return a?a.parentWindow||a.defaultView:window},c0b=function(a,b,c){return b0b(document,arguments)},b0b=function(a,b){var c=b[1],d=Zp(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):a0b(d,c));b.length>2&&d0b(a,d,b,2);return d},d0b=function(a,b,c,d){function e(k){k&&b.appendChild(typeof k==="string"?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!Va(f)||Wa(f)&&f.nodeType>0)e(f);else{a:{if(f&&
typeof f.length=="number"){if(Wa(f)){var h=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){h=typeof f.item=="function";break a}}h=!1}Na(h?Ta(f):f,e)}}},Zp=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},e0b=function(a,b){d0b(Gz(a),a,arguments,1)},f0b=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Oz=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Pz=function(a){return Wa(a)&&
a.nodeType==1},MOb=function(a){var b;if(ju&&(b=a.parentElement))return b;b=a.parentNode;return Pz(b)?b:null},z7a=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},Gz=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},g0b=function(a){return a.contentDocument||a.contentWindow.document},Qz=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 f0b(a),a.appendChild(Gz(a).createTextNode(String(b)))},h0b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},i0b={IMG:" ",BR:"\n"},j0b=function(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768},l0b=function(a){var b=[];k0b(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},k0b=function(a,b,c){if(!(a.nodeName in h0b))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 i0b)b.push(i0b[a.nodeName]);else for(a=a.firstChild;a;)k0b(a,b,c),a=a.nextSibling},TLb=function(){var a=Nz();return a.devicePixelRatio!==void 0?a.devicePixelRatio:a.matchMedia?m0b(3)||m0b(2)||m0b(1.5)||m0b(1)||.75:1},m0b=function(a){return Nz().matchMedia("(min-resolution: "+
a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+a*96+"dpi)").matches?a:0},Fz=function(a){this.document_=a||Ba.document||document};g=Fz.prototype;g.getDomHelper=op;g.getElement=function(a){return Hz(this.document_,a)};g.$=Fz.prototype.getElement;g.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};g.getElementsByTagNameAndClass=function(a,b,c){return Jz(this.document_,a,b,c)};g.$$=Fz.prototype.getElementsByTagNameAndClass;
g.setProperties=a0b;g.getViewportSize=function(a){return Kz(a||this.getWindow())};g.createDom=function(a,b,c){return b0b(this.document_,arguments)};g.createElement=function(a){return Zp(this.document_,a)};g.createTextNode=function(a){return this.document_.createTextNode(String(a))};g.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=e0b;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=f0b;g.removeNode=Oz;g.getChildren=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})};g.isElement=Pz;g.getParentElement=MOb;g.contains=z7a;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")||j0b(a)):b=a.hasAttribute("tabindex")&&j0b(a);return b};var n0b,o0b=function(){var a=Ba.MessageChannel;typeof a==="undefined"&&typeof window!=="undefined"&&window.postMessage&&window.addEventListener&&!Ha("Presto")&&(a=function(){var e=Zp(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),k=f.location.protocol=="file:"?"*":f.location.protocol+"//"+f.location.host;e=eu(function(q){if((k=="*"||q.origin==k)&&q.data==h)this.port1.onmessage()},
this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,k)}}});if(typeof a!=="undefined"){var b=new a,c={},d=c;b.port1.onmessage=function(){if(c.next!==void 0){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){Ba.setTimeout(e,0)}},p0b=U_b;B_b(function(a){p0b=a});var q0b=function(){this.workTail_=this.workHead_=null};q0b.prototype.add=function(a,b){var c=r0b.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};q0b.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 r0b=new T_b(function(){return new s0b},function(a){return a.reset()}),s0b=function(){this.next=this.scope=this.fn=null};
s0b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};s0b.prototype.reset=function(){this.next=this.scope=this.fn=null};var t0b,u0b=!1,v0b=new q0b,Rz=function(a,b){t0b||w0b();u0b||(t0b(),u0b=!0);v0b.add(a,b)},w0b=function(){if(Ba.Promise&&Ba.Promise.resolve){var a=Ba.Promise.resolve(void 0);t0b=function(){a.then(x0b)}}else t0b=function(){var b=x0b;b=p0b(b);typeof Ba.setImmediate!=="function"||Ba.Window&&Ba.Window.prototype&&Ba.Window.prototype.setImmediate==Ba.setImmediate?(n0b||(n0b=o0b()),n0b(b)):Ba.setImmediate(b)}},x0b=function(){for(var a;a=v0b.remove();){try{a.fn.call(a.scope)}catch(b){Ca(b)}r0b.put(a)}u0b=!1};var y0b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Tz=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Cz)try{var b=this;a.call(void 0,function(c){Sz(b,2,c)},function(c){Sz(b,3,c)})}catch(c){Sz(this,3,c)}},z0b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};z0b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var A0b=new T_b(function(){return new z0b},function(a){a.reset()}),B0b=function(a,b,c){var d=A0b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},Uz=function(a){if(a instanceof Tz)return a;var b=new Tz(Cz);Sz(b,2,a);return b},C0b=function(a){return new Tz(function(b,c){c(a)})},E0b=function(a,b,c){D0b(a,b,c,null)||Rz(fu(b,a))},F0b=function(a){return new Tz(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],E0b(e,b,c)})},G0b=function(a){return new Tz(function(b,c){var d=
a.length,e=[];if(d)for(var f=function(t,w){d--;e[t]=w;d==0&&b(e)},h=function(t){c(t)},k=0,q;k<a.length;k++)q=a[k],E0b(q,fu(f,k),h);else b(e)})},H0b=function(a){return new Tz(function(b,c){var d=a.length,e=[];if(d)for(var f=function(t){b(t)},h=function(t,w){d--;e[t]=w;d==0&&c(e)},k=0,q;k<a.length;k++)q=a[k],E0b(q,f,fu(h,k));else b(void 0)})},J0b=function(){var a,b,c=new Tz(function(d,e){a=d;b=e});return new I0b(c,a,b)};
Tz.prototype.then=function(a,b,c){return K0b(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};Tz.prototype.$goog_Thenable=!0;var M0b=function(a,b){b=B0b(b,b);b.always=!0;L0b(a,b);return a};Tz.prototype.thenCatch=function(a,b){return K0b(this,null,a,b)};Tz.prototype.catch=Tz.prototype.thenCatch;Tz.prototype.cancel=function(a){if(this.state_==0){var b=new Vz(a);Rz(function(){N0b(this,b)},this)}};
var N0b=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?N0b(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):O0b(c),P0b(c,e,3,b)))}a.parent_=null}else Sz(a,3,b)},L0b=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||Q0b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},K0b=function(a,b,c,d){var e=B0b(null,null,null);e.child=new Tz(function(f,h){e.onFulfilled=b?function(k){try{var q=b.call(d,k);f(q)}catch(t){h(t)}}:f;e.onRejected=c?function(k){try{var q=c.call(d,k);q===void 0&&k instanceof Vz?h(k):f(q)}catch(t){h(t)}}:h});e.child.parent_=a;L0b(a,e);return e.child};Tz.prototype.unblockAndFulfill_=function(a){this.state_=0;Sz(this,2,a)};Tz.prototype.unblockAndReject_=function(a){this.state_=0;Sz(this,3,a)};
var Sz=function(a,b,c){a.state_==0&&(a===c&&(b=3,c=new TypeError("tb")),a.state_=1,D0b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,Q0b(a),b!=3||c instanceof Vz||R0b(a,c)))},D0b=function(a,b,c,d){if(a instanceof Tz)return L0b(a,B0b(b||Cz,c||null,d)),!0;if(y0b(a))return a.then(b,c,d),!0;if(Wa(a))try{var e=a.then;if(typeof e==="function")return S0b(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},S0b=function(a,b,c,d,e){var f=!1,h=function(q){f||(f=!0,
c.call(e,q))},k=function(q){f||(f=!0,d.call(e,q))};try{b.call(a,h,k)}catch(q){k(q)}},Q0b=function(a){a.executing_||(a.executing_=!0,Rz(a.executeCallbacks_,a))},O0b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};Tz.prototype.executeCallbacks_=function(){for(var a;a=O0b(this);)P0b(this,a,this.state_,this.result_);this.executing_=!1};
var P0b=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,T0b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):T0b(b,c,d)}catch(e){U0b.call(null,e)}A0b.put(b)},T0b=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},R0b=function(a,b){a.hadUnhandledRejection_=!0;Rz(function(){a.hadUnhandledRejection_&&U0b.call(null,b)})},U0b=Ca,Vz=function(a){ya.call(this,
a);this.reportErrorToServer=!1};gu(Vz,ya);Vz.prototype.name="cancel";var I0b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var Wz=function(a,b){lp.call(this);this.interval_=a||1;this.timerObject_=b||Ba;this.boundTick_=eu(this.tick_,this);this.last_=Date.now()};gu(Wz,lp);g=Wz.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(){Wz.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var Xq=function(a,b,c){if(typeof a==="function")c&&(a=eu(a,c));else if(a&&typeof a.handleEvent=="function")a=eu(a.handleEvent,a);else throw Error("ub");return Number(b)>2147483647?-1:Ba.setTimeout(a,b||0)},Yq=function(a){Ba.clearTimeout(a)},V0b=function(a,b){var c=null;return(new Tz(function(d,e){c=Xq(function(){d(b)},a);c==-1&&e(Error("vb"))})).thenCatch(function(d){Yq(c);throw d;})};var W0b=function(a){sz.call(this);this.streamzLogger=a;this.invocationCount=0;this.metricMap=new Map;this.disabledMetrics=new Set;this.flushInterval=3E4;this.flushTimer=new Wz(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);Dq(this,this.flushTimer)};V(W0b,sz);var X0b=function(a){a.maybeStartFlushTimer();a.invocationCount++;a.invocationCount>=100&&a.snapshotAndFlush()};g=W0b.prototype;
g.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(r(a)).filter(function(b){return b.cellMap.size});a.length&&this.streamzLogger.flush(a,!1);Y0b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};g.addNewCounter=function(a){var b=jd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new rz(a,b))};g.addNewEventMetric=function(a){var b=jd.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new x_b(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,jd.apply(1,arguments))};g.incrementCounterBy=function(a,b){var c=jd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof rz&&(d.incrementCounterBy(b,c),X0b(this))};g.record=function(a,b){var c=jd.apply(2,arguments),d=this.getMetric(a);d&&d instanceof x_b&&(d.record(b,c),X0b(this))};g.maybeStartFlushTimer=function(){this.flushTimer.enabled||this.flushTimer.start()};
var Y0b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var Z0b=function(a){this.metricName_="/client_streamz/buganizer/load_time";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};Z0b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};Z0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var $0b=function(a){this.metricName_="/client_streamz/buganizer/user_action_counts";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};$0b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};$0b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var a1b=function(a){this.metricName_="/client_streamz/buganizer/user_latency";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"action"},{field_type:3,field_name:"frontend_access_mode"},{field_type:3,field_name:"environment_type"})};a1b.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};a1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var b1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/usage";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"name"},{field_type:3,field_name:"source"},{field_type:1,field_name:"state"})};b1b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};b1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var c1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/events/performance";this.streamzService_=a;this.streamzService_.addNewEventMetric(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"name"})};c1b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};c1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var d1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/request_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"})};d1b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};d1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var e1b=function(a){this.metricName_="/client_streamz/one_developer_workflow/rpc/error_count";this.streamzService_=a;this.streamzService_.addNewCounter(this.metricName_,{field_type:3,field_name:"source"},{field_type:3,field_name:"method_id"},{field_type:2,field_name:"code"})};e1b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};e1b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var f1b=function(a){this.servicePromise_=a;a.then(eu(function(){},this),function(){},this)},g1b=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("wb`"+b);return e.apply(d,c)})},i1b=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=h1b(a,b).then(function(f){return f.apply(null,d)});return new f1b(e)},j1b={},h1b=function(a,b){var c=j1b[b];if(c)return c;c=(c=gp(b))?Uz(c):(new Tz(function(d,e){var f=(new Fz(document)).createElement("SCRIPT");
f.async=!0;Dc(f,Ph(HTb(a)));f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!="loaded"&&f.readyState!="complete"||d()};f.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(f)})).then(function(){var d=gp(b);if(!d)throw Error("xb`"+b+"`"+a);return d});return j1b[b]=c};var k1b={GOOGLE:"https://www.google.com",SUPPORT:"https://support.google.com",PLAY:"https://play.google.com"},m1b=function(){var a=this;this.rsaForList=[];this.rsaForPromises=[];this.initialize=Xqa(function(){return ge(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()):ie(b,l1b(a),2);a.rsaForList.length>
0&&document.addEventListener("click",a.requestAccessForHelpPanel);me(b)})});this.requestAccessForHelpPanel=function(){if(!(a.rsaForPromises.length>0)){for(var b=l(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()})}}};m1b.prototype.reset=function(){document.removeEventListener("click",this.requestAccessForHelpPanel)};
var l1b=function(a){var b,c,d,e;return ge(function(f){switch(f.nextAddress){case 1:b=l(Object.values(k1b)),c=b.next();case 2:if(c.done){f.jumpTo(0);break}d=c.value;he(f,5);return ie(f,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),7);case 7:e=f.yieldResult;e.state!=="granted"&&a.rsaForList.push(d);Zt(f,3);break;case 5:le(f);f.jumpTo(0);break;case 3:c=b.next(),f.jumpTo(2)}})};(new m1b).initialize();var n1b=function(a){this.loader_=a};n1b.prototype.startFeedback=function(a){g1b(this.loader_,"startFeedback",arguments)};n1b.prototype.requestSurvey=function(a){g1b(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};n1b.prototype.presentSurvey=function(a){g1b(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var o1b=new Cu(FTb,"https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");h1b(o1b,"help.service.Lazy.create").thenCatch(function(){});var Kr=function(a){this.internalArray_=m(a)};V(Kr,X);Kr.prototype.getRevisionNumber=function(){return Lj(this,4)};Kr.prototype.setRevisionNumber=function(a){return Ml(this,4,a)};var Xz=function(a){this.internalArray_=m(a)};V(Xz,X);Xz.prototype.getRevisionNumber=function(){return Lj(this,2,-1)};Xz.prototype.setRevisionNumber=function(a){return Ml(this,2,a)};var p1b=function(a){this.internalArray_=m(a)};V(p1b,X);g=p1b.prototype;g.getChangeNumber_asLegacyNumberOrString=function(){return Jj(this,1,-1)};g.setChangeNumber=function(a){return Tl(this,1,a)};g.getWorkspaceId=function(){return Gj(this,Xz,2)};g.getRevisionNumber=function(){return Lj(this,3,-1)};g.setRevisionNumber=function(a){return Ml(this,3,a)};var q1b=function(a){this.internalArray_=m(a)};V(q1b,X);g=q1b.prototype;g.getPort=function(){return Zh(this,1)};g.setPort=function(a){return Sj(this,1,a)};g.hasPort=function(){return vl(this,1)};g.getUser=function(){return Zh(this,2)};g.setUser=function(a){return Sj(this,2,a)};g.hasUser=function(){return vl(this,2)};g.getWorkspaceId=function(){return Gj(this,Xz,3)};var r1b=function(a){this.internalArray_=m(a)};V(r1b,X);g=r1b.prototype;g.getKey=function(){return Zh(this,1)};g.getValue=function(){return Zh(this,2)};g.getValue_legacyNullable=function(){return Tj(this,2)};g.setValue=function(a){return Sj(this,2,a)};g.hasValue=function(){return vl(this,2)};var Yz=function(a){this.internalArray_=m(a)};V(Yz,X);Yz.prototype.getText=function(){return Zh(this,1)};Yz.prototype.setText=function(a){return Sj(this,1,a)};Yz.prototype.getTagsList=function(a){return Yj(this,r1b,2,Ai(a))};Yz.repeatedFields_=[2];var s1b=function(a){this.internalArray_=m(a)};V(s1b,X);var Mr=function(a){this.internalArray_=m(a)};V(Mr,X);g=Mr.prototype;g.getReadonlySourceFileId=function(){return ru(this,Kr,1)};g.setSourceFileId=function(a){return Pj(this,Kr,1,a)};g.getType=function(){return Gj(this,s1b,3)};g.setType=function(a){return Pj(this,s1b,3,a)};g.hasType=function(){return Ak(this,s1b,3)};g.getSize=function(){return Jj(this,5)};g.setSize=function(a){return Tl(this,5,a)};g.getChangeId=function(){return Gj(this,p1b,11)};Mr.repeatedFields_=[8];var Lr=function(a){this.internalArray_=m(a)};V(Lr,X);Lr.prototype.getContent=function(){return qo(this,2)};Lr.prototype.setContent=function(a){return ro(this,2,kb(a,!1,!0,!1))};Lr.prototype.hasContent=function(){return kr(this,2)!=null};var t1b=function(a){this.internalArray_=m(a)};V(t1b,X);g=t1b.prototype;g.setBase=function(a){return Pj(this,q1b,1,a)};g.getDescription=function(){return Gj(this,Yz,2)};g.setDescription=function(a){return Pj(this,Yz,2,a)};g.hasDescription=function(){return Ak(this,Yz,2)};g.setMode=function(a){return Ol(this,6,a)};t1b.repeatedFields_=[4];var Zz=function(a){this.internalArray_=m(a,500)};V(Zz,X);g=Zz.prototype;g.getStatus=function(){return Gj(this,oz,1002)};g.setStatus=function(a){return Pj(this,oz,1002,a)};g.hasStatus=function(){return Ak(this,oz,1002)};g.getChangeId=function(){return Gj(this,p1b,1)};g.getWorkspaceId=function(){return Gj(this,Xz,2)};g.getToken=function(){return Zh(this,3)};g.setToken=function(a){return Sj(this,3,a)};var u1b=function(a){this.internalArray_=m(a)};V(u1b,X);u1b.prototype.setBase=function(a){return Pj(this,q1b,1,a)};var Ftb=function(){var a=new u1b;return Ol(a,2,0)},Etb=function(a,b){return Dk(a,3,b)};u1b.repeatedFields_=[3,4];var v1b=function(a){this.internalArray_=m(a,500)};V(v1b,X);g=v1b.prototype;g.getStatus=function(){return Gj(this,oz,1002)};g.setStatus=function(a){return Pj(this,oz,1002,a)};g.hasStatus=function(){return Ak(this,oz,1002)};g.getReadonlySourceFileId=function(){return ru(this,Kr,2)};g.setSourceFileId=function(a){return Pj(this,Kr,2,a)};g.getContent=function(){return qo(this,3)};g.setContent=function(a){return ro(this,3,kb(a,!1,!0,!1))};g.hasContent=function(){return kr(this,3)!=null};var w1b={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},hta={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},jta={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},Qxa={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},kDa={0:"CATEGORY_UNSPECIFIED",1:"OWNER",2:"COLLABORATOR",3:"FOLLOWING"},oDa={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"},x1b={DAY_TYPE_UNSPECIFIED:"DAY_TYPE_UNSPECIFIED",CALENDAR:"CALENDAR",BUSINESS:"BUSINESS"},mua={0:"DAY_TYPE_UNSPECIFIED",1:"CALENDAR",2:"BUSINESS"},oua={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Dua={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"RESTRICTED",4:"RETENTION",5:"ACCOUNT_CAPABILITIES"},Kua={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},
y1b={COMFORTABLE:"COMFORTABLE",COZY:"COZY",COMPACT:"COMPACT"},Ewa={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},Vwa={COMFORTABLE:1,COZY:2,COMPACT:3},BDa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},jDa={0:"DRIVE_FILE_TYPE_UNSPECIFIED",1:"DOCUMENT",2:"SPREADSHEET",3:"PRESENTATION"},lDa={0:"DRIVE_SIGNAL_UNSPECIFIED",1:"TAGGED_IN_COMMENT",2:"REQUIRES_APPROVAL",3:"COMMENTS_REQUIRE_ATTENTION"},Qta={0:"EDIT_SIGNIFICANCE_UNSPECIFIED",1:"SILENT",2:"MINOR",
3:"MAJOR",4:"BULK",5:"CLOSING"},Uta={EDIT_SIGNIFICANCE_UNSPECIFIED:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},xl={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},Pl={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Dwa={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Uwa={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},Vjb={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"},ewa={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},z1b=
{FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},A1b={FIELD_STATE_UNSPECIFIED:"FIELD_STATE_UNSPECIFIED",INHERIT:"INHERIT",DISABLED:"DISABLED",ENABLED:"ENABLED"},Sva={0:"FIELD_STATE_UNSPECIFIED",1:"INHERIT",2:"DISABLED",3:"ENABLED"},B1b={FIELD_STATE_UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3},C1b={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL:1,EXTERNAL:2},$z={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},mwa={0:"UNSPECIFIED_FORMATTING_MODE",
1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},vDa={0:"GERRIT_CHANGE_SIGNAL_UNSPECIFIED",1:"GERRIT_CHANGE_NEEDS_ATTENTION",2:"GERRIT_CHANGE_READY_TO_SUBMIT"},kva={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"},iva={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},aA={ISSUE_RELATIONSHIP_TYPE_UNSPECIFIED:0,CHILD:1,DEPENDENCY:2,LINKED:3},tDa={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"},D1b={ISSUE_SUMMARY_FEEDBACK_TYPE_UNSPECIFIED:0,THUMBS_UP:1,THUMBS_DOWN:2,COPY:3,FEEDBACK:4},vya={0:"ISSUE_SUMMARY_TYPE_UNSPECIFIED",1:"COMMENTS_SHORT",2:"COMMENTS_LONG"},E1b={ISSUE_SUMMARY_TYPE_UNSPECIFIED:0,COMMENTS_SHORT:1,COMMENTS_LONG:2},Ujb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},F1b={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",
SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},Tua={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},Vxa={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},Wjb={0:"OPERATOR_UNSPECIFIED",1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},UDb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},ADa={0:"PRINCIPAL_TYPE_UNSPECIFIED",
1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},G1b={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},Fk={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},Hua={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},Qwa={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"},axa={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},H1b={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},I1b={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},J1b={UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,RESTRICTED:3,RETENTION:4,ACCOUNT_CAPABILITIES:5},K1b={RESTRICTION_SEVERITY_UNSPECIFIED:"RESTRICTION_SEVERITY_UNSPECIFIED",NONE_DETECTED:"NONE_DETECTED",RESTRICTED:"RESTRICTED",RESTRICTED_PLUS:"RESTRICTED_PLUS"},L1b={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},
Eua={0:"RETENTION_UNSPECIFIED",1:"COMPONENT_DEFAULT",2:"INDEFINITE"},M1b={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},wta={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},yta={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},Bua={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",4:"S3",5:"S4"},Iua={SEVERITY_UNSPECIFIED:0,
S0:1,S1:2,S2:3,S3:4,S4:5},Pjb={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"},TDb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Aua={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},Lua={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},dwa={0:"SLO_SOURCE_UNSPECIFIED",
1:"USER",2:"BUGSCOPE"},qua={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},Jta={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"},Lta={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},Mra={STATE_UNSPECIFIED:"STATE_UNSPECIFIED",PENDING:"PENDING",MERGED:"MERGED"},Nua={0:"STATE_UNSPECIFIED",1:"PENDING",2:"MERGED"},Oua={STATE_UNSPECIFIED:0,PENDING:1,MERGED:2},N1b={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"},Ek={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"},Gua={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},O1b={TASK_RESOURCE_TYPE_UNSPECIFIED:"TASK_RESOURCE_TYPE_UNSPECIFIED",CHANGELIST:"CHANGELIST",DRIVE:"DRIVE",ISSUE:"ISSUE",LAUNCH:"LAUNCH",
GERRIT:"GERRIT"},Owa={0:"UNKNOWN_SOURCE",1:"WTDM",2:"NON_WTDM",3:"CRITIQUE",4:"DRIVE",5:"BUGANIZER",6:"ARIANE",7:"GERRIT"},fxa={UNKNOWN_SOURCE:0,WTDM:1,NON_WTDM:2,CRITIQUE:3,DRIVE:4,BUGANIZER:5,ARIANE:6,GERRIT:7},uwa={0:"THEME_UNSPECIFIED",1:"GOOGLE",2:"OPEN_SOURCE"},P1b={UNSPECIFIED:"UNSPECIFIED",NEW:"NEW",CONFIRMED:"CONFIRMED",IN_PROGRESS:"IN_PROGRESS",FIXED:"FIXED",WONT_FIX:"WONT_FIX"},fya={0:"UNSPECIFIED",1:"NEW",2:"CONFIRMED",3:"IN_PROGRESS",4:"FIXED",5:"WONT_FIX"},Q1b={UNSPECIFIED:0,NEW:1,CONFIRMED:2,
IN_PROGRESS:3,FIXED:4,WONT_FIX:5},$jb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",1:"AND",2:"OR"},Pta={0:"TYPE_UNSPECIFIED",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},Tta={TYPE_UNSPECIFIED:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Fxa={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},R1b={USER_ACTIVITY_TYPE_UNDEFINED:0,VIEW:1,RELOAD:2,EDIT:3,MARK_AS_READ_OR_UNREAD:4},Cra={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Rjb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"};var dra=Object.prototype.hasOwnProperty;var S1b={SINGLE_VALUE:"SINGLE_VALUE",COLLECTION:"COLLECTION",USER_COLLECTION:"USER_COLLECTION",LINKED_COLLECTION:"LINKED_COLLECTION",CUSTOM_FIELD:"CUSTOM_FIELD",STATUS_UPDATE:"STATUS_UPDATE"},$Db=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),T1b={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var U1b={SET_NEEDS_INFO:"SET_NEEDS_INFO",SET_CONFIRMED:"SET_CONFIRMED",CLOSE_ISSUE:"CLOSE_ISSUE",UNCONFIRM:"UNCONFIRM"},V1b={key:"SET_CONFIRMED",displayAs:"Move to confirm",isEligible:function(){return!0}},W1b=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)}},{key:"SET_CONFIRMED",displayAs:"Confirm",isEligible:function(){return!0}},{key:"CLOSE_ISSUE",displayAs:"Close",isEligible:function(){return!0}}]],
["CONFIRMED",[{key:"UNCONFIRM",displayAs:"Unconfirm",isEligible:function(){return!0}}]],["IN_PROGRESS",[V1b]],["FIXED",[V1b]],["WONT_FIX",[V1b]]]);for(var mYa=new Map([["NEW","new"],["CONFIRMED","confirmed"],["IN_PROGRESS","in-progress"],["FIXED","fixed"],["WONT_FIX","wont-fix"]]),X1b=new Map,Y1b=l(mYa.entries()),Z1b=Y1b.next();!Z1b.done;Z1b=Y1b.next()){var $1b=l(Z1b.value),a2b=$1b.next().value,b2b=$1b.next().value;X1b.set(b2b,a2b)}
var c2b=new Map([["NEW","New"],["CONFIRMED","Confirmed"],["IN_PROGRESS","In progress"],["FIXED","Fixed"],["WONT_FIX","Won't fix"]]),bA={},d2b=(bA.NEW="status:new modified:7d",bA.CONFIRMED="status:assigned modified:7d",bA.IN_PROGRESS="status:accepted modified:30d",bA.FIXED="status:fixed|verified modified:30d",bA.WONT_FIX="status:infeasible|not_reproducible|obsolete|duplicate modified:30d",bA);var e2b=new Set([10499228,209963]),f2b=new Set([1049953,209989]);var Qj=function(a){this.internalArray_=m(a)};V(Qj,X);Qj.prototype.getStatus=function(){return Kj(this,1,0)};Qj.prototype.setStatus=function(a){return uj(this,1,a)};Qj.prototype.getReason=function(){return Kj(this,2,0)};Qj.prototype.setReason=function(a){return uj(this,2,a)};var Hk=function(a){this.internalArray_=m(a)};V(Hk,X);var wk=function(a){this.internalArray_=m(a)};V(wk,X);g=wk.prototype;g.getStartTime=function(){return Gj(this,mj,1)};g.getObjective=function(){return Gj(this,oj,4)};g.setObjective=function(a){return Pj(this,oj,4,a)};g.getBusinessDays=function(){return Lj(this,5)};g.setBusinessDays=function(a){return kj(this,5,a)};g.getDayType=function(){return Kj(this,6,0)};g.setDayType=function(a){return uj(this,6,a)};var Am=function(a){this.internalArray_=m(a)};V(Am,X);var Cm=function(a){this.internalArray_=m(a)};V(Cm,X);Cm.prototype.getSourceIssueIdsList_asLegacyNumberOrString=function(){return il(this,1,Ai())};Cm.prototype.setSourceIssueIdsList=function(a){return Vl(this,1,a)};Cm.repeatedFields_=[1];var Kk=function(a){this.internalArray_=m(a)};V(Kk,X);var Fj=function(a){this.internalArray_=m(a)};V(Fj,X);Fj.prototype.getAccessLevel=function(){return Kj(this,1,0)};Fj.prototype.setAccessLevel=function(a){return uj(this,1,a)};var Eta=function(a){this.internalArray_=m(a)};V(Eta,X);var lta=function(a){this.internalArray_=m(a)};V(lta,X);lta.prototype.getSeverity=function(){return Kj(this,1,0)};lta.prototype.setSeverity=function(a){uj(this,1,a)};var g2b=function(a){this.internalArray_=m(a)};V(g2b,X);var Bm=function(a){this.internalArray_=m(a)};V(Bm,X);Bm.prototype.getRetentionPeriod=function(){return Gj(this,oj,1)};var Nj=function(a){this.internalArray_=m(a)};V(Nj,X);g=Nj.prototype;g.getAttachmentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setAttachmentId=function(a){return Ij(this,1,a)};g.getFilename=function(){return Zh(this,4)};g.setFilename=function(a){sj(this,4,a)};g.getEntityStatus=function(){return Gj(this,Qj,6)};g.setEntityStatus=function(a){return Pj(this,Qj,6,a)};g.getEtag=function(){return qo(this,7)};g.setEtag=function(a){Oj(this,7,a)};
g.getContentVerdict=function(){return Gj(this,g2b,10)};g.getRestrictedRetentionState=function(){return Gj(this,Bm,11)};g.getRestrictedRetention=function(){return Kj(this,12,0)};g.setRestrictedRetention=function(a){return uj(this,12,a)};var ek=function(a){this.internalArray_=m(a)};V(ek,X);ek.prototype.getValuesList=function(a){return Yj(this,jj,1,Ai(a))};ek.prototype.setValuesList=function(a){return Dk(this,1,a)};ek.prototype.setValues=function(a,b){pu(this,1,jj,a,b)};ek.repeatedFields_=[1];var dk=function(a){this.internalArray_=m(a)};V(dk,X);dk.prototype.getValuesList=function(a){return ATb(this,1,Ai(a))};dk.prototype.setValuesList=function(a){return hc(this,1,a,yca)};dk.prototype.getValues=function(a){var b=ATb(this,1,3,void 0,!0);ob(b,a);return b[a]};dk.prototype.setValues=function(a,b){mc(this,1,yca,a,b,ATb)};dk.repeatedFields_=[1];var ck=function(a){this.internalArray_=m(a)};V(ck,X);ck.prototype.getValuesList=function(a){return zi(this,1,Ai(a))};ck.prototype.setValuesList=function(a){return tj(this,1,a)};ck.prototype.getValues=function(a){return zu(this,1,a)};ck.prototype.setValues=function(a,b){mc(this,1,Jb,a,b,zi)};ck.repeatedFields_=[1];var Rj=function(a){this.internalArray_=m(a)};V(Rj,X);var fk=function(a){this.internalArray_=m(a)};V(fk,X);g=fk.prototype;g.getValueCase=function(){return xj(this,Zj)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getCustomFieldId_asString=function(){return xu(this,1)};g.setCustomFieldId=function(a){return Ij(this,1,a)};g.getDateValue=function(){return bk(this,jj,3,Zj)};g.getDisplayString=function(){return Zh(this,10)};fk.repeatedFields_=[11];var Zj=[2,3,4,5,6,7,8,9];var ik=function(a){this.internalArray_=m(a)};V(ik,X);g=ik.prototype;g.getCustomFieldId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getCustomFieldId_asString=function(){return xu(this,1)};g.setCustomFieldId=function(a){return Ij(this,1,a)};g.getComponentId=function(){return Jj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getComponentId_asString=function(){return xu(this,2)};g.setComponentId=function(a){return Ij(this,2,a)};
g.getType=function(){return Kj(this,3,0)};g.setType=function(a){return uj(this,3,a)};g.getName=function(){return Zh(this,5)};g.setName=function(a){return sj(this,5,a)};g.getDescription=function(){return Zh(this,6)};g.setDescription=function(a){return sj(this,6,a)};g.getEnumValues=function(a){return zu(this,8,a)};g.setFieldSignificance=function(a){return uj(this,9,a)};g.getShared=function(){return hk(this,11)};g.setShared=function(a){jk(this,11,a)};ik.repeatedFields_=[8];var Wj=function(a){this.internalArray_=m(a)};V(Wj,X);Wj.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Jj(this,zj(this,Vj,1))};Wj.prototype.getCustomFieldId_asString=function(){return xu(this,zj(this,Vj,1))};Wj.prototype.setCustomFieldId=function(a){return Xj(this,1,Vj,Hb(a))};Wj.prototype.hasCustomFieldId=function(){return tu(this,zj(this,Vj,1))!=null};var Vj=[1,2];var rj=function(a){this.internalArray_=m(a)};V(rj,X);rj.prototype.getEmailAddress=function(){return Zh(this,1)};rj.prototype.getUserGaiaStatus=function(){return Kj(this,3,0)};rj.repeatedFields_=[4];var vk=function(a){this.internalArray_=m(a)};V(vk,X);vk.prototype.getCount=function(){return Jj(this,2)};vk.prototype.setCount=function(a){Ij(this,2,a)};vk.prototype.getType=function(){return Kj(this,4,0)};vk.prototype.setType=function(a){return uj(this,4,a)};vk.repeatedFields_=[3];var nk=function(a){this.internalArray_=m(a)};V(nk,X);nk.repeatedFields_=[2];var tk=function(a){this.internalArray_=m(a)};V(tk,X);tk.prototype.getContent=function(){return Gj(this,Rj,1)};tk.prototype.setContent=function(a){return Pj(this,Rj,1,a)};tk.prototype.hasContent=function(){return Ak(this,Rj,1)};var sk=function(a){this.internalArray_=m(a)};V(sk,X);sk.prototype.getContent=function(){return Gj(this,Rj,1)};sk.prototype.setContent=function(a){return Pj(this,Rj,1,a)};sk.prototype.hasContent=function(){return Ak(this,Rj,1)};var rk=function(a){this.internalArray_=m(a)};V(rk,X);rk.prototype.getContent=function(){return Gj(this,Rj,2)};rk.prototype.setContent=function(a){return Pj(this,Rj,2,a)};rk.prototype.hasContent=function(){return Ak(this,Rj,2)};var pk=function(a){this.internalArray_=m(a)};V(pk,X);pk.repeatedFields_=[1];var Bk=function(a){this.internalArray_=m(a)};V(Bk,X);Bk.prototype.getKindCase=function(){return xj(this,qk)};var qk=[1,2,3];var cA=function(a){this.internalArray_=m(a)};V(cA,X);cA.prototype.getState=function(){return Kj(this,2,0)};cA.prototype.setState=function(a){return uj(this,2,a)};cA.repeatedFields_=[3];var qm=function(a){this.internalArray_=m(a)};V(qm,X);g=qm.prototype;g.getIssueId=function(){return Jj(this,6)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,6)};g.getIssueId_asString=function(){return xu(this,6)};g.setIssueId=function(a){return Ij(this,6,a)};g.getCommentNumber=function(){return Lj(this,7)};g.setCommentNumber=function(a){return kj(this,7,a)};g.getComment=function(){return Zh(this,1)};g.setComment=function(a){return sj(this,1,a)};
g.getFormattedComment=function(){return Gj(this,Bk,16)};g.hasFormattedComment=function(){return Ak(this,Bk,16)};g.getMentionsList=function(a){return Yj(this,cA,14,Ai(a))};g.getFormattingMode=function(){return Kj(this,9,0)};g.setFormattingMode=function(a){return uj(this,9,a)};g.getAttachmentsList=function(){return Yj(this,Nj,2,Ai())};g.setAttachmentsList=function(a){return Dk(this,2,a)};g.addAllAttachments=function(a){su(this,2,Nj,a)};g.getModifiedTime=function(){return Gj(this,mj,4)};
g.setModifiedTime=function(a){return Pj(this,mj,4,a)};g.getEntityStatus=function(){return Gj(this,Qj,5)};g.setEntityStatus=function(a){return Pj(this,Qj,5,a)};g.getVersion=function(){return Lj(this,8)};g.setVersion=function(a){return kj(this,8,a)};g.getContentVerdict=function(){return Gj(this,g2b,10)};g.getRestrictedRetentionState=function(){return Gj(this,Bm,11)};g.getRestrictedRetention=function(){return Kj(this,12,0)};g.setRestrictedRetention=function(a){return uj(this,12,a)};
g.getEtag=function(){return qo(this,15)};g.setEtag=function(a){Oj(this,15,a)};qm.repeatedFields_=[14,2];var Jk=function(a){this.internalArray_=m(a)};V(Jk,X);Jk.prototype.getChangeNumber_asLegacyNumberOrString=function(){return Jj(this,3)};Jk.prototype.setChangeNumber=function(a){return Ij(this,3,a)};Jk.prototype.getState=function(){return Kj(this,4,0)};Jk.prototype.setState=function(a){return uj(this,4,a)};var Ej=function(a){this.internalArray_=m(a)};V(Ej,X);Ej.prototype.getAccessLevel=function(){return Kj(this,1,0)};Ej.prototype.setAccessLevel=function(a){return uj(this,1,a)};var Gk=function(a){this.internalArray_=m(a)};V(Gk,X);g=Gk.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Ij(this,1,a)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return uj(this,2,a)};g.getStatus=function(){return Kj(this,3,0)};g.setStatus=function(a){return uj(this,3,a)};
g.getPriority=function(){return Kj(this,4,0)};g.setPriority=function(a){return uj(this,4,a)};g.getSeverity=function(){return Kj(this,5,0)};g.setSeverity=function(a){uj(this,5,a)};g.getTitle=function(){return Zh(this,6)};g.setTitle=function(a){return sj(this,6,a)};g.getReporter=function(){return Gj(this,rj,7)};g.setReporter=function(a){Pj(this,rj,7,a)};g.getAssignee=function(){return Gj(this,rj,8)};g.setAssignee=function(a){Pj(this,rj,8,a)};g.clearAssignee=function(){return ro(this,8)};
g.getVerifier=function(){return Gj(this,rj,9)};g.setVerifier=function(a){Pj(this,rj,9,a)};g.clearVerifier=function(){return ro(this,9)};g.getCcsList=function(){return Yj(this,rj,10,Ai())};g.setCcsList=function(a){Dk(this,10,a)};g.addAllCcs=function(a){su(this,10,rj,a)};g.getCollaboratorsList=function(){return Yj(this,rj,31,Ai())};g.setCollaboratorsList=function(a){Dk(this,31,a)};g.addAllCollaborators=function(a){su(this,31,rj,a)};g.setCollaborators=function(a){pu(this,31,rj,a)};
g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Jj(this,11)};g.setCanonicalIssueId=function(a){Ij(this,11,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return il(this,12,Ai())};g.setBlockedByIssueIdsList=function(a){Vl(this,12,a)};g.addAllBlockedByIssueIds=function(a){kc(this,12,Gb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return il(this,13,Ai())};g.setBlockingIssueIdsList=function(a){Vl(this,13,a)};
g.addAllBlockingIssueIds=function(a){kc(this,13,Gb,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return il(this,14,Ai(a))};g.setHotlistIdsList=function(a){Vl(this,14,a)};g.addHotlistIds=function(a,b){return lc(this,14,Gb,a,b)};g.addAllHotlistIds=function(a){kc(this,14,Gb,a)};g.getCustomFieldsList=function(){return Yj(this,fk,15,Ai())};g.setCustomFieldsList=function(a){return Dk(this,15,a)};g.addCustomFields=function(a){gr(this,15,fk,a)};
g.getCodeChangesList=function(a){return zi(this,16,Ai(a))};g.setCodeChangesList=function(a){tj(this,16,a)};g.addAllCodeChanges=function(a){kc(this,16,Jb,a)};g.getGerritChangesList=function(){return Yj(this,Jk,35,Ai())};g.setGerritChangesList=function(a){Dk(this,35,a)};g.addAllGerritChanges=function(a){su(this,35,Jk,a)};g.getInProd=function(){return hk(this,20)};g.setInProd=function(a){jk(this,20,a)};g.getIsArchived=function(){return hk(this,21)};g.setIsArchived=function(a){return jk(this,21,a)};
g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return il(this,22,Ai())};g.setDuplicateIssueIdsList=function(a){Vl(this,22,a)};g.getIsDeleted=function(){return hk(this,23)};g.setIsDeleted=function(a){jk(this,23,a)};g.setDeletionReason=function(a){uj(this,24,a)};g.getEntityStatus=function(){return Gj(this,Qj,25)};g.setEntityStatus=function(a){return Pj(this,Qj,25,a)};g.getSloSnoozeUntil=function(){return Gj(this,mj,26)};g.setSloSnoozeUntil=function(a){Pj(this,mj,26,a)};
g.getSloEndTime=function(){return Gj(this,mj,34)};g.setSloEndTime=function(a){Pj(this,mj,34,a)};g.hasSloEndTime=function(){return Ak(this,mj,34)};g.setSloSnoozeType=function(a){uj(this,30,a)};g.getRetention=function(){return Kj(this,28,0)};g.setRetention=function(a){return uj(this,28,a)};g.getEffort=function(){return Gj(this,Hk,29)};g.setEffort=function(a){Pj(this,Hk,29,a)};g.hasEffort=function(){return Ak(this,Hk,29)};g.getAccessLimit=function(){return Gj(this,Ej,32)};
g.setAccessLimit=function(a){return Pj(this,Ej,32,a)};Gk.repeatedFields_=[10,31,12,13,14,15,16,35,17,18,19,22,27];var zm=function(a){this.internalArray_=m(a)};V(zm,X);zm.prototype.setNotificationSubscription=function(a){return uj(this,4,a)};zm.repeatedFields_=[3];var Rua=function(a){this.internalArray_=m(a)};V(Rua,X);var Qua=function(a){this.internalArray_=m(a)};V(Qua,X);g=Qua.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Tl(this,1,a)};g.getCommentNumber=function(){return Lj(this,2)};g.setCommentNumber=function(a){return Ml(this,2,a)};var Uua=function(a){this.internalArray_=m(a)};V(Uua,X);var Pua=[1,2];var Ck=function(a){this.internalArray_=m(a)};V(Ck,X);g=Ck.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getFormattingMode=function(){return Kj(this,4,0)};g.setFormattingMode=function(a){return uj(this,4,a)};g.getAuthor=function(){return Gj(this,rj,5)};g.setAuthor=function(a){Pj(this,rj,5,a)};
g.hasAuthor=function(){return Ak(this,rj,5)};g.getUpdateTime=function(){return Gj(this,mj,6)};g.setUpdateTime=function(a){Pj(this,mj,6,a)};g.hasUpdateTime=function(){return Ak(this,mj,6)};g.getVersion=function(){return Lj(this,7)};g.setVersion=function(a){return kj(this,7,a)};g.getEntityStatus=function(){return Gj(this,Qj,8)};g.setEntityStatus=function(a){return Pj(this,Qj,8,a)};var ym=function(a){this.internalArray_=m(a)};V(ym,X);g=ym.prototype;g.getIssueId=function(){return Jj(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getIssueId_asString=function(){return xu(this,2)};g.setIssueId=function(a){return Ij(this,2,a)};g.getIssueState=function(){return Gj(this,Gk,3)};g.setIssueState=function(a){return Pj(this,Gk,3,a)};g.getIssueComment=function(){return Gj(this,qm,4)};g.setIssueComment=function(a){Pj(this,qm,4,a)};
g.hasIssueComment=function(){return Ak(this,qm,4)};g.getAttachmentsList=function(){return Yj(this,Nj,18,Ai())};g.setAttachmentsList=function(a){return Dk(this,18,a)};g.addAllAttachments=function(a){su(this,18,Nj,a)};g.getDescription=function(){return Gj(this,qm,44)};g.setDescription=function(a){return Pj(this,qm,44,a)};g.hasDescription=function(){return Ak(this,qm,44)};g.getStatusUpdate=function(){return Gj(this,Ck,43)};g.setStatusUpdate=function(a){Pj(this,Ck,43,a)};
g.hasStatusUpdate=function(){return Ak(this,Ck,43)};g.getCreatedTime=function(){return Gj(this,mj,5)};g.setCreatedTime=function(a){return Pj(this,mj,5,a)};g.getModifiedTime=function(){return Gj(this,mj,6)};g.setModifiedTime=function(a){return Pj(this,mj,6,a)};g.getMajorModifiedTime=function(){return Gj(this,mj,35)};g.setMajorModifiedTime=function(a){return Pj(this,mj,35,a)};g.getResolvedTime=function(){return Gj(this,mj,7)};g.setResolvedTime=function(a){return Pj(this,mj,7,a)};
g.getVerifiedTime=function(){return Gj(this,mj,8)};g.setVerifiedTime=function(a){return Pj(this,mj,8,a)};g.getUserData=function(){return Gj(this,zm,9)};g.setUserData=function(a){Pj(this,zm,9,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return il(this,37,Ai())};g.setParentIssueIdsList=function(a){return Vl(this,37,a)};g.getAccessLimit=function(){return Gj(this,Fj,11)};g.setAccessLimit=function(a){return Pj(this,Fj,11,a)};g.getVersion=function(){return Lj(this,12)};
g.setVersion=function(a){return kj(this,12,a)};g.getEtag=function(){return qo(this,13)};g.setEtag=function(a){Oj(this,13,a)};g.getCustomFieldsList=function(){return Yj(this,ik,15,Ai())};g.setCustomFieldsList=function(a){return Dk(this,15,a)};g.addCustomFields=function(a){gr(this,15,ik,a)};g.getSloStatus=function(){return Gj(this,Am,16)};g.setSloStatus=function(a){Pj(this,Am,16,a)};g.hasSloStatus=function(){return Ak(this,Am,16)};g.getSloId_asLegacyNumberOrString=function(){return Jj(this,17)};
g.setSloId=function(a){return Ij(this,17,a)};g.getTeamId_asLegacyNumberOrString=function(){return Jj(this,33)};g.setTeamId=function(a){return Ij(this,33,a)};g.getRetentionState=function(){return Gj(this,Bm,29)};g.setRetentionState=function(a){Pj(this,Bm,29,a)};g.getAncestorsMap=function(){return gc(this,38,Cm,Wca)};g.getIsArchived=function(){return hk(this,40)};g.setIsArchived=function(a){return jk(this,40,a)};g.getTrackerId=function(){return Jj(this,42)};
g.getTrackerId_asLegacyNumberOrString=function(){return Jj(this,42)};g.getTrackerId_asString=function(){return xu(this,42)};g.setTrackerId=function(a){Ij(this,42,a)};ym.repeatedFields_=[18,37,31,15,34,41];var Sya=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"]]),Um=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,""]]),dA=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,""]]);var eA={},h2b=(eA.STATUS_UNSPECIFIED=dA.get(0),eA.NEW=dA.get(1),eA.ASSIGNED=dA.get(2),eA.ACCEPTED=dA.get(3),eA.FIXED=dA.get(4),eA.VERIFIED=dA.get(5),eA.DUPLICATE=dA.get(10),eA.INFEASIBLE=dA.get(9),eA.NOT_REPRODUCIBLE=dA.get(6),eA.OBSOLETE=dA.get(8),eA.INTENDED_BEHAVIOR=dA.get(7),eA),i2b={New:1,Assigned:2,"In Progress (Accepted)":3,Fixed:4,Verified:5},fA={},Hsa=(fA.STATUS_UNSPECIFIED=0,fA.NEW=10,fA.ASSIGNED=20,fA.ACCEPTED=30,fA.FIXED=40,fA.VERIFIED=50,fA.DUPLICATE=60,fA.INFEASIBLE=70,fA.NOT_REPRODUCIBLE=
80,fA.OBSOLETE=90,fA.INTENDED_BEHAVIOR=100,fA),gA={},j2b=(gA.ASSIGNED=!0,gA.ACCEPTED=!0,gA.FIXED=!0,gA.VERIFIED=!0,gA.DUPLICATE=!0,gA.INFEASIBLE=!0,gA.NOT_REPRODUCIBLE=!0,gA.OBSOLETE=!0,gA.INTENDED_BEHAVIOR=!0,gA),hA={},ti=(hA.STATUS_UNSPECIFIED=Um.get(0),hA.NEW=Um.get(1),hA.ASSIGNED=Um.get(2),hA.ACCEPTED=Um.get(3),hA.FIXED=Um.get(4),hA.VERIFIED=Um.get(5),hA.DUPLICATE=Um.get(10),hA.INFEASIBLE=Um.get(9),hA.NOT_REPRODUCIBLE=Um.get(6),hA.OBSOLETE=Um.get(8),hA.INTENDED_BEHAVIOR=Um.get(7),hA),iA={},k2b=
(iA.P0="P0",iA.P1="P1",iA.P2="P2",iA.P3="P3",iA.P4="P4",iA.PRIORITY_UNSPECIFIED="--",iA),jA={},Psa=(jA.P0=0,jA.P1=10,jA.P2=20,jA.P3=30,jA.P4=40,jA.PRIORITY_UNSPECIFIED=99,jA),kA={},l2b=(kA.S0="S0",kA.S1="S1",kA.S2="S2",kA.S3="S3",kA.S4="S4",kA.SEVERITY_UNSPECIFIED="--",kA),lA={},m2b=(lA.STATUS_UNSPECIFIED="issue-status-wont-fix",lA.NEW="issue-status-new",lA.ASSIGNED="issue-status-assigned",lA.ACCEPTED="issue-status-accepted",lA.FIXED="issue-status-fixed",lA.VERIFIED="issue-status-verified",lA.DUPLICATE=
"issue-status-duplicate",lA.INFEASIBLE="issue-status-wont-fix",lA.NOT_REPRODUCIBLE="issue-status-wont-fix",lA.OBSOLETE="issue-status-wont-fix",lA.INTENDED_BEHAVIOR="issue-status-wont-fix",lA);var mA={},$i=(mA.NEW=ui("NEW",!0,"FORBIDDEN",10),mA.ASSIGNED=ui("ASSIGNED",!0,"REQUIRED",20),mA.ACCEPTED=ui("ACCEPTED",!0,"REQUIRED",30),mA.FIXED=ui("FIXED",!1,"REQUIRED",40),mA.VERIFIED=ui("VERIFIED",!1,"REQUIRED",50),mA.DUPLICATE=ui("DUPLICATE",!1,"ALLOWED",60),mA.INFEASIBLE=ui("INFEASIBLE",!1,"ALLOWED",70),mA.NOT_REPRODUCIBLE=ui("NOT_REPRODUCIBLE",!1,"ALLOWED",80),mA.OBSOLETE=ui("OBSOLETE",!1,"ALLOWED",90),mA.INTENDED_BEHAVIOR=ui("INTENDED_BEHAVIOR",!1,"ALLOWED",100),mA),n2b=[$i.NEW,$i.ASSIGNED,
$i.ACCEPTED,$i.FIXED,$i.VERIFIED,$i.NOT_REPRODUCIBLE,$i.INTENDED_BEHAVIOR,$i.OBSOLETE,$i.INFEASIBLE,$i.DUPLICATE],o2b=n2b.map(function(a){return{value:a.status,displayText:a.displayValue}}),p2b=new Set(Object.values(qc($i,function(a){return a.assigneeRequirement==="REQUIRED"})));var Ira=new RegExp(/^(?:https?:\/\/)?([\w-]+)-review\./.source+/(?:googlesource|git\.corp\.google)\.com/.source+/\/c\/([\w-\/]+)\/\+\/(\d{1,20})/.source+/(?:[^\d].*)?$/.source);var Nra=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var Xra=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$","i"),Wra=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"),asa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var bsa=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var usa=new WeakMap;var Vsa=new WeakMap,Xsa=new WeakMap;var sm=function(a){this.internalArray_=m(a)};V(sm,X);g=sm.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getIssueAccessLimit=function(){return Gj(this,Ej,2)};g.setIssueAccessLimit=function(a){Pj(this,Ej,2,a)};g.setAddedCollaboratorsList=function(a){Dk(this,3,a)};g.setRemovedCollaboratorsList=function(a){Dk(this,4,a)};
sm.repeatedFields_=[3,4];var Bj=function(a){this.internalArray_=m(a)};V(Bj,X);g=Bj.prototype;g.getUser=function(){return bk(this,rj,1,yj)};g.setUser=function(a){return gk(this,1,yj,a)};g.hasUser=function(){return ok(this,rj,1,yj)};g.getGroup=function(){return bk(this,rj,2,yj)};g.setGroup=function(a){gk(this,2,yj,a)};var yj=[1,2,3];var nA=function(a){this.internalArray_=m(a)};V(nA,X);g=nA.prototype;g.getAppendersList=function(){return Yj(this,Bj,6,Ai())};g.setAppendersList=function(a){return Dk(this,6,a)};g.getReadersList=function(){return Yj(this,Bj,8,Ai())};g.setReadersList=function(a){return Dk(this,8,a)};g.setImplicitAccess=function(a){return uj(this,10,a)};nA.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];var oA=function(a){this.internalArray_=m(a)};V(oA,X);g=oA.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getIssueAccessLimit=function(){return Gj(this,Ej,2)};g.setIssueAccessLimit=function(a){Pj(this,Ej,2,a)};g.setAddedCollaboratorsList=function(a){Dk(this,3,a)};g.setRemovedCollaboratorsList=function(a){Dk(this,4,a)};
oA.repeatedFields_=[3,4];var Hj=function(a){this.internalArray_=m(a)};V(Hj,X);Hj.prototype.getRestrictionSeverity=function(){return Kj(this,3,0)};var Mj=function(a){this.internalArray_=m(a)};V(Mj,X);var mk=function(a){this.internalArray_=m(a)};V(mk,X);mk.prototype.getLabel=function(){return Zh(this,1)};mk.prototype.setLabel=function(a){return sj(this,1,a)};mk.prototype.getValue=function(){return ak(this,2)};mk.prototype.setValue=function(a){return Ik(this,2,a)};var lk=function(a){this.internalArray_=m(a)};V(lk,X);var aua=function(a,b){return Dk(a,1,b)};lk.prototype.setOptions=function(a){pu(this,1,mk,a)};lk.repeatedFields_=[1];var Zta=function(a){this.internalArray_=m(a)};V(Zta,X);var Yta=function(a,b){return Ik(a,1,b)};var kk=function(a){this.internalArray_=m(a)};V(kk,X);g=kk.prototype;g.getInherit=function(){return hk(this,1)};g.setInherit=function(a){return jk(this,1,a)};g.getId=function(){return Jj(this,2)};g.getId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getId_asString=function(){return xu(this,2)};g.setId=function(a){return Ij(this,2,a)};g.getName=function(){return Zh(this,3)};g.setName=function(a){return sj(this,3,a)};var Xta=function(a,b){gk(a,4,kl,b)},$ta=function(a,b){gk(a,5,kl,b)};
kk.prototype.getCustomFieldId_asLegacyNumberOrString=function(){return Jj(this,100)};kk.prototype.getCustomFieldId_asString=function(){return xu(this,100)};kk.prototype.setCustomFieldId=function(a){return Ij(this,100,a)};var kl=[4,5];var xk=function(a){this.internalArray_=m(a)};V(xk,X);g=xk.prototype;g.getInherit=function(){return hk(this,1)};g.setInherit=function(a){return jk(this,1,a)};g.getSource=function(){return Kj(this,2,0)};g.setSource=function(a){return uj(this,2,a)};g.getId=function(){return Jj(this,3)};g.getId_asLegacyNumberOrString=function(){return Jj(this,3)};g.getId_asString=function(){return xu(this,3)};g.setId=function(a){return Ij(this,3,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return Jj(this,5)};
g.setSourceTeamId=function(a){return Ij(this,5,a)};g.getComment=function(){return Zh(this,4)};g.setComment=function(a){return sj(this,4,a)};var zk=function(a){this.internalArray_=m(a)};V(zk,X);g=zk.prototype;g.getMetric=function(){return Kj(this,1,0)};g.getMatcher=function(){return Zh(this,2)};g.setMatcher=function(a){return sj(this,2,a)};g.getDayType=function(){return Kj(this,4,0)};g.setDayType=function(a){return uj(this,4,a)};g.getObjective=function(){return Gj(this,oj,3)};g.setObjective=function(a){return Pj(this,oj,3,a)};g.getBusinessDays=function(){return Lj(this,5)};g.setBusinessDays=function(a){return kj(this,5,a)};var fo=function(a){this.internalArray_=m(a)};V(fo,X);g=fo.prototype;g.getSloId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setSloId=function(a){return Ij(this,1,a)};g.getParentId=function(){return Jj(this,2)};g.setParentId=function(a){return Ij(this,2,a)};g.getName=function(){return Zh(this,3)};g.setName=function(a){return sj(this,3,a)};g.getDescription=function(){return Zh(this,4)};g.setDescription=function(a){return sj(this,4,a)};g.addRules=function(a,b){return gr(this,5,zk,a,b)};
g.getIsArchived=function(){return hk(this,7)};g.setIsArchived=function(a){return jk(this,7,a)};fo.repeatedFields_=[5,6];var Gm=function(a){this.internalArray_=m(a)};V(Gm,X);Gm.prototype.getTemplateId_asLegacyNumberOrString=function(){return Jj(this,2)};Gm.prototype.setTemplateId=function(a){return Ij(this,2,a)};var Fm=function(a){this.internalArray_=m(a)};V(Fm,X);g=Fm.prototype;g.getIssue=function(){return Gj(this,ym,1)};g.setIssue=function(a){return Pj(this,ym,1,a)};g.setSignificanceOverride=function(a){return uj(this,4,a)};g.getContentJudgement=function(){return Gj(this,Hj,5)};g.setContentJudgement=function(a){return Pj(this,Hj,5,a)};var pA=function(){},qA=function(){};var rA=function(a){this.internalArray_=m(a)};V(rA,X);g=rA.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setPageSize=function(a){return kj(this,2,a)};g.setPageToken=function(a){return sj(this,3,a)};var sA=function(a){this.internalArray_=m(a,0,sA.messageId)};V(sA,X);sA.prototype.getIt=function(){return Gj(this,rA,4)};sA.prototype.setIt=function(a){return Pj(this,rA,4,a)};sA.messageId="b.AggregateIssueDescendantsRequest";var q2b=function(a){this.internalArray_=m(a)};V(q2b,X);g=q2b.prototype;g.getPriority=function(){return Kj(this,1,0)};g.setPriority=function(a){return uj(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return il(this,2,Ai())};g.getIssueIdsList_asString=function(){return $k(this,2)};g.setIssueIdsList=function(a){return Vl(this,2,a)};q2b.repeatedFields_=[2];var r2b=function(a){this.internalArray_=m(a)};V(r2b,X);g=r2b.prototype;g.getStatus=function(){return Kj(this,1,0)};g.setStatus=function(a){return uj(this,1,a)};g.getIssueIdsList_asLegacyNumberOrString=function(){return il(this,2,Ai())};g.getIssueIdsList_asString=function(){return $k(this,2)};g.setIssueIdsList=function(a){return Vl(this,2,a)};r2b.repeatedFields_=[2];var s2b=function(a){this.internalArray_=m(a)};V(s2b,X);g=s2b.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return il(this,3,Ai())};g.getIssueIdsList_asString=function(){return $k(this,3)};g.setIssueIdsList=function(a){return Vl(this,3,a)};g.getCollaboratorsList=function(){return Yj(this,rj,8,Ai())};g.setCollaboratorsList=function(a){Dk(this,8,a)};g.addAllCollaborators=function(a){su(this,8,rj,a)};g.setCollaborators=function(a){pu(this,8,rj,a)};
g.getCodeChangesList=function(a){return zi(this,9,Ai(a))};g.setCodeChangesList=function(a){tj(this,9,a)};g.addAllCodeChanges=function(a){kc(this,9,Jb,a)};g.getGerritChangesList=function(){return Yj(this,Jk,13,Ai())};g.setGerritChangesList=function(a){Dk(this,13,a)};g.addAllGerritChanges=function(a){su(this,13,Jk,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return il(this,10,Ai())};g.setBlockedByIssueIdsList=function(a){Vl(this,10,a)};
g.addAllBlockedByIssueIds=function(a){kc(this,10,Gb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return il(this,11,Ai())};g.setBlockingIssueIdsList=function(a){Vl(this,11,a)};g.addAllBlockingIssueIds=function(a){kc(this,11,Gb,a)};s2b.repeatedFields_=[3,4,12,5,6,7,8,9,13,10,11];var t2b=function(a){this.internalArray_=m(a)};V(t2b,X);t2b.prototype.getNextPageToken=function(){return Zh(this,4)};var tA=function(a){this.internalArray_=m(a,0,tA.messageId)};V(tA,X);tA.prototype.getIt=function(){return Gj(this,t2b,3)};tA.prototype.setIt=function(a){return Pj(this,t2b,3,a)};tA.messageId="b.AggregateIssueDescendantsResponse";var uA=function(a){this.executor=a};
uA.prototype.get=function(a){var b=(new sA).setIt((new rA).setIssueId(a));return this.executor.post({url:"action/issues/aggregateIssueDescendants",body:b,responseConstructor:tA}).pipe(z(function(c){var d=Lj(c.getIt(),2),e=Lj(c.getIt(),3),f=Gj(c.getIt(),s2b,1);if(f){var h,k,q,t,w,y,D,G,I,N;c={_rootId:a,issueIds:f.getIssueIdsList_asLegacyNumberOrString().map(Ei).filter(Gi),aggregatedStatus:(w=Yj(f,r2b,4,Ai()).map(Vua).filter(Gi))!=null?w:[],aggregatedPriority:(y=Yj(f,q2b,12,Ai()).map(Wua).filter(Gi))!=
null?y:[],reporters:(D=(h=Yj(f,rj,5,Ai()))==null?void 0:h.map(wj))!=null?D:[],assignees:(G=(k=Yj(f,rj,6,Ai()))==null?void 0:k.map(wj))!=null?G:[],verifiers:(I=(q=Yj(f,rj,7,Ai()))==null?void 0:q.map(wj))!=null?I:[],collaborators:(N=(t=f.getCollaboratorsList())==null?void 0:t.map(wj))!=null?N:[],changelists:f.getCodeChangesList(Bi),gerritChanges:f.getGerritChangesList().map(Cua),blockedByIssueIds:f.getBlockedByIssueIdsList_asLegacyNumberOrString().map(Ei).filter(Gi),blockingIssueIds:f.getBlockingIssueIdsList_asLegacyNumberOrString().map(Ei).filter(Gi),
descendantCount:d,openDescendantCount:e}}else c=void 0;return c}))};uA.\u0275fac=function(a){return new (a||uA)(n(pA))};uA.\u0275prov=Fc({token:uA,factory:uA.\u0275fac,providedIn:"root"});var vA=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};vA.prototype.isFresh=function(){return Date.now()-this.lastValidated<this.cfg.freshUntil};vA.prototype.isAncient=function(){return Date.now()-this.lastValidated>this.cfg.ancientAfter};vA.prototype.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};vA.prototype.toString=function(){var a=String(this.data);return Math.ceil((Date.now()-this.lastValidated)/1E3)+"s old -- "+a};
var u2b=function(a){this.cfg=a;this.cache=new Map},v2b=function(a,b){a=wA(a,b);return a==null?Infinity:a},wA=function(a,b){var c;return(c=a.get(b,!0))==null?void 0:Date.now()-c.lastValidated};u2b.prototype.isFresh=function(a){return v2b(this,a)<this.cfg.freshUntil};var w2b=function(a,b){return v2b(a,b)<=a.cfg.ancientAfter};g=u2b.prototype;g.isAncient=function(){var a=wA(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 vA(b,this.cfg))};g.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new vA(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=l(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 xA={trustMemory:!0},x2b=function(){},hra=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],y2b=function(a){this.ids=[];Object.assign(this,a)};V(y2b,x2b);y2b.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var z2b={freshUntil:1E4,ancientAfter:792E5},zA=function(a){var b=this;a=a===void 0?{}:a;this.error$=new yf;this.watchOneError=function(c){if(c==null)return pe();typeof c==="number"&&(c=String(c));return b.error$.pipe(He(function(d){return d.idOrKey===c}))};this.memoryWasSet$=new yf;this.collectiveMemoryWasSet$=new yf;this.normalizeQueryResponses=!0;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("Tb`"+b.idKey+"`"+c);throw Error("Ub`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new rn(Object.freeze({}));this.inFlightSaves$=new rn(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(z(Yua));this.saving$=this.inFlightSaves$.pipe(z(Yua));this.thinking$=we(this.getting$,this.saving$).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),sf());this.gotOne=function(c){return function(d,
e){e=e===void 0?{}:e;e=e.doNotTrack?Xua:yA({label:c,value:wA(b.memory,c)},b.recordType);if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,d);var f=b.valsById.get(c);b.memoryWasSet$.next();e("one-isChanged");f?f.next(d):A2b&&gj(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=l(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=b.idForRecord(f);b.gotOne(h)(f,{doNotTrack:!0})}(e=B2b(b,c))?e.next(d):
ij("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=yA({label:c,value:wA(b.collectiveMemory,c)},b.recordType);if(b.normalizeQueryResponses)for(var f=l(d.results),h=f.next();!h.done;h=f.next()){h=h.value;var k=b.idForRecord(h);b.gotOne(k)(h,{doNotTrack:!0})}f=b.normalize(d);b.collectiveMemory.validate(c,f,gra);b.collectiveMemory.set(c,f);b.collectiveMemoryWasSet$.next();e("all-isChanged");(e=b.collectionsById.get(c))?(d=C2b(b,f,d.results),e.next(d)):$sa(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&&ij("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=l(c);c=d.next().value;d=d.next().value;return c+
": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves()).map(function(c){var d=l(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?Yua(b.inFlightSaves()):!!b.inFlightSaves()[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(z(function(d){return!!d[c]}),sf())};this.isGetting=function(c){return c==null?Yua(b.inFlightGets()):!!b.inFlightGets()[c]};this.watchOne=this.watch=function(c,d){d=d===void 0?xA:d;typeof d==="number"&&(d=xA);if(c==null)return pe();typeof c==="number"&&(c=String(c));var e=D2b(b,c);E2b(b,c,d).catch(function(){});return Ir(e)};this.watchSet=function(c,d){d=d===void 0?xA:d;
typeof d==="number"&&(d=xA);if(c.length===0)return pe([]);c=c.map(function(f){return typeof f==="number"?String(f):f});var e=B2b(b,c);F2b(b,c,d);return e};this.watchMany=function(c){var d=d===void 0?xA:d;c=Object.assign({},b.defaultQuery,c);var e=G2b(b,c);b.getAll(c,d);return Ir(e)};this.save=function(c){var d=b.idForRecord(c);if(d==null)throw Error("Vb");c=b.doSave(c).pipe(rf(0,jo),gka(),ve());b.setIsSaving(d);b.subscriptions.add(c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),H2b(d,b.inFlightSaves$)));
return c};this.setIsSaving=function(c){var d={};Zua(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){$ua(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};Zua(b.inFlightGets$,(d[c]=!0,d))};this.peek=function(c){if(c!=null)return b.memory.getData(String(c),!0)};this.peekAllRecords=function(){return Array.from(b.memory.cache.entries()).map(function(c){c=l(c);c.next();return c.next().value.data}).filter(Gi)};this.poke=function(c,d){return c==null?gva():E2b(b,String(c),d)};this.pokeMany=
function(c){return c==null?Promise.resolve({results:[]}):b.getAll(Object.assign({},b.defaultQuery,c),void 0)};this.announce=function(c,d){d=d===void 0?{}:d;if(c!=null){var e=b.idForRecord(c);if(e==null)throw Error("Wb");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.subscriptions=new Yd;this.memory=new u2b(Object.assign({},z2b,a));this.collectiveMemory=new u2b(Object.assign({},z2b,a))};g=zA.prototype;g.fetchOne=function(){throw Error("Xb");};g.fetchAll=function(){throw Error("Yb");};
g.fetchSet=function(){throw Error("Zb");};g.doSave=function(){throw Error("$b");};g.copy=function(){throw Error("ac");};g.isEqual=function(a,b){return gra(a,b,100)};g.inFlightGets=function(){return this.inFlightGets$.getValue()};g.inFlightSaves=function(){return this.inFlightSaves$.getValue()};
var E2b=function(a,b,c){c=c===void 0?{}:c;var d=c.trustMemory;var e=c.trustUncertainMemory;c=yA({label:b,value:wA(a.memory,b)},a.recordType);d=d&&a.memory.isFresh(b);e=e&&w2b(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),fva(c);if(a.inFlightGets()[b])return c("one-inFlight"),c=D2b(a,b),eva(c).then(fva);c("one-fetch");try{var f=a.fetchOne(b).pipe(rf(0,jo))}catch(h){f=qe(function(){return h})}a.setIsGetting(b);return new Promise(function(h,k){a.subscriptions.add(f.subscribe(function(q){a.gotOne(b)(q);
h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);k(q)},H2b(b,a.inFlightGets$)))})},F2b=function(a,b,c){c=(c===void 0?{}:c).trustMemory;var d="["+[].concat(r(b)).sort().join("-")+"]",e=yA({label:d},a.recordType);if(c&&I2b(a,b))J2b(a,b),e("set-trustMemory");else if(a.inFlightGets()[d])e("set-inFlight");else if(b.every(function(k){return a.inFlightGets()[k]}))Promise.all(b.map(function(k){return eva(D2b(a,k))})).then(function(k){return k.filter(Gi)}).then(a.gotSet(b));else{e("set-fetch");try{var f=a.fetchSet(b).pipe(rf(0,
jo))}catch(k){f=qe(function(){return k})}c={};c=(c[d]=!0,c);e=l(b);for(var h=e.next();!h.done;h=e.next())c[h.value]=!0;Zua(a.inFlightGets$,c);a.subscriptions.add(f.subscribe(a.gotSet(b),function(k){ava(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(k)},function(){ava(a.inFlightGets$,[d].concat(r(b)))}))}},I2b=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},J2b=function(a,b){var c=K2b(a,b).filter(Gi);B2b(a,b).next(c)};
zA.prototype.getAll=function(a,b){b=(b===void 0?{}:b).trustMemory;var c=bva(a),d=yA({label:c,value:wA(this.collectiveMemory,c)},this.recordType);if(b&&this.normalizeQueryResponses&&this.collectiveMemory.isFresh(c)){d("all-trustMemory");a=this.collectiveMemory.getData(c);var e=L2b(this,a);e.results.length!==a.ids.length&&ij("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=G2b(this,a),eva(a);d("all-fetch");try{e=this.fetchAll(a).pipe(rf(0,jo))}catch(f){e=qe(function(){return f})}this.setIsGetting(c);this.subscriptions.add(e.subscribe(this.gotAll(c),this.gotErr(c,this.inFlightGets$),H2b(c,this.inFlightGets$)));a=G2b(this,a);return eva(a)};zA.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);ata(a+" gotErr()",d);$ua(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var H2b=function(a,b){return function(){$ua(b,a)}};
zA.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new y2b(Object.assign({},dva(a),{ids:b}))};
var C2b=function(a,b,c){a=b.ids.map(a.dereferenceOne(c)).filter(Boolean);return Object.assign({},dva(b),{results:a})},L2b=function(a,b){var c=K2b(a,b.ids).filter(Gi);return C2b(a,b,c)},K2b=function(a,b){return b.map(function(c){return a.memory.getData(c)})},G2b=function(a,b){b=bva(b);return cva(a.collectionsById,b,new xf(1))},B2b=function(a,b){b="["+[].concat(r(b)).sort().join("-")+"]";return cva(a.setsByLabel,b,new xf(1))},D2b=function(a,b){var c=new xf(1),d=a.memory.getData(b);d!=null&&c.next(d);
return cva(a.valsById,b,c)},M2b=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(bva(b))};zA.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(bva(a))};
var AA=function(a,b,c,d){d=d===void 0?{}:d;if(d.evenWhenInFlight!==void 0&&d.evenWhenInFlight||!a.inFlightGets()[b])if(b=a.copy(a.memory.getData(String(b))))c(b),a.announce(b)};zA.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};
var yA=function(a,b){for(var c=l(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;A2b&&gj("Fridge<"+b+">::trackEvent('"+e+"')",f)}},BA=function(){zA.apply(this,arguments);this.defaultQuery={}};V(BA,zA);var A2b=!1;var CA=function(a){BA.call(this);this.api=a;this.recordType="AggregatedIssueMetadata";this.idKey="_rootId";this.isEqual=ci};V(CA,BA);CA.prototype.fetchOne=function(a){return this.api.get(a)};CA.\u0275fac=function(a){return new (a||CA)(n(uA))};CA.\u0275prov=Fc({token:CA,factory:CA.\u0275fac,providedIn:"root"});var DA={},hva=(DA[1]="issue_id",DA[3]="type",DA[4]="status",DA[5]="priority",DA[6]="severity",DA[18]="title",DA[15]="modified_time",DA[14]="created_time",DA[17]="verified_time",DA[16]="resolved_time",DA[38]="deletion_time",DA[13]="blocked_by_issue_ids",DA[12]="blocking_issue_ids",DA[26]="vote_count",DA[28]="cc_count",DA[44]="collaborators_count",DA[2]="component_path",DA[27]="duplicate_count",DA[10]="ccs",DA[43]="collaborators",DA[11]="code_changes",DA[32]="postmortems",DA[8]="assignee",DA[9]="verifier",
DA[7]="reporter",DA[19]="found_in_versions",DA[20]="targeted_to_versions",DA[21]="verified_in_versions",DA[22]="in_prod",DA[30]="last_modifier",DA[25]="position",DA[24]="custom_field",DA[29]="modified_by",DA[31]="archived",DA[23]="canonical_issue_id",DA[33]="min_slo",DA[35]="assignment_slo",DA[36]="response_slo",DA[37]="closure_slo",DA[39]="team",DA[40]="estimate",DA[41]="estimate_total_open",DA[42]="estimate_total_complete",DA[45]="access_level",DA[46]="descendant_count",DA[47]="open_descendant_count",
DA[48]="one_day_view_count",DA[49]="seven_day_view_count",DA[50]="thirty_day_view_count",DA),EA={},lva=(EA.issue_id=1,EA.type=3,EA.status=4,EA.priority=5,EA.severity=6,EA.title=18,EA.modified_time=15,EA.created_time=14,EA.verified_time=17,EA.resolved_time=16,EA.deletion_time=38,EA.blocked_by_issue_ids=13,EA.blocking_issue_ids=12,EA.vote_count=26,EA.cc_count=28,EA.collaborators_count=44,EA.component_path=2,EA.duplicate_count=27,EA.ccs=10,EA.collaborators=43,EA.code_changes=11,EA.postmortems=32,EA.assignee=
8,EA.verifier=9,EA.reporter=7,EA.found_in_versions=19,EA.targeted_to_versions=20,EA.verified_in_versions=21,EA.in_prod=22,EA.last_modifier=30,EA.position=25,EA.custom_field=24,EA.modified_by=29,EA.archived=31,EA.canonical_issue_id=23,EA.min_slo=33,EA.assignment_slo=35,EA.response_slo=36,EA.closure_slo=37,EA.team=39,EA.estimate=40,EA.estimate_total_open=41,EA.estimate_total_complete=42,EA.access_level=45,EA.descendant_count=46,EA.open_descendant_count=47,EA.one_day_view_count=48,EA.seven_day_view_count=
49,EA.thirty_day_view_count=50,EA);var Ok=function(a){this.internalArray_=m(a)};V(Ok,X);Ok.prototype.getDisplayColumns=function(){return zu(this,1)};Ok.prototype.setDisplayColumns=function(a){mc(this,1,Jb,a,void 0,zi)};Ok.repeatedFields_=[1];var Nk=function(a){this.internalArray_=m(a)};V(Nk,X);g=Nk.prototype;g.getHotlistId=function(){return Jj(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setHotlistId=function(a){return Ij(this,1,a)};g.getName=function(){return Zh(this,2)};g.setName=function(a){return sj(this,2,a)};g.getDescription=function(){return Zh(this,3)};g.setDescription=function(a){return sj(this,3,a)};g.getArchived=function(){return hk(this,4)};g.setArchived=function(a){return jk(this,4,a)};
g.getDefaultOrderBy=function(){return Zh(this,5)};g.setDefaultOrderBy=function(a){return sj(this,5,a)};g.getDisplayPreferences=function(){return Gj(this,Ok,6)};g.setDisplayPreferences=function(a){return Pj(this,Ok,6,a)};g.getCreatedTime=function(){return Gj(this,mj,7)};g.setCreatedTime=function(a){return Pj(this,mj,7,a)};g.getModifiedTime=function(){return Gj(this,mj,8)};g.setModifiedTime=function(a){return Pj(this,mj,8,a)};g.getOwnersList=function(){return Yj(this,rj,9,Ai())};
g.setOwnersList=function(a){return Dk(this,9,a)};g.getEtag=function(){return qo(this,10)};g.setEtag=function(a){Oj(this,10,a)};Nk.repeatedFields_=[9];var Qk=function(a){this.internalArray_=m(a)};V(Qk,X);g=Qk.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setSavedSearchId=function(a){return Ij(this,1,a)};g.getName=function(){return Zh(this,2)};g.setName=function(a){return sj(this,2,a)};g.getDescription=function(){return Zh(this,3)};g.setDescription=function(a){return sj(this,3,a)};g.getQuery=function(){return Zh(this,4)};g.setQuery=function(a){return sj(this,4,a)};g.clearQuery=function(){ro(this,4)};
g.getDefaultOrderBy=function(){return Zh(this,5)};g.setDefaultOrderBy=function(a){return sj(this,5,a)};g.getDisplayPreferences=function(){return Gj(this,Ok,6)};g.setDisplayPreferences=function(a){return Pj(this,Ok,6,a)};g.getOwnersList=function(){return Yj(this,rj,7,Ai())};g.setOwnersList=function(a){return Dk(this,7,a)};Qk.repeatedFields_=[7];var Sk=function(a){this.internalArray_=m(a)};V(Sk,X);g=Sk.prototype;g.getHotlistId=function(){return Jj(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setHotlistId=function(a){return Ij(this,1,a)};g.getHotlist=function(){return Gj(this,Nk,2)};g.setHotlist=function(a){return Pj(this,Nk,2,a)};g.hasHotlist=function(){return Ak(this,Nk,2)};var Uk=function(a){this.internalArray_=m(a)};V(Uk,X);g=Uk.prototype;g.getSavedSearchId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setSavedSearchId=function(a){return Ij(this,1,a)};g.getSavedSearch=function(){return Gj(this,Qk,2)};g.setSavedSearch=function(a){return Pj(this,Qk,2,a)};g.hasSavedSearch=function(){return Ak(this,Qk,2)};var Vk=function(a){this.internalArray_=m(a)};V(Vk,X);Vk.prototype.getBookmarkGroupId_asLegacyNumberOrString=function(){return Jj(this,1)};Vk.prototype.setBookmarkGroupId=function(a){return Ij(this,1,a)};Vk.prototype.getBookmarkGroup=function(){return Gj(this,Wk,2)};Vk.prototype.setBookmarkGroup=function(a){return Pj(this,Wk,2,a)};var Tk=function(a){this.internalArray_=m(a)};V(Tk,X);g=Tk.prototype;g.getHotlist=function(){return bk(this,Sk,1,Rk)};g.setHotlist=function(a){return gk(this,1,Rk,a)};
g.hasHotlist=function(){return ok(this,Sk,1,Rk)};g.getSavedSearch=function(){return bk(this,Uk,2,Rk)};g.setSavedSearch=function(a){return gk(this,2,Rk,a)};g.hasSavedSearch=function(){return ok(this,Uk,2,Rk)};g.getBookmarkGroup=function(){return bk(this,Vk,3,Rk)};g.setBookmarkGroup=function(a){return gk(this,3,Rk,a)};var Wk=function(a){this.internalArray_=m(a)};V(Wk,X);g=Wk.prototype;g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Jj(this,1)};
g.setBookmarkGroupId=function(a){return Ij(this,1,a)};g.getName=function(){return Zh(this,2)};g.setName=function(a){return sj(this,2,a)};g.getDescription=function(){return Zh(this,3)};g.setDescription=function(a){return sj(this,3,a)};g.getArchived=function(){return hk(this,4)};g.setArchived=function(a){return jk(this,4,a)};g.addItems=function(a,b){return gr(this,5,Tk,a,b)};g.setItems=function(a){pu(this,5,Tk,a)};g.getOwnersList=function(){return Yj(this,rj,6,Ai())};
g.setOwnersList=function(a){return Dk(this,6,a)};var Rk=[1,2,3];Wk.repeatedFields_=[5,6];var FA=function(a){this.internalArray_=m(a,0,FA.messageId)};V(FA,X);FA.prototype.getIt=function(){return Gj(this,Wk,10)};FA.prototype.setIt=function(a){return Pj(this,Wk,10,a)};FA.messageId="b.BookmarkGroup";var N2b={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"},wp={home:{routeDeclarationPath:"home",makeHref:function(){return"/home"}},viewDashboard:{routeDeclarationPath:"dashboard/:groupId",makeHref:function(a){return"/dashboard/"+a}},overviewTriage:{routeDeclarationPath:"triage",makeHref:function(){return"/triage"}},viewTriage:{routeDeclarationPath:"triage/:teamId",
makeHref:function(a){return"/triage/"+a}},viewTriagePhase:{routeDeclarationPath:"triage/:teamId/:phase",makeHref:function(a,b){return"/triage/"+a+"/"+b}},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?"+Jva(a)}},listIssuesRecent:{routeDeclarationPath:"recent",makeHref:function(){return"/recent"}},createIssue:{routeDeclarationPath:"issues/new",makeHref:function(a){return a==null?"/issues/new":"/issues/new?"+Jva(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?"+Jva({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+"?"+Jva({mimeType:c})}}};var GA=function(a){this.internalArray_=m(a,0,GA.messageId)};V(GA,X);GA.repeatedFields_=[2];GA.messageId="b.BookmarkGroupListResponse";var HA=function(a){this.executor=a};HA.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:FA}).then(Eva)};HA.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:GA}).then(Fva)};HA.prototype.create=function(a){a=(new FA).setIt((new Wk).setName(a.name).setDescription(a.description));return this.executor.post({url:"action/bookmark_groups",body:a,responseConstructor:FA}).then(Eva)};
HA.prototype.update=function(a){var b=(new FA).setIt(Ava(a));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:FA}).then(Eva)};HA.\u0275fac=function(a){return new (a||HA)(n(qA))};HA.\u0275prov=Fc({token:HA,factory:HA.\u0275fac,providedIn:"root"});var IA=function(a){BA.call(this,{freshUntil:3E5});this.bookmarkGroupApi=a;this.recordType="bookmarkGroup";this.idKey="bookmarkGroupId"};V(IA,BA);IA.prototype.fetchOne=function(a){var b=this;return Be(function(){return b.bookmarkGroupApi.get(a)})};IA.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return b.fetchOne(c)}))};IA.\u0275fac=function(a){return new (a||IA)(n(HA))};IA.\u0275prov=Fc({token:IA,factory:IA.\u0275fac,providedIn:"root"});var JA=function(a){this.internalArray_=m(a,0,JA.messageId)};V(JA,X);g=JA.prototype;g.getAuthor=function(){return Zh(this,1)};g.setAuthor=function(a){Sj(this,1,a)};g.hasAuthor=function(){return vl(this,1)};g.getDescription=function(){return Zh(this,2)};g.setDescription=function(a){return Sj(this,2,a)};g.hasDescription=function(){return vl(this,2)};g.getPending=function(){return hk(this,3)};g.getTimestamp=function(){return Jj(this,4)};
g.getTimestamp_asLegacyNumberOrString=function(){return Jj(this,4)};g.setTimestamp=function(a){return Tl(this,4,a)};g.hasTimestamp=function(){return El(this,4)};JA.repeatedFields_=[5];JA.messageId="b.ChangelistDetailsResponse";var KA=function(a){this.internalArray_=m(a)};V(KA,X);KA.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return xTb(this,1)};KA.prototype.getIssueIdsList_asString=function(){return $k(this,1)};KA.prototype.setIssueIdsList=function(a){return hc(this,1,a,Gb)};KA.repeatedFields_=[1];var LA=function(a){this.internalArray_=m(a,0,LA.messageId)};V(LA,X);g=LA.prototype;g.getQuery=function(){return Gj(this,KA,1)};g.setQuery=function(a){return Pj(this,KA,1,a)};g.clearQuery=function(){ro(this,1)};g.hasQuery=function(){return Ak(this,KA,1)};g.getNextPageToken=function(){return Zh(this,2)};LA.messageId="b.ListChangelistsRequest";var Lva=function(a){this.internalArray_=m(a)};V(Lva,X);g=Lva.prototype;g.getAuthor=function(){return Zh(this,1)};g.setAuthor=function(a){Sj(this,1,a)};g.hasAuthor=function(){return vl(this,1)};g.getChangelistNumber=function(){return Lj(this,2)};g.getPending=function(){return hk(this,3)};g.getTimestamp=function(){return Gj(this,mj,4)};g.setTimestamp=function(a){return Pj(this,mj,4,a)};g.hasTimestamp=function(){return Ak(this,mj,4)};
g.getIssueIdsList_asLegacyNumberOrString=function(){return xTb(this,5)};g.getIssueIdsList_asString=function(){return $k(this,5)};g.setIssueIdsList=function(a){return hc(this,5,a,Gb)};Lva.repeatedFields_=[5,6];var MA=function(a){this.internalArray_=m(a,0,MA.messageId)};V(MA,X);MA.prototype.getNextPageToken=function(){return Zh(this,2)};MA.repeatedFields_=[1];MA.messageId="b.ListChangelistsResponse";var NA=function(a){this.internalArray_=m(a,0,NA.messageId)};V(NA,X);NA.repeatedFields_=[1];NA.messageId="b.PendingChangelistsResponse";var OA=function(a){this.executor=a};OA.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:NA}).pipe(z(Kva))};OA.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:JA}).pipe(z(Ova))};
var O2b=function(a,b){var c=new LA,d=c.setQuery;b=(new KA).setIssueIdsList(b);b=Ol(b,2,2);c=d.call(c,b);return a.executor.post({url:"action/changelists/list",body:c,responseConstructor:MA}).pipe(z(Nva))};OA.\u0275fac=function(a){return new (a||OA)(n(pA))};OA.\u0275prov=Fc({token:OA,factory:OA.\u0275fac,providedIn:"root"});var PA=function(a){this.changelistResources=a};PA.prototype.getPendingChangelistsForIssue=function(a){return se(this.changelistResources.getPendingChangelistsForIssue(a))};
PA.prototype.getChangelistDetails=function(a){return se(this.changelistResources.getChangelistDetails(a))};PA.\u0275fac=function(a){return new (a||PA)(n(OA))};PA.\u0275prov=Fc({token:PA,factory:PA.\u0275fac,providedIn:"root"});var QA=function(a){zA.call(this);this.api=a;this.defaultQuery={};this.recordType="Changelist";this.idKey="changelistNumber"};V(QA,zA);QA.prototype.fetchAll=function(a){if(a=a.pendingForIssues)return a.length===0?pe({results:[]}):O2b(this.api,a).pipe(z(function(b){var c;return{results:(c=b.changelists)!=null?c:[]}}));throw Error("gc");};QA.\u0275fac=function(a){return new (a||QA)(n(OA))};QA.\u0275prov=Fc({token:QA,factory:QA.\u0275fac,providedIn:"root"});var RA=function(a){this.internalArray_=m(a,0,RA.messageId)};V(RA,X);RA.prototype.getIt=function(){return Gj(this,Fj,2)};RA.prototype.setIt=function(a){return Pj(this,Fj,2,a)};RA.messageId="b.AccessLimit";var SA=function(a){this.internalArray_=m(a,0,SA.messageId)};V(SA,X);SA.prototype.getIt=function(){return Gj(this,nA,13)};SA.prototype.setIt=function(a){return Pj(this,nA,13,a)};SA.messageId="b.AccessPolicy";var TA=function(a){this.internalArray_=m(a,0,TA.messageId)};V(TA,X);TA.repeatedFields_=[1,2];TA.messageId="b.CheckPermissionResponse";var UA=function(a){this.executor=a};g=UA.prototype;g.get=function(a,b){a=al(bl(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:SA}).pipe(z(Rva))};
g.update=function(a,b,c){a=al(bl(a,b));var d;b=new SA;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,k,q,t,w;d=new nA;var y=((f=c.admins)!=null?f:[]).map(Dj);f=Dk(d,2,y).setAppendersList(((h=c.appenders)!=null?h:[]).map(Dj));h=((k=c.editors)!=null?k:[]).map(Dj);k=Dk(f,4,h).setReadersList(((q=c.readers)!=null?q:[]).map(Dj));q=((t=c.restrictedReaders)!=null?t:[]).map(Dj);
t=Dk(k,11,q);q=((w=c.restrictedPlusReaders)!=null?w:[]).map(Dj);w=Dk(t,12,q);if(c.implicitAccess){t=w.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("Fb");}t.call(w,c)}b=e.call(b,w);return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:SA}).pipe(z(Rva))};
g.checkPermission=function(a,b,c,d){a=al(a.join(","));b=al(b);c=al(bl(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:TA}).pipe(z(Qva))};g.setAccessLimit=function(a,b,c){a=al(bl(a,b));c=(new RA).setIt(kta(c));return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:RA}).pipe(z(Pva))};g.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(z(function(b){return b.implicitAccess==="ALLOW"}))};
UA.\u0275fac=function(a){return new (a||UA)(n(pA))};UA.\u0275prov=Fc({token:UA,factory:UA.\u0275fac,providedIn:"root"});var VA=function(a){this.observableApi=a};g=VA.prototype;g.get=function(a,b){return se(this.observableApi.get(a,b))};g.update=function(a,b,c){return se(this.observableApi.update(a,b,c))};g.checkPermission=function(a,b,c,d){return se(this.observableApi.checkPermission(a,b,c,d))};g.setAccessLimit=function(a,b,c){return se(this.observableApi.setAccessLimit(a,b,c))};
g.checkComponentImplicitAccessEnabled=function(a){return se(this.observableApi.checkComponentImplicitAccessEnabled(a))};VA.\u0275fac=function(a){return new (a||VA)(n(UA))};VA.\u0275prov=Fc({token:VA,factory:VA.\u0275fac,providedIn:"root"});var WA=function(a){BA.call(this);this.accessPolicyApi=a;this.recordType="componentAccessPolicy";this.isEqual=ci};V(WA,BA);WA.prototype.fetchOne=function(a){return this.accessPolicyApi.get("COMPONENT",a).pipe(z(function(b){return Object.assign({},{id:a},b)}),lf(function(){return pe(void 0)}))};WA.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("COMPONENT",b,a).pipe(z(function(c){return Object.assign({},{id:b},c)}))};WA.\u0275fac=function(a){return new (a||WA)(n(UA))};
WA.\u0275prov=Fc({token:WA,factory:WA.\u0275fac,providedIn:"root"});var XA=function(){};XA.prototype.adapt=function(a){var b,c=new P2b(a.call.bind(a),a.split.bind(a),(b=a.bufferTimeMs)!=null?b:500,a.maxBatchSize||100);return c.get.bind(c)};XA.\u0275fac=function(a){return new (a||XA)};XA.\u0275prov=Fc({token:XA,factory:XA.\u0275fac,providedIn:"root"});
var P2b=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new yf;this.inputs$=this.inputSubject.pipe(Sja(this.inputSubject.pipe(kf(this.bufferTimeMs,jo))));this.removeDuplicates=z(function(f){return[].concat(r(new Set(f)))});this.limitInputSize=z(function(f){for(var h=l(f.slice(e.maxBatchSize)),k=h.next();!k.done;k=h.next())e.inputSubject.next(k.value);return new Set(f.slice(0,e.maxBatchSize))});this.makeBatchCalls=be(ye(function(f){try{return e.batchCall(f).pipe(qf(),
z(function(h){return{inputs:f,batchResponse:h,error:void 0}}),lf(function(h){return pe({inputs:f,batchResponse:void 0,error:h})}))}catch(h){return pe({inputs:f,batchResponse:void 0,error:h})}}),kka());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
P2b.prototype.get=function(a){var b=this;return new ce(function(c){c=b.batchResults$.pipe(He(function(d){return d.inputs.has(a)}),qf(),z(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 hl=function(a){this.internalArray_=m(a)};V(hl,X);hl.prototype.setFieldId=function(a){return Pj(this,Wj,1,a)};var fl=function(a){this.internalArray_=m(a)};V(fl,X);g=fl.prototype;g.getInherit=function(){return hk(this,1)};g.setInherit=function(a){return jk(this,1,a)};g.getId=function(){return Jj(this,2)};g.getId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getId_asString=function(){return xu(this,2)};g.setId=function(a){return Ij(this,2,a)};var dl=function(a){this.internalArray_=m(a)};V(dl,X);g=dl.prototype;g.getInherit=function(){return hk(this,1)};g.setInherit=function(a){return jk(this,1,a)};g.getId=function(){return Jj(this,2)};g.getId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getId_asString=function(){return xu(this,2)};g.setId=function(a){return Ij(this,2,a)};g.getSourceTeamId_asLegacyNumberOrString=function(){return Jj(this,4)};g.setSourceTeamId=function(a){return Ij(this,4,a)};
g.getComment=function(){return Zh(this,3)};g.setComment=function(a){return sj(this,3,a)};var cl=function(a){this.internalArray_=m(a)};V(cl,X);g=cl.prototype;g.getVersion=function(){return Lj(this,1)};g.setVersion=function(a){return kj(this,1,a)};g.getSlo=function(){return Gj(this,dl,2)};g.setSlo=function(a){Pj(this,dl,2,a)};g.hasSlo=function(){return Ak(this,dl,2)};var el=function(a){this.internalArray_=m(a)};V(el,X);el.prototype.getUser=function(){return Gj(this,rj,1)};el.prototype.setUser=function(a){return Pj(this,rj,1,a)};el.prototype.hasUser=function(){return Ak(this,rj,1)};var YA=function(a){this.internalArray_=m(a)};V(YA,X);g=YA.prototype;g.getId=function(){return Jj(this,1)};g.getId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getId_asString=function(){return xu(this,1)};g.setId=function(a){return Ij(this,1,a)};g.getPathIdsList_asLegacyNumberOrString=function(){return il(this,2,Ai())};g.getPathIdsList_asString=function(){return $k(this,2)};g.setPathIdsList=function(a){return Vl(this,2,a)};g.getName=function(){return Zh(this,3)};
g.setName=function(a){return sj(this,3,a)};g.getPathNamesList=function(a){return zi(this,4,Ai(a))};g.setPathNamesList=function(a){return tj(this,4,a)};g.getMembersList=function(){return Yj(this,el,6,Ai())};g.setMembersList=function(a){return Dk(this,6,a)};g.getDescription=function(){return Zh(this,8)};g.setDescription=function(a){return sj(this,8,a)};g.getDeleted=function(){return hk(this,9)};YA.repeatedFields_=[2,4,5,6];var gl=function(a){this.internalArray_=m(a)};V(gl,X);gl.prototype.getTeamId_asLegacyNumberOrString=function(){return Jj(this,1)};gl.prototype.setTeamId=function(a){return Ij(this,1,a)};gl.prototype.getScore=function(){return ak(this,2)};gl.prototype.setScore=function(a){return Ik(this,2,a)};var jl=function(a){this.internalArray_=m(a)};V(jl,X);jl.prototype.getComponentPathNames=function(a){return zu(this,2,a)};jl.repeatedFields_=[1,2,3,4,5];var ml=function(a){this.internalArray_=m(a)};V(ml,X);g=ml.prototype;g.getComponentId=function(){return Jj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getComponentId_asString=function(){return xu(this,2)};g.setComponentId=function(a){return Ij(this,2,a)};g.getName=function(){return Zh(this,4)};g.setName=function(a){return sj(this,4,a)};g.getDescription=function(){return Zh(this,5)};g.setDescription=function(a){return sj(this,5,a)};
g.getIsArchived=function(){return hk(this,8)};g.setIsArchived=function(a){return jk(this,8,a)};g.getAccessLimit=function(){return Gj(this,Fj,9)};g.setAccessLimit=function(a){return Pj(this,Fj,9,a)};g.setCommentEditState=function(a){return uj(this,10,a)};g.getSlo=function(){return Gj(this,xk,13)};g.setSlo=function(a){Pj(this,xk,13,a)};g.hasSlo=function(){return Ak(this,xk,13)};g.getTeam=function(){return Gj(this,fl,16)};g.hasTeam=function(){return Ak(this,fl,16)};
g.getEffortSpec=function(){return Gj(this,kk,18)};g.getTeamSuggestionsList=function(){return Yj(this,gl,19,Ai())};g.setTeamSuggestionsList=function(a){Dk(this,19,a)};g.getTrackerId=function(){return Jj(this,20)};g.getTrackerId_asLegacyNumberOrString=function(){return Jj(this,20)};g.getTrackerId_asString=function(){return xu(this,20)};g.setTrackerId=function(a){Ij(this,20,a)};ml.repeatedFields_=[19];var pl=function(a){this.internalArray_=m(a)};V(pl,X);g=pl.prototype;g.getComponentId=function(){return Jj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getComponentId_asString=function(){return xu(this,2)};g.setComponentId=function(a){return Ij(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Jj(this,3)};g.setTemplateId=function(a){return Ij(this,3,a)};g.getName=function(){return Zh(this,4)};g.setName=function(a){return sj(this,4,a)};
g.getDescription=function(){return Zh(this,5)};g.setDescription=function(a){return sj(this,5,a)};g.getIssueState=function(){return Gj(this,Gk,6)};g.setIssueState=function(a){return Pj(this,Gk,6,a)};g.getComment=function(){return Zh(this,7)};g.setComment=function(a){return sj(this,7,a)};g.getFormattingMode=function(){return Kj(this,8,0)};g.setFormattingMode=function(a){return uj(this,8,a)};var nl=function(a){this.internalArray_=m(a,0,nl.messageId)};V(nl,X);nl.prototype.getIt=function(){return Gj(this,ml,28)};nl.prototype.setIt=function(a){return Pj(this,ml,28,a)};nl.messageId="b.Component";var ol=function(a){this.internalArray_=m(a)};V(ol,X);ol.prototype.getIt=function(){return Gj(this,pl,7)};ol.prototype.setIt=function(a){return Pj(this,pl,7,a)};var Q2b=function(a){this.internalArray_=m(a,0,Q2b.messageId)};V(Q2b,X);Q2b.messageId="b.UpdateComponentSloRequest";var R2b=function(a){this.internalArray_=m(a,0,R2b.messageId)};V(R2b,X);R2b.messageId="b.UpdateComponentTeamRequest";var S2b=function(){},ql=function(a){if(typeof a=="number"){var b=new S2b;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(":",Fu(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=T2b(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new S2b;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},T2b=function(a){var b=["GMT"];b.push(a<=0?"+":"-");a=Math.abs(a);b.push(Fu(Math.floor(a/60)%100,2),":",Fu(a%60,2));return b.join("")},U2b=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]},V2b=function(a,
b){a=a.standardOffset_-U2b(a,b);return a===-1440?0:a};var rl=function(a){this.internalArray_=m(a)};V(rl,X);rl.prototype.getLogoUrl=function(){return Zh(this,1)};rl.prototype.getTheme=function(){return Kj(this,2,0)};rl.prototype.setTheme=function(a){return uj(this,2,a)};var ZA=function(a){this.internalArray_=m(a)};V(ZA,X);g=ZA.prototype;g.getTrackerId=function(){return Jj(this,1)};g.getTrackerId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getTrackerId_asString=function(){return xu(this,1)};g.setTrackerId=function(a){Ij(this,1,a)};g.getComponentId=function(){return Jj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getComponentId_asString=function(){return xu(this,2)};g.setComponentId=function(a){return Ij(this,2,a)};
g.getName=function(){return Zh(this,3)};g.setName=function(a){return sj(this,3,a)};g.getInternalBaseUrl=function(){return Zh(this,8)};g.getExternalBaseUrl=function(){return Zh(this,9)};g.getEtag=function(){return qo(this,7)};g.setEtag=function(a){Oj(this,7,a)};ZA.repeatedFields_=[4,10,12];var im=function(a){this.internalArray_=m(a,0,im.messageId)};V(im,X);im.prototype.getIt=function(){return Gj(this,ZA,9)};im.prototype.setIt=function(a){return Pj(this,ZA,9,a)};im.messageId="b.Tracker";var ywa={COMMENT_FORMATTING_MODE_UNSPECIFIED:0,PLAIN_FORMATTING_MODE:1,MARKDOWN_FORMATTING_MODE:2,LITERAL_FORMATTING_MODE:3,0:"COMMENT_FORMATTING_MODE_UNSPECIFIED",1:"PLAIN_FORMATTING_MODE",2:"MARKDOWN_FORMATTING_MODE",3:"LITERAL_FORMATTING_MODE"},W2b={},X2b=(W2b[3]="LITERAL_FORMATTING_MODE",W2b[1]="PLAIN_FORMATTING_MODE",W2b[2]="MARKDOWN_FORMATTING_MODE",W2b),Y2b=X2b[2],Z2b=X2b[1],$A={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 Cl=function(a){this.internalArray_=m(a)};V(Cl,X);var Gl=function(a){this.internalArray_=m(a)};V(Gl,X);var Xl=function(a){this.internalArray_=m(a)};V(Xl,X);g=Xl.prototype;g.getType=function(){return Kj(this,1,1)};g.setType=function(a){return Ol(this,1,a)};g.hasType=function(){return wl(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getCustomFieldId_asString=function(){return xu(this,2)};g.setCustomFieldId=function(a){return Tl(this,2,a)};g.hasCustomFieldId=function(){return El(this,2)};var Rl=function(a){this.internalArray_=m(a)};V(Rl,X);Rl.prototype.getTimeZone=function(){return Zh(this,5)};Rl.prototype.setTimeZone=function(a){return Sj(this,5,a)};Rl.prototype.hasTimeZone=function(){return vl(this,5)};var Wl=function(a){this.internalArray_=m(a)};V(Wl,X);Wl.prototype.getColumnList=function(){return Yj(this,Xl,1,Ai())};Wl.prototype.setColumnList=function(a){return Dk(this,1,a)};Wl.prototype.setColumn=function(a){return pu(this,1,Xl,a)};Wl.repeatedFields_=[1];var Twa=function(a){this.internalArray_=m(a)};V(Twa,X);var Cwa=function(a){this.internalArray_=m(a)};V(Cwa,X);var Yl=function(a){this.internalArray_=m(a)};V(Yl,X);Yl.prototype.getColumn=function(){return Gj(this,Xl,1)};Yl.prototype.setColumn=function(a){return Pj(this,Xl,1,a)};var Nl=function(a){this.internalArray_=m(a)};V(Nl,X);Nl.prototype.getColumnList=function(){return Yj(this,Yl,1,Ai())};Nl.prototype.setColumnList=function(a){return Dk(this,1,a)};Nl.prototype.setColumn=function(a){return pu(this,1,Yl,a)};Nl.repeatedFields_=[1];var yl=function(a){this.internalArray_=m(a)};V(yl,X);yl.prototype.getDensity=function(){return Kj(this,1,1)};yl.prototype.setDensity=function(a){return Ol(this,1,a)};var Dl=function(a){this.internalArray_=m(a)};V(Dl,X);var Wwa=function(a){this.internalArray_=m(a)};V(Wwa,X);var Gwa=function(a){this.internalArray_=m(a)};V(Gwa,X);var Hl=function(a){this.internalArray_=m(a)};V(Hl,X);Hl.prototype.getCollapsedMap=function(){return fc(this,2,Lb)};Hl.prototype.getMyTasksSources=function(){return BTb(this,8)};Hl.repeatedFields_=[1,7,8];var Bwa=function(a){this.internalArray_=m(a)};V(Bwa,X);var Il=function(a){this.internalArray_=m(a)};V(Il,X);Il.repeatedFields_=[1];var Iwa=function(a){this.internalArray_=m(a)};V(Iwa,X);g=Iwa.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Tl(this,1,a)};g.hasComponentId=function(){return El(this,1)};var Fl=function(a){this.internalArray_=m(a)};V(Fl,X);var exa=function(a,b){Dk(a,1,b)};Fl.repeatedFields_=[1];var Bl=function(a){this.internalArray_=m(a)};V(Bl,X);var Kl=function(a){this.internalArray_=m(a,500)};V(Kl,X);g=Kl.prototype;g.getDisplayColumns=function(){return Gj(this,Wl,4)};g.setDisplayColumns=function(a){Pj(this,Wl,4,a)};g.getSortColumns=function(){return Gj(this,Nl,6)};g.getLayoutPreferences=function(){return Gj(this,Twa,10)};g.getDateTimePreferences=function(){return Gj(this,Rl,11)};g.getHomepagePreferences=function(){return Gj(this,Wwa,13)};g.getCollapsedMap=function(){return fc(this,27,Lb)};
g.getShowInlineImages=function(){return hk(this,29)};var $l=function(a){this.internalArray_=m(a)};V($l,X);g=$l.prototype;g.getAppName=function(){return Zh(this,2)};g.getDocumentationBaseUrl=function(){return Zh(this,3)};g.getEnvironmentType=function(){return Zh(this,5)};g.getOnePickUrl=function(){return Zh(this,7)};g.getOnePickSecretToken=function(){return Zh(this,12)};g.getCommentNumberLimit=function(){return Lj(this,8)};g.getCreateComponentRedirectDelay=function(){return ak(this,9)};
g.getCreateRestrictedSubresourcesComponentIds=function(){return zTb(this,13)};g.getIndefiniteRetentionComponentsAllowlist=function(){return zTb(this,20)};g.getHelpMeFixSidebarComponentAllowlist=function(){return zTb(this,23)};g.getInternalBaseUrl=function(){return Zh(this,24)};g.getExternalBaseUrl=function(){return Zh(this,25)};$l.repeatedFields_=[13,20,22,23];var bm=function(a){this.internalArray_=m(a)};V(bm,X);g=bm.prototype;g.getEmail=function(){return Zh(this,1)};g.setEmail=function(a){return Sj(this,1,a)};g.hasEmail=function(){return vl(this,1)};g.getSessionIdentifier=function(){return Zh(this,3)};g.getUserTypeLabel=function(){return Zh(this,5)};var gm=function(a){this.internalArray_=m(a,0,gm.messageId)};V(gm,X);gm.prototype.getId=function(){return Zh(this,1)};gm.prototype.setId=function(a){return Sj(this,1,a)};gm.repeatedFields_=[2,4];gm.messageId="b.TimeZoneData";var hm=function(a){this.internalArray_=m(a,0,hm.messageId)};V(hm,X);g=hm.prototype;g.getMessage=function(){return Zh(this,1)};g.setMessage=function(a){return Sj(this,1,a)};g.getMessageId=function(){return Zh(this,2)};g.getTagsList=function(a){return zi(this,4,Ai(a))};g.getTags=function(a){return zu(this,4,a)};hm.repeatedFields_=[4];hm.messageId="b.Announcement";var am=function(a){this.internalArray_=m(a)};V(am,X);am.prototype.getAnnouncement=function(){return Gj(this,hm,2)};am.repeatedFields_=[1];var gxa=function(a){this.internalArray_=m(a)};V(gxa,X);g=gxa.prototype;g.getUser=function(){return Gj(this,bm,1)};g.setUser=function(a){return Pj(this,bm,1,a)};g.hasUser=function(){return Ak(this,bm,1)};g.getConfig=function(){return Gj(this,$l,2)};g.getXsrfToken=function(){return Zh(this,3)};g.getCspNonce=function(){return Zh(this,8)};g.getFrontendAccessMode=function(){return Zh(this,4)};g.getMustAcknowledgeTerms=function(){return hk(this,5)};g.getShowNewFeaturesDialog=function(){return hk(this,6)};
g.getUserPreferences=function(){return Gj(this,Kl,7)};g.getAppBaseHref=function(){return Zh(this,10)};g.getTracker=function(){return Gj(this,im,11)};g.getPassiveLoginIframeUrl=function(){return Gj(this,vxa,12)};var hxa=window,Zl;var $2b={clear:function(){},getItem:function(){return null},removeItem:function(){},setItem:function(){},length:0,key:function(){return null}},cm=$2b;try{cm=window.localStorage||$2b}catch(a){}
var a3b=function(a){return function(){var b=cm.getItem(a);if(b!=null)return b=Number(b),isNaN(b)?void 0:b}},mxa=function(a){return function(){var b=cm.getItem(a);if(b!=null)return String(b)}},oYa=function(a){return function(b){b==null?cm.removeItem(a):cm.setItem(a,String(b))}},b3b=function(a){return function(b){b==null?cm.removeItem(a):cm.setItem(a,b)}},c3b=function(a){return function(){var b=dm(a)();em(a)(!b);return!b}},nxa=function(a){return function(){var b=cm.getItem(a);if(b!=null)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+
a+")"),console.warn(c)}}},fm=function(a){return function(b){b==null?cm.removeItem(a):cm.setItem(a,JSON.stringify(b))}};var uxa=Mi(function(){var a=pxa(),b,c=(b=ixa().getConfig())==null?void 0:fc(b,4,Lb);if(a&&c){b=l(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);lxa()}});var txa;var as=function(){this.session=jm()};g=as.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 aB=function(a){return a.getFrontendAccessMode()==="PARTNER"},bB=function(a){return a.getFrontendAccessMode()==="PUBLIC"};as.prototype.isNonPublicSession=function(){return this.getFrontendAccessMode()!=="PUBLIC"};var d3b=function(a){var b=a.getUserEmail().split("@")[1];return b?a.session.config.trustedEmailDomainsAllowlist.includes("@"+b):!1},ep=function(a,b){return!!a.session.config.enabledFlags.get(b)};as.prototype.isAnonymous=function(){return this.session.user.anonymous};
as.prototype.getUserEmail=function(){return this.session.user.email||""};as.prototype.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};as.prototype.getTracker=function(){var a;return(a=this.session.tracker)!=null?a:void 0};var Np=function(a){return!!a.session.tracker};g=as.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 wxa(this.session)};g.getAppBaseUrl=function(a){return(a===void 0?0:a)||!this.isInternalSession()?km(this.session)?"https://issuetracker.google.com/":"https://issuetracker-qa.corp.google.com/":km(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.getCreateRestrictedSubresourcesComponentIds=function(){return this.session.config.createRestrictedSubresourcesComponentIds};g.getIndefiniteRetentionComponentsAllowlist=function(){return this.session.config.indefiniteRetentionComponentsAllowlist};g.getCspNonce=function(){return this.session.cspNonce};g.getAnnouncement=function(){return this.session.preload.announcement};
g.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};g.getHelpMeFixSidebarComponentAllowlist=function(){return new Set(this.session.config.helpMeFixSidebarComponentAllowlist)};as.\u0275fac=function(a){return new (a||as)};as.\u0275prov=Fc({token:as,factory:as.\u0275fac,providedIn:"root"});var e3b=function(a){this.internalArray_=m(a,0,e3b.messageId)};V(e3b,X);e3b.messageId="b.CreateComponentResponse";var cB=function(a){this.internalArray_=m(a,0,cB.messageId)};V(cB,X);cB.repeatedFields_=[1];cB.messageId="b.ListComponentsResponse";var rwa=function(a){this.internalArray_=m(a)};V(rwa,X);rwa.prototype.getComponentPath=function(){return Zh(this,1)};var dB=function(a){this.internalArray_=m(a,0,dB.messageId)};V(dB,X);dB.repeatedFields_=[2];dB.messageId="b.SubcomponentsResponse";var eB=function(a,b){this.executor=a;this.activeSession=b};g=eB.prototype;g.get=function(a){return this.query({id:[a]}).pipe(z(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:dB}).pipe(z(swa))};g.fetchComponent=function(a){return this.executor.get({url:"action/components/"+a,responseConstructor:nl}).pipe(z(ll))};
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:cB}).pipe(z(pwa))};
g.create=function(a){a=jwa(a);return this.executor.post({url:"action/components",body:a,responseConstructor:e3b}).pipe(z(function(b){return ll(Gj(b,nl,1))}))};
g.update=function(a){var b=a.componentId,c=new nl,d=c.setIt,e=(new ml).setComponentId(a.componentId);e=Ij(e,3,a.parentComponentId).setName(a.name).setDescription(a.description).setIsArchived(a.archived);if(a.componentPathInfo){var f=a.componentPathInfo,h=new jl;f.componentPathId&&Vl(h,1,f.componentPathId);if(f.componentPathName){var k=f.componentPathName.map(String);tj(h,2,k)}f.allCustomField&&(f=f.allCustomField.map(Vta),Dk(h,5,f));Pj(e,jl,7,h)}a.accessLimit&&e.setAccessLimit(kta(a.accessLimit));
a.commentEditState&&e.setCommentEditState(a.commentEditState==="ENABLED"?1:2);Ij(e,6,String(a.defaultTemplateId));a.slo&&e.setSlo(rua(a.slo));Ij(e,14,a.bugscopeSloId);a.retentionSettings&&(h=zta(a.retentionSettings),Pj(e,Mj,15,h));a.fieldOrdering&&uj(e,17,z1b[a.fieldOrdering]);a.effortSpec&&(h=bua(a.effortSpec),Pj(e,kk,18,h));a.team&&(h=Yva(a.team),Pj(e,fl,16,h));var q;e.setTeamSuggestionsList(((q=a.teamSuggestions)!=null?q:[]).map($va));a.spamProtection!=="SPAM_PROTECTION_UNSPECIFIED"&&uj(e,21,cwa(a.spamProtection));
a=d.call(c,e);return this.executor.post({url:"action/components/"+b,body:a,responseConstructor:nl}).pipe(z(ll))};g.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:nl}).pipe(z(ll))};g.updateSlo=function(a,b){var c=new Q2b;b=rua(b);c=Pj(c,xk,2,b);return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:nl}).pipe(z(ll))};
g.updateTeam=function(a,b){var c=new R2b;b=Yva(Object.assign({},b));c=Pj(c,fl,2,b);return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:nl}).pipe(z(ll))};eB.\u0275fac=function(a){return new (a||eB)(n(pA),n(as))};eB.\u0275prov=Fc({token:eB,factory:eB.\u0275fac,providedIn:"root"});var fB=function(a){this.observableApi=a};g=fB.prototype;g.get=function(a){return se(this.observableApi.get(a))};
g.getChildren=function(a,b){return se(this.observableApi.getChildren(a,b===void 0?!1:b))};g.getDescendants=function(a){return se(this.observableApi.getDescendants(a))};g.fetchComponent=function(a){return se(this.observableApi.fetchComponent(a))};g.query=function(a){return se(this.observableApi.query(a))};g.create=function(a){return se(this.observableApi.create(a))};g.update=function(a){return se(this.observableApi.update(a))};g.move=function(a,b){return se(this.observableApi.move(a,b))};
g.updateSlo=function(a,b){return se(this.observableApi.updateSlo(a,b))};g.updateTeam=function(a,b){return se(this.observableApi.updateTeam(a,b))};fB.\u0275fac=function(a){return new (a||fB)(n(eB))};fB.\u0275prov=Fc({token:fB,factory:fB.\u0275fac,providedIn:"root"});var gB=function(a){BA.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};V(gB,BA);gB.prototype.fetchOne=function(a){return a==="0"?pe(void 0):this.batchedComponentApi.get(a).pipe(lf(function(){return pe(void 0)}))};gB.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Gi)}))};gB.\u0275fac=function(a){return new (a||gB)(n(hB))};
gB.\u0275prov=Fc({token:gB,factory:gB.\u0275fac,providedIn:"root"});var hB=function(a,b){var c=this;this.observableComponentApi=a;this.batchApiAdapter=b;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};
hB.prototype.call=function(a){return a.size===1?this.observableComponentApi.fetchComponent([].concat(r(a))[0]).pipe(z(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(r(a))}).pipe(z(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};hB.prototype.splitBatch=function(a,b){return b.get(Number(a))};hB.\u0275fac=function(a){return new (a||hB)(n(eB),n(XA))};hB.\u0275prov=Fc({token:hB,factory:hB.\u0275fac,providedIn:"root"});var iB=function(a){this.internalArray_=m(a,0,iB.messageId)};V(iB,X);iB.repeatedFields_=[1];iB.messageId="b.ListTemplatesResponse";var jB=function(a){this.internalArray_=m(a,0,jB.messageId)};V(jB,X);jB.messageId="b.TemplateResponse";var kB=function(a){this.executor=a};g=kB.prototype;g.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:jB}).pipe(z(xxa))};g.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:iB}).pipe(z(yxa))};g.create=function(a,b){b=owa(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:jB,body:b}).pipe(z(xxa))};
g.update=function(a,b,c){c=owa(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:jB,body:c}).pipe(z(xxa))};g.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};kB.\u0275fac=function(a){return new (a||kB)(n(pA))};kB.\u0275prov=Fc({token:kB,factory:kB.\u0275fac,providedIn:"root"});var lB=function(a){this.observableApi=a};g=lB.prototype;
g.get=function(a,b){return se(this.observableApi.get(a,b))};g.query=function(a){return se(this.observableApi.query(a))};g.create=function(a,b){return se(this.observableApi.create(a,b))};g.update=function(a,b,c){return se(this.observableApi.update(a,b,c))};g.delete=function(a,b){return se(this.observableApi.delete(a,b))};lB.\u0275fac=function(a){return new (a||lB)(n(kB))};lB.\u0275prov=Fc({token:lB,factory:lB.\u0275fac,providedIn:"root"});var Axa=function(a){this.internalArray_=m(a)};V(Axa,X);Axa.prototype.getIt=function(){return Gj(this,ik,14)};Axa.prototype.setIt=function(a){return Pj(this,ik,14,a)};var xm=function(a){this.internalArray_=m(a)};V(xm,X);xm.prototype.getIt=function(){return Gj(this,fk,13)};xm.prototype.setIt=function(a){return Pj(this,fk,13,a)};var Dya=new Set([].concat(r(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",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 pm=function(a){this.internalArray_=m(a)};V(pm,X);g=pm.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getAddMask=function(){return Gj(this,nm,2)};g.setAddMask=function(a){return Pj(this,nm,2,a)};g.getAdd=function(){return Gj(this,Gk,3)};g.setAdd=function(a){return Pj(this,Gk,3,a)};
g.getRemoveMask=function(){return Gj(this,nm,4)};g.setRemoveMask=function(a){return Pj(this,nm,4,a)};g.getRemove=function(){return Gj(this,Gk,5)};g.setRemove=function(a){return Pj(this,Gk,5,a)};g.getIssueComment=function(){return Gj(this,qm,6)};g.setIssueComment=function(a){Pj(this,qm,6,a)};g.hasIssueComment=function(){return Ak(this,qm,6)};g.setSignificanceOverride=function(a){return uj(this,7,a)};var mB=function(a){this.internalArray_=m(a)};V(mB,X);mB.prototype.setNeedsInfo=function(a){return Ll(this,2,a)};var nB=function(a){this.internalArray_=m(a,0,nB.messageId)};V(nB,X);g=nB.prototype;g.getId=function(){return Jj(this,1)};g.getId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getId_asString=function(){return xu(this,1)};g.setId=function(a){return Tl(this,1,a)};g.getTriage=function(){return Gj(this,mB,2)};g.setTriage=function(a){return Pj(this,mB,2,a)};nB.messageId="b.IssueExperiments";var Im=function(a){this.internalArray_=m(a)};V(Im,X);Im.prototype.getQuery=function(){return Zh(this,1)};Im.prototype.setQuery=function(a){return sj(this,1,a)};Im.prototype.clearQuery=function(){ro(this,1)};var oB=function(a){this.internalArray_=m(a)};V(oB,X);oB.prototype.getIssueId=function(){return Jj(this,1)};oB.prototype.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};oB.prototype.getIssueId_asString=function(){return xu(this,1)};oB.prototype.setIssueId=function(a){return Ij(this,1,a)};oB.repeatedFields_=[2];var wm=function(a){this.internalArray_=m(a)};V(wm,X);g=wm.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getComponentId=function(){return Jj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getComponentId_asString=function(){return xu(this,2)};g.setComponentId=function(a){return Ij(this,2,a)};var Pk=function(a){this.internalArray_=m(a)};V(Pk,X);g=Pk.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getPosition=function(){return Lj(this,2)};g.setPosition=function(a){return kj(this,2,a)};g.getIssue=function(){return Gj(this,ym,3)};g.setIssue=function(a){return Pj(this,ym,3,a)};var pB=function(a){this.internalArray_=m(a)};V(pB,X);g=pB.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getReason=function(){return Kj(this,2,0)};g.setReason=function(a){return uj(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};var qB=function(a){this.internalArray_=m(a)};V(qB,X);g=qB.prototype;g.getQuery=function(){return Zh(this,1)};g.setQuery=function(a){return sj(this,1,a)};g.clearQuery=function(){ro(this,1)};g.setOrderBy=function(a){return sj(this,2,a)};g.setPageSize=function(a){return kj(this,3,a)};g.setPageToken=function(a){return sj(this,4,a)};g.setView=function(a){return uj(this,5,a)};g.setIssueDescriptionView=function(a){return uj(this,6,a)};var vm=function(a){this.internalArray_=m(a)};V(vm,X);g=vm.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getComponentId=function(){return Jj(this,2)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getComponentId_asString=function(){return xu(this,2)};g.setComponentId=function(a){return Ij(this,2,a)};
g.setSignificanceOverride=function(a){return uj(this,3,a)};var um=function(a){this.internalArray_=m(a)};V(um,X);um.prototype.getIssueId=function(){return Jj(this,1)};um.prototype.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};um.prototype.getIssueId_asString=function(){return xu(this,1)};um.prototype.setIssueId=function(a){return Ij(this,1,a)};var rB=function(a){this.internalArray_=m(a)};V(rB,X);g=rB.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setSignificanceOverride=function(a){return uj(this,2,a)};var Em=function(a){this.internalArray_=m(a)};V(Em,X);g=Em.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getRetention=function(){return Kj(this,2,0)};g.setRetention=function(a){return uj(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};var sB=function(a){this.internalArray_=m(a,0,sB.messageId)};V(sB,X);sB.prototype.getIt=function(){return Gj(this,pB,3)};sB.prototype.setIt=function(a){return Pj(this,pB,3,a)};sB.messageId="b.DeleteIssueRequest";var Pxa=function(a){this.internalArray_=m(a)};V(Pxa,X);g=Pxa.prototype;g.getFieldName=function(){return Zh(this,1)};g.setFieldName=function(a){Sj(this,1,a)};g.getValue=function(){return Zh(this,2)};g.setValue=function(a){return Sj(this,2,a)};g.hasValue=function(){return vl(this,2)};g.getCustomFieldValue=function(){return Gj(this,xm,5)};g.setCustomFieldValue=function(a){return Pj(this,xm,5,a)};g.clearCustomFieldValue=function(){return ro(this,5)};var rm=function(a){this.internalArray_=m(a,0,rm.messageId)};V(rm,X);rm.prototype.getIt=function(){return Gj(this,sm,5)};rm.prototype.setIt=function(a){return Pj(this,sm,5,a)};rm.messageId="b.GetRetainedAccessPrincipalsRequest";var Dm=function(a){this.internalArray_=m(a,0,Dm.messageId)};V(Dm,X);Dm.prototype.getIt=function(){return Gj(this,Pk,4)};Dm.prototype.setIt=function(a){return Pj(this,Pk,4,a)};Dm.messageId="b.HotlistIssue";var Mm=function(a){this.internalArray_=m(a)};V(Mm,X);Mm.prototype.getIt=function(){return Gj(this,ym,23)};Mm.prototype.setIt=function(a){return Pj(this,ym,23,a)};var aya=function(a){this.internalArray_=m(a)};V(aya,X);aya.prototype.getIt=function(){return Gj(this,Fm,6)};aya.prototype.setIt=function(a){return Pj(this,Fm,6,a)};var Sxa=function(a){this.internalArray_=m(a)};V(Sxa,X);Sxa.prototype.getIt=function(){return Gj(this,pm,7)};Sxa.prototype.setIt=function(a){return Pj(this,pm,7,a)};var tB=function(a){this.internalArray_=m(a)};V(tB,X);tB.prototype.getIt=function(){return Gj(this,qB,7)};tB.prototype.setIt=function(a){return Pj(this,qB,7,a)};tB.repeatedFields_=[6];var Mxa=function(a){this.internalArray_=m(a)};V(Mxa,X);Mxa.prototype.getIt=function(){return Gj(this,wm,4)};Mxa.prototype.setIt=function(a){return Pj(this,wm,4,a)};var Hm=function(a){this.internalArray_=m(a,0,Hm.messageId)};V(Hm,X);Hm.prototype.getIt=function(){return Gj(this,Im,4)};Hm.prototype.setIt=function(a){return Pj(this,Im,4,a)};Hm.messageId="b.ListRecentEventsForIssuesRequest";var uB=function(a){this.internalArray_=m(a,0,uB.messageId)};V(uB,X);uB.prototype.getIt=function(){return Gj(this,oB,3)};uB.prototype.setIt=function(a){return Pj(this,oB,3,a)};uB.messageId="b.MarkAsVulnerabilityRequest";var Kxa=function(a){this.internalArray_=m(a)};V(Kxa,X);Kxa.prototype.getIt=function(){return Gj(this,vm,4)};Kxa.prototype.setIt=function(a){return Pj(this,vm,4,a)};var vB=function(a){this.internalArray_=m(a,0,vB.messageId)};V(vB,X);vB.prototype.getIt=function(){return Gj(this,Ck,9)};vB.prototype.setIt=function(a){return Pj(this,Ck,9,a)};vB.messageId="b.StatusUpdate";var tm=function(a){this.internalArray_=m(a,0,tm.messageId)};V(tm,X);tm.prototype.getIt=function(){return Gj(this,um,3)};tm.prototype.setIt=function(a){return Pj(this,um,3,a)};tm.messageId="b.UnCcUserActionRequest";var wB=function(a){this.internalArray_=m(a,0,wB.messageId)};V(wB,X);wB.prototype.getIt=function(){return Gj(this,rB,2)};wB.prototype.setIt=function(a){return Pj(this,rB,2,a)};wB.messageId="b.UndeleteIssueRequest";var xB=function(a){this.internalArray_=m(a,0,xB.messageId)};V(xB,X);xB.prototype.getIt=function(){return Gj(this,oA,5)};xB.prototype.setIt=function(a){return Pj(this,oA,5,a)};xB.messageId="b.UpdateIssueAccessLimitRequest";var Uxa=function(a){this.internalArray_=m(a)};V(Uxa,X);Uxa.prototype.setSignificanceOverride=function(a){return Ol(this,4,a)};Uxa.repeatedFields_=[1,2];var Zxa=function(a){this.internalArray_=m(a)};V(Zxa,X);Zxa.prototype.getIt=function(){return Gj(this,Em,5)};Zxa.prototype.setIt=function(a){return Pj(this,Em,5,a)};var Lm=function(a){this.internalArray_=m(a)};V(Lm,X);Lm.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return xTb(this,2)};Lm.prototype.getIssueIdsList_asString=function(){return $k(this,2)};Lm.prototype.setIssueIdsList=function(a){return hc(this,2,a,Gb)};Lm.repeatedFields_=[1,2];var f3b=function(a){this.internalArray_=m(a)};V(f3b,X);f3b.prototype.setSignificanceOverride=function(a){return Sj(this,3,a)};f3b.repeatedFields_=[4];var g3b=function(a){this.internalArray_=m(a)};V(g3b,X);g=g3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return uj(this,2,a)};g.getModelVersion=function(){return Lj(this,3)};g.setModelVersion=function(a){return kj(this,3,a)};
g.getIssueVersion=function(){return Lj(this,7)};g.setIssueVersion=function(a){return kj(this,7,a)};g.setFeedbackType=function(a){return uj(this,5,a)};var Hya=function(a){this.internalArray_=m(a)};V(Hya,X);Hya.repeatedFields_=[1,2];var Fya=function(a){this.internalArray_=m(a)};V(Fya,X);var yB=function(a){this.internalArray_=m(a)};V(yB,X);yB.prototype.getField=function(){return Zh(this,1)};yB.prototype.clearField=function(){return ro(this,1)};var Eya=[3,4];var zB=function(a){this.patternParts_=[];this.dateTimeSymbols_=pv;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)},h3b=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],AB=function(a){return a.getHours?a.getHours():0};
zB.prototype.applyPattern_=function(a){for(i3b&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<h3b.length;++c){var d=a.match(h3b[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("jc`"+a);}};
zB.prototype.format=function(a,b){if(!a)throw Error("kc");var c=b?(a.getTimezoneOffset()-V2b(b,a))*6E4:0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(e=(d.getTimezoneOffset()-a.getTimezoneOffset())*6E4,d=new Date(d.getTime()+e),c+=c>0?-864E5:864E5,e=new Date(a.getTime()+c));c=[];for(var f=0;f<this.patternParts_.length;++f){var h=this.patternParts_[f].text;1==this.patternParts_[f].type?c.push(j3b(this,h,a,d,e,b)):c.push(h)}return c.join("")};
zB.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 BB=function(a,b){return k3b(b,a.dateTimeSymbols_)},i3b=!1,k3b=function(a,b){a=String(a);b=b||pv;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("")},CB=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("lc");},l3b=function(a,b){CB(b);b=AB(b);return a.dateTimeSymbols_.AMPMS[b>=12&&b<24?1:0]},j3b=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),BB(a,Fu(c,h));case "Y":return c=d.getFullYear(),e=d.getMonth(),d=d.getDate(),c=jWb(c,e,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),c<0&&(c=-c),h==2&&(c%=100),BB(a,Fu(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=BB(a,Fu(c+1,h))}return h;case "k":return CB(e),c=AB(e)||24,BB(a,Fu(c,h));case "S":return c=e.getMilliseconds()/1E3,BB(a,c.toFixed(Math.min(3,h)).slice(2)+(h>3?Fu(0,h-3):""));case "E":return c=d.getDay(),h>=4?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return l3b(a,e);case "b":return l3b(a,e);case "B":return l3b(a,e);case "h":return CB(e),c=AB(e)%12||12,BB(a,Fu(c,h));case "K":return CB(e),c=AB(e)%12,
BB(a,Fu(c,h));case "H":return CB(e),c=AB(e),BB(a,Fu(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=BB(a,Fu(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=BB(a,Fu(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 BB(a,Fu(d.getDate(),h));case "m":return CB(e),BB(a,Fu(e.getMinutes?e.getMinutes():0,h));case "s":return CB(e),BB(a,Fu(e.getSeconds(),h));case "v":return(f||ql(c.getTimezoneOffset())).timeZoneId_;case "V":return a=f||ql(c.getTimezoneOffset()),h<=2?a.timeZoneId_:U2b(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(),e=e.getDate(),c=jWb(c,d,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),BB(a,Fu(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=f||ql(c.getTimezoneOffset()),h<4?a.tzNames_[U2b(a,c)>0?2:0]:a.tzNames_[U2b(a,c)>0?
3:1];case "Z":return d=f||ql(c.getTimezoneOffset()),h<4?(h=-V2b(d,c),a=[h<0?"-":"+"],h=Math.abs(h),a.push(Fu(Math.floor(h/60)%100,2),Fu(h%60,2)),h=a.join("")):h=BB(a,T2b(V2b(d,c))),h;default:return""}};var Lya=new zB("M/d/yyyy");var dza=function(){this.updates=[];this.hasInitialUpdate=!1;this.summary=[]},eza=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},Uya=function(a,b){a.summary.push.apply(a.summary,r(b))},aza=function(a){var b=m3b(a,a.updates.flatMap(Pya)),c=n3b(a,b),
d=c.preDiffs,e=c.postDiffs;c=a.updates.flatMap(function(k){return k.attachments});var f;d={attachments:c,preDiffs:d,postDiffs:e,modifiedDate:Pi(a.commentTimestamp||((f=a.updates[0])==null?void 0:f.timestamp)),userPerformingAction:Tm(a.author),userPerformingActionUser:a.author,version:a.firstUpdateVersion,isMajorEvent:!!a.comment||!!c.length||a.hasInitialUpdate||b.some(function(k){return k.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(Pi(lj(pj(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},n3b=function(a,b){if(!a.comment)return{preDiffs:b,postDiffs:[]};var c=b.filter(function(d){return d.timestamp<Pi(a.commentTimestamp)});b=b.filter(function(d){return d.timestamp>=Pi(a.commentTimestamp)});return{preDiffs:c,postDiffs:b}},m3b=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 Yya=Ui(function(a){return a.modifiedDate},Vi),cza=Ui(function(a){return a.version},Vi);var o3b=Symbol("mc"),p3b=Symbol("nc"),DB=Symbol("oc"),EB=function(){};EB.prototype.schedule=function(a,b){b=b===void 0?0:b;var c=Li(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(f){c.reject(f);d[DB]=!0;return}c.resolve(e);d[DB]=!0},b);d[o3b]=b;d[p3b]=c.reject;d[DB]=!1;return c.promise};EB.prototype.cancel=function(a){var b=a[o3b];if(b==null||a[DB])return!1;clearTimeout(b);var c;(c=a[p3b])==null||c.call(a,Error("pc"));return a[DB]=!0};EB.\u0275fac=function(a){return new (a||EB)};
EB.\u0275prov=Fc({token:EB,factory:EB.\u0275fac,providedIn:"root"});var FB=function(a){this.timeout=a};FB.prototype.adapt=function(a){return new q3b(this.timeout,a)};FB.\u0275fac=function(a){return new (a||FB)(n(EB))};FB.\u0275prov=Fc({token:FB,factory:FB.\u0275fac,providedIn:"root"});var q3b=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
q3b.prototype.get=function(a){var b=Li(),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||r3b(this);return b.promise};
var r3b=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=l(e.batchedDeferred),k=h.next();!k.done;k=h.next())k.value.reject(f)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];
a.isBatchScheduled=!1})};var Xm=function(a){this.internalArray_=m(a,0,Xm.messageId)};V(Xm,X);Xm.prototype.getResource=function(){return Zh(this,1)};Xm.prototype.getRelation=function(){return Kj(this,2,0)};Xm.messageId="b.ResourceRelation";var GB=function(a){this.internalArray_=m(a,0,GB.messageId)};V(GB,X);GB.repeatedFields_=[1];GB.messageId="b.UserAccessBatchResponse";var HB=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+)$")};HB.prototype.validate=function(a){return this.resourceNamePattern.test(a)};HB.\u0275fac=function(a){return new (a||HB)};HB.\u0275prov=Fc({token:HB,factory:HB.\u0275fac,providedIn:"root"});
var IB=function(a,b,c){var d=this;this.rawUserAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return s3b(d,e)})},s3b=function(a,b){return t3b(a,b).then(function(c){return gza(b,c)})},KB=function(a,b,c){return a.resourceNameValidator.validate(c)?JB(a,b,c):Promise.reject(Error("qc`"+c))},u3b=function(a,b){return a.resourceNameValidator.validate(b)?Promise.all([JB(a,"admin",b),JB(a,"writer",b),JB(a,"appender",b),JB(a,"reader",b)]).then(function(c){var d=l(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("qc`"+b))},t3b=function(a,b){var c=[],d=[];b=l(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return se(a.rawUserAccess.executor.get({url:"action/user_access",options:{params:{relations:c.join(","),resourceNames:d.join(",")}},responseConstructor:GB}).pipe(z(fza)))},JB=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};IB.\u0275fac=function(a){return new (a||IB)(n(LB),n(HB),n(FB))};IB.\u0275prov=Fc({token:IB,factory:IB.\u0275fac,providedIn:"root"});var LB=function(a){this.executor=a};LB.\u0275fac=function(a){return new (a||LB)(n(pA))};LB.\u0275prov=Fc({token:LB,factory:LB.\u0275fac,providedIn:"root"});var MB=function(a){this.internalArray_=m(a)};V(MB,X);g=MB.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return uj(this,2,a)};var v3b=function(a){this.internalArray_=m(a)};V(v3b,X);g=v3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return uj(this,2,a)};var NB=function(a){this.internalArray_=m(a)};V(NB,X);NB.prototype.setFeedback=function(a){return Pj(this,g3b,1,a)};var OB=function(a){this.internalArray_=m(a)};V(OB,X);OB.prototype.setMaxResults=function(a){return kj(this,1,a)};OB.prototype.setView=function(a){return uj(this,2,a)};OB.prototype.setIssueDescriptionView=function(a){return uj(this,3,a)};var PB=function(a){this.internalArray_=m(a)};V(PB,X);g=PB.prototype;g.getIssueIdsList_asLegacyNumberOrString=function(){return il(this,1,Ai())};g.getIssueIdsList_asString=function(){return $k(this,1)};g.setIssueIdsList=function(a){return Vl(this,1,a)};g.setView=function(a){return uj(this,2,a)};g.setIssueDescriptionView=function(a){return uj(this,3,a)};PB.repeatedFields_=[1];var w3b=function(a){this.internalArray_=m(a)};V(w3b,X);g=w3b.prototype;g.getComponentId=function(){return Jj(this,5)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,5)};g.getComponentId_asString=function(){return xu(this,5)};g.setComponentId=function(a){return Ij(this,5,a)};g.getTitle=function(){return Zh(this,6)};g.setTitle=function(a){return sj(this,6,a)};g.getComment=function(){return Zh(this,7)};g.setComment=function(a){return sj(this,7,a)};
g.getAttachmentsList=function(){return Yj(this,Nj,8,Ai())};g.setAttachmentsList=function(a){return Dk(this,8,a)};g.addAllAttachments=function(a){su(this,8,Nj,a)};g.setSignificanceOverride=function(a){return uj(this,2,a)};g.getTemplateId_asLegacyNumberOrString=function(){return Jj(this,4)};g.setTemplateId=function(a){return Ij(this,4,a)};w3b.repeatedFields_=[8];var x3b=function(a){this.internalArray_=m(a)};V(x3b,X);g=x3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setTargetIdsList=function(a){return Vl(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};x3b.repeatedFields_=[2];var y3b=function(a){this.internalArray_=m(a)};V(y3b,X);g=y3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setTargetIdsList=function(a){return Vl(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};y3b.repeatedFields_=[2];var z3b=function(a){this.internalArray_=m(a)};V(z3b,X);g=z3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setTargetId=function(a){return Ij(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};var A3b=function(a){this.internalArray_=m(a)};V(A3b,X);g=A3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setTargetIdsList=function(a){return Vl(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};A3b.repeatedFields_=[2];var B3b=function(a){this.internalArray_=m(a)};V(B3b,X);g=B3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setTargetIdsList=function(a){return Vl(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};B3b.repeatedFields_=[2];var C3b=function(a){this.internalArray_=m(a)};V(C3b,X);g=C3b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setTargetId=function(a){return Ij(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};var QB=function(a){this.internalArray_=m(a,0,QB.messageId)};V(QB,X);QB.prototype.getIt=function(){return Gj(this,PB,3)};QB.prototype.setIt=function(a){return Pj(this,PB,3,a)};QB.messageId="b.BatchGetIssuesRequest";var RB=function(a){this.internalArray_=m(a)};V(RB,X);RB.prototype.getIssuesList=function(){return Yj(this,ym,1,Ai())};RB.repeatedFields_=[1];var SB=function(a){this.internalArray_=m(a,0,SB.messageId)};V(SB,X);SB.prototype.getIt=function(){return Gj(this,RB,2)};SB.prototype.setIt=function(a){return Pj(this,RB,2,a)};SB.messageId="b.BatchGetIssuesResponse";var mya=function(a){this.internalArray_=m(a)};V(mya,X);g=mya.prototype;g.getIssueId=function(){return wu(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return wu(this,1)};g.getIssueId_asString=function(){return Al(this,1)};g.setIssueId=function(a){return Sl(this,1,a)};g.getMessage=function(){return Zh(this,2)};g.setMessage=function(a){return Sj(this,2,a)};var TB=function(a){this.internalArray_=m(a,0,TB.messageId)};V(TB,X);TB.prototype.setErrors=function(a,b){pu(this,2,mya,a,b)};TB.repeatedFields_=[2];TB.messageId="b.BulkEditResponse";var UB=function(a){this.internalArray_=m(a,0,UB.messageId)};V(UB,X);UB.prototype.getIt=function(){return Gj(this,MB,1)};UB.prototype.setIt=function(a){return Pj(this,MB,1,a)};UB.messageId="b.GenerateIssueSummaryRequest";var VB=function(a){this.internalArray_=m(a)};V(VB,X);g=VB.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getSummaryType=function(){return Kj(this,2,0)};g.setSummaryType=function(a){return uj(this,2,a)};g.getModelVersion=function(){return Lj(this,3)};g.setModelVersion=function(a){return kj(this,3,a)};
g.getIssueVersion=function(){return Lj(this,7)};g.setIssueVersion=function(a){return kj(this,7,a)};g.getVersion=function(){return Lj(this,4)};g.setVersion=function(a){return kj(this,4,a)};g.getSummary=function(){return Zh(this,5)};var WB=function(a){this.internalArray_=m(a,0,WB.messageId)};V(WB,X);WB.prototype.getIt=function(){return Gj(this,VB,1)};WB.prototype.setIt=function(a){return Pj(this,VB,1,a)};WB.messageId="b.GenerateIssueSummaryResponse";var XB=function(a){this.internalArray_=m(a,0,XB.messageId)};V(XB,X);XB.prototype.getIt=function(){return Gj(this,VB,4)};XB.prototype.setIt=function(a){return Pj(this,VB,4,a)};XB.messageId="b.GetIssueSummaryResponse";var YB=function(a){this.internalArray_=m(a)};V(YB,X);YB.prototype.getReadersList=function(){return Yj(this,Bj,1,Ai())};YB.prototype.setReadersList=function(a){return Dk(this,1,a)};YB.prototype.getAppendersList=function(){return Yj(this,Bj,2,Ai())};YB.prototype.setAppendersList=function(a){return Dk(this,2,a)};YB.repeatedFields_=[1,2,3];var ZB=function(a){this.internalArray_=m(a,0,ZB.messageId)};V(ZB,X);ZB.prototype.getIt=function(){return Gj(this,YB,4)};ZB.prototype.setIt=function(a){return Pj(this,YB,4,a)};ZB.messageId="b.GetRetainedAccessPrincipalsResponse";var $B=function(a){this.internalArray_=m(a,0,$B.messageId)};V($B,X);$B.prototype.getIssueId=function(){return wu(this,1)};$B.prototype.getIssueId_asLegacyNumberOrString=function(){return wu(this,1)};$B.prototype.getIssueId_asString=function(){return Al(this,1)};$B.prototype.setIssueId=function(a){return Sl(this,1,a)};$B.messageId="b.IssueCreateResponse";var Rn=function(a){this.internalArray_=m(a,0,Rn.messageId)};V(Rn,X);Rn.prototype.getIssue=function(){return Gj(this,Mm,1)};Rn.prototype.setIssue=function(a){return Pj(this,Mm,1,a)};Rn.messageId="b.IssueFetchResponse";var aC=function(a){this.internalArray_=m(a)};V(aC,X);g=aC.prototype;g.getIssuesList=function(){return Yj(this,ym,1,Ai())};g.getNextPageToken=function(){return Zh(this,2)};g.getTotalSize=function(){return Lj(this,3)};g.getTotalSizeAccurate=function(){return hk(this,4)};g.getMaySkipResults=function(){return hk(this,5)};aC.repeatedFields_=[1];var bC=function(a){this.internalArray_=m(a,0,bC.messageId)};V(bC,X);bC.prototype.getIt=function(){return Gj(this,aC,6)};bC.prototype.setIt=function(a){return Pj(this,aC,6,a)};bC.messageId="b.IssueSearchResponse";var D3b=function(a){this.internalArray_=m(a)};V(D3b,X);g=D3b.prototype;g.getIssueId=function(){return Jj(this,10)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,10)};g.getIssueId_asString=function(){return xu(this,10)};g.setIssueId=function(a){return Ij(this,10,a)};g.getAuthor=function(){return Gj(this,rj,1)};g.setAuthor=function(a){Pj(this,rj,1,a)};g.hasAuthor=function(){return Ak(this,rj,1)};g.getTimestamp=function(){return Gj(this,mj,2)};
g.setTimestamp=function(a){return Pj(this,mj,2,a)};g.hasTimestamp=function(){return Ak(this,mj,2)};g.getIssueComment=function(){return Gj(this,qm,3)};g.setIssueComment=function(a){Pj(this,qm,3,a)};g.hasIssueComment=function(){return Ak(this,qm,3)};g.getCommentNumber=function(){return Lj(this,4)};g.setCommentNumber=function(a){return kj(this,4,a)};g.getAttachmentsList=function(){return Yj(this,Nj,8,Ai())};g.setAttachmentsList=function(a){return Dk(this,8,a)};
g.addAllAttachments=function(a){su(this,8,Nj,a)};g.getStatusUpdate=function(){return Gj(this,Ck,9)};g.setStatusUpdate=function(a){Pj(this,Ck,9,a)};g.hasStatusUpdate=function(){return Ak(this,Ck,9)};g.getFieldUpdatesList=function(){return Yj(this,yB,6,Ai())};g.getVersion=function(){return Lj(this,7)};g.setVersion=function(a){return kj(this,7,a)};D3b.repeatedFields_=[8,6];var cC=function(a){this.internalArray_=m(a,0,cC.messageId)};V(cC,X);cC.repeatedFields_=[2];cC.messageId="b.ListIssueEventsResponse";var dC=function(a){this.internalArray_=m(a,0,dC.messageId)};V(dC,X);dC.prototype.getIt=function(){return Gj(this,OB,1)};dC.prototype.setIt=function(a){return Pj(this,OB,1,a)};dC.messageId="b.ListRecentIssuesRequest";var eC=function(a){this.internalArray_=m(a)};V(eC,X);eC.prototype.getIssuesList=function(){return Yj(this,ym,1,Ai())};eC.repeatedFields_=[1];var fC=function(a){this.internalArray_=m(a,0,fC.messageId)};V(fC,X);fC.prototype.getIt=function(){return Gj(this,eC,2)};fC.prototype.setIt=function(a){return Pj(this,eC,2,a)};fC.messageId="b.ListRecentIssuesResponse";var Xxa=function(a){this.internalArray_=m(a)};V(Xxa,X);g=Xxa.prototype;g.getIssueId=function(){return wu(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return wu(this,1)};g.getIssueId_asString=function(){return Al(this,1)};g.setIssueId=function(a){return Sl(this,1,a)};g.getStatus=function(){return Kj(this,2,0)};g.setStatus=function(a){return Ol(this,2,a)};g.hasStatus=function(){return wl(this,2)};g.getTitle=function(){return Zh(this,3)};g.setTitle=function(a){return Sj(this,3,a)};
g.getVersion=function(){return Lj(this,4)};g.setVersion=function(a){return Ml(this,4,a)};g.getVersionOrUndefined=function(){return Au(this,4)};g.getIsArchived=function(){return hk(this,5)};g.setIsArchived=function(a){return Ll(this,5,a)};var gC=function(a){this.internalArray_=m(a,0,gC.messageId)};V(gC,X);gC.repeatedFields_=[1];gC.messageId="b.RelatedIssuesResponse";var hC=function(a){this.internalArray_=m(a,0,hC.messageId)};V(hC,X);hC.prototype.getIt=function(){return Gj(this,NB,1)};hC.prototype.setIt=function(a){return Pj(this,NB,1,a)};hC.messageId="b.SubmitIssueSummaryFeedbackRequest";var iC=function(a,b,c){this.executor=a;this.userAccess=b;this.activeSession=c};g=iC.prototype;
g.createIssue=function(a){var b=this;return Be(function(){return KB(b.userAccess,"writer","components/"+a.snapshot.componentId+"/issueDefaults")}).pipe(Cf(function(c){if(c){var d=bya(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:$B}).pipe(z(cya))}else{c=(new w3b).setComponentId(a.snapshot.componentId).setTitle(a.snapshot.title).setComment(a.snapshot.comment);var f=uk(a.snapshot.formattingMode);
c=uj(c,9,f).setAttachmentsList((e=(d=a.attachments)==null?void 0:d.map(Fta))!=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:$B}).pipe(z(cya))}return d}))};
g.createIssueWithWizard=function(a){var b=bya(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:$B}).pipe(z(cya))};g.getIssue=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:Rn}).pipe(z(function(e){return Km(e)}))};
g.batchGetIssues=function(a){a=(new QB).setIt((new PB).setIssueIdsList(a.map(Di).filter(Gi)).setView(2).setIssueDescriptionView(2));return this.executor.post({url:"action/issues/batch",body:a,responseConstructor:SB}).pipe(z(function(b){return b.getIt().getIssuesList().map(Lk)}))};g.updateIssue=function(a,b){b=Txa(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};
g.moveIssueExternal=function(a,b){b=Nxa(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};g.moveIssue=function(a,b){b=Lxa(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};g.unCcUser=function(a){var b=Jxa(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};
g.updateAccessLimit=function(a,b,c,d){var e=new xB,f=e.setIt,h=(new oA).setIssueId(a);b&&(b=fta(b),h.setIssueAccessLimit(b));c&&h.setAddedCollaboratorsList(c.map(vj));d&&h.setRemovedCollaboratorsList(d.map(vj));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=Ixa(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:ZB}).pipe(z(function(e){e=e.getIt();return{readers:e.getReadersList().map(Aj),appenders:e.getAppendersList().map(Aj),writers:Yj(e,Bj,3,Ai()).map(Aj)}}))};
g.markAsVulnerability=function(a,b){var c=(new oB).setIssueId(Number(a));b&&(b=b.map(vj),Dk(c,2,b));c=(new uB).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 E3b(this,a,b.targetIds[0]);if(b.relation==="DUPLICATE"&&
b.actionType==="REMOVE")return F3b(this,a);throw Error("rc");};g.addBlocking=function(a,b){b=(new y3b).setIssueId(Number(a)).setTargetIdsList(b.map(Di).filter(Gi));return this.executor.post({url:"action/issues/"+a+"/add_blocking",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};g.removeBlocking=function(a,b){b=(new B3b).setIssueId(Number(a)).setTargetIdsList(b.map(Di).filter(Gi));return this.executor.post({url:"action/issues/"+a+"/remove_blocking",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};
g.addBlockedBy=function(a,b){b=(new x3b).setIssueId(Number(a)).setTargetIdsList(b.map(Di).filter(Gi));return this.executor.post({url:"action/issues/"+a+"/add_blocked_by",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};g.removeBlockedBy=function(a,b){b=(new A3b).setIssueId(Number(a)).setTargetIdsList(b.map(Di).filter(Gi));return this.executor.post({url:"action/issues/"+a+"/remove_blocked_by",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};
var E3b=function(a,b,c){c=(new z3b).setIssueId(Number(b)).setTargetId(Number(c));return a.executor.post({url:"action/issues/"+b+"/mark_as_duplicate",body:c,responseConstructor:Rn}).pipe(z(function(d){return Km(d)}))},F3b=function(a,b){var c=(new C3b).setIssueId(Number(b));return a.executor.post({url:"action/issues/"+b+"/unmark_as_duplicate",body:c,responseConstructor:Rn}).pipe(z(function(d){return Km(d)}))};
iC.prototype.updateIssueHotlists=function(a,b){b=Wxa(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};iC.prototype.updateIssueRetention=function(a,b){b=$xa(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:Rn}).pipe(z(function(c){return Km(c)}))};
iC.prototype.listIssues=function(a,b){b=b===void 0?{}:b;var c;a=(new qB).setQuery(a);b.s&&a.setOrderBy(rva(b.s));b.count&&(a.setPageSize(b.count),b.p&&a.setPageToken("start_index:"+b.count*(b.p-1)));a=(new tB).setIt(a);b=(c=b.trackerIds)!=null?c:[];c=hc(a,6,b,Gb);return this.executor.post({url:"action/issues/list",body:c,responseConstructor:bC}).pipe(z(uya))};var G3b=function(a,b){var c=new OB;b&&c.setMaxResults(b);b=(new dC).setIt(c);return a.executor.post({url:"action/issues/recent",body:b,responseConstructor:fC}).pipe(z(function(d){return d.getIt().getIssuesList().map(function(e){return Lk(e)})}))};
iC.prototype.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new f3b;var d=a.bulkEditOps.map(kya);Dk(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:TB,options:{headers:c}}).pipe(z(nya))};
iC.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:gC}).pipe(z(Yxa))};
var I3b=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:cC}).pipe(z(function(e){return H3b(e,!1)}))},J3b=function(a,b){b=eya(b);return a.executor.post({url:"action/issues/list/events",body:b,responseConstructor:cC}).pipe(z(function(c){return H3b(c,!0)}))};
iC.prototype.getIssueSummary=function(a,b){b=(new v3b).setIssueId(Number(a)).setSummaryType(E1b[b]);return this.executor.post({url:"action/issues/"+a+"/getSummary",body:b,responseConstructor:XB}).pipe(z(function(c){return wya(c.getIt())}))};iC.prototype.generateIssueSummary=function(a,b){b=(new MB).setIssueId(a).setSummaryType(E1b[b]);b=(new UB).setIt(b);return this.executor.post({url:"action/issues/"+a+"/generateSummary",body:b,responseConstructor:WB}).pipe(z(function(c){return wya(c.getIt())}))};
var H3b=function(a,b){a=Yj(a,D3b,2,Ai()).map(Cya);return b?Zya(a):Xya(a)};iC.\u0275fac=function(a){return new (a||iC)(n(pA),n(IB),n(as))};iC.\u0275prov=Fc({token:iC,factory:iC.\u0275fac,providedIn:"root"});var jC=function(a){this.observableApi=a};g=jC.prototype;g.createIssue=function(a){return se(this.observableApi.createIssue(a))};g.createIssueWithWizard=function(a){return se(this.observableApi.createIssueWithWizard(a))};g.getIssue=function(a){return se(this.observableApi.getIssue(a))};
g.batchGetIssues=function(a){return se(this.observableApi.batchGetIssues(a))};g.updateIssue=function(a,b){return se(this.observableApi.updateIssue(a,b))};g.moveIssueExternal=function(a,b){return se(this.observableApi.moveIssueExternal(a,b))};g.moveIssue=function(a,b){return se(this.observableApi.moveIssue(a,b))};g.unCcUser=function(a){return se(this.observableApi.unCcUser(a))};g.updateAccessLimit=function(a,b,c,d){return se(this.observableApi.updateAccessLimit(a,b,c,d))};
g.getRetainedAccessPrincipals=function(a,b,c,d){return se(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};g.markAsVulnerability=function(a,b){return se(this.observableApi.markAsVulnerability(a,b))};g.relateIssue=function(a,b){return se(this.observableApi.relateIssue(a,b))};g.updateIssueHotlists=function(a,b){return se(this.observableApi.updateIssueHotlists(a,b))};g.updateIssueRetention=function(a,b){return se(this.observableApi.updateIssueRetention(a,b))};
g.listIssues=function(a,b){b=b===void 0?{}:b;return se(this.observableApi.listIssues(a,b))};g.issueBulkEdit=function(a,b){return se(this.observableApi.issueBulkEdit(a,b))};g.getRelatedIssues=function(a){return se(this.observableApi.getRelatedIssues(a))};jC.\u0275fac=function(a){return new (a||jC)(n(iC))};jC.\u0275prov=Fc({token:jC,factory:jC.\u0275fac,providedIn:"root"});var K3b=new ld("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var kC=function(a,b){this.elementRef=a;this.options=b};kC.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};kC.\u0275fac=function(a){return new (a||kC)(B(Rd),B(K3b))};
kC.\u0275dir=ed({type:kC,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&&Wf("gmat-mdc-button",!b.options.disableGmatStyle)}});var L3b=function(){};V(L3b,BWb);var lC=function(){};V(lC,L3b);var M3b=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};lC.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};lC.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};lC.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var DWb=function(a,b){return b==="window"?window:b==="document"?a:b==="body"?a.body:null};
lC.prototype.getBaseHref=function(){var a=(N3b=N3b||document.querySelector("base"))?N3b.getAttribute("href"):null;return a==null?null:(new URL(a,document.baseURI)).pathname};var N3b=null;var O3b=function(){},AVb=function(a){Ke.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,c===void 0?!0:c);if(b==null)throw new Jc(5103,!1);return b};Ke.getAllAngularTestabilities=function(){return Array.from(a._applications.values())};Ke.getAllAngularRootElements=function(){return Array.from(a._applications.keys())};Ke.frameworkStabilizers||(Ke.frameworkStabilizers=[]);Ke.frameworkStabilizers.push(function(b){var c=Ke.getAllAngularTestabilities(),d=c.length,e=function(){d--;d==0&&b()};
c.forEach(function(f){f.whenStable(e)})})};O3b.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 mC=function(){};mC.prototype.build=function(){return new XMLHttpRequest};mC.\u0275fac=function(a){return new (a||mC)};mC.\u0275prov=Fc({token:mC,factory:mC.\u0275fac});var P3b=new ld(""),nC=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()};nC.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};nC.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 Jc(5101,!1);this._eventNameToPlugin.set(a,b);return b};
nC.\u0275fac=function(a){return new (a||nC)(n(P3b),n(Me))};nC.\u0275prov=Fc({token:nC,factory:nC.\u0275fac});var Q3b=function(a){this._doc=a};var oC=function(a,b,c,d){d=d===void 0?{}:d;this.doc=a;this.appId=b;this.nonce=c;this.styleRef=new Map;this.hostNodes=new Set;this.styleNodesInDOM=R3b(this);this.platformIsServer=d==="server";S3b(this)},V3b=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,T3b(a,c,1)===1)for(var d=a,e=l(d.hostNodes),f=e.next();!f.done;f=e.next())U3b(d,f.value,c)};
oC.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=l(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())W3b(this,b.value);S3b(this)};
var W3b=function(a,b){a=a.styleRef;var c,d;(c=a.get(b))==null||(d=c.elements)==null||d.forEach(function(e){return e.remove()});a.delete(b)},R3b=function(a){var b,c=(b=a.doc.head)==null?void 0:b.querySelectorAll('style[ng-app-id="'+a.appId+'"]');if(c==null?0:c.length){var d=new Map;c.forEach(function(e){e.textContent!=null&&d.set(e.textContent,e)});return d}return null},T3b=function(a,b,c){a=a.styleRef;if(a.has(b))return b=a.get(b),b.usage+=c,b.usage;a.set(b,{usage:c,elements:[]});return c},U3b=function(a,
b,c){var d=a.styleNodesInDOM,e=d==null?void 0:d.get(c);(e==null?void 0:e.parentNode)===b?(d.delete(c),e.removeAttribute("ng-app-id"),b=e):(d=a.doc.createElement("style"),a.nonce&&d.setAttribute("nonce",a.nonce),d.textContent=c,a.platformIsServer&&d.setAttribute("ng-app-id",a.appId),b.appendChild(d),b=d);a=a.styleRef;var f;(d=(f=a.get(c))==null?void 0:f.elements)?d.push(b):a.set(c,{elements:[b],usage:1})},S3b=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
oC.\u0275fac=function(a){return new (a||oC)(n(vh),n(AUb),n(BUb,8),n(Oe))};oC.\u0275prov=Fc({token:oC,factory:oC.\u0275fac});var X3b={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"},hza=/%COMP%/g,Y3b=new ld("",{providedIn:"root",factory:function(){return!0}}),qC=function(a,b,c,d,e,f,h,k){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestroy=d;this.doc=e;this.ngZone=h;this.nonce=k===void 0?null:k;this.rendererByCompId=
new Map;this.platformIsServer=f==="server";this.defaultRenderer=new pC(a,e,h,this.platformIsServer)};
qC.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,k=this.removeStylesOnCompDestroy,q=this.platformIsServer;switch(b.encapsulation){case 0:d=new Z3b(f,h,b,this.appId,k,d,e,q);break;case 3:b=new $3b(f,h,a,b,d,e,this.nonce,q);break a;default:d=new rC(f,h,b,k,d,e,
q)}c.set(b.id,d)}b=d}b instanceof Z3b?(V3b(b.sharedStylesHost,b.styles),b.setAttribute(a,b.hostAttr,"")):b instanceof rC&&V3b(b.sharedStylesHost,b.styles);return b};qC.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};qC.\u0275fac=function(a){return new (a||qC)(n(nC),n(oC),n(AUb),n(Y3b),n(vh),n(Oe),n(Me),n(BUb))};qC.\u0275prov=Fc({token:qC,factory:qC.\u0275fac});
var pC=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=pC.prototype;g.destroy=function(){};g.createElement=function(a,b){return b?this.doc.createElementNS(X3b[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){a&&a.removeChild(b)};g.selectRootElement=function(a,b){a=typeof a==="string"?this.doc.querySelector(a):a;if(!a)throw new Jc(-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=X3b[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};g.removeAttribute=function(a,b,c){if(c){var d=X3b[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=DWb(this.doc,a),!a))throw Error("sc`"+a+"`"+b);return this.eventManager.addEventListener(a,b,a4b(this,c))};
var a4b=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()}},$3b=function(a,b,c,d,e,f,h,k){pC.call(this,a,e,f,k);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=l(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())U3b(a,b,e.value);d=iza(d.id,d.styles);d=l(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)};V($3b,pC);var sC=function(a,b){return b===a.hostEl?a.shadowRoot:b};g=$3b.prototype;g.appendChild=function(a,b){return pC.prototype.appendChild.call(this,sC(this,a),b)};g.insertBefore=function(a,b,c){return pC.prototype.insertBefore.call(this,sC(this,a),b,c)};g.removeChild=function(a,b){return pC.prototype.removeChild.call(this,sC(this,a),b)};
g.parentNode=function(a){return sC(this,pC.prototype.parentNode.call(this,sC(this,a)))};g.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var rC=function(a,b,c,d,e,f,h,k){pC.call(this,a,e,f,h);this.sharedStylesHost=b;this.removeStylesOnCompDestroy=d;this.styles=k?iza(k,c.styles):c.styles};V(rC,pC);
rC.prototype.destroy=function(){if(this.removeStylesOnCompDestroy)for(var a=this.sharedStylesHost,b=l(this.styles),c=b.next();!c.done;c=b.next())c=c.value,T3b(a,c,-1)<=0&&W3b(a,c)};var Z3b=function(a,b,c,d,e,f,h,k){d=d+"-"+c.id;rC.call(this,a,b,c,e,f,h,k,d);this.contentAttr="_ngcontent-%COMP%".replace(hza,d);this.hostAttr="_nghost-%COMP%".replace(hza,d)};V(Z3b,rC);
Z3b.prototype.createElement=function(a,b){a=rC.prototype.createElement.call(this,a,b);rC.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var tC=function(a){this._doc=a};V(tC,Q3b);tC.prototype.supports=function(){return!0};tC.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};tC.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};tC.\u0275fac=function(a){return new (a||tC)(n(vh))};tC.\u0275prov=Fc({token:tC,factory:tC.\u0275fac});var uC=function(a){this._doc=a;this.delegate=Xc(ZVb,{optional:!0})};V(uC,Q3b);uC.prototype.supports=function(a){return this.delegate?this.delegate.supports(a):!1};uC.prototype.addEventListener=function(a,b,c){return this.delegate.addEventListener(a,b,c)};uC.prototype.removeEventListener=function(a,b,c){return this.delegate.removeEventListener(a,b,c)};uC.\u0275fac=function(a){return new (a||uC)(n(vh))};uC.\u0275prov=Fc({token:uC,factory:uC.\u0275fac});var b4b=["alt","control","meta","shift"],c4b={"\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"},d4b={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},vC=function(a){this._doc=a};V(vC,Q3b);vC.prototype.supports=function(a){return e4b(a)!=null};
vC.prototype.addEventListener=function(a,b,c){var d=e4b(b),e=f4b(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return M3b(a,d.domEventName,e)})};
var e4b=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(b.length===0||a!=="keydown"&&a!=="keyup")return null;var c=g4b(b.pop()),d="",e=b.indexOf("code");e>-1&&(b.splice(e,1),d="code.");b4b.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},h4b=function(a,b){var c=c4b[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");b4b.forEach(function(e){e!==c&&(0,d4b[e])(a)&&(d+=e+".")});d+=c;return d===b},f4b=function(a,b,c){return function(d){h4b(d,a)&&c.runGuarded(function(){return b(d)})}},g4b=function(a){return a==="esc"?"escape":a};vC.\u0275fac=function(a){return new (a||vC)(n(vh))};vC.\u0275prov=Fc({token:vC,factory:vC.\u0275fac});var XVb=qma(dWb,"browser",[{provide:Oe,useValue:"browser"},{provide:tma,useValue:function(){var a=new lC;AWb!=null||(AWb=a)},multi:!0},{provide:vh,useFactory:function(){return Sga=document},deps:[]}]),i4b=new ld(""),j4b=[{provide:yVb,useClass:O3b,deps:[]},{provide:xVb,useClass:fv,deps:[Me,gv,yVb]},{provide:fv,useClass:fv,deps:[Me,gv,yVb]}],k4b=[{provide:rma,useValue:"root"},{provide:gf,useFactory:function(){return new gf},deps:[]},{provide:P3b,useClass:tC,multi:!0,deps:[vh,Me,Oe]},{provide:P3b,useClass:vC,
multi:!0,deps:[vh]},{provide:P3b,useClass:uC,multi:!0},qC,oC,nC,{provide:FUb,useExisting:qC},{provide:JWb,useClass:mC,deps:[]},[]],wC=function(){};wC.\u0275fac=function(a){return new (a||wC)(n(i4b,12))};wC.\u0275mod=cd({type:wC});wC.\u0275inj=Gc({providers:[].concat(r(k4b),r(j4b)),imports:[Gv,iv]});var xC=function(a){this._doc=a};xC.prototype.getTitle=function(){return this._doc.title};xC.prototype.setTitle=function(a){this._doc.title=a||""};xC.\u0275fac=function(a){return new (a||xC)(n(vh))};xC.\u0275prov=Fc({token:xC,factory:xC.\u0275fac,providedIn:"root"});new ld("HammerGestureConfig");new ld("HammerLoader");var l4b=function(){},m4b=function(){};var yC=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(":");if(d>0){var e=c.slice(0,d),f=e.toLowerCase();c=c.slice(d+1).trim();n4b(b,e,f);b.headers.has(f)?b.headers.get(f).push(c):b.headers.set(f,[c])}})}:typeof Headers!=="undefined"&&a instanceof Headers?(this.headers=new Map,a.forEach(function(c,d){o4b(b,d,c)})):this.lazyInit=function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=
l(c);c=d.next().value;d=d.next().value;o4b(b,c,d)})}:this.headers=new Map};g=yC.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 n4b=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};yC.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof yC?p4b(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return q4b(a,b)}),this.lazyUpdate=null))};
var p4b=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))})};yC.prototype.clone=function(a){var b=new yC;b.lazyInit=this.lazyInit&&this.lazyInit instanceof yC?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var q4b=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;n4b(a,b.name,c);b=(b.op==="a"?a.headers.get(c):void 0)||[];b.push.apply(b,r(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)}},o4b=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);n4b(a,b,d)};yC.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 r4b=function(){},kza=/%(\d[a-f0-9])/gi,lza={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},zC=function(a){var b=this;a=a===void 0?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new r4b;if(a.fromString){if(a.fromObject)throw Error("tc");this.map=jza(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(nza):[""+d];b.map.set(c,d)})):this.map=null};g=zC.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=mza(b);return a.map.get(b).map(function(d){return c+"="+mza(d)}).join("&")}).filter(function(b){return b!==""}).join("&")};g.clone=function(a){var b=new zC({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 s4b=function(){this.map=new Map};g=s4b.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 AC=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 yC);this.context!=null||(this.context=new s4b);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 zC,this.urlWithParams=b)},t4b=function(a){return a.body===null?null:typeof a.body==="string"||oza(a.body)||pza(a.body)||qza(a.body)||typeof URLSearchParams!=="undefined"&&a.body instanceof
URLSearchParams?a.body:a.body instanceof zC?a.body.toString():typeof a.body==="object"||typeof a.body==="boolean"||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()},u4b=function(a){return a.body===null||qza(a.body)?null:pza(a.body)?a.body.type||null:oza(a.body)?null:typeof a.body==="string"?"text/plain":a.body instanceof zC?"application/x-www-form-urlencoded;charset=UTF-8":typeof a.body==="object"||typeof a.body==="number"||typeof a.body==="boolean"?"application/json":null};
AC.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,k=(h=a.withCredentials)!=null?h:this.withCredentials,q;h=(q=a.reportProgress)!=null?q:this.reportProgress;q=a.headers||this.headers;var t=a.params||this.params,w,y=(w=a.context)!=null?w:this.context;a.setHeaders!==void 0&&(q=Object.keys(a.setHeaders).reduce(function(D,G){return D.set(G,
a.setHeaders[G])},q));a.setParams&&(t=Object.keys(a.setParams).reduce(function(D,G){return D.set(G,a.setParams[G])},t));return new AC(b,c,e,{params:t,headers:q,context:y,reportProgress:h,responseType:d,withCredentials:k,transferCache:f})};var BC=function(a,b,c){b=b===void 0?200:b;c=c===void 0?"OK":c;this.headers=a.headers||new yC;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},CC=function(a){a=a===void 0?{}:a;BC.call(this,a);this.type=2};V(CC,BC);
CC.prototype.clone=function(a){a=a===void 0?{}:a;return new CC({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 DC=function(a){a=a===void 0?{}:a;BC.call(this,a);this.type=4;this.body=a.body!==void 0?a.body:null};V(DC,BC);
DC.prototype.clone=function(a){a=a===void 0?{}:a;return new DC({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 EC=function(a){BC.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};V(EC,BC);var FC=function(a){this.handler=a};g=FC.prototype;
g.request=function(a,b,c){var d=this;c=c===void 0?{}:c;if(a instanceof AC)b=a;else{var e=void 0;e=c.headers instanceof yC?c.headers:new yC(c.headers);var f=void 0;c.params&&(f=c.params instanceof zC?c.params:new zC({fromObject:c.params}));b=new AC(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=pe(b).pipe(nf(function(h){return d.handler.handle(h)}));
if(a instanceof AC||c.observe==="events")return e;a=e.pipe(He(function(h){return h instanceof DC}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(z(function(h){if(h.body!==null&&!(h.body instanceof ArrayBuffer))throw Error("uc");return h.body}));case "blob":return a.pipe(z(function(h){if(h.body!==null&&!(h.body instanceof Blob))throw Error("vc");return h.body}));case "text":return a.pipe(z(function(h){if(h.body!==null&&typeof h.body!=="string")throw Error("wc");
return h.body}));default:return a.pipe(z(function(h){return h.body}))}case "response":return a;default:throw Error("xc`"+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.jsonp=function(a,b){return this.request("JSONP",a,{params:(new zC).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
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,rza(c,b))};g.post=function(a,b,c){c=c===void 0?{}:c;return this.request("POST",a,rza(c,b))};g.put=function(a,b,c){c=c===void 0?{}:c;return this.request("PUT",a,rza(c,b))};FC.\u0275fac=function(a){return new (a||FC)(n(l4b))};FC.\u0275prov=Fc({token:FC,factory:FC.\u0275fac});var v4b=/^\)\]\}',?\n/,GC=function(){var a,b;this.fetchImpl=(b=(a=Xc(w4b,{optional:!0}))==null?void 0:a.fetch)!=null?b:fetch.bind(globalThis);this.ngZone=Xc(Me)};GC.prototype.handle=function(a){var b=this;return new ce(function(c){var d=new AbortController;x4b(b,a,d.signal,c).then(tza,function(e){return c.error(new EC({error:e}))});return function(){return d.abort()}})};
var x4b=function(a,b,c,d){var e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma;return ge(function(Aa){switch(Aa.nextAddress){case 1:return e=y4b(b),he(Aa,2),h=a.ngZone.runOutsideAngular(function(){return a.fetchImpl(b.urlWithParams,Object.assign({},{signal:c},e))}),h.then(tza,tza),d.next({type:0}),ie(Aa,h,4);case 4:f=Aa.yieldResult;Zt(Aa,3);break;case 2:return k=le(Aa),d.error(new EC({error:k,status:(q=k.status)!=null?q:0,statusText:k.statusText,url:b.urlWithParams,headers:k.headers})),Aa.return();
case 3:t=new yC(f.headers);w=f.statusText;D=(y=sza(f))!=null?y:b.urlWithParams;G=f.status;I=null;b.reportProgress&&d.next(new CC({headers:t,status:G,statusText:w,url:D}));if(!f.body){Aa.jumpTo(5);break}N=f.headers.get("content-length");S=[];W=f.body.getReader();Z=0;ua=typeof Zone!=="undefined"&&Zone.current;return ie(Aa,a.ngZone.runOutsideAngular(function(){var wb,Pb,Vb,xb,Uc,Sa;return ge(function(nb){if(nb.nextAddress==1)return ie(nb,W.read(),5);wb=nb.yieldResult;Pb=wb.done;Vb=wb.value;if(Pb)return nb.jumpTo(0);
S.push(Vb);Z+=Vb.length;b.reportProgress&&(Uc=xb=void 0,ma=b.responseType==="text"?((xb=ma)!=null?xb:"")+((Uc=fa)!=null?Uc:fa=new TextDecoder).decode(Vb,{stream:!0}):void 0,Sa=function(){return d.next({type:3,total:N?+N:void 0,loaded:Z,partialText:ma})},ua?ua.run(Sa):Sa());return nb.jumpTo(1)})}),6);case 6:Ua=z4b(S,Z);try{xa=(ha=f.headers.get("Content-Type"))!=null?ha:"",I=A4b(b,Ua,xa)}catch(wb){return d.error(new EC({error:wb,headers:new yC(f.headers),status:f.status,statusText:f.statusText,url:(sa=
sza(f))!=null?sa:b.urlWithParams})),Aa.return()}case 5:G===0&&(G=I?200:0),(Ma=G>=200&&G<300)?(d.next(new DC({body:I,headers:t,status:G,statusText:w,url:D})),d.complete()):d.error(new EC({error:I,headers:t,status:G,statusText:w,url:D})),me(Aa)}})},A4b=function(a,b,c){switch(a.responseType){case "json":return a=(new TextDecoder).decode(b).replace(v4b,""),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}},
y4b=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=u4b(a);d!==null&&(b["Content-Type"]=d)}return{body:t4b(a),method:a.method,headers:b,credentials:c}},z4b=function(a,b){b=new Uint8Array(b);var c=0;a=l(a);for(var d=a.next();!d.done;d=a.next())d=d.value,b.set(d,c),c+=d.length;return b};
GC.\u0275fac=function(a){return new (a||GC)};GC.\u0275prov=Fc({token:GC,factory:GC.\u0275fac});var w4b=function(){};var HC=new ld(""),B4b=new ld(""),C4b=new ld(""),D4b=new ld("",{providedIn:"root",factory:function(){return!0}}),IC=function(a,b){this.backend=a;this.injector=b;this.chain=null;this.pendingTasks=Xc(av);this.contributeToStability=Xc(D4b)};V(IC,l4b);
IC.prototype.handle=function(a){var b=this;this.chain===null&&(this.chain=Array.from(new Set([].concat(r(this.injector.get(B4b)),r(this.injector.get(C4b,[]))))).reduceRight(function(d,e){return wza(d,e,b.injector)},uza));if(this.contributeToStability){var c=this.pendingTasks.add();return this.chain(a,function(d){return b.backend.handle(d)}).pipe(tf(function(){return b.pendingTasks.remove(c)}))}return this.chain(a,function(d){return b.backend.handle(d)})};
IC.\u0275fac=function(a){return new (a||IC)(n(m4b),n(Ku))};IC.\u0275prov=Fc({token:IC,factory:IC.\u0275fac});var E4b=/^\)\]\}',?\n/,JC=function(a){this.xhrFactory=a};
JC.prototype.handle=function(a){if(a.method==="JSONP")throw new Jc(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?fe(b.\u0275loadImpl()):pe(null)).pipe(Cf(function(){return new ce(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(G,I){return d.setRequestHeader(G,I.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=u4b(a);
e!==null&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType=e!=="json"?e:"text");var f=t4b(a),h=null,k=function(){if(h!==null)return h;var G=d.statusText||"OK",I=new yC(d.getAllResponseHeaders()),N=("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 CC({headers:I,status:d.status,statusText:G,url:N})},q=function(){var G=k(),I=G.headers,N=G.status,
S=G.statusText;G=G.url;var W=null;N!==204&&(W=typeof d.response==="undefined"?d.responseText:d.response);N===0&&(N=W?200:0);var Z=N>=200&&N<300;if(a.responseType==="json"&&typeof W==="string"){var fa=W;W=W.replace(E4b,"");try{W=W!==""?JSON.parse(W):null}catch(ma){W=fa,Z&&(Z=!1,W={error:ma,text:W})}}Z?(c.next(new DC({body:W,headers:I,status:N,statusText:S,url:G||void 0})),c.complete()):c.error(new EC({error:W,headers:I,status:N,statusText:S,url:G||void 0}))},t=function(G){var I=k().url;G=new EC({error:G,
status:d.status||0,statusText:d.statusText||"Unknown Error",url:I||void 0});c.error(G)},w=!1,y=function(G){w||(c.next(k()),w=!0);var I={type:3,loaded:G.loaded};G.lengthComputable&&(I.total=G.total);a.responseType==="text"&&d.responseText&&(I.partialText=d.responseText);c.next(I)},D=function(G){var I={type:1,loaded:G.loaded};G.lengthComputable&&(I.total=G.total);c.next(I)};d.addEventListener("load",q);d.addEventListener("error",t);d.addEventListener("timeout",t);d.addEventListener("abort",t);a.reportProgress&&
(d.addEventListener("progress",y),f!==null&&d.upload&&d.upload.addEventListener("progress",D));d.send(f);c.next({type:0});return function(){d.removeEventListener("error",t);d.removeEventListener("abort",t);d.removeEventListener("load",q);d.removeEventListener("timeout",t);a.reportProgress&&(d.removeEventListener("progress",y),f!==null&&d.upload&&d.upload.removeEventListener("progress",D));d.readyState!==d.DONE&&d.abort()}})}))};JC.\u0275fac=function(a){return new (a||JC)(n(JWb))};
JC.\u0275prov=Fc({token:JC,factory:JC.\u0275fac});var xza=new ld(""),F4b=new ld("",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),zza=new ld("",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),yza=function(){},KC=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
KC.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=l(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=l(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};
KC.\u0275fac=function(a){return new (a||KC)(n(vh),n(Oe),n(F4b))};KC.\u0275prov=Fc({token:KC,factory:KC.\u0275fac});var G4b=new ld("");var LC=function(){};LC.\u0275fac=function(a){return new (a||LC)};LC.\u0275mod=cd({type:LC});
LC.\u0275inj=Gc({providers:[function(){for(var a=[FC,JC,IC,{provide:l4b,useExisting:IC},{provide:m4b,useFactory:function(){var d;return(d=Xc(GC,{optional:!0}))!=null?d:Xc(JC)}},{provide:B4b,useValue:Aza,multi:!0},{provide:xza,useValue:!0},{provide:yza,useClass:KC}],b=l(jd.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:G4b,useFactory:function(){var a=null;return function(b,c){if(a===
null){var d;a=((d=Xc(HC,{optional:!0}))!=null?d:[]).reduceRight(vza,uza)}var e=Xc(av);if(Xc(D4b)){var f=e.add();return a(b,c).pipe(tf(function(){return e.remove(f)}))}return a(b,c)}}},{provide:B4b,useExisting:G4b,multi:!0}]})]});new ld("");new ld("");var MC=function(){};MC.\u0275fac=function(a){return new (a||MC)};MC.\u0275prov=Fc({token:MC,factory:function(a){return a?new (a||MC):n(NC)},providedIn:"root"});var NC=function(a){this._doc=a};V(NC,MC);
NC.prototype.sanitize=function(a,b){if(b==null)return null;switch(a){case 0:return b;case 1:return Ze(b,"HTML")?Ye(b):Sia(this._doc,String(b)).toString();case 2:return Ze(b,"Style")?Ye(b):b;case 3:if(Ze(b,"Script"))return Ye(b);throw new Jc(5200,!1);case 4:return Ze(b,"URL")?Ye(b):Fia(String(b));case 5:if(Ze(b,"ResourceURL"))return Ye(b);throw new Jc(5201,!1);default:throw new Jc(5202,!1);}};NC.prototype.bypassSecurityTrustHtml=function(a){return new gVb(a)};NC.prototype.bypassSecurityTrustUrl=function(a){return new hVb(a)};
NC.prototype.bypassSecurityTrustResourceUrl=function(a){return new iVb(a)};NC.\u0275fac=function(a){return new (a||NC)(n(vh))};NC.\u0275prov=Fc({token:NC,factory:NC.\u0275fac,providedIn:"root"});var OC=function(a){this.decorated=new NC(a)};V(OC,MC);OC.prototype.sanitize=function(a,b){if(b==null)return null;if(b instanceof Du||b instanceof uc||b instanceof zc){if(H4b(b,a))return this.decorated.sanitize(a,I4b(this,b));throw Error("yc`"+rVb[a]+"`"+b);}return this.decorated.sanitize(a,b)};OC.prototype.bypassSecurityTrustHtml=function(){throw Error("zc");};OC.prototype.bypassSecurityTrustUrl=function(){throw Error("zc");};
OC.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("zc");};var I4b=function(a,b){if(b!=null){if(b instanceof zc)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof uc)return a.decorated.bypassSecurityTrustUrl(vc(b));if(b instanceof Du)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},H4b=function(a,b){switch(b){case 1:return a instanceof zc;case 4:return a instanceof uc||a instanceof Du;case 5:return a instanceof Du;case 3:return!1;default:return!1}};
OC.\u0275fac=function(a){return new (a||OC)(n(vh))};OC.\u0275prov=Fc({token:OC,factory:OC.\u0275fac});var J4b=[{provide:sVb,useExisting:MC},{provide:MC,useClass:OC}],PC=function(){};PC.\u0275fac=function(a){return new (a||PC)};PC.\u0275mod=cd({type:PC});PC.\u0275inj=Gc({providers:J4b,imports:[wC]});var Bza;var K4b=function(a,b){this.url=a;this.svgText=null;this.options=b},QC=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},L4b=function(a,b){return a._fontCssClassesByAlias.get(b)||b},M4b=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):qe(Error("Ac`"+d))};g=QC.prototype;g.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};g._getSvgFromConfig=function(a){return a.svgText?pe(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(z(function(b){return b.cloneNode(!0)}))};
g._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return pe(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(lf(function(f){f="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+f.message;c._errorHandler.handleError(Error(f));return pe(null)}))});return Ce(d).pipe(z(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("Ac`"+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(Ef(function(c){return a.svgText=c}),z(function(){return b._svgElementFromConfig(a)}))};
g._loadSvgIconSetFromConfig=function(a){return a.svgText?pe(null):this._fetchIcon(a).pipe(Ef(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(Dza("<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("Dc");return a};g._toSvgElement=function(a){for(var b=this._svgElementFromString(Dza("<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("Bc");if(c==null)throw Error("Ec`"+c);var f=this._sanitizer.sanitize(5,c);if(!f)throw Error("Cc`"+c);if(c=this._inProgressUrlFetches.get(f))return c;c=this._httpClient.get(f,{responseType:"text",withCredentials:a}).pipe(z(function(h){return Dza(h)}),tf(function(){return b._inProgressUrlFetches.delete(f)}),kka());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 K4b(d.url,d.options):new K4b(d)}};QC.\u0275fac=function(a){return new (a||QC)(n(FC,8),n(MC),n(vh,8),n(gf))};QC.\u0275prov=Fc({token:QC,factory:QC.\u0275fac,providedIn:"root"});new Lu;new Mu;new Lu;new Lu;var N4b=new ld("MAT_ICON_DEFAULT_OPTIONS"),O4b=new ld("mat-icon-location",{providedIn:"root",factory:Eza}),P4b="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),Q4b=P4b.map(function(a){return"["+a+"]"}).join(", "),R4b=/^url\(['"]?#(.*?)['"]?\)$/,RC=function(a,b,c,d,e,f){this._elementRef=a;this._iconRegistry=b;this._location=d;this._errorHandler=e;this.inline=!1;this._previousFontSetClass=[];this._currentIconFetch=Yd.EMPTY;f&&(f.color&&
(this.color=this._defaultColor=f.color),f.fontSet&&(this.fontSet=f.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true")};g=RC.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("Fc`"+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?L4b(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(Q4b),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={i$jscomp$600:0};a.i$jscomp$600<b.length;a={i$jscomp$600:a.i$jscomp$600},a.i$jscomp$600++)P4b.forEach(function(d){return function(e){var f=b[d.i$jscomp$600],h=f.getAttribute(e);if(h=h?h.match(R4b):null){var k=c.get(f);k||(k=[],c.set(f,k));k.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=l(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=M4b(this._iconRegistry,d,c).pipe(qf()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("Gc`"+c+"`"+d+"`"+e.message))})}};
da.Object.defineProperties(RC.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())}}});RC.\u0275fac=function(a){return new (a||RC)(B(Rd),B(QC),Jd("aria-hidden"),B(O4b),B(gf),B(N4b,8))};
RC.\u0275cmp=p({type:RC,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(a,b){a&2&&(Nf("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),Xf(b.color?"mat-"+b.color:""),Wf("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",Tg],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Mf,Fg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),jg(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.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 SC=new ld("MatSnackBarData"),S4b=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var TC=function(){};TC.\u0275fac=function(a){return new (a||TC)};TC.\u0275dir=ed({type:TC,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0});var UC=function(){};UC.\u0275fac=function(a){return new (a||UC)};UC.\u0275dir=ed({type:UC,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0});var VC=function(){};VC.\u0275fac=function(a){return new (a||VC)};
VC.\u0275dir=ed({type:VC,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0});var T4b=Math.pow(2,31)-1,WC=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new yf;this._afterOpened=new yf;this._onAction=new yf;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=WC.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,T4b))};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 XC=function(a,b){this.snackBarRef=a;this.data=b};XC.prototype.action=function(){this.snackBarRef.dismissWithAction()};da.Object.defineProperties(XC.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});XC.\u0275fac=function(a){return new (a||XC)(B(WC),B(SC))};
XC.\u0275cmp=p({type:XC,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[Fg],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0),Q(1),H(),C(2,Fza,3,1,"div",1));a&2&&(A(),R(" ",b.data.message,"\n"),A(),$f(b.hasAction?2:-1))},dependencies:[Ex,TC,UC,VC],styles:[".mat-mdc-simple-snack-bar{display:flex}\n"],encapsulation:2,
changeDetection:0});var U4b=Eh("state",[Hh("void, hidden",Gh({transform:"scale(0.8)",opacity:0})),Hh("visible",Gh({transform:"scale(1)",opacity:1})),Jh("* => visible",Fh("150ms cubic-bezier(0, 0, 0.2, 1)")),Jh("* => void, * => hidden",Fh("75ms cubic-bezier(0.4, 0.0, 1, 1)",Gh({opacity:0})))]);var V4b=["label"],W4b=0,YC=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=Xc(vh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new yf;this._onExit=new yf;this._onEnter=new yf;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+W4b++;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"))};V(YC,Cw);g=YC.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)})};YC.\u0275fac=function(a){return new (a||YC)(B(Me),B(Rd),B(Wg),B(Nv),B(S4b))};
YC.\u0275cmp=p({type:YC,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,b){a&1&&(rg(Fw,7),rg(V4b,7));if(a&2){var c;vg(c=wg())&&(b._portalOutlet=c.first);vg(c=wg())&&(b._label=c.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&hg("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&fg("@state",b._animationState)},standalone:!0,features:[Lf,Fg],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&&(F(0,"div",1)(1,"div",2,0)(3,"div",3),C(4,Gza,0,0,"ng-template",4),H(),J(5,"div"),H()());a&2&&(A(5),Nf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[Fw],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}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color);border-radius:var(--mdc-snackbar-container-shape);background-color:var(--mdc-snackbar-container-color)}.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);font-size:var(--mdc-snackbar-supporting-text-size);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-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);--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:[U4b]}});/*

 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
 @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 X4b=new ld("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new S4b}}),ZC=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;this.simpleSnackBarComponent=XC;this.snackBarContainerComponent=YC;this.handsetCssClass="mat-mdc-snack-bar-handset"};g=ZC.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=Sg({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:S4b,useValue:b}]});a=a.attach(new Aw(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new S4b,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new WC(b,e);if(a instanceof og)f.instance=b.attachTemplatePortal(new Bw(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Aw(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Df(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.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 Zw;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"):ex(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Sg({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:WC,useValue:b},{provide:SC,useValue:a.data}]})};da.Object.defineProperties(ZC.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}}});
ZC.\u0275fac=function(a){return new (a||ZC)(n(hx),n(iw),n(Ne),n(cw),n(ZC,12),n(X4b))};ZC.\u0275prov=Fc({token:ZC,factory:ZC.\u0275fac,providedIn:"root"});var $C=function(){};$C.\u0275fac=function(a){return new (a||$C)};$C.\u0275mod=cd({type:$C});$C.\u0275inj=Gc({providers:[ZC],imports:[kx,Gw,Ix,lx,XC,lx]});var aD=function(a){this.snackBar=a};aD.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(bD,b)};aD.\u0275fac=function(a){return new (a||aD)(n(ZC))};aD.\u0275prov=Fc({token:aD,factory:aD.\u0275fac,providedIn:"root"});
var bD=function(a,b){this.data=a;this.snackBarRef=b};bD.\u0275fac=function(a){return new (a||bD)(B(SC),B(WC))};
bD.\u0275cmp=p({type:bD,selectors:[["ng-component"]],decls:7,vars:5,consts:[[1,"snackbar-content"],["class","message",4,"ngIf"],["class","message",3,"innerHtml",4,"ngIf"],[1,"actions"],["mat-button","",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Dismiss",3,"click",4,"ngIf"],[1,"message"],[1,"message",3,"innerHtml"],["mat-button","",3,"click"],["mat-icon-button","","aria-label","Dismiss",3,"click"],["svgIcon","close"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,Hza,2,1,"span",1)(2,Iza,
1,1,"span",2),F(3,"div",3),C(4,Jza,2,1,"button",4)(5,Kza,2,1,"button",4)(6,Lza,2,0,"button",5),H()());a&2&&(A(),E("ngIf",!b.data.htmlMessage),A(),E("ngIf",b.data.htmlMessage),A(2),E("ngIf",b.data.actionLabel),A(),E("ngIf",b.data.dismissLabel),A(),E("ngIf",!b.data.dismissLabel))},dependencies:[tv,RC,kC,Ex,Gx],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 cD=function(a){this.snackbar=a};cD.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var Xp=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})},Y4b=function(a,b,c){a.open({message:b,duration:c===void 0?1E4:c})};cD.prototype.showWarning=function(a,b){this.open({message:a,duration:b===void 0?0:b,snackbarType:"ERROR"})};cD.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};cD.\u0275fac=function(a){return new (a||cD)(n(aD))};
cD.\u0275prov=Fc({token:cD,factory:cD.\u0275fac,providedIn:"root"});var Z4b=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)};V(Z4b,Error);var dD=function(){};g=dD.prototype;g.debug=function(){gj.apply(null,r(jd.apply(0,arguments)))};g.error=function(){ata.apply(null,r(jd.apply(0,arguments)))};g.info=function(){hj.apply(null,r(jd.apply(0,arguments)))};g.log=function(){$sa.apply(null,r(jd.apply(0,arguments)))};g.warn=function(){ij.apply(null,r(jd.apply(0,arguments)))};dD.\u0275fac=function(a){return new (a||dD)};dD.\u0275prov=Fc({token:dD,factory:dD.\u0275fac,providedIn:"root"});var eD=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
eD.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.":Zm(b)?Zm(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 fD=function(a,b){a.$log.warn(b);a.butterBar.showWarning(b)},gD=function(a,b){if(Ym(b))a.errorHandler(null,b);else throw b;};eD.\u0275fac=function(a){return new (a||eD)(n(cD),n(as),n(dD),n(EB))};eD.\u0275prov=Fc({token:eD,factory:eD.\u0275fac,providedIn:"root"});var hD=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},a5b=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,f=La(c.snapshot),h,k=(h=c.description)==null?void 0:h.unlinkifiedComment;f.comment=k?k.trim():"";f.status="NEW";f.changelist=null;f.duplicateIssueId=null;f.duplicateOfIssueId=null;return e.call(d,{},{snapshot:f},{trackerId:c.trackerId})}).then(function(c){return $4b(a,c)});b.catch(function(c){a.errorHandler.errorHandler(null,
c)});return b},$4b=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return KB(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})};hD.\u0275fac=function(a){return new (a||hD)(n(jC),n(lB),n(eD),n(IB))};hD.\u0275prov=Fc({token:hD,factory:hD.\u0275fac,providedIn:"root"});var iD=function(){this.bookmarkGroupModified=new yf;this.commentSubmitted=new yf;this.commentRendered=new yf;this.componentModified=new yf;this.contactChipsRevertChanges=new yf;this.customFieldsModified=new yf;this.dashboardPanels={moveDown:new yf,moveUp:new yf,moveToTop:new yf,moveToBottom:new yf,remove:new yf};this.favoritesModified=new yf;this.hotlistCreated=new yf;this.onClickAppMenuIcon=new yf;this.openEditField=new yf;this.sidebarWidthChanged=new yf;this.hotlistChanged=new yf;this.savedSearchModified=
new yf;this.sidebarUpdated=new yf;this.topBarEvents={browseComponents:new yf,manageHotlists:new yf,manageSlos:new yf,setDensity:new yf,openSettings:new yf};this.templateModified=new yf;this.issueViewed=new yf;this.issueEdited=new yf;this.focusCommentBox=new yf;this.scrollToCommentBox=new yf;this.recaptchaSubmitted=new yf;this.missionControlTaskCount=new rn(void 0);this.openHelpMeFixSidebar=new yf;this.closeHelpMeFixSidebar=new yf;this.didShowIssueHovercard=new yf};
iD.\u0275fac=function(a){return new (a||iD)};iD.\u0275prov=Fc({token:iD,factory:iD.\u0275fac,providedIn:"root"});var nn=Symbol("Hc"),jD=function(a){this.params=a||{}};jD.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};jD.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};jD.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};da.Object.defineProperties(jD.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var Qza={exact:Vza,subset:Yza},Rza={exact:Tza,subset:Wza,ignored:function(){return!0}},en=function(a,b,c){a=a===void 0?new dn([],{}):a;b=b===void 0?{}:b;this.root=a;this.queryParams=b;this.fragment=c===void 0?null:c};en.prototype.toString=function(){return b5b.serialize(this)};da.Object.defineProperties(en.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new jD(this.queryParams));return this._queryParamMap}}});
var dn=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})};dn.prototype.hasChildren=function(){return this.numberOfChildren>0};dn.prototype.toString=function(){return cAa(this)};da.Object.defineProperties(dn.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var jn=function(a,b){this.path=a;this.parameters=b};
jn.prototype.toString=function(){return aAa(this.path)+bAa(this.parameters)};var kD=function(){};kD.\u0275fac=function(a){return new (a||kD)};kD.\u0275prov=Fc({token:kD,factory:function(){return new lD},providedIn:"root"});var lD=function(){};lD.prototype.parse=function(a){a=new c5b(a);mD(a,"/");var b=a.remaining===""||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new dn([],{}):new dn([],d5b(a));return new en(b,a.parseQueryParams(),mD(a,"#")?decodeURIComponent(a.remaining):null)};
lD.prototype.serialize=function(a){var b="/"+cn(a.root,!0),c=fAa(a.queryParams);a=typeof a.fragment==="string"?"#"+encodeURI(a.fragment):"";return b+c+a};var b5b=new lD,gAa=/^[^\/()?;#]+/,e5b=/^[^\/()?;=#]+/,f5b=/^[^=?&#]+/,g5b=/^[^&#]+/,c5b=function(a){this.remaining=this.url=a};
c5b.prototype.parseQueryParams=function(){var a={};if(mD(this,"?")){do{var b,c=this.remaining.match(f5b);if(b=c?c[0]:""){this.capture(b);c="";if(mD(this,"=")){var d;if(d=(d=this.remaining.match(g5b))?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(mD(this,"&"))}return a};
var d5b=function(a){if(a.remaining==="")return{};mD(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(h5b(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(h5b(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=i5b(a,!0));var d={};a.remaining.startsWith("(")&&(d=i5b(a,!1));if(b.length>0||Object.keys(c).length>0)d.primary=new dn(b,c);return d},h5b=function(a){var b=hAa(a.remaining);if(b===""&&a.remaining.startsWith(";"))throw new Jc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};mD(a,";");){var d,e=a;if(d=(d=e.remaining.match(e5b))?d[0]:""){e.capture(d);var f="";if(mD(e,"=")){var h=hAa(e.remaining);h&&(f=h,e.capture(f))}c[decodeURIComponent(d)]=decodeURIComponent(f)}}return new jn(b,c)},i5b=function(a,b){var c={};for(a.capture("(");!mD(a,")")&&a.remaining.length>0;){var d=hAa(a.remaining),e=a.remaining[d.length];if(e!=="/"&&e!==")"&&e!==";")throw new Jc(4010,!1);e=void 0;d.indexOf(":")>-1?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=d5b(a);c[e]=Object.keys(d).length===1?d.primary:new dn([],d);mD(a,"//")}return c},mD=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};c5b.prototype.capture=function(a){if(!mD(this,a))throw new Jc(4011,!1);};var sAa=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&c.length>0&&oAa(c[0]))throw new Jc(4003,!1);if((a=c.find(hn))&&a!==(c.length>0?c[c.length-1]:null))throw new Jc(4004,!1);},nAa=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var nD=function(a,b){this.id=a;this.url=b},Qn=function(a,b,c,d){c=c===void 0?"imperative":c;d=d===void 0?null:d;nD.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};V(Qn,nD);Qn.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var yn=function(a,b,c){nD.call(this,a,b);this.urlAfterRedirects=c;this.type=1};V(yn,nD);
yn.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var zn=function(a,b,c,d){nD.call(this,a,b);this.reason=c;this.code=d;this.type=2};V(zn,nD);zn.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var Bn=function(a,b,c,d){nD.call(this,a,b);this.reason=c;this.code=d;this.type=16};V(Bn,nD);
var An=function(a,b,c,d){nD.call(this,a,b);this.error=c;this.target=d;this.type=3};V(An,nD);An.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var oD=function(a,b,c,d){nD.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};V(oD,nD);oD.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var j5b=function(a,b,c,d){nD.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};V(j5b,nD);j5b.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var k5b=function(a,b,c,d,e){nD.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};V(k5b,nD);
k5b.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var l5b=function(a,b,c,d){nD.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};V(l5b,nD);l5b.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var m5b=function(a,b,c,d){nD.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};V(m5b,nD);m5b.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var n5b=function(a){this.route=a;this.type=9};n5b.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var o5b=function(a){this.route=a;this.type=10};
o5b.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var WAa=function(a){this.snapshot=a;this.type=11};WAa.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var p5b=function(a){this.snapshot=a;this.type=12};p5b.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var XAa=function(a){this.snapshot=a;this.type=13};XAa.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var q5b=function(a){this.snapshot=a;this.type=14};q5b.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var r5b=function(a,b){this.position=a;this.anchor=b;this.type=15};
r5b.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var s5b=function(){},t5b=function(a,b){this.url=a;this.navigationBehaviorOptions=b};var u5b=function(a){this.rootInjector=a;this.attachRef=this.route=this.outlet=null;this.children=new pD(this.rootInjector)};da.Object.defineProperties(u5b.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=ln((a=this.route)==null?void 0:a.snapshot))!=null?b:this.rootInjector},set:function(){}}});
var pD=function(a){this.rootInjector=a;this.contexts=new Map},v5b=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},w5b=function(a,b){var c=a.getContext(b);c||(c=new u5b(a.rootInjector),a.contexts.set(b,c));return c};pD.prototype.getContext=function(a){return this.contexts.get(a)||null};pD.\u0275fac=function(a){return new (a||pD)(n(Ku))};pD.\u0275prov=Fc({token:pD,factory:pD.\u0275fac,providedIn:"root"});var qD=function(a){this._root=a};qD.prototype.parent=function(a){a=this.pathFromRoot(a);return a.length>1?a[a.length-2]:null};qD.prototype.children=function(a){return(a=zAa(a,this._root))?a.children.map(function(b){return b.value}):[]};qD.prototype.firstChild=function(a){return(a=zAa(a,this._root))&&a.children.length>0?a.children[0].value:null};qD.prototype.pathFromRoot=function(a){return AAa(a,this._root).map(function(b){return b.value})};
da.Object.defineProperties(qD.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var pn=function(a,b){this.value=a;this.children=b};pn.prototype.toString=function(){return"TreeNode("+this.value+")"};var x5b=function(a,b){this._root=a;this.snapshot=b;CAa(this,a)};V(x5b,qD);x5b.prototype.toString=function(){return this.snapshot.toString()};
var qn=function(a,b,c,d,e,f,h,k){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=f;this.component=h;this._futureSnapshot=k;var q,t;this.title=(t=(q=this.dataSubject)==null?void 0:q.pipe(z(function(w){return w[nn]})))!=null?t:pe(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};qn.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
da.Object.defineProperties(qn.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(z(function(a){return new jD(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=this.queryParams.pipe(z(function(a){return new jD(a)})));return this._queryParamMap}}});
var rD=function(a,b,c,d,e,f,h,k,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=f;this.component=h;this.routeConfig=k;this._resolve=q};rD.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
da.Object.defineProperties(rD.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.data)==null?void 0:a[nn]}},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 jD(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap!=null||(this._queryParamMap=new jD(this.queryParams));return this._queryParamMap}}});var y5b=function(a,b){this._root=b;this.url=a;CAa(this,b)};V(y5b,qD);y5b.prototype.toString=function(){return DAa(this._root)};var sD=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new bv;this.deactivateEvents=new bv;this.attachEvents=new bv;this.detachEvents=new bv;this.parentContexts=Xc(pD);this.location=Xc(pg);this.changeDetector=Xc(Wg);this.inputBinder=Xc(z5b,{optional:!0})};sD.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(A5b(this,b)&&(this.deactivate(),v5b(this.parentContexts,b)),B5b(this))}};
sD.prototype.ngOnDestroy=function(){A5b(this,this.name)&&v5b(this.parentContexts,this.name);var a;(a=this.inputBinder)==null||tD(a,this)};var A5b=function(a,b){var c;return((c=a.parentContexts.getContext(b))==null?void 0:c.outlet)===a};sD.prototype.ngOnInit=function(){B5b(this)};
var B5b=function(a){var b=a.parentContexts,c=a.name,d=w5b(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):C5b(a,b.route,b.injector))};sD.prototype.detach=function(){if(!this.activated)throw new Jc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
sD.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);(b=this.inputBinder)!=null&&(tD(b,this),D5b(b,this));this.attachEvents.emit(a.instance)};sD.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var C5b=function(a,b,c){if(a.isActivated)throw new Jc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,f=w5b(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new E5b(b,f,d.injector),environmentInjector:c});a.changeDetector.markForCheck();(b=a.inputBinder)!=null&&(tD(b,a),D5b(b,a));a.activateEvents.emit(a.activated.instance)};
da.Object.defineProperties(sD.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 Jc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new Jc(4012,!1);return this._activatedRoute}}});
sD.\u0275fac=function(a){return new (a||sD)};sD.\u0275dir=ed({type:sD,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[rd]});var E5b=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};E5b.prototype.__ngOutletInjector=function(a){return new E5b(this.route,this.childContexts,a)};
E5b.prototype.get=function(a,b){return a===qn?this.route:a===pD?this.childContexts:this.parent.get(a,b)};
var z5b=new ld(""),uD=function(){this.outletDataSubscriptions=new Map},tD=function(a,b){var c;(c=a.outletDataSubscriptions.get(b))==null||c.unsubscribe();a.outletDataSubscriptions.delete(b)},D5b=function(a,b){var c=b.activatedRoute,d=we([c.queryParams,c.params,c.data]).pipe(Cf(function(e,f){var h=l(e);e=h.next().value;var k=h.next().value;h=h.next().value;h=Object.assign({},e,k,h);return f===0?pe(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&b.activatedRoute===
c&&c.component!==null){var f=yma(c.component);if(f){f=l(f.inputs);for(var h=f.next();!h.done;h=f.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else tD(a,b)}else tD(a,b)});a.outletDataSubscriptions.set(b,d)};uD.\u0275fac=function(a){return new (a||uD)};uD.\u0275prov=Fc({token:uD,factory:uD.\u0275fac});var on=function(){};on.\u0275fac=function(a){return new (a||on)};on.\u0275cmp=p({type:on,selectors:[["ng-component"]],standalone:!0,features:[Fg],decls:1,vars:0,template:function(a){a&1&&J(0,"router-outlet")},dependencies:[sD],encapsulation:2});var G5b=function(a,b,c,d){return z(function(e){(new F5b(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},F5b=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};F5b.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;H5b(this,b,c,a);EAa(this.futureState.root);vD(this,b,c,a)};
var H5b=function(a,b,c,d){var e=mn(c);b.children.forEach(function(f){var h=f.value.outlet,k=e[h],q=f.value,t=k?k.value:null;q===t?q.component?(q=d.getContext(q.outlet))&&H5b(a,f,k,q.children):H5b(a,f,k,d):t&&I5b(a,k,d);delete e[h]});Object.values(e).forEach(function(f){I5b(a,f,d)})},I5b=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=mn(b);b=l(Object.values(b));for(var e=b.next();!e.done;e=b.next())I5b(a,e.value,c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},vD=function(a,b,c,d){var e=mn(c);b.children.forEach(function(f){var h=e[f.value.outlet],k=f.value,q=h?h.value:null;EAa(k);k===q?k.component?(k=w5b(d,k.outlet),vD(a,f,h,k.children)):vD(a,f,h,d):k.component?(h=w5b(d,k.outlet),h.attachRef=null,h.route=k,h.outlet&&C5b(h.outlet,k,h.injector),vD(a,f,null,h.children)):vD(a,f,null,d);a.forwardEvent(new q5b(f.value.snapshot))});b.children.length&&a.forwardEvent(new p5b(b.value.snapshot))};var NAa=Symbol("Jc");var PAa=function(a){this.path=a;this.route=this.path[this.path.length-1]},QAa=function(a,b){this.component=a;this.route=b};var cBa=function(a){this.segmentGroup=a||null},J5b=function(a){var b=Error.call(this);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.urlTree=a};V(J5b,Error);
var K5b=function(a,b){this.urlSerializer=a;this.urlTree=b},L5b=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(a.numberOfChildren===0)return pe(b);if(a.numberOfChildren>1||!a.children.primary)return qe(new Jc(4E3,!1));a=a.children.primary}},N5b=function(a,b,c,d,e,f){if(typeof c!=="string"){var h=c,k=e.queryParams,q=e.fragment,t=e.routeConfig,w=e.url,y=e.outlet,D=e.params,G=e.data,I=e.title;c=od(f,function(){return h({params:D,data:G,queryParams:k,fragment:q,routeConfig:t,url:w,outlet:y,
title:I})});if(c instanceof en)throw new J5b(c);}a=M5b(a,c,a.urlSerializer.parse(c),b,d);if(c[0]==="/")throw new J5b(a);return a},M5b=function(a,b,c,d,e){b=O5b(a,b,c.root,d,e);return new en(b,P5b(c.queryParams,a.urlTree.queryParams),c.fragment)},P5b=function(a,b){var c={};Object.entries(a).forEach(function(d){var e=l(d);d=e.next().value;e=e.next().value;c[d]=typeof e==="string"&&e[0]===":"?b[e.substring(1)]:e});return c},O5b=function(a,b,c,d,e){var f=Q5b(c.segments,d,e),h={};Object.entries(c.children).forEach(function(k){var q=
l(k);k=q.next().value;q=q.next().value;h[k]=O5b(a,b,q,d,e)});return new dn(f,h)},Q5b=function(a,b,c){return a.map(function(d){if(d.path[0]===":"){if(d=c[d.path.substring(1)],!d)throw new Jc(4001,!1);}else a:for(var e=0,f=l(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 eBa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var R5b=function(){},nBa=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.absoluteRedirectCount=0;this.allowRedirects=!0;this.applyRedirects=new K5b(this.urlSerializer,this.urlTree)};
nBa.prototype.recognize=function(){var a=this,b=jBa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(b).pipe(z(function(c){var d=c.children;c=c.rootSnapshot;d=new y5b("",new pn(c,d));var e=a.urlTree.queryParams,f=a.urlTree.fragment;e=e===void 0?null:e;f=f===void 0?null:f;c=kAa(c);c=qAa(c,[],e,f);c.queryParams=a.urlTree.queryParams;d.url=a.urlSerializer.serialize(c);return{state:d,tree:c}}))};
nBa.prototype.match=function(a){var b=this,c=new rD([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),"primary",this.rootComponentType,null,{});return S5b(this,this.injector,this.config,a,"primary",c).pipe(z(function(d){return{children:d,rootSnapshot:c}}),lf(function(d){if(d instanceof J5b)return b.urlTree=d.urlTree,b.match(d.urlTree.root);if(d instanceof cBa)throw new Jc(4002,"'"+d.segmentGroup+"'");throw d;}))};
var S5b=function(a,b,c,d,e,f){return d.segments.length===0&&d.hasChildren()?a.processChildren(b,c,d,f):T5b(a,b,c,d,d.segments,e,!0,f).pipe(z(function(h){return h instanceof pn?[h]:[]}))};
nBa.prototype.processChildren=function(a,b,c,d){for(var e=this,f=[],h=l(Object.keys(c.children)),k=h.next();!k.done;k=h.next())k=k.value,k==="primary"?f.unshift(k):f.push(k);return fe(f).pipe(nf(function(q){var t=c.children[q],w=yAa(b,q);return S5b(e,a,w,t,q,d)}),ika(function(q,t){q.push.apply(q,r(t));return q}),Yja(null),eka(),ye(function(q){if(q===null)return xn(c);q=mBa(q);kBa(q);return pe(q)}))};
var T5b=function(a,b,c,d,e,f,h,k){return fe(c).pipe(nf(function(q){var t;return U5b(a,(t=q._injector)!=null?t:b,c,q,d,e,f,h,k).pipe(lf(function(w){if(w instanceof cBa)return pe(null);throw w;}))}),uf(function(q){return!!q}),lf(function(q){if(RAa(q))return e.length!==0||d.children[f]?xn(d):pe(new R5b);throw q;}))},U5b=function(a,b,c,d,e,f,h,k,q){return(kn(d)===h||h!=="primary"&&iBa(e,f,d))&&dBa(e,d,f).matched?d.redirectTo===void 0?V5b(a,b,e,d,f,h,q):a.allowRedirects&&k?W5b(a,b,e,c,d,f,h,q):xn(e):xn(e)},
W5b=function(a,b,c,d,e,f,h,k){var q=dBa(c,e,f),t=q.parameters,w=q.consumedSegments,y=q.positionalParamSegments,D=q.remainingSegments;if(!q.matched)return xn(c);typeof e.redirectTo==="string"&&e.redirectTo[0]==="/"&&(a.absoluteRedirectCount++,a.absoluteRedirectCount>31&&(a.allowRedirects=!1));var G,I;f=new rD(f,t,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,e.data||{},kn(e),(I=(G=e.component)!=null?G:e._loadedComponent)!=null?I:null,e,e.resolve||{});G=BAa(f,k,a.paramsInheritanceStrategy);
f.params=Object.freeze(G.params);f.data=Object.freeze(G.data);e=N5b(a.applyRedirects,w,e.redirectTo,y,f,b);return L5b(e).pipe(ye(function(N){return T5b(a,b,d,c,N.concat(D),h,!1,k)}))},V5b=function(a,b,c,d,e,f,h){var k=fBa(c,d,e,b);d.path==="**"&&(c.children={});return k.pipe(Cf(function(q){if(!q.matched)return xn(c);var t;b=(t=d._injector)!=null?t:b;return X5b(a,b,d,e).pipe(Cf(function(w){w=w.routes;var y,D=(y=d._loadedInjector)!=null?y:b;y=q.consumedSegments;var G=q.remainingSegments,I,N,S=new rD(y,
q.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},kn(d),(N=(I=d.component)!=null?I:d._loadedComponent)!=null?N:null,d,d.resolve||{});I=BAa(S,h,a.paramsInheritanceStrategy);S.params=Object.freeze(I.params);S.data=Object.freeze(I.data);N=jBa(c,y,G,w);I=N.segmentGroup;N=N.slicedSegments;return N.length===0&&I.hasChildren()?a.processChildren(D,w,I,S).pipe(z(function(W){return new pn(S,W)})):w.length===0&&N.length===0?pe(new pn(S,[])):T5b(a,D,w,I,N,kn(d)===
f?"primary":f,!0,S).pipe(z(function(W){return new pn(S,W instanceof pn?[W]:[])}))}))}))},X5b=function(a,b,c,d){return c.children?pe({routes:c.children,injector:b}):c.loadChildren?c._loadedRoutes!==void 0?pe({routes:c._loadedRoutes,injector:c._loadedInjector}):aBa(b,c,d).pipe(ye(function(e){return e?a.configLoader.loadChildren(b,c).pipe(Ef(function(f){c._loadedRoutes=f.routes;c._loadedInjector=f.injector})):qe(KAa(3))})):pe({routes:[],injector:b})};var wD=function(){},Y5b=function(a){for(a=a.root;a!==void 0;){var b=void 0;var c=(b=a.data[nn])!=null?b:c;a=a.children.find(function(d){return d.outlet==="primary"})}return c};wD.\u0275fac=function(a){return new (a||wD)};wD.\u0275prov=Fc({token:wD,factory:function(){return Xc(xD)},providedIn:"root"});var xD=function(a){this.title=a};V(xD,wD);xD.prototype.updateTitle=function(a){a=Y5b(a);a!==void 0&&this.title.setTitle(a)};xD.\u0275fac=function(a){return new (a||xD)(n(xC))};
xD.\u0275prov=Fc({token:xD,factory:xD.\u0275fac,providedIn:"root"});var yD=new ld("",{providedIn:"root",factory:function(){return{}}});var yBa=new ld(""),zD=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;Xc(nv)};
zD.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return pe(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=an(a.loadComponent()).pipe(z(vBa),Ef(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),tf(function(){b.componentLoaders.delete(a)}));c=(new wf(c,function(){return new yf})).pipe(ve());this.componentLoaders.set(a,c);return c};
zD.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return pe({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);a=zBa(b,a,this.onLoadEndListener).pipe(tf(function(){c.childrenLoaders.delete(b)}));a=(new wf(a,function(){return new yf})).pipe(ve());this.childrenLoaders.set(b,a);return a};zD.\u0275fac=function(a){return new (a||zD)};
zD.\u0275prov=Fc({token:zD,factory:zD.\u0275fac,providedIn:"root"});var AD=function(){};AD.\u0275fac=function(a){return new (a||AD)};AD.\u0275prov=Fc({token:AD,factory:function(){return Xc(BD)},providedIn:"root"});var BD=function(){};BD.prototype.extract=function(a){return a};BD.prototype.merge=function(a){return a};BD.\u0275fac=function(a){return new (a||BD)};BD.\u0275prov=Fc({token:BD,factory:BD.\u0275fac,providedIn:"root"});var Z5b=new ld(""),ABa=new ld("");var $5b=new ld(""),CD=function(){var a=this;this.lastSuccessfulNavigation=this.currentTransition=this.currentNavigation=null;this.events=new yf;this.transitionAbortSubject=new yf;this.configLoader=Xc(zD);this.environmentInjector=Xc(Ku);this.urlSerializer=Xc(kD);this.rootContexts=Xc(pD);this.location=Xc(Mv);this.inputBindingEnabled=Xc(z5b,{optional:!0})!==null;this.titleStrategy=Xc(wD);this.options=Xc(yD,{optional:!0})||{};this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";
this.urlHandlingStrategy=Xc(AD);this.createViewTransition=Xc(Z5b,{optional:!0});this.navigationErrorHandler=Xc($5b,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return pe(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new o5b(b))};this.configLoader.onLoadStartListener=function(b){return a.events.next(new n5b(b))}};CD.prototype.complete=function(){var a;(a=this.transitions)==null||a.complete()};
var a6b=function(a,b){var c=++a.navigationId,d;(d=a.transitions)==null||d.next(Object.assign({},a.transitions.value,b,{id:c}))},e6b=function(a,b,c,d){a.transitions=new rn({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(He(function(e){return e.id!==0}),z(function(e){return Object.assign({},e,{extractedUrl:a.urlHandlingStrategy.extract(e.rawUrl)})}),Cf(function(e){var f=!1,h=!1;return pe(e).pipe(Cf(function(k){if(a.navigationId>e.id)return b6b(a,e,1),Fe;a.currentTransition=e;a.currentNavigation={id:k.id,initialUrl:k.rawUrl,extractedUrl:k.extractedUrl,targetBrowserUrl:typeof k.extras.browserUrl===
"string"?a.urlSerializer.parse(k.extras.browserUrl):k.extras.browserUrl,trigger:k.source,extras:k.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null};var q=!b.navigated||c6b(a)||d6b(a),t,w=(t=k.extras.onSameUrlNavigation)!=null?t:b.onSameUrlNavigation;return q||w==="reload"?pe(k).pipe(Cf(function(y){var D,G=(D=a.transitions)==null?void 0:D.getValue();a.events.next(new Qn(y.id,a.urlSerializer.serialize(y.extractedUrl),y.source,
y.restoredState));var I;return G!==((I=a.transitions)==null?void 0:I.getValue())?Fe:Promise.resolve(y)}),oBa(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,a.paramsInheritanceStrategy),Ef(function(y){e.targetSnapshot=y.targetSnapshot;e.urlAfterRedirects=y.urlAfterRedirects;a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:y.urlAfterRedirects});y=new oD(y.id,a.urlSerializer.serialize(y.extractedUrl),a.urlSerializer.serialize(y.urlAfterRedirects),
y.targetSnapshot);a.events.next(y)})):(a.events.next(new Bn(k.id,a.urlSerializer.serialize(k.rawUrl),"",0)),k.resolve(!1),Fe)}),Ef(function(k){k=new j5b(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot);a.events.next(k)}),z(function(k){var q=Object,t=q.assign;var w=k.currentSnapshot;var y=k.targetSnapshot._root;w=un(y,w?w._root:null,a.rootContexts,[y.value]);return a.currentTransition=e=t.call(q,{},k,{guards:w})}),UAa(a.environmentInjector,
function(k){return a.events.next(k)}),Ef(function(k){if((e.guardsResult=k.guardsResult)&&typeof k.guardsResult!=="boolean")throw LAa(k.guardsResult);k=new k5b(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot,!!k.guardsResult);a.events.next(k)}),He(function(k){return k.guardsResult?!0:(b6b(a,k,3),!1)}),uBa(function(k){if(k.guards.canActivateChecks.length)return pe(k).pipe(Ef(function(q){q=new l5b(q.id,a.urlSerializer.serialize(q.extractedUrl),
a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}),Cf(function(q){var t=!1;return pe(q).pipe(rBa(a.paramsInheritanceStrategy,a.environmentInjector),Ef({next:function(){return t=!0},complete:function(){t||b6b(a,q,2)}}))}),Ef(function(q){q=new m5b(q.id,a.urlSerializer.serialize(q.extractedUrl),a.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);a.events.next(q)}))}),uBa(function(k){var q=function(t){var w=[],y;((y=t.routeConfig)==null?0:y.loadComponent)&&
!t.routeConfig._loadedComponent&&w.push(a.configLoader.loadComponent(t.routeConfig).pipe(Ef(function(G){t.component=G}),z(function(){})));y=l(t.children);for(var D=y.next();!D.done;D=y.next())w.push.apply(w,r(q(D.value)));return w};return we(q(k.targetSnapshot.root)).pipe(Yja(null),qf())}),uBa(function(){return a.afterPreactivation()}),Cf(function(){var k=e,q=k.currentSnapshot;k=k.targetSnapshot;var t,w=(t=a.createViewTransition)==null?void 0:t.call(a,a.environmentInjector,q.root,k.root);return w?
fe(w).pipe(z(function(){return e})):pe(e)}),z(function(k){var q=k.targetSnapshot;var t=k.currentRouterState;t=JAa(b.routeReuseStrategy,q._root,t?t._root:void 0);q=new x5b(t,q);a.currentTransition=e=Object.assign({},k,{targetRouterState:q});a.currentNavigation.targetRouterState=q;return e}),Ef(function(){a.events.next(new s5b)}),G5b(a.rootContexts,b.routeReuseStrategy,function(k){return a.events.next(k)},a.inputBindingEnabled),qf(),Ef({next:function(k){f=!0;a.lastSuccessfulNavigation=a.currentNavigation;
a.events.next(new yn(k.id,a.urlSerializer.serialize(k.extractedUrl),a.urlSerializer.serialize(k.urlAfterRedirects)));var q;(q=a.titleStrategy)==null||q.updateTitle(k.targetRouterState.snapshot);k.resolve(!0)},complete:function(){f=!0}}),Df(a.transitionAbortSubject.pipe(Ef(function(k){throw k;}))),tf(function(){f||h||b6b(a,e,1);var k;((k=a.currentTransition)==null?void 0:k.id)===e.id&&(a.currentNavigation=null,a.currentTransition=null)}),lf(function(k){h=!0;if(MAa(k))a.events.next(new zn(e.id,a.urlSerializer.serialize(e.extractedUrl),
k.message,k.cancellationCode)),MAa(k)&&fn(k.url)?a.events.next(new t5b(k.url,k.navigationBehaviorOptions)):e.resolve(!1);else{var q,t=new An(e.id,a.urlSerializer.serialize(e.extractedUrl),k,(q=e.targetSnapshot)!=null?q:void 0);try{od(a.environmentInjector,function(){var y;return(y=a.navigationErrorHandler)==null?void 0:y.call(a,t)});a.events.next(t);var w=b.errorHandler(k);e.resolve(!!w)}catch(y){a.options.resolveNavigationPromiseOnError?e.resolve(!1):e.reject(y)}}return Fe}))}))},b6b=function(a,
b,c){c=new zn(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)},c6b=function(a){var b,c;return((b=a.currentTransition)==null?void 0:b.extractedUrl.toString())!==((c=a.currentTransition)==null?void 0:c.currentUrlTree.toString())},d6b=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)};da.Object.defineProperties(CD.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationId!==0}}});CD.\u0275fac=function(a){return new (a||CD)};CD.\u0275prov=Fc({token:CD,factory:CD.\u0275fac,providedIn:"root"});var DD=function(){};DD.\u0275fac=function(a){return new (a||DD)};DD.\u0275prov=Fc({token:DD,factory:function(){return Xc(ED)},providedIn:"root"});var f6b=function(){};f6b.prototype.store=function(){};f6b.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var ED=function(){};V(ED,f6b);ED.\u0275fac=function(){var a;return function(b){return(a||(a=Od(ED)))(b||ED)}}();ED.\u0275prov=Fc({token:ED,factory:ED.\u0275fac,providedIn:"root"});var FD=function(){};FD.\u0275fac=function(a){return new (a||FD)};FD.\u0275prov=Fc({token:FD,factory:function(){return Xc(GD)},providedIn:"root"});
var GD=function(){this.location=Xc(Mv);this.urlSerializer=Xc(kD);this.options=Xc(yD,{optional:!0})||{};this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";this.urlHandlingStrategy=Xc(AD);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.rawUrlTree=this.currentUrlTree=new en;this.currentPageId=0;this.lastSuccessfulId=-1;var a=new y5b("",new pn(new rD([],{},{},"",{},"primary",null,null,{}),[])),b=new qn(new rn([new jn("",{})]),new rn({}),new rn({}),
new rn(""),new rn({}),"primary",null,a.root);b.snapshot=a.root;this.routerState=new x5b(new pn(b,[]),a);this.stateMemento=g6b(this)};V(GD,FD);GD.prototype.restoredState=function(){return this.location.getState()};
var g6b=function(a){return{rawUrlTree:a.rawUrlTree,currentUrlTree:a.currentUrlTree,routerState:a.routerState}},h6b=function(a,b){return a.location.subscribe(function(c){c.type==="popstate"&&b(c.url,c.state)})},j6b=function(a,b,c){b=b instanceof en?a.urlSerializer.serialize(b):b;var d=a.location;var e=e===void 0?"":e;d.path()==d.normalize(b+ih(e))||c.extras.replaceUrl?(c=Object.assign({},c.extras.state,i6b(a,c.id,a.browserPageId)),a.location.replaceState(b,"",c)):(c=Object.assign({},c.extras.state,
i6b(a,c.id,a.browserPageId+1)),a.location.go(b,"",c))},l6b=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),k6b(a))):a.canceledNavigationResolution==="replace"&&(c&&a.resetState(b),k6b(a))};
GD.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 k6b=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",i6b(a,a.lastSuccessfulId,a.currentPageId))},i6b=function(a,b,c){return a.canceledNavigationResolution==="computed"?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
da.Object.defineProperties(GD.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}}});GD.\u0275fac=function(){var a;return function(b){return(a||(a=Od(GD)))(b||GD)}}();GD.\u0275prov=Fc({token:GD,factory:GD.\u0275fac,providedIn:"root"});var m6b={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},n6b={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},HD=function(){var a=this;this.disposed=!1;this.console=Xc(ev);this.stateManager=Xc(FD);this.options=Xc(yD,{optional:!0})||{};this.pendingTasks=Xc(av);this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.navigationTransitions=Xc(CD);this.urlSerializer=Xc(kD);this.location=Xc(Mv);this.urlHandlingStrategy=Xc(AD);this._events=
new yf;this.errorHandler=this.options.errorHandler||EBa;this.navigated=!1;this.routeReuseStrategy=Xc(DD);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";var b,c;this.config=(c=(b=Xc(yBa,{optional:!0}))==null?void 0:b.flat())!=null?c:[];Xc(z5b,{optional:!0});this.eventsSubscription=new Yd;this.config=this.config.map(GAa);this.navigated=!1;e6b(this.navigationTransitions,this,this.currentUrlTree,this.routerState).subscribe({error:function(d){a.console.warn(d)}});o6b(this)},o6b=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 Qn)f.stateMemento=g6b(f);else if(c instanceof Bn)f.rawUrlTree=e.initialUrl;else if(c instanceof oD){if(f.urlUpdateStrategy==="eager"&&!e.extras.skipLocationChange){var h=f.urlHandlingStrategy.merge(e.finalUrl,e.initialUrl),k;j6b(f,(k=e.targetBrowserUrl)!=null?k:h,e)}}else if(c instanceof s5b){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;j6b(f,(q=e.targetBrowserUrl)!=null?q:f.rawUrlTree,e)}}else c instanceof zn&&(c.code===3||c.code===2)?l6b(f,e):c instanceof An?l6b(f,e,!0):c instanceof yn&&(f.lastSuccessfulId=c.id,f.currentPageId=f.browserPageId);if(c instanceof zn&&c.code!==0&&c.code!==1)a.navigated=!0;else if(c instanceof yn)a.navigated=!0;else if(c instanceof
t5b){var t=c.navigationBehaviorOptions,w=a.urlHandlingStrategy.merge(c.url,d.currentRawUrl),y=Object.assign({},{browserUrl:d.extras.browserUrl,info:d.extras.info,skipLocationChange:d.extras.skipLocationChange,replaceUrl:d.extras.replaceUrl||a.urlUpdateStrategy==="eager"||d.source!=="imperative"},t);p6b(a,w,"imperative",null,y,{resolve:d.resolve,reject:d.reject,promise:d.promise})}}c instanceof s5b||c instanceof t5b||a._events.next(c)}catch(D){a.navigationTransitions.transitionAbortSubject.next(D)}});
a.eventsSubscription.add(b)};HD.prototype.initialNavigation=function(){q6b(this);this.navigationTransitions.hasRequestedNavigation||r6b(this,this.location.path(!0),"imperative",this.stateManager.restoredState())};
var q6b=function(a){a.nonRouterCurrentEntryChangeSubscription!=null||(a.nonRouterCurrentEntryChangeSubscription=h6b(a.stateManager,function(b,c){setTimeout(function(){r6b(a,b,"popstate",c)},0)}))},r6b=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=s6b(a,b);p6b(a,b,c,f,e)};HD.prototype.ngOnDestroy=function(){this.dispose()};
HD.prototype.dispose=function(){this.navigationTransitions.complete();this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0);this.disposed=!0;this.eventsSubscription.unsubscribe()};
var ID=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;switch(d.queryParamsHandling){case "merge":d=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":d=a.currentUrlTree.queryParams;break;default:d=e||null}d!==null&&(d=t6b(d));try{var h=kAa(c?c.snapshot:a.routerState.snapshot.root)}catch(k){if(typeof b[0]!=="string"||b[0][0]!=="/")b=[];h=a.currentUrlTree.root}return qAa(h,b,d,f!=null?f:null)},
Or=function(a,b,c){c=c===void 0?{skipLocationChange:!1}:c;b=fn(b)?b:s6b(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return p6b(a,b,"imperative",null,c)};HD.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 Jc(4008,!1);return Or(this,ID(this,a,b),b)};var s6b=function(a,b){try{return a.urlSerializer.parse(b)}catch(c){return a.urlSerializer.parse("/")}};
HD.prototype.isActive=function(a,b){var c;b===!0?c=Object.assign({},m6b):b===!1?c=Object.assign({},n6b):c=b;if(fn(a))return Sza(this.currentUrlTree,a,c);a=s6b(this,a);return Sza(this.currentUrlTree,a,c)};
var t6b=function(a){return Object.entries(a).reduce(function(b,c){var d=l(c);c=d.next().value;d=d.next().value;d!==null&&d!==void 0&&(b[c]=d);return b},{})},p6b=function(a,b,c,d,e,f){if(a.disposed)return Promise.resolve(!1);if(f){var h=f.resolve;var k=f.reject;f=f.promise}else f=new Promise(function(t,w){h=t;k=w});var q=a.pendingTasks.add();DBa(a,function(){queueMicrotask(function(){return a.pendingTasks.remove(q)})});a6b(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,
currentRawUrl:a.currentUrlTree,rawUrl:b,extras:e,resolve:h,reject:k,promise:f,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return f.catch(function(t){return Promise.reject(t)})};
da.Object.defineProperties(HD.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}}});HD.\u0275fac=function(a){return new (a||HD)};HD.\u0275prov=Fc({token:HD,factory:HD.\u0275fac,providedIn:"root"});var JD=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 yf;this.replaceUrl=this.skipLocationChange=this.preserveFragment=!1;this.routerLinkInput=null;var k;b=(k=e.nativeElement.tagName)==null?void 0:k.toLowerCase();(this.isAnchorElement=b==="a"||b==="area")?this.subscription=a.events.subscribe(function(q){q instanceof yn&&u6b(h)}):v6b(this,"0")},v6b=function(a,b){a.tabIndexAttribute!=
null||a.isAnchorElement||w6b(a,"tabindex",b)};JD.prototype.ngOnChanges=function(){this.isAnchorElement&&u6b(this);this.onChanges.next(this)};JD.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;Or(this.router,f,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info});return!this.isAnchorElement};
JD.prototype.ngOnDestroy=function(){var a;(a=this.subscription)==null||a.unsubscribe()};var u6b=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"?Zia:cf)(a.href));w6b(a,"href",b)},w6b=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;c!==null?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
da.Object.defineProperties(JD.prototype,{routerLink:{configurable:!0,enumerable:!0,set:function(a){a==null?(this.routerLinkInput=null,v6b(this,null)):(fn(a)?this.routerLinkInput=a:this.routerLinkInput=Array.isArray(a)?a:[a],v6b(this,"0"))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return this.routerLinkInput===null?null:fn(this.routerLinkInput)?this.routerLinkInput:ID(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})}}});JD.\u0275fac=function(a){return new (a||JD)(B(HD),B(qn),Jd("tabindex"),B(Qu),B(Rd),B(Jv))};
JD.\u0275dir=ed({type:JD,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&Nf("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Tg],skipLocationChange:[2,"skipLocationChange","skipLocationChange",
Tg],replaceUrl:[2,"replaceUrl","replaceUrl",Tg],routerLink:"routerLink"},standalone:!0,features:[Mf,rd]});var KD=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 bv;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof yn&&f.update()})};KD.prototype.ngAfterContentInit=function(){var a=this;pe(this.links.changes,pe(null)).pipe(ze()).subscribe(function(){a.update();x6b(a)})};
var x6b=function(a){var b;(b=a.linkInputChangesSubscription)==null||b.unsubscribe();b=[].concat(r(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=fe(b).pipe(ze()).subscribe(function(c){a._isActive!==y6b(a,a.router)(c)&&a.update()})};KD.prototype.ngOnChanges=function(){this.update()};KD.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;(a=this.linkInputChangesSubscription)==null||a.unsubscribe()};
KD.prototype.update=function(){var a=this;this.links&&this.router.navigated&&queueMicrotask(function(){var b=z6b(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 y6b=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}},z6b=function(a){var b=y6b(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
da.Object.defineProperties(KD.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})}}});KD.\u0275fac=function(a){return new (a||KD)(B(HD),B(Rd),B(Qu),B(Wg),B(JD,8))};
KD.\u0275dir=ed({type:KD,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&sg(c,JD,5);if(a&2){var d;vg(d=wg())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[rd]});var A6b=function(){},LD=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},B6b=function(a){a.subscription=a.router.events.pipe(He(function(b){return b instanceof yn}),nf(function(){return a.preload()})).subscribe(function(){})};LD.prototype.preload=function(){return C6b(this,this.injector,this.router.config)};LD.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var C6b=function(a,b,c){var d=[];c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=Oja(e.providers,b,"Route: "+e.path));var f=void 0,h=(f=e._injector)!=null?f:b,k=void 0;f=(k=e._loadedInjector)!=null?k:h;(e.loadChildren&&!e._loadedRoutes&&e.canLoad===void 0||e.loadComponent&&!e._loadedComponent)&&d.push(D6b(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(C6b(a,f,(h=e.children)!=null?h:e._loadedRoutes))}return fe(d).pipe(ze())},D6b=function(a,b,
c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&c.canLoad===void 0?a.loader.loadChildren(b,c):pe(null)).pipe(ye(function(f){if(f===null)return pe(void 0);c._loadedRoutes=f.routes;c._loadedInjector=f.injector;var h;return C6b(a,(h=f.injector)!=null?h:b,f.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return fe([d,e]).pipe(ze())}return d})};LD.\u0275fac=function(a){return new (a||LD)(n(HD),n(nv),n(Ku),n(A6b),n(zD))};
LD.\u0275prov=Fc({token:LD,factory:LD.\u0275fac,providedIn:"root"});var E6b=new ld(""),MD=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={};this.environmentInjector=Xc(Ku);var f;(f=e).scrollPositionRestoration||(f.scrollPositionRestoration="disabled");var h;(h=e).anchorScrolling||(h.anchorScrolling="disabled")};
MD.prototype.init=function(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual");this.routerEventsSubscription=F6b(this);this.scrollEventsSubscription=G6b(this)};
var F6b=function(a){return a.transitions.events.subscribe(function(b){b instanceof Qn?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof yn?(a.lastId=b.id,H6b(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof Bn&&b.code===0&&(a.lastSource=void 0,a.restoredId=0,H6b(a,a.urlSerializer.parse(b.url).fragment))})},G6b=function(a){return a.transitions.events.subscribe(function(b){b instanceof
r5b&&(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]))})},H6b=function(a,b){a.zone.runOutsideAngular(function(){return ge(function(c){if(c.nextAddress==1)return ie(c,new Promise(function(d){setTimeout(function(){d()});
Pe(function(){d()},{injector:a.environmentInjector})}),2);a.zone.run(function(){a.transitions.events.next(new r5b(a.lastSource==="popstate"?a.store[a.restoredId]:null,b))});me(c)})})};MD.prototype.ngOnDestroy=function(){var a;(a=this.routerEventsSubscription)==null||a.unsubscribe();var b;(b=this.scrollEventsSubscription)==null||b.unsubscribe()};MD.\u0275fac=function(){Te()};MD.\u0275prov=Fc({token:MD,factory:MD.\u0275fac});new ld("",{providedIn:"root",factory:function(){return!1}});var I6b=new ld("",{factory:function(){return new yf}}),J6b=new ld("",{providedIn:"root",factory:function(){return 1}}),K6b=new ld("");var L6b=new ld("ROUTER_FORROOT_GUARD"),M6b=[Mv,{provide:kD,useClass:lD},HD,pD,{provide:qn,useFactory:function(a){return a.routerState.root},deps:[HD]},zD,[]],ND=function(){};ND.\u0275fac=function(a){return new (a||ND)(n(L6b,8))};ND.\u0275mod=cd({type:ND});ND.\u0275inj=Gc({});var N6b=new ld("");var OD=function(){JD.apply(this,arguments)};V(OD,JD);da.Object.defineProperties(OD.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});OD.\u0275fac=function(){var a;return function(b){return(a||(a=Od(OD)))(b||OD)}}();OD.\u0275dir=ed({type:OD,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[Lf]});var PD=function(){};
PD.\u0275fac=function(a){return new (a||PD)};PD.\u0275mod=cd({type:PD});PD.\u0275inj=Gc({imports:[ND]});var QD=function(){};QD.\u0275fac=function(a){return new (a||QD)};QD.\u0275mod=cd({type:QD});QD.\u0275inj=Gc({imports:[lx,lx]});var RD=function(){};RD.\u0275fac=function(a){return new (a||RD)};RD.\u0275mod=cd({type:RD});RD.\u0275inj=Gc({imports:[Gv,QD,ND,PD]});var SD=function(a,b){BA.call(this,{freshUntil:3E5,ancientAfter:6048E5});var c=this;this.template=a;this.appEvents=b;this.recordType="componentTemplates";this.idKey="componentId";this.defaultTemplate$=function(d){return c.watch(d).pipe(He(Gi),z(function(e){return e.templates}),z(function(e){var f;return(f=e.find(function(h){return h.default}))!=null?f:e[0]}))};this.appEvents.templateModified.pipe(He(function(d){return!!d&&d!=="0"})).subscribe(function(d){c.poke(d)})};V(SD,BA);
SD.prototype.fetchOne=function(a){return fe(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};SD.\u0275fac=function(a){return new (a||SD)(n(hD),n(iD))};SD.\u0275prov=Fc({token:SD,factory:SD.\u0275fac,providedIn:"root"});var O6b=function(a,b){this.childIterator_=a[Ba.Symbol.iterator]();this.mapFn_=b};O6b.prototype[Symbol.iterator]=function(){return this};O6b.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 P6b=function(a,b){return new O6b(a,b)};var TD=function(){};TD.prototype.next=function(){return Q6b};var Q6b={done:!0,value:void 0};TD.prototype.__iterator__=function(){return this};var R6b=function(a){if(a instanceof UD||a instanceof VD||a instanceof WD)return a;if(typeof a.next=="function")return new UD(function(){return a});if(typeof a[Symbol.iterator]=="function")return new UD(function(){return a[Symbol.iterator]()});if(typeof a.__iterator__=="function")return new UD(function(){return a.__iterator__()});throw Error("Kc");},UD=function(a){this.func_=a};UD.prototype.__iterator__=function(){return new VD(this.func_())};UD.prototype[Symbol.iterator]=function(){return new WD(this.func_())};
UD.prototype.toEs6=function(){return new WD(this.func_())};var VD=function(a){this.iter_=a};V(VD,TD);VD.prototype.next=function(){return this.iter_.next()};VD.prototype[Symbol.iterator]=function(){return new WD(this.iter_)};VD.prototype.toEs6=function(){return new WD(this.iter_)};var WD=function(a){UD.call(this,function(){return a});this.iter_=a};V(WD,UD);WD.prototype.next=function(){return this.iter_.next()};var XD=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("ba");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};g=XD.prototype;g.getCount=function(){return this.size};g.getValues=function(){YD(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};g.getKeys=function(){YD(this);return this.keys_.concat()};g.containsKey=function(a){return this.has(a)};
g.has=function(a){return ZD(this.map_,a)};g.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(ZD(this.map_,c)&&this.map_[c]==a)return!0}return!1};g.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||S6b;YD(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var S6b=function(a,b){return a===b};XD.prototype.isEmpty=function(){return this.size==0};
XD.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};XD.prototype.remove=function(a){return this.delete(a)};XD.prototype.delete=function(a){return ZD(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&YD(this),!0):!1};
var YD=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];ZD(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],ZD(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};g=XD.prototype;g.get=function(a,b){return ZD(this.map_,a)?this.map_[a]:b};g.set=function(a,b){ZD(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 XD)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 XD(this)};g.keys=function(){return R6b(this.__iterator__(!0)).toEs6()};g.values=function(){return R6b(this.__iterator__(!1)).toEs6()};g.entries=function(){var a=this;return P6b(this.keys(),function(b){return[b,a.get(b)]})};
g.__iterator__=function(a){YD(this);var b=0,c=this.version_,d=this,e=new TD;e.next=function(){if(c!=d.version_)throw Error("Lc");if(b>=d.keys_.length)return Q6b;var f=d.keys_[b++];return{value:a?f:d.map_[f],done:!1}};return e};g.setSizeInternal_=function(a){this.size=a};var ZD=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var $D=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new XD;this.head_=new T6b("");this.head_.next=this.head_.prev=this.head_},V6b=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),U6b(a,b));return b};$D.prototype.get=function(a,b){return(a=V6b(this,a))?a.value:b};var W6b=function(a,b){return(a=a.map_.get(b))?a.value:void 0};g=$D.prototype;g.set=function(a,b){var c=V6b(this,a);c?c.value=b:(c=new T6b(a,b),this.map_.set(a,c),U6b(this,c))};g.peek=function(){return this.head_.next.value};
g.shift=function(){return X6b(this,this.head_.next)};g.pop=function(){return X6b(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(){Y6b(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 U6b=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&&Y6b(a,a.maxCount_)},Y6b=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)}},X6b=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},T6b=function(a,b){this.key=a;this.value=b};
T6b.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var aE=function(){this.caches=new Map};aE.prototype.create=function(a,b){if(this.caches.has(a))throw Error("Mc`"+a);b=new bE(b==null?void 0:b.capacity);this.caches.set(a,b);return b};aE.prototype.get=function(a){return this.caches.get(a)};aE.\u0275fac=function(a){return new (a||aE)};aE.\u0275prov=Fc({token:aE,factory:aE.\u0275fac,providedIn:"root"});var bE=function(a){this.lruCache=new $D(a,!0)};bE.prototype.get=function(a){return this.lruCache.get(a)};
bE.prototype.put=function(a,b){b!==void 0&&this.lruCache.set(a,b);return b};bE.prototype.remove=function(a){this.lruCache.remove(a)};bE.prototype.removeAll=function(){this.lruCache.clear()};var Dn=function(a){this.internalArray_=m(a,0,Dn.messageId)};V(Dn,X);Dn.prototype.getIt=function(){return Gj(this,Nk,18)};Dn.prototype.setIt=function(a){return Pj(this,Nk,18,a)};Dn.messageId="b.Hotlist";var Z6b=RegExp("action/issues/([0-9]+)/"),$6b=new ld("ETAG_URL_TRANSFORMERS"),a7b=["POST","PUT","DELETE"],cE=function(a){this.etagStore=a};cE.prototype.intercept=function(a,b){if(a7b.includes(a.method)){var c=this.etagStore.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}Z6b.exec(a.url);return b7b(this,a,b)};var b7b=function(a,b,c){return c.handle(b).pipe(Ef(function(d){d instanceof DC&&(d=d.headers,d.has("etag")&&a.etagStore.setEtag(b,d.get("etag")))}))};
cE.\u0275fac=function(a){return new (a||cE)(n(dE))};cE.\u0275prov=Fc({token:cE,factory:cE.\u0275fac,providedIn:"root"});var dE=function(a){this.transformers=a;this.etagStore={}};dE.prototype.setEtag=function(a,b){b!=null&&(a=c7b(this,a.url),this.etagStore[a]=b)};dE.prototype.getEtag=function(a){a=c7b(this,a.url);return this.etagStore[a]};var c7b=function(a,b){var c;a=l((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};
dE.\u0275fac=function(a){return new (a||dE)(n($6b,8))};dE.\u0275prov=Fc({token:dE,factory:dE.\u0275fac,providedIn:"root"});var d7b={provide:HC,useClass:cE,multi:!0};var eE=function(a){this.internalArray_=m(a)};V(eE,X);g=eE.prototype;g.getHotlistId=function(){return Jj(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setHotlistId=function(a){return Ij(this,1,a)};g.setOrderBy=function(a){return sj(this,2,a)};g.setPageSize=function(a){return kj(this,3,a)};g.setPageToken=function(a){return sj(this,4,a)};g.getFilter=function(){return Zh(this,5)};g.setFilter=function(a){return sj(this,5,a)};g.setView=function(a){return uj(this,6,a)};
g.setIssueDescriptionView=function(a){return uj(this,7,a)};g.getQuery=function(){return Zh(this,8)};g.setQuery=function(a){return sj(this,8,a)};g.clearQuery=function(){ro(this,8)};var e7b=function(a){this.internalArray_=m(a)};V(e7b,X);g=e7b.prototype;g.getHotlistId=function(){return Jj(this,1)};g.getHotlistId_asLegacyNumberOrString=function(){return Jj(this,1)};g.setHotlistId=function(a){return Ij(this,1,a)};g.getIssueId=function(){return Jj(this,2)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getIssueId_asString=function(){return xu(this,2)};g.setIssueId=function(a){return Ij(this,2,a)};var fE=function(a){this.internalArray_=m(a,0,fE.messageId)};V(fE,X);fE.prototype.getIt=function(){return Gj(this,eE,1)};fE.prototype.setIt=function(a){return Pj(this,eE,1,a)};fE.messageId="b.ListHotlistEntriesRequest";var gE=function(a){this.internalArray_=m(a)};V(gE,X);gE.prototype.getNextPageToken=function(){return Zh(this,2)};gE.prototype.getTotalSize=function(){return Lj(this,3)};gE.prototype.getTotalSizeAccurate=function(){return hk(this,4)};gE.prototype.getMaySkipResults=function(){return hk(this,5)};gE.repeatedFields_=[1];var hE=function(a){this.internalArray_=m(a,0,hE.messageId)};V(hE,X);hE.prototype.getIt=function(){return Gj(this,gE,1)};hE.prototype.setIt=function(a){return Pj(this,gE,1,a)};hE.messageId="b.ListHotlistEntriesResponse";var iE=function(a){this.internalArray_=m(a,0,iE.messageId)};V(iE,X);iE.repeatedFields_=[1];iE.messageId="b.ListHotlistsResponse";var jE=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};g=jE.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)};jE.\u0275fac=function(a){return new (a||jE)(n(aE),n(kE))};jE.\u0275prov=Fc({token:jE,factory:jE.\u0275fac,providedIn:"root"});var lE=function(a,b){this.executor=a;this.etagStore=b;this.bufferTimeMs=50};
lE.prototype.call=function(a){a=Array.from(a).map(String);return a.length===0?pe(new Map):a.length===1?this.executor.get({url:"action/hotlists/"+a[0],responseConstructor:Dn}).pipe(z(En),z(function(b){var c=new Map;c.set(String(b.hotlistId),b);return c})):this.executor.get({url:"action/hotlists",responseConstructor:iE,options:{params:{id:a}}}).pipe(z(function(b){var c=new Map;b=l(Yj(b,Dn,1,Ai()).map(En));for(var d=b.next();!d.done;d=b.next())d=d.value,c.set(String(d.hotlistId),d);return c}))};
lE.prototype.split=function(a,b){if(b=b.get(a)){var c=b.etag;if(c){var d=this.etagStore;c!=null&&(a=c7b(d,"action/hotlists/"+a),d.etagStore[a]=c)}}return b};lE.\u0275fac=function(a){return new (a||lE)(n(pA),n(dE))};lE.\u0275prov=Fc({token:lE,factory:lE.\u0275fac,providedIn:"root"});var mE=function(a,b,c){this.executor=a;this.batchApiConfig=b;this.batchApiAdapter=c;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};g=mE.prototype;
g.get=function(a){var b=this;return this.adaptedGet(String(a)).pipe(Cf(function(c){return c?pe(c):b.executor.get({url:"action/hotlists/"+a,responseConstructor:Dn}).pipe(z(En))}))};g.bulkLoad=function(a){var b=this;return a.length===0?pe([]):Ce(a.map(function(c){return b.adaptedGet(String(c))})).pipe(z(function(c){return c.filter(Gi)}))};
g.repositionHotlistIssue=function(a,b,c){var d=(new e7b).setHotlistId(Number(a)).setIssueId(b);b=(new Pk).setIssueId(Number(b)).setPosition(c);d=Pj(d,Pk,3,b);return this.executor.put({url:"action/hotlists/"+a+"/entry",body:d,responseConstructor:null})};g.createHotlist=function(a,b){a=(new Nk).setName(a);b&&a.setDescription(b);return this.executor.post({url:"action/hotlists",body:(new Dn).setIt(a),responseConstructor:Dn}).pipe(z(En))};
g.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:iE,options:{params:{q:a}}}).pipe(z(function(b){var c;return((c=Yj(b,Dn,1,Ai()))!=null?c:[]).map(En)}))};g.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:FBa(b),responseConstructor:Dn}).pipe(z(En))};
g.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:FBa(b),options:{headers:c},responseConstructor:Dn}).pipe(z(En))};
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 eE).setHotlistId(a).setOrderBy(qva(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 fE).setIt(b),responseConstructor:hE}).pipe(z(function(h){return vva(h.getIt())}))};
mE.\u0275fac=function(a){return new (a||mE)(n(pA),n(lE),n(XA))};mE.\u0275prov=Fc({token:mE,factory:mE.\u0275fac,providedIn:"root"});var kE=function(a){this.observableApi=a};g=kE.prototype;g.get=function(a){return se(this.observableApi.get(a))};g.bulkLoad=function(a){return se(this.observableApi.bulkLoad(a))};g.repositionHotlistIssue=function(a,b,c){return se(this.observableApi.repositionHotlistIssue(a,b,c))};g.createHotlist=function(a,b){return se(this.observableApi.createHotlist(a,b))};
g.queryHotlists=function(a){return se(this.observableApi.queryHotlists(a))};g.archiveHotlist=function(a,b){return se(this.observableApi.archiveHotlist(a,b))};g.updateMetadata=function(a,b){return se(this.observableApi.updateMetadata(a,b))};g.getPagedHotlistContent=function(a,b,c,d,e){return se(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};kE.\u0275fac=function(a){return new (a||kE)(n(mE))};kE.\u0275prov=Fc({token:kE,factory:kE.\u0275fac,providedIn:"root"});var Fn=function(a){this.internalArray_=m(a)};V(Fn,X);Fn.prototype.getIt=function(){return Gj(this,Tk,6)};Fn.prototype.setIt=function(a){return Pj(this,Tk,6,a)};var nE=function(a){this.internalArray_=m(a,0,nE.messageId)};V(nE,X);nE.messageId="b.Favorite";var oE=function(a){this.internalArray_=m(a,0,oE.messageId)};V(oE,X);oE.repeatedFields_=[1];oE.messageId="b.UserRecentComponentResponse";var pE=function(a){this.executor=a};g=pE.prototype;g.getUserBookmarks=function(){return this.executor.post({url:"action/getUserBookmarks",body:null,responseConstructor:FA}).pipe(z(function(a){return Dva(a.getIt())}))};g.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:oE}).pipe(z(kwa))};g.getUserBookmark=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:nE}).pipe(z(GBa))};
g.addUserBookmark=function(a){a=(new Fn).setIt(Cva(a));return this.executor.post({url:"action/favorites",body:a,responseConstructor:nE}).pipe(z(GBa))};g.removeUserBookmark=function(a){return this.executor.post({url:"action/removeUserBookmark",body:Cva(a),responseConstructor:null})};
var f7b=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})};pE.\u0275fac=function(a){return new (a||pE)(n(pA))};pE.\u0275prov=Fc({token:pE,factory:pE.\u0275fac,providedIn:"root"});var qE=function(a){this.observableApi=a};g=qE.prototype;
g.getUserBookmarks=function(){return se(this.observableApi.getUserBookmarks())};g.getRecentComponents=function(){return se(this.observableApi.getRecentComponents())};g.getUserBookmark=function(a,b){return se(this.observableApi.getUserBookmark(a,b))};g.addUserBookmark=function(a){return se(this.observableApi.addUserBookmark(a))};g.removeUserBookmark=function(a){return se(this.observableApi.removeUserBookmark(a))};qE.\u0275fac=function(a){return new (a||qE)(n(pE))};
qE.\u0275prov=Fc({token:qE,factory:qE.\u0275fac,providedIn:"root"});var rE=function(a){BA.call(this,{freshUntil:3E5});this.observableHotlistResources=a;this.recordType="hotlist";this.idKey="hotlistId"};V(rE,BA);rE.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(lf(function(b){return b.status===403?pe(void 0):qe(function(){return b})}))};rE.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(z(function(b){return(b!=null?b:[]).filter(Gi)}))};
rE.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};rE.\u0275fac=function(a){return new (a||rE)(n(mE))};rE.\u0275prov=Fc({token:rE,factory:rE.\u0275fac,providedIn:"root"});var Gn=function(a){this.internalArray_=m(a)};V(Gn,X);Gn.prototype.getIt=function(){return Gj(this,Qk,12)};Gn.prototype.setIt=function(a){return Pj(this,Qk,12,a)};var sE=function(a){this.internalArray_=m(a,0,sE.messageId)};V(sE,X);sE.prototype.setSearch=function(a,b){pu(this,1,Gn,a,b)};sE.repeatedFields_=[1];sE.messageId="b.BatchGetSearchesResponse";var tE=function(a){this.internalArray_=m(a,0,tE.messageId)};V(tE,X);tE.prototype.getSearch=function(){return Gj(this,Gn,1)};tE.prototype.setSearch=function(a){Pj(this,Gn,1,a)};tE.messageId="b.SearchResponse";var uE=function(a){this.jspbExecutor=a};g=uE.prototype;g.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:tE}).pipe(z(IBa))};g.batchGet=function(a){if(a.length>500)throw Error("Nc");return this.jspbExecutor.get({url:"action/saved_searches?"+a.map(function(b){return"id="+b}).join("&"),responseConstructor:sE}).pipe(z(JBa))};
g.create=function(a,b){a=(new Gn).setIt((new Qk).setName(a).setQuery(b));return this.jspbExecutor.post({url:"action/saved_searches",body:a,responseConstructor:tE}).pipe(z(IBa))};g.update=function(a,b){b=(new Gn).setIt(xva(b));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:b,responseConstructor:tE}).pipe(z(IBa))};g.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};uE.\u0275fac=function(a){return new (a||uE)(n(pA))};
uE.\u0275prov=Fc({token:uE,factory:uE.\u0275fac,providedIn:"root"});var vE=function(a){this.observableResources=a};g=vE.prototype;g.get=function(a){return se(this.observableResources.get(a))};g.batchGet=function(a){return se(this.observableResources.batchGet(a))};g.create=function(a,b){return se(this.observableResources.create(a,b))};g.update=function(a,b){return se(this.observableResources.update(a,b))};g.delete=function(a){return se(this.observableResources.delete(a))};
vE.\u0275fac=function(a){return new (a||vE)(n(uE))};vE.\u0275prov=Fc({token:vE,factory:vE.\u0275fac,providedIn:"root"});var wE=function(a){BA.call(this);this.savedSearchApi=a;this.recordType="savedSearch";this.idKey="searchId"};V(wE,BA);wE.prototype.fetchOne=function(a){return this.savedSearchApi.get(a)};wE.prototype.fetchSet=function(a){return this.savedSearchApi.batchGet(a)};wE.\u0275fac=function(a){return new (a||wE)(n(uE))};wE.\u0275prov=Fc({token:wE,factory:wE.\u0275fac,providedIn:"root"});var xE=function(a,b,c,d,e,f,h,k){BA.call(this,{freshUntil:3E5});var q=this;this.userApi=a;this.hotlistApi=b;this.bookmarkGroupApi=c;this.appEvents=d;this.hotlistFridge=e;this.savedSearchFridge=f;this.bookmarkGroupFridge=h;this.activeSession=k;this.recordType="user-bookmark";this.idKey="id";this.isEqual=ci;this.pokeAll=function(){q.poke("current-user-bookmark-id")};Ge(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified,this.appEvents.savedSearchModified,
this.appEvents.favoritesModified).subscribe(function(){q.poke("current-user-bookmark-id")})};V(xE,BA);var g7b=function(a){var b=a.activeSession.getUserEmail();return b?a.hotlistApi.queryHotlists("include_archived:true owner:"+b):pe([])},h7b=function(a){var b=a.activeSession.getUserEmail();return b?Be(function(){return a.bookmarkGroupApi.query("include_archived:true owner:"+b)}):pe([])};
xE.prototype.fetchOne=function(){var a=this;return Ce([this.userApi.getUserBookmarks(),g7b(this),h7b(this)]).pipe(Ef(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;c=l(c);for(var e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);c=l(b.bookmarkGroups);for(e=c.next();!e.done;e=c.next())a.bookmarkGroupFridge.announce(e.value);d=l(d);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);d=l(b.hotlists);for(c=d.next();!c.done;c=d.next())a.hotlistFridge.announce(c.value);
b=l(b.savedSearches);for(d=b.next();!d.done;d=b.next())a.savedSearchFridge.announce(d.value)}),z(function(b){var c=l(b);b=c.next().value;var d=c.next().value;c=c.next().value;d=QBa([].concat(r(b.hotlists),r(d)),[].concat(r(b.bookmarkGroups),r(c)),b.savedSearches);return RBa(d,b)}))};
var yE=function(a){return a.watch("current-user-bookmark-id",void 0).pipe(He(Gi))},zE=function(a){return yE(a).pipe(z(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(Gi).filter(function(f){return f.resourceType==="HOTLIST"}))!=null?e:[];return[].concat(r(b),r(d))}),z(function(b){return Ni(b,function(c){return c.id})}),z(function(b){return OBa(b)}),z(function(b){return b.map(function(c){return c.id})}),
Cf(function(b){return a.hotlistFridge.watchSet(b,void 0)}))},AE=function(a){return yE(a).pipe(z(function(b){var c;return(c=b==null?void 0:b.savedSearches.map(function(d){return Di(d.id)}))!=null?c:[]}),z(function(b){return b.filter(Gi)}),Cf(function(b){return a.savedSearchFridge.watchSet(b,void 0)}))};xE.\u0275fac=function(a){return new (a||xE)(n(pE),n(mE),n(HA),n(iD),n(rE),n(wE),n(IA),n(as))};xE.\u0275prov=Fc({token:xE,factory:xE.\u0275fac,providedIn:"root"});
var OBa=Ui(function(a){return a.name},Wi,"ASCENDING"),NBa=Ui(function(a){return a.name},Wi,"ASCENDING"),PBa=Ui(function(a){return a.name},Wi,"ASCENDING");var BE=function(a){this.internalArray_=m(a,0,BE.messageId)};V(BE,X);BE.prototype.getIt=function(){return Gj(this,ik,2)};BE.prototype.setIt=function(a){return Pj(this,ik,2,a)};BE.messageId="b.CustomFieldResponse";var CE=function(a){this.internalArray_=m(a)};V(CE,X);g=CE.prototype;g.getCustomFieldsList=function(){return Yj(this,ik,1,Ai())};g.setCustomFieldsList=function(a){return Dk(this,1,a)};g.addCustomFields=function(a){gr(this,1,ik,a)};g.getNextPageToken=function(){return Zh(this,2)};g.getTotalSize=function(){return Lj(this,3)};CE.repeatedFields_=[1];var DE=function(a){this.internalArray_=m(a,0,DE.messageId)};V(DE,X);DE.prototype.getIt=function(){return Gj(this,CE,4)};DE.prototype.setIt=function(a){return Pj(this,CE,4,a)};DE.messageId="b.ListCustomFieldsResponse";var EE=function(a){this.executor=a};g=EE.prototype;g.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:BE}).pipe(z(zxa))};g.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:BE}).pipe(z(zxa))};g.create=function(a,b){b=Bxa(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:BE}).pipe(z(zxa))};
g.update=function(a,b,c){b=Number(b);c=Bxa(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:BE}).pipe(z(zxa))};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:DE}).pipe(z(Cxa))};EE.\u0275fac=function(a){return new (a||EE)(n(pA))};EE.\u0275prov=Fc({token:EE,factory:EE.\u0275fac,providedIn:"root"});var FE=function(a){this.observableApi=a};g=FE.prototype;g.get=function(a){return se(this.observableApi.get(a))};g.getResource=function(a){return se(this.observableApi.getResource(a))};
g.create=function(a,b){return se(this.observableApi.create(a,b))};g.update=function(a,b,c){return se(this.observableApi.update(a,b,c))};g.delete=function(a,b){return se(this.observableApi.delete(a,b))};g.query=function(a){return se(this.observableApi.query(a))};FE.\u0275fac=function(a){return new (a||FE)(n(EE))};FE.\u0275prov=Fc({token:FE,factory:FE.\u0275fac,providedIn:"root"});var GE=function(a){BA.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};V(GE,BA);GE.prototype.fetchOne=function(a){return this.api.getResource(a).pipe(lf(function(b){console.error("error fetching custom field "+a,b);return pe(void 0)}))};GE.\u0275fac=function(a){return new (a||GE)(n(EE))};GE.\u0275prov=Fc({token:GE,factory:GE.\u0275fac,providedIn:"root"});var HE=function(a){BA.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};V(HE,BA);HE.prototype.isEqual=function(a,b){return(a==null?void 0:a.id)!==(b==null?void 0:b.id)?!1:Dsa(a==null?void 0:a.events,b==null?void 0:b.events)};HE.prototype.copy=function(a){return a&&di(a)};HE.prototype.fetchOne=function(a){return I3b(this.observableIssueResources,a).pipe(z(function(b){return{id:a,events:b}}))};HE.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Gi)}))};
HE.\u0275fac=function(a){return new (a||HE)(n(iC))};HE.\u0275prov=Fc({token:HE,factory:HE.\u0275fac,providedIn:"root"});var IE=function(a){this.internalArray_=m(a)};V(IE,X);g=IE.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getCommentNumbers=function(){return yu(this,2)};g.setView=function(a){return uj(this,3,a)};IE.repeatedFields_=[2];var JE=function(a){this.internalArray_=m(a,0,JE.messageId)};V(JE,X);JE.prototype.getIt=function(){return Gj(this,IE,4)};JE.prototype.setIt=function(a){return Pj(this,IE,4,a)};JE.messageId="b.BatchGetIssueCommentsRequest";var KE=function(a){this.internalArray_=m(a)};V(KE,X);KE.prototype.getIssueCommentsList=function(){return Yj(this,qm,1,Ai())};KE.repeatedFields_=[1];var LE=function(a){this.internalArray_=m(a,0,LE.messageId)};V(LE,X);LE.prototype.getIt=function(){return Gj(this,KE,2)};LE.prototype.setIt=function(a){return Pj(this,KE,2,a)};LE.messageId="b.BatchGetIssueCommentsResponse";var ME=function(a,b){this.jspbExecutor=a;this.activeSession=b};ME.prototype.batchGet=function(a,b){var c=new JE,d=c.setIt;a=(new IE).setIssueId(Number(a));b=hc(a,2,b,Eb);c=d.call(c,b.setView(2));var e;(d=(e=this.activeSession.getTracker())==null?void 0:e.trackerId)&&Sl(c,3,d);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:LE,body:c}).pipe(z(oya))};ME.\u0275fac=function(a){return new (a||ME)(n(pA),n(as))};ME.\u0275prov=Fc({token:ME,factory:ME.\u0275fac,providedIn:"root"});var NE=function(a,b){BA.call(this);var c=this;this.issueCommentsBatchApi=a;this.batchApiAdapter=b;this.recordType="formattedCommentsForIssue";this.idForRecord=function(d){return d.id.issueId+"-"+d.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};V(NE,BA);
NE.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return we(a.map(function(d){return b.get(d)})).pipe(z(function(d){var e=[];d=l(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value){var h=void 0,k={issueId:c,commentId:(h=f.commentNumber)!=null?h:0};e.push({id:k,formattedComment:f})}return e}))};
NE.prototype.call=function(a){var b="",c=[];a=l(a);for(var d=a.next();!d.done;d=a.next()){var e=l(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(z(function(f){var h=b,k=new Map;f=l(f);for(var q=f.next();!q.done;q=f.next()){q=q.value;var t=void 0,w=Number(h)+"-"+((t=q.commentNumber)!=null?t:0);k.set(w,q)}return k}))};NE.prototype.splitBatch=function(a,b){return b.get(a)};
NE.\u0275fac=function(a){return new (a||NE)(n(ME),n(XA))};NE.\u0275prov=Fc({token:NE,factory:NE.\u0275fac,providedIn:"root"});var OE=function(a){BA.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=ci};V(OE,BA);OE.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(z(function(b){return Object.assign({},{id:a},b)}))};OE.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(z(function(c){return Object.assign({},{id:b},c)}))};OE.\u0275fac=function(a){return new (a||OE)(n(UA))};
OE.\u0275prov=Fc({token:OE,factory:OE.\u0275fac,providedIn:"root"});var PE=function(a){this.internalArray_=m(a)};V(PE,X);PE.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return il(this,1,Ai())};PE.prototype.getIssueIdsList_asString=function(){return $k(this,1)};PE.prototype.setIssueIdsList=function(a){return Vl(this,1,a)};PE.repeatedFields_=[1];var QE=function(a){this.internalArray_=m(a)};V(QE,X);QE.prototype.getIssueIdsList_asLegacyNumberOrString=function(){return il(this,1,Ai())};QE.prototype.getIssueIdsList_asString=function(){return $k(this,1)};QE.prototype.setIssueIdsList=function(a){return Vl(this,1,a)};QE.repeatedFields_=[1];var RE=function(a){this.internalArray_=m(a)};V(RE,X);RE.prototype.setExperiments=function(a){return pu(this,1,nB,a)};RE.repeatedFields_=[1];var SE=function(a){this.internalArray_=m(a,0,SE.messageId)};V(SE,X);SE.prototype.getIt=function(){return Gj(this,RE,1)};SE.prototype.setIt=function(a){return Pj(this,RE,1,a)};SE.messageId="b.BatchGetIssueExperimentsResponse";var TE=function(a){this.internalArray_=m(a)};V(TE,X);g=TE.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Ij(this,1,a)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return uj(this,2,a)};g.getPriority=function(){return Kj(this,3,0)};g.setPriority=function(a){return uj(this,3,a)};
g.getSeverity=function(){return Kj(this,4,0)};g.setSeverity=function(a){uj(this,4,a)};g.getStatus=function(){return Kj(this,5,0)};g.setStatus=function(a){return uj(this,5,a)};g.getReporter=function(){return Gj(this,rj,6)};g.setReporter=function(a){Pj(this,rj,6,a)};g.getAssignee=function(){return Gj(this,rj,7)};g.setAssignee=function(a){Pj(this,rj,7,a)};g.clearAssignee=function(){return ro(this,7)};g.getVerifier=function(){return Gj(this,rj,8)};g.setVerifier=function(a){Pj(this,rj,8,a)};
g.clearVerifier=function(){return ro(this,8)};g.getCcsList=function(){return Yj(this,rj,9,Ai())};g.setCcsList=function(a){Dk(this,9,a)};g.addAllCcs=function(a){su(this,9,rj,a)};g.getCollaboratorsList=function(){return Yj(this,rj,23,Ai())};g.setCollaboratorsList=function(a){Dk(this,23,a)};g.addAllCollaborators=function(a){su(this,23,rj,a)};g.setCollaborators=function(a){pu(this,23,rj,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return il(this,10,Ai(a))};
g.setHotlistIdsList=function(a){Vl(this,10,a)};g.addHotlistIds=function(a,b){return lc(this,10,Gb,a,b)};g.addAllHotlistIds=function(a){kc(this,10,Gb,a)};g.getBlockedByIssueIdsList_asLegacyNumberOrString=function(){return il(this,11,Ai())};g.setBlockedByIssueIdsList=function(a){Vl(this,11,a)};g.addAllBlockedByIssueIds=function(a){kc(this,11,Gb,a)};g.getBlockingIssueIdsList_asLegacyNumberOrString=function(){return il(this,12,Ai())};g.setBlockingIssueIdsList=function(a){Vl(this,12,a)};
g.addAllBlockingIssueIds=function(a){kc(this,12,Gb,a)};g.getCanonicalIssueId_asLegacyNumberOrString=function(){return Jj(this,13)};g.setCanonicalIssueId=function(a){Ij(this,13,a)};g.getDuplicateIssueIdsList_asLegacyNumberOrString=function(){return il(this,14,Ai())};g.setDuplicateIssueIdsList=function(a){Vl(this,14,a)};g.getInProd=function(){return hk(this,15)};g.setInProd=function(a){jk(this,15,a)};g.getSloSnoozeUntil=function(){return Gj(this,mj,16)};
g.setSloSnoozeUntil=function(a){Pj(this,mj,16,a)};g.getSloEndTime=function(){return Gj(this,mj,25)};g.setSloEndTime=function(a){Pj(this,mj,25,a)};g.hasSloEndTime=function(){return Ak(this,mj,25)};g.getRetention=function(){return Kj(this,17,0)};g.setRetention=function(a){return uj(this,17,a)};g.getEntityStatus=function(){return Gj(this,Qj,18)};g.setEntityStatus=function(a){return Pj(this,Qj,18,a)};g.getIsArchived=function(){return hk(this,19)};g.setIsArchived=function(a){return jk(this,19,a)};
g.getEffort=function(){return Gj(this,Hk,24)};g.setEffort=function(a){Pj(this,Hk,24,a)};g.hasEffort=function(){return Ak(this,Hk,24)};g.getAccessLimit=function(){return Gj(this,Ej,26)};g.setAccessLimit=function(a){return Pj(this,Ej,26,a)};TE.repeatedFields_=[9,23,10,11,12,14];var UE=function(a){this.internalArray_=m(a)};V(UE,X);g=UE.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getIssueState=function(){return Gj(this,TE,2)};g.setIssueState=function(a){return Pj(this,TE,2,a)};g.getVersion=function(){return Lj(this,3)};g.setVersion=function(a){return kj(this,3,a)};
g.getEtag=function(){return qo(this,16)};g.setEtag=function(a){Oj(this,16,a)};g.getCreatedTime=function(){return Gj(this,mj,4)};g.setCreatedTime=function(a){return Pj(this,mj,4,a)};g.getModifiedTime=function(){return Gj(this,mj,5)};g.setModifiedTime=function(a){return Pj(this,mj,5,a)};g.getMajorModifiedTime=function(){return Gj(this,mj,14)};g.setMajorModifiedTime=function(a){return Pj(this,mj,14,a)};g.getResolvedTime=function(){return Gj(this,mj,6)};
g.setResolvedTime=function(a){return Pj(this,mj,6,a)};g.getVerifiedTime=function(){return Gj(this,mj,7)};g.setVerifiedTime=function(a){return Pj(this,mj,7,a)};g.getSloId_asLegacyNumberOrString=function(){return Jj(this,9)};g.setSloId=function(a){return Ij(this,9,a)};g.getSloStatus=function(){return Gj(this,Am,10)};g.setSloStatus=function(a){Pj(this,Am,10,a)};g.hasSloStatus=function(){return Ak(this,Am,10)};g.getTeamId_asLegacyNumberOrString=function(){return Jj(this,13)};
g.setTeamId=function(a){return Ij(this,13,a)};g.getRetentionState=function(){return Gj(this,Bm,11)};g.setRetentionState=function(a){Pj(this,Bm,11,a)};g.getAccessLimit=function(){return Gj(this,Fj,12)};g.setAccessLimit=function(a){return Pj(this,Fj,12,a)};g.getParentIssueIdsList_asLegacyNumberOrString=function(){return il(this,17,Ai())};g.setParentIssueIdsList=function(a){return Vl(this,17,a)};g.getAncestorsMap=function(){return gc(this,19,Cm,Wca)};g.getIsArchived=function(){return hk(this,18)};
g.setIsArchived=function(a){return jk(this,18,a)};UE.repeatedFields_=[17];var VE=function(a){this.internalArray_=m(a,0,VE.messageId)};V(VE,X);VE.prototype.getIt=function(){return Gj(this,UE,14)};VE.prototype.setIt=function(a){return Pj(this,UE,14,a)};VE.messageId="b.IssueMetadata";var i7b=function(a){this.internalArray_=m(a)};V(i7b,X);i7b.prototype.getIt=function(){return Gj(this,QE,4)};i7b.prototype.setIt=function(a){return Pj(this,QE,4,a)};var j7b=function(a){this.internalArray_=m(a)};V(j7b,X);var WE=function(a){this.internalArray_=m(a,0,WE.messageId)};V(WE,X);WE.prototype.getIt=function(){return Gj(this,j7b,2)};WE.prototype.setIt=function(a){return Pj(this,j7b,2,a)};WE.messageId="b.UpdateIssueReadTimestampResponse";var XE=function(a){this.executor=a};XE.prototype.delete=function(a,b){b=(new sB).setIt((new pB).setIssueId(Number(a)).setReason(J1b[uta(b)]));return this.executor.post({url:"action/issues/"+a+"/delete",body:b,responseConstructor:null})};XE.prototype.undelete=function(a){var b=(new wB).setIt((new rB).setIssueId(Number(a)));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};
XE.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:VE}).then(qya)};XE.prototype.markRead=function(a,b,c){b=b===void 0?!0:b;c=c===void 0?"USER_ACTIVITY_TYPE_UNDEFINED":c;var d=new i7b,e=d.setIt;a=(new QE).setIssueIdsList(a.map(Number));b=jk(a,2,b);c=uj(b,3,R1b[c]);d=e.call(d,c);return this.executor.post({url:"action/issues/read_timestamp",body:d,responseConstructor:WE}).then(pya)};
var k7b=function(a,b){return a.executor.get({url:"action/issues/"+b+"/experiments",responseConstructor:nB}).then(gya).then(function(c){return Object.assign({},c,{id:b})})},l7b=function(a,b){var c=(new PE).setIssueIdsList(b.map(Number));return a.executor.post({url:"action/issues/batch_experiments",body:c,responseConstructor:SE}).then(function(d){d=d.getIt();return Yj(d,nB,1,Ai()).map(gya)}).then(function(d){var e=ura(d,function(f){return f.id});return b.map(function(f){var h;return(h=e.get(f))!=null?
h:bCa(f)})})};XE.\u0275fac=function(a){return new (a||XE)(n(qA))};XE.\u0275prov=Fc({token:XE,factory:XE.\u0275fac,providedIn:"root"});var YE=function(a,b,c,d){BA.call(this,{freshUntil:6E4});this.activeSession=a;this.batchApiAdapter=b;this.batchApiConfig=c;this.issueService=d;this.recordType="issue-experimental-fields";this.idForRecord=function(e){return e.id};this.isEqual=ci;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};V(YE,BA);YE.prototype.fetchOne=function(a){var b=this;return ep(this.activeSession,"enableTeamScope")?Be(function(){return b.batchAdaptedGet(a)}):pe(void 0)};
YE.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return b.watchOne(c)})).pipe(z(function(c){return c.filter(Gi)}))};YE.prototype.copy=function(a){return a&&di(a)};
var m7b=function(a,b,c){var d,e,f,h;return ge(function(k){if(k.nextAddress==1)return d=Object,e=d.assign,ie(k,se(a.batchAdaptedGet(b)),2);if(k.nextAddress!=3){f=e.call(d,{},k.yieldResult,c);var q=a.issueService.executor,t=q.post,w="action/issues/"+f.id+"/experiments";var y=new mB;y=Ol(y,1,Q1b[f.triage.phase]).setNeedsInfo(f.triage.needsInfo);y=(new nB).setId(f.id).setTriage(y);y=Sj(y,3,f.clusterId);return ie(k,t.call(q,{url:w,body:y,responseConstructor:nB}).then(gya),3)}h=k.yieldResult;a.announce(h);
return k.return(h)})};YE.\u0275fac=function(a){return new (a||YE)(n(as),n(XA),n(ZE),n(XE))};YE.\u0275prov=Fc({token:YE,factory:YE.\u0275fac,providedIn:"root"});var ZE=function(a){this.issueService=a;this.maxBatchSize=100;this.bufferTimeMs=0};ZE.prototype.call=function(a){var b=this;return Be(function(){return l7b(b.issueService,[].concat(r(a)))}).pipe(z(function(c){return ura(c,function(d){return d.id})}))};ZE.prototype.split=function(a,b){var c;return(c=b.get(a))!=null?c:bCa(a)};
ZE.\u0275fac=function(a){return new (a||ZE)(n(XE))};ZE.\u0275prov=Fc({token:ZE,factory:ZE.\u0275fac,providedIn:"root"});var cCa=window,sCa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},n7b=function(a){if(Hn())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var uCa=dm("debug-logging")(),In=window,o7b,rCa=!1;var vCa=a3b("last-visit"),wCa=a3b("last-visit-count"),yCa=oYa("last-visit"),xCa=oYa("last-visit-count");Date.now==null&&(Date.now=function(){return(new Date).getTime()});var p7b=function(a){this.internalArray_=m(a)};V(p7b,X);p7b.prototype.getValueCase=function(){return xj(this,q7b)};var q7b=[1,2,3];var r7b=function(a){this.internalArray_=m(a)};V(r7b,X);r7b.prototype.getValueCase=function(){return xj(this,s7b)};var s7b=[1,2,3];var t7b=function(a){this.internalArray_=m(a)};V(t7b,X);t7b.repeatedFields_=[1];var $E=function(a){this.internalArray_=m(a)};V($E,X);$E.prototype.getFieldName=function(){return zu(this,3)};$E.prototype.setFieldName=function(a){mc(this,3,Jb,a,void 0,zi)};$E.repeatedFields_=[3,6,4];var u7b=function(a){this.internalArray_=m(a)};V(u7b,X);u7b.repeatedFields_=[1];var v7b=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("Qc`"+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("Rc`"+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 x7b=function(a,b,c){var d=String(Ba.location.href);return d&&a&&b?[b,w7b(v7b(d),a,c||null)].join(" "):null},w7b=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],Na(d,function(k){e.push(k)}),y7b(e.join(" "));var f=[],h=[];Na(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];Na(d,function(k){e.push(k)});a=y7b(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},y7b=function(a){var b=
ACa();b.update(a);return b.digestString().toLowerCase()};var z7b=function(){this.document_=document||{cookie:""}};g=z7b.prototype;g.isEnabled=function(){if(!Ba.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 k=c.maxAge}if(/[;=\s]/.test(a))throw Error("Sc`"+a);if(/[;\r\n]/.test(b))throw Error("Tc`"+b);k===void 0&&(k=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";k=k<0?"":k==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+k*1E3)).toUTCString();this.document_.cookie=a+"="+b+c+h+k+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=mi(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 A7b(this).keys};g.getValues=function(){return A7b(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=A7b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};g.clear=function(){for(var a=A7b(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};
var A7b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=mi(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 B7b=function(a,b,c,d){(a=Ba[a])||typeof document==="undefined"||(a=(new z7b).get(b));return a?x7b(a,c,d):null},rJa=function(a){var b=v7b(String(Ba.location.href)),c=[],d;(d=Ba.__SAPISID||Ba.__APISID||Ba.__3PSAPISID||Ba.__1PSAPISID||Ba.__OVERRIDE_SID)?d=!0:(typeof document!=="undefined"&&(d=new z7b,d=d.get("SAPISID")||d.get("APISID")||d.get("__Secure-3PAPISID")||d.get("__Secure-1PAPISID")),d=!!d);d&&(d=(b=b.indexOf("https:")==0||b.indexOf("chrome-extension:")==0||b.indexOf("chrome-untrusted://new-tab-page")==
0||b.indexOf("moz-extension:")==0)?Ba.__SAPISID:Ba.__APISID,d||typeof document==="undefined"||(d=new z7b,d=d.get(b?"SAPISID":"APISID")||d.get("__Secure-3PAPISID")),(d=d?x7b(d,b?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d),b&&((b=B7b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),(a=B7b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a)));return c.length==0?null:c.join(" ")};var aF=function(a){this.internalArray_=m(a)};V(aF,X);aF.repeatedFields_=[2];var bF=function(a,b){this.intervalMs=a;this.callback=b;this.enabled=!1;this.nowFn=function(){return Date.now()};this.lastTimeMs=this.nowFn()};bF.prototype.setInterval=function(a){this.intervalMs=a;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};bF.prototype.start=function(){var a=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){a.tick()},this.intervalMs),this.lastTimeMs=this.nowFn())};
bF.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};bF.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 C7b=function(a){this.internalArray_=m(a)};V(C7b,X);var D7b=function(a){this.internalArray_=m(a)};V(D7b,X);var E7b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};E7b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};E7b.prototype.getValue=function(){return this.currValue_};var cF=function(a){this.internalArray_=m(a)};V(cF,X);g=cF.prototype;g.getTransmissionType=function(){return Kj(this,1,0)};g.setTransmissionType=function(a){Ol(this,1,a)};g.setRetryCount=function(a){Ml(this,3,a)};g.setPersistedLogRecoveredCount=function(a){Ml(this,4,a)};g.setPersistedLogExpiredCount=function(a){Ml(this,5,a)};var Nn=function(a){this.internalArray_=m(a)};V(Nn,X);Nn.prototype.getVersion=function(){return Zh(this,2)};Nn.prototype.setVersion=function(a){return Sj(this,2,a)};Nn.prototype.getVersionOrUndefined=function(){return Jm(this,2)};var dF=function(a){this.internalArray_=m(a)};V(dF,X);var DCa=function(a,b){Dk(a,1,b)};dF.prototype.setPlatform=function(a){Sj(this,3,a)};dF.prototype.setModel=function(a){Sj(this,6,a)};dF.repeatedFields_=[1];var eF=function(a){this.internalArray_=m(a)};V(eF,X);eF.prototype.getLocale=function(){return Zh(this,5)};eF.prototype.setLocale=function(a){return Sj(this,5,a)};eF.prototype.setBuildLabel=function(a){Sj(this,7,a)};eF.prototype.getMutableFlushInfo=function(){return qu(this,cF,10)};var BCa=["platform","platformVersion","architecture","model","uaFullVersion"],ECa=new dF,CCa=null;var fF=function(a){this.internalArray_=m(a)};V(fF,X);fF.prototype.getMutableJsClientInfo=function(){return qu(this,eF,11)};var F7b=function(a){this.internalArray_=m(a)};V(F7b,X);g=F7b.prototype;g.getKey=function(){return Zh(this,1)};g.getValue=function(){return Zh(this,2)};g.getValue_legacyNullable=function(){return Tj(this,2)};g.setValue=function(a){return Sj(this,2,a)};g.hasValue=function(){return vl(this,2)};var gF=function(a){this.internalArray_=m(a,4)};V(gF,X);var hF=function(a){this.internalArray_=m(a,35)};V(hF,X);g=hF.prototype;g.getTag=function(){return Zh(this,2)};g.getComponentId=function(){return Zh(this,26)};g.setComponentId=function(a){return Sj(this,26,a)};g.hasComponentId=function(){return vl(this,26)};g.addValue=function(){return gr(this,3,F7b)};g.setValue=function(a,b){return pu(this,3,F7b,a,b)};var G7b=function(a,b){return Sj(a,8,b)};hF.prototype.getExperimentIds=function(){return Gj(this,aF,16)};
hF.prototype.setExperimentIds=function(a){Pj(this,aF,16,a)};hF.prototype.clearExperimentIds=function(){return ro(this,16)};var iF=function(a,b){Sj(a,24,b)};hF.prototype.getComplianceData=function(){return Gj(this,gF,33)};hF.prototype.setComplianceData=function(a){Pj(this,gF,33,a)};hF.repeatedFields_=[3,20,27];var H7b=function(a){this.internalArray_=m(a,19)};V(H7b,X);g=H7b.prototype;g.getClientInfo=function(){return Gj(this,fF,1)};g.getMutableClientInfo=function(){return qu(this,fF,1)};g.setClientInfo=function(a){Pj(this,fF,1,a)};g.getLogSource=function(){return Kj(this,2,-1)};g.setLogSource=function(a){return Ol(this,2,a)};g.getComplianceData=function(){return Gj(this,gF,18)};g.setComplianceData=function(a){Pj(this,gF,18,a)};H7b.repeatedFields_=[3,5];var jF=function(a){this.internalArray_=m(a)};V(jF,X);jF.prototype.getId=function(a){return zu(this,1,a)};jF.prototype.setId=function(a){return mc(this,1,Jb,a,void 0,zi)};jF.repeatedFields_=[1];var kF=function(a){this.internalArray_=m(a,8)};V(kF,X);kF.prototype.getExperiments=function(){return Gj(this,jF,2)};kF.prototype.setExperiments=function(a){return Pj(this,jF,2,a)};kF.prototype.hasExperiments=function(){return Ak(this,jF,2)};var I7b=ai(kF);kF.repeatedFields_=[5,6,7];var J7b=function(a){this.internalArray_=m(a)};V(J7b,X);var K7b=new Zy(175237375,J7b);var mF=function(a){sz.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.gzipCompressor=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 lF(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&&!!Nz()&&!!Nz().navigator&&Nz().navigator.sendBeacon!==void 0;this.isBrowserSupported=typeof URLSearchParams!=="undefined"&&!!(new URL(L7b())).searchParams&&!!(new URL(L7b())).searchParams.set;var c=Ol(new fF,1,1);this.logRequestBuilder.setClientInfo(c);this.flushBackoff=new E7b(1E4);a=M7b(this,a.backgroundJobDeferrer);this.flushTimer=new bF(this.flushBackoff.getValue(),a);this.backupTimer=new bF(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)))};V(mF,sz);var M7b=function(a,b){return a.isBrowserSupported?b?function(){b().then(function(){a.flush()})}:function(){a.flush()}:function(){}};mF.prototype.disposeInternal=function(){this.finalFlush();this.flushTimer.stop();this.backupTimer.stop();sz.prototype.disposeInternal.call(this)};
mF.prototype.setClearcutUrl=function(a){this.clearcutUrl=a};mF.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};mF.prototype.getClearcutUrl=function(){this.clearcutUrl||(this.clearcutUrl=L7b());try{return(new URL(this.clearcutUrl)).toString()}catch(a){return(new URL(this.clearcutUrl,Nz().location.origin)).toString()}};var nF=function(a,b){a.isBrowserSupported&&(b instanceof hF?a.log(b):(b=G7b(new hF,b.serialize()),a.log(b)))};g=mF.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 aF);var b=this.experimentIds;a=[].concat(r(a));hc(b,2,a,eea)};
g.setClearExperimentIds=function(a){if(a){this.experimentIds||(this.experimentIds=new aF);var b=this.experimentIds;a=a.serialize();Sj(b,4,a)}else this.experimentIds&&ro(this.experimentIds,4)};g.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};g.setGzipCompressor=function(a){this.gzipCompressor=a};g.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};g.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;N7b(this,a)};
var N7b=function(a,b){a.flushBackoff=new E7b(b<1?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
mF.prototype.log=function(a){if(this.isBrowserSupported){a=a.clone();var b=this.sequencePosition++;a=Tl(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(zl(a,1)==null){var c=Date.now();b=a;c=Number.isFinite(c)?c.toString():"0";Sl(b,1,c)}El(a,15)||Tl(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()}};mF.prototype.maybeStartFlushTimer=function(){this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
mF.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),O7b(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 k=e.serialize(),q;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&(q=this.gzipCompressor.compress(k));var t={url:h.toString(),body:k,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},w=function(G){c.flushBackoff.reset();
c.flushTimer.setInterval(c.flushBackoff.getValue());if(G){var I=null;try{var N=JSON.stringify(JSON.parse(G.replace(")]}'\n","")));I=I7b(N)}catch(S){}I&&(G=Number(wu(I,1,"-1")),G>0&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+G),I=CTb(I,K7b))&&(I=Lj(I,1,-1),I!==-1&&(c.clientSpecifiedFlushInterval||N7b(c,I)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},y=function(G,I){var N=Yj(e,hF,3,Ai());var S=tu(e,14),W=c.flushBackoff;W.currBaseValue_=Math.min(3E5,W.currBaseValue_*2);W.currValue_=
Math.min(3E5,W.currBaseValue_+Math.round((Math.random()-.5)*.2*W.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());G===401&&f&&(c.lastFailedAuth=f);S&&(c.numLogsDroppedSinceLastFlush+=S);I===void 0&&(I=500<=G&&G<600||G===401||G===0);I&&(c.pendingEvents=N.concat(c.pendingEvents),c.maybeStartFlushTimer());b&&b("net-send-failed",G);++c.numRetriesSinceLastSuccessfulFlush},D=function(){c.network&&c.network.send(t,w,y)};q?q.then(function(G){t.requestHeaders["Content-Encoding"]="gzip";
t.requestHeaders["Content-Type"]="application/binary";t.body=G;t.bodyType=2;D()},function(){D()}):D()}}}};mF.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(P7b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),O7b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),Q7b(this)),this.flush(),P7b(this.logRequestBuilder,!1))};
var O7b=function(a){R7b(a,32,10,function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=Nz().navigator.sendBeacon(b.toString(),c.serialize())}catch(e){}d||(a.isSendBeaconSupported=!1);return d})},Q7b=function(a){R7b(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,k=0;k<c.length;k++){var q=c.charCodeAt(k);q>255&&(f[h++]=q&255,q>>=8);f[h++]=q}c=mTb(f,3);e.call(d,"p",c);b=b.toString();if(b.length>
15360)return!1;(new Image).src=b;return!0})},R7b=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),k=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush,a.productID,a.persistedLogRecoveredCount,a.persistedLogExpiredCount);
if(!d(e.toString(),k)){++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()}},L7b=function(){return"https://play.google.com/log?format=json&hasfast=true"},lF=function(a,b){this.isServiceWorkerScope=b=b===void 0?!1:b;this.uach=this.locale=null;this.logRequest=new H7b;Number.isInteger(a)&&
this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new fF)};lF.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};lF.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);Kj(a,1,0)||Ol(a,1,1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),Gj(a,dF,9)||Pj(a,dF,9,this.uach))};
lF.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};lF.prototype.setTransmissionType=function(a){Ak(this.getMutableClientInfo(),eF,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var P7b=function(a,b){Ak(a.getMutableClientInfo(),eF,11)&&(a=a.getMutableFlushInfo(),Ll(a,2,b))};lF.prototype.setRetryCount=function(a){Ak(this.getMutableClientInfo(),eF,11)&&this.getMutableFlushInfo().setRetryCount(a)};
lF.prototype.setPersistedLogRecoveredCount=function(a){Ak(this.getMutableClientInfo(),eF,11)&&this.getMutableFlushInfo().setPersistedLogRecoveredCount(a)};lF.prototype.setPersistedLogExpiredCount=function(a){Ak(this.getMutableClientInfo(),eF,11)&&this.getMutableFlushInfo().setPersistedLogExpiredCount(a)};lF.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var S7b=function(a){var b=b===void 0?BCa:b;var c=a.isServiceWorkerScope?void 0:Nz();c?FCa(c,b).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();Pj(d,dF,9,a.uach);return!0}).catch(function(){return!1}):Promise.resolve(!1)};lF.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=Gj(a,eF,11);b||(b=new eF,Pj(a,eF,11,b));return b};lF.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=Gj(a,cF,10);b||(b=new cF,Ll(b,2,!1),Pj(a,cF,10,b));return b};
lF.prototype.getComplianceData=function(a){var b=new C7b;a=Ml(b,13,a);b=new D7b;a=Pj(b,C7b,2,a);b=new gF;a=Pj(b,D7b,1,a);return Ol(a,2,9)};lF.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=Sl(c,4,e);a=Dk(c,3,a.slice());d&&a.setComplianceData(this.getComplianceData(d));b&&Tl(a,14,b);return a};var T7b=function(){this.abortSupported=typeof AbortController!=="undefined"};
T7b.prototype.send=function(a,b,c){var d=this,e,f,h,k,q,t,w,y,D,G;return ge(function(I){switch(I.nextAddress){case 1:return f=(e=d.abortSupported?new AbortController:void 0)?setTimeout(function(){e.abort()},a.timeoutMillis):void 0,he(I,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}),ie(I,fetch(a.url,h),5);case 5:k=I.yieldResult;if(k.status!==200){(q=
c)==null||q(k.status);I.jumpTo(3);break}if((t=b)==null){I.jumpTo(7);break}return ie(I,k.text(),8);case 8:t(I.yieldResult);case 7:case 3:je(I);clearTimeout(f);ke(I,0);break;case 2:w=le(I);switch((y=w)==null?void 0:y.name){case "AbortError":(D=c)==null||D(408);break;default:(G=c)==null||G(400)}I.jumpTo(3)}})};T7b.prototype.getTransmissionType=function(){return 4};var kp=function(a,b){sz.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.gzipCompressor=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};V(kp,sz);g=kp.prototype;g.setBuildLabel=function(a){this.buildLabel=a};g.setGzipCompressor=function(a){this.gzipCompressor=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 BJa=function(a,b){a.getAuthHeaderValue=b};g=kp.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 T7b);var a=new mF({logSource:this.logSource,getAuthHeaderValue:this.getAuthHeaderValue?this.getAuthHeaderValue:rJa,sessionIndex:this.sessionIndex,urlOverride:this.destinationUrl,isServiceWorkerScope:this.serviceWorkerScopeEnabled,disableAutomaticFlush:!1,disableWithCredentials:this.withCredentialsDisabled,backgroundJobDeferrer:this.backgroundJobDeferrer,network:this.network});Dq(this,a);this.clearcutClientInfo&&a.setClearcutClientInfo(this.clearcutClientInfo);
this.buildLabel&&a.setBuildLabel(this.buildLabel);this.gzipCompressor&&a.setGzipCompressor(this.gzipCompressor);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);S7b(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 oF=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;sz.call(this);this.logSource=a;this.componentId=b;f?c=f:(a=(new kp(a,"0")).setComponentId(b),Dq(this,a),c!==""&&(a.destinationUrl=c),d&&(a.serviceWorkerScopeEnabled=!0),e&&a.setBuildLabel(e),h&&(a.network=h),c=a.build());this.transport=c};V(oF,sz);oF.prototype.getLogSource=function(){return this.logSource};oF.prototype.getComponentId=function(){return this.componentId};
oF.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new u7b,c=[],d=0;d<a.length;d++){var e=a[d];var f=new $E;f=Sj(f,1,e.metricName);for(var h=[],k=0;k<e.fields.length;k++)h.push(e.fields[k].field_name);f=tj(f,3,h);h=[];k=[];for(var q=l(e.cellMap.keys()),t=q.next();!t.done;t=q.next())k.push(t.value.split(","));for(q=0;q<k.length;q++){t=k[q];var w=e.cellType;for(var y=e.getCells(t)||[],D=[],G=0;G<y.length;G++){var I=y[G],N=I&&I.cellValue;I=new r7b;switch(w){case 3:N=Number(N);Number.isFinite(N)&&
Xj(I,1,s7b,Hb(N));break;case 2:Xj(I,2,s7b,yb(Number(N)))}D.push(I)}w=D;for(y=0;y<w.length;y++){D=w[y];G=new t7b;D=Pj(G,r7b,2,D);G=t;I=[];N=[];for(var S=0;S<e.fields.length;S++)N.push(e.fields[S].field_type);for(S=0;S<N.length;S++){var W=N[S],Z=G[S],fa=new p7b;switch(W){case 3:Cj(fa,1,q7b,String(Z));break;case 2:W=Number(Z);Number.isFinite(W)&&Xj(fa,2,q7b,W==null?W:Eb(W));break;case 1:Xj(fa,3,q7b,Bb(Z==="true"))}I.push(fa)}Dk(D,1,I);h.push(D)}}Dk(f,4,h);c.push(f);e.clear()}Dk(b,1,c);nF(this.transport,
b);this.transport.flush()}};var pF=function(){var a=new kp(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.sendBeaconApiEnabled=!0;a=new oF(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new W0b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};pF.\u0275fac=function(a){return new (a||pF)};pF.\u0275prov=Fc({token:pF,factory:pF.\u0275fac,providedIn:"root"});var U7b=dm("debug-logging")(),qF=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new Z0b(this.streamz.service);this.userLatency=new a1b(this.streamz.service);this.userActionCounter=new $0b(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
qF.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);U7b&&console.log("Clearcut stub",{action:b,duration:a})};var rF=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);U7b&&console.log("Clearcut stub",{action:c,duration:b})},V7b=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);U7b&&console.log("Clearcut stub",{action:b})};
qF.\u0275fac=function(a){return new (a||qF)(n(as),n(pF))};qF.\u0275prov=Fc({token:qF,factory:qF.\u0275fac,providedIn:"root"});var W7b=fm("journey-log"),X7b=nxa("journey-log"),sF={},Y7b=(sF.ssue__edit="edit",sF.ssue__addComment="comment",sF["ssue__light-ixn"]="ixn",sF.ssue__copyIssueId="ixn",sF["global-search__.*__.*text"]="ilp-search",sF["global-search__.*__filters"]="ilp-filter",sF),tF={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},uF=function(a){this.clearcut=a},Z7b=function(a,b){var c=c===void 0?Date.now():c;var d,e=(d=
X7b())!=null?d:[];e.push([b,c]);e.length>100&&(e=e.slice(-100));W7b(e);if(tF.successEvents.includes(b)){b=e;c=tF.abortEvents;d=tF.successEvents;e=tF.startEvents;for(var f=tF.successMarker,h,k=b.length-1;k>=0;k--){var q=l(b[k]),t=q.next().value;q=q.next().value;if(c.includes(t))break;if(f===t)break;if(d.includes(t)){if(h&&w)break;var w=q}else w&&e.includes(t)&&(h=q)}w=h&&w?[h,w]:void 0;w&&(w=l(w),h=w.next().value,w=w.next().value-h,rF(a.clearcut,w,GCa("journey","global-search-text")),Jn("journey",
"global-search-text","duration",w),Z7b(a,tF.successMarker))}};uF.\u0275fac=function(a){return new (a||uF)(n(qF))};uF.\u0275prov=Fc({token:uF,factory:uF.\u0275fac,providedIn:"root"});var vF=function(a){var b=this;this.clearcut=a;this.onMeasurement=function(c){c.getEntries().forEach(b.sendToClearcut)};this.sendToClearcut=function(c){var d=c.name;d&&d.startsWith("GTM-")||(c=Math.round(c.duration),d!=null&&(isNaN(c)||b.clearcut.timePageLoad&&b.clearcut.timePageLoad(c,d)))}},$7b=function(a){Hn()&&(a.observer!=null&&a.observer.disconnect(),a.observer=new cCa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};
vF.\u0275fac=function(a){return new (a||vF)(n(qF))};vF.\u0275prov=Fc({token:vF,factory:vF.\u0275fac,providedIn:"root"});var On={},a8b={logInfo:function(){console.log(ICa());console.log("\nDuplicate Requests:");console.table(HCa())},getCounts:function(){return On},getDupes:HCa,getAggregates:ICa};var b8b={attributes:!1,childList:!0,subtree:!0},wF=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new yf;this.cdr$=this.ngZone.onStable;this.xhr$=new yf;this.render$=Ge(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(pf(200));this.navigatedTo$=this.router.events.pipe(He(Pn),z(function(){return JCa(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(Cf(function(e){return d.renderSettled$.pipe(qf(),z(function(){return e}))}),zf(1));this.domObserver=
new MutationObserver(function(){return void d.dom$.next()})},c8b=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,b8b)};wF.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;On[c]=~~On[c]+1;this.xhr$.next(c);return b.handle(a)};wF.\u0275fac=function(a){return new (a||wF)(n(Me),n(HD),n(qn))};wF.\u0275prov=Fc({token:wF,factory:wF.\u0275fac,providedIn:"root"});var d8b={provide:HC,useExisting:wF,multi:!0};var xF=function(){bv.apply(this,arguments)};V(xF,bv);xF.create=bv.create;xF.prototype.emit=function(a){bv.prototype.emit.call(this,a)};var Y=function(){this.destroyed$=new xf(1);this.subscriptions=new Yd};Y.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};Y.\u0275fac=function(a){return new (a||Y)};Y.\u0275dir=ed({type:Y});var yF=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};yF.prototype.ngOnDestroy=function(){this.destroyed=!0};yF.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};yF.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};yF.\u0275fac=function(a){return new (a||yF)(n(Wg),n(Me))};yF.\u0275prov=Fc({token:yF,factory:yF.\u0275fac});var zF=function(a){Y.call(this);var b=this;this.ngZone=a;this.activeSubject$=new rn(!1);this.active$=this.activeSubject$.pipe(sf(),Df(this.destroyed$),LCa(this.ngZone));this.onUserEvent=W_b(function(){b.activeSubject$.next(!0);e8b(b)},200);this.onVisibilityChange=function(){document.visibilityState==="hidden"?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),e8b(b))}};V(zF,Y);zF.\u0275dir=Y.\u0275dir;
zF.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)};
zF.prototype.ngOnDestroy=function(){Y.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 e8b=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};zF.\u0275fac=function(a){return new (a||zF)(n(Me))};zF.\u0275prov=Fc({token:zF,factory:zF.\u0275fac,providedIn:"root"});var f8b=[yn,An,zn],BF=function(a,b){Y.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new yf;this.routeChangeSuccess=new yf;this.locationChangeStart=new yf;this.locationChangeSuccess=new yf;this.routeUpdate=new yf;this.viewContentLoaded=new yf;this.navigationEnd$=this.router.events.pipe(He(Pn));this.navigationOver$=this.router.events.pipe(He(function(d){return f8b.some(function(e){return d instanceof e})}));AF(this,XAa).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=AF(this,q5b);Ge(this.navigationOver$.pipe(vf(Yu)),this.routeChangeStart.pipe(vf(a))).pipe(Cf(ae),Df(this.destroyed$),He(function(d){return d.snapshot.routeConfig.isRootRoute}),z(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});AF(this,Qn).pipe(z(function(d){return d.url}),sf()).subscribe(function(){c.locationChangeStart.next()});AF(this,yn).pipe(z(function(d){return d.url}),
sf()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(Ff(AF(this,oD)));Ge(this.routeChangeStart.pipe(vf(Yu)),this.navigationOver$.pipe(vf(a))).pipe(Cf(ae),Df(this.destroyed$)).subscribe(function(d){d=l(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});AF(this,yn).subscribe(function(){c.viewContentLoaded.next()})};V(BF,Y);BF.\u0275dir=Y.\u0275dir;
var AF=function(a,b){return a.router.events.pipe(He(function(c){return c instanceof b}),z(function(c){return c}),Df(a.destroyed$))};BF.\u0275fac=function(a){return new (a||BF)(n(HD),n(qn))};BF.\u0275prov=Fc({token:BF,factory:BF.\u0275fac,providedIn:"root"});var g8b=dm("onedev-darkmode"),h8b=dm("hasClickedCommentSortBtn"),CF=function(a,b,c,d){Y.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){return function(w){return function(y,D){e.trackEvent("editIssue",w,y,D)}}};zCa();Ln("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();Ln("dimension7",g8b()?"dark":"default");var f;Ln("dimension3",(f=d.themePreferences)==null?void 0:f.density);Ln("dimension6",ep(b,"readUnreadOptOut"));Ln("dimension8",ep(b,"enableEnhancedCommentThread"));
Ln("dimension9",h8b());b=d.showFullHistory?"fh":"comments";var h;if((h=d.commentFilterPreferences)==null?0:h.commentFilter){var k;b=(k=d.commentFilterPreferences)==null?void 0:k.commentFilter}Kn("dimension2",b);Kn("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");var q,t;h=((t=(q=d.missionControlPreferences)==null?void 0:q.workAreaUrls)!=null?t:[]).length;Kn("dimension12",h>0);this.subscriptions.add(a.viewContentLoaded.pipe(Bf(void 0)).subscribe(function(){var w=JCa(c.snapshot);tCa("page_location",
w);oCa("page_view",{page_path:w})}))};V(CF,Y);CF.\u0275dir=Y.\u0275dir;CF.prototype.trackEvent=function(a,b,c,d){Jn(a,b,c,typeof d==="boolean"?d?1:0:d);d=this.journeyTracker;a=GCa(a,b,c);b=l(Object.entries(Y7b));for(c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){Z7b(d,e);break}}};
var i8b=function(a,b,c){oCa("timing",Object.assign({},{timing_category:"userAction",timing_var:a,timing_value:b},c!==void 0?{timing_label:c}:{}))},j8b=function(a,b){a.trackEvent("editIssue","updateStatus",b)};CF.\u0275fac=function(a){return new (a||CF)(n(BF),n(as),n(qn),n(uF))};CF.\u0275prov=Fc({token:CF,factory:CF.\u0275fac,providedIn:"root"});var NCa=function(a){this.internalArray_=m(a)};V(NCa,X);NCa.repeatedFields_=[1];var k8b=!1;var DF=function(){this.refreshRequest=new yf};DF.prototype.getObservable=function(){return this.refreshRequest};var l8b=function(a,b){return a.getObservable().pipe(Bf(void 0)).pipe(Cf(function(){return b}))};DF.\u0275fac=function(a){return new (a||DF)};DF.\u0275prov=Fc({token:DF,factory:DF.\u0275fac,providedIn:"root"});var EF=function(a,b,c,d,e,f,h,k,q){BA.call(this);var t=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=f;this.hotlistFridge=h;this.analytics=k;this.issueExperimentalFieldsFridge=q;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(w){return String(w.issueId)};this.isEqual=ci;k8b?a=void 0:(k8b=!0,a=OCa());a&&this.announce(a);this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(w){return t.call(w)},
split:function(w,y){return t.splitBatch(w,y)}});this.refreshMonitor.getObservable().subscribe(function(){t.invalidate()})};V(EF,BA);EF.prototype.fetchOne=function(a){return we([this.get(a),this.issueExperimentalFieldsFridge.watch(a).pipe(qf())]).pipe(z(function(b){var c=l(b);b=c.next().value;c=c.next().value;return PCa([b],[c])[0]}))};EF.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Gi)}))};
EF.prototype.fetchAll=function(a){var b=this;var c=a.custom;var d=a.filter;var e=a.pageSize;a={s:a.sort,count:e};if(c==="viewed")return G3b(this.issueResources,e).pipe(Cf(function(f){return b.issueExperimentalFieldsFridge.watchSet(f.map(b.idForRecord)).pipe(qf(),z(function(h){return PCa(f,h)}))}),z(function(f){return{results:f}}),lf(function(f){hj("issueFridge -> listRecentIssues() API error",f);return pe({results:[]})}));if(d)return this.issueResources.listIssues(d,a).pipe(Cf(function(f){return b.issueExperimentalFieldsFridge.watchSet(f.issues.map(b.idForRecord)).pipe(qf(),
z(function(h){return PCa(f.issues,h)}),z(function(h){return{results:h,totalSize:f.numTotalResults}}))}));throw Error("Vc");};EF.prototype.copy=function(a){return a&&di(a)};
var m8b=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};bB(a.activeSession)&&(d.voted=c);return f7b(a.userResources,b,d).pipe(Ef(function(){AA(a,b,function(e){e.userData&&(e.userData.starred=c,bB(a.activeSession)&&(e.userData.voted=c))})}))},n8b=function(a,b,c){a.analytics.trackEvent("issue","light-ixn","vote",c);return f7b(a.userResources,b,{voted:c,starred:null,notificationSubscription:null}).pipe(Ef(function(){AA(a,b,
function(d){d.userData&&(d.userData.voted=c)})}))};EF.prototype.setNotificationSubscription=function(a,b){var c=this,d;return ge(function(e){if(e.nextAddress==1)return c.analytics.trackEvent("issue","light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},ie(e,se(f7b(c.userResources,a,d)),2);AA(c,a,function(f){f.userData&&(f.userData.notificationSubscription=b)});me(e)})};
var o8b=function(a,b,c){a.analytics.trackEvent("issue","edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};AA(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(Ef(function(e){e&&a.announce(e)}))},p8b=function(a,b,c,d){var e,f,h,k,q,t;return ge(function(w){if(w.nextAddress==1){a.analytics.trackEvent("issue","edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};f=l([].concat(r(c),r(d)));for(h=f.next();!h.done;h=f.next())k=
h.value,a.hotlistFridge.setIsSaving(k);he(w,2);return ie(w,se(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var y=l([].concat(r(c),r(d))),D=y.next();!D.done;D=y.next())a.hotlistFridge.clearIsSaving(D.value)}),4)}if(w.nextAddress!=2)return(q=w.yieldResult)&&a.announce(q),w.return(q);t=le(w);a.poke(b);throw t;})},q8b=function(a,b,c){return FF(a,"ADD","DUPLICATE",c,[b]).then(function(){c!=null&&j8b(a.analytics,"DUPLICATE");return a.poke(b)})};g=EF.prototype;
g.removeDuplicate=function(a,b){var c=this;return FF(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};g.addBlocking=function(a,b){return FF(this,"ADD","BLOCKING",a,b)};g.removeBlocking=function(a,b){return FF(this,"REMOVE","BLOCKING",a,b)};g.addBlockedBy=function(a,b){return FF(this,"ADD","BLOCKED_BY",a,b)};g.removeBlockedBy=function(a,b){return FF(this,"REMOVE","BLOCKED_BY",a,b)};
var FF=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};r8b(a,b);var f=[d].concat(r(e));e=l(f);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return se(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=l(f),k=h.next();!k.done;k=h.next())a.clearIsSaving(k.value)})},
GF=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,k,q,t;return ge(function(w){if(w.nextAddress==1)return a.activeSession.isAnonymous()?w.return():ie(w,a.issueService.markRead(b,d,f),2);h=w.yieldResult;if(e)for(k=l(b),q=k.next();!q.done;q=k.next())t=q.value,AA(a,String(t),function(y){y.userData&&(y.userData.lastViewedTimeMicros=h.readTimestamp)});
return w.return(h.readTimestamp?Math.round(h.readTimestamp/1E3):void 0)})},r8b=function(a,b){AA(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if(b.actionType==="ADD"){var d;c.snapshot[0].blockedByIssueId=[].concat(r((d=c.snapshot[0].blockedByIssueId)!=null?d:[]),r(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:[]}}})};
EF.prototype.call=function(a){if(a.size===1){var b=[].concat(r(a))[0];return this.issueResources.getIssue(b).pipe(z(function(c){return new Map([[b,c]])}))}return this.issueResources.batchGetIssues([].concat(r(a))).pipe(z(function(c){return new Map(c.map(function(d){return[d.issueId,d]}))}))};EF.prototype.splitBatch=function(a,b){return b.get(a)};EF.\u0275fac=function(a){return new (a||EF)(n(XA),n(iC),n(pE),n(DF),n(XE),n(as),n(rE),n(CF),n(YE))};EF.\u0275prov=Fc({token:EF,factory:EF.\u0275fac,providedIn:"root"});var Sn=function(a){this.internalArray_=m(a)};V(Sn,X);var s8b=function(a){this.internalArray_=m(a)};V(s8b,X);g=s8b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setRelationshipType=function(a){return uj(this,2,a)};g.getIssueRelationship=function(){return Gj(this,Sn,3)};g.setIssueRelationship=function(a){return Pj(this,Sn,3,a)};
g.setSignificanceOverride=function(a){return uj(this,4,a)};var HF=function(a){this.internalArray_=m(a)};V(HF,X);g=HF.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setRelationshipType=function(a){return uj(this,2,a)};g.setRequestsList=function(a){return Dk(this,3,a)};g.addAndReturnRequests=function(){return cea(this,3,s8b)};g.setSignificanceOverride=function(a){return uj(this,4,a)};
HF.repeatedFields_=[3];var IF=function(a){this.internalArray_=m(a)};V(IF,X);g=IF.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.setRelationshipType=function(a){return uj(this,2,a)};g.setSignificanceOverride=function(a){return uj(this,4,a)};IF.repeatedFields_=[3];var JF=function(a){this.internalArray_=m(a)};V(JF,X);g=JF.prototype;g.setRelationshipType=function(a){return uj(this,1,a)};g.getSourceIssueIdsList_asLegacyNumberOrString=function(){return il(this,2,Ai())};g.setSourceIssueIdsList=function(a){return Vl(this,2,a)};g.getQuery=function(){return Zh(this,3)};g.setQuery=function(a){return sj(this,3,a)};g.clearQuery=function(){ro(this,3)};JF.repeatedFields_=[2];var KF=function(a){this.internalArray_=m(a)};V(KF,X);var t8b=function(a,b){return Vl(a,1,b)};KF.prototype.setRelationshipType=function(a){return uj(this,2,a)};var u8b=function(a,b){return kj(a,3,b)},v8b=function(a,b){return kj(a,4,b)};KF.prototype.getQuery=function(){return Zh(this,5)};KF.prototype.setQuery=function(a){return sj(this,5,a)};KF.prototype.clearQuery=function(){ro(this,5)};KF.repeatedFields_=[1];var LF=function(a){this.internalArray_=m(a,0,LF.messageId)};V(LF,X);LF.prototype.getIt=function(){return Gj(this,HF,5)};LF.prototype.setIt=function(a){return Pj(this,HF,5,a)};LF.messageId="b.BatchCreateIssueRelationshipsRequest";var MF=function(a){this.internalArray_=m(a,0,MF.messageId)};V(MF,X);MF.prototype.getIssueRelationshipsList=function(){return Yj(this,Sn,1,Ai())};MF.repeatedFields_=[1];MF.messageId="b.BatchCreateIssueRelationshipsResponse";var NF=function(a){this.internalArray_=m(a,0,NF.messageId)};V(NF,X);NF.prototype.getIt=function(){return Gj(this,IF,5)};NF.prototype.setIt=function(a){return Pj(this,IF,5,a)};NF.messageId="b.BatchDeleteIssueRelationshipsRequest";var OF=function(a){this.internalArray_=m(a,0,OF.messageId)};V(OF,X);OF.prototype.getIt=function(){return Gj(this,JF,4)};OF.prototype.setIt=function(a){return Pj(this,JF,4,a)};OF.messageId="b.BatchGetIssueRelationshipsRequest";var PF=function(a){this.internalArray_=m(a)};V(PF,X);PF.prototype.getIssueRelationshipsList=function(){return Yj(this,Sn,1,Ai())};PF.prototype.getTotalSize=function(){return Lj(this,2)};PF.repeatedFields_=[1];var QF=function(a){this.internalArray_=m(a,0,QF.messageId)};V(QF,X);QF.repeatedFields_=[1];QF.messageId="b.BatchGetIssueRelationshipsResponse";var RF=function(a){this.internalArray_=m(a,0,RF.messageId)};V(RF,X);RF.prototype.getIssueRelationship=function(){return Gj(this,Sn,1)};RF.prototype.setIssueRelationship=function(a){return Pj(this,Sn,1,a)};RF.messageId="b.CreateIssueRelationshipResponse";var SF=function(a){this.internalArray_=m(a,0,SF.messageId)};V(SF,X);SF.prototype.getIt=function(){return Gj(this,KF,6)};SF.prototype.setIt=function(a){return Pj(this,KF,6,a)};SF.messageId="b.GetIssueDescendantsRequest";var w8b=function(a){this.internalArray_=m(a,0,w8b.messageId)};V(w8b,X);w8b.messageId="b.GetIssueDescendantsResponse";var TF=function(a){this.internalArray_=m(a,0,TF.messageId)};V(TF,X);TF.prototype.getIssueRelationshipsList=function(){return Yj(this,Sn,1,Ai())};TF.repeatedFields_=[1];TF.messageId="b.ListIssueRelationshipsResponse";var UF=function(a){this.internalArray_=m(a,0,UF.messageId)};V(UF,X);UF.prototype.getIssueRelationship=function(){return Gj(this,Sn,1)};UF.prototype.setIssueRelationship=function(a){return Pj(this,Sn,1,a)};UF.messageId="b.UpdateIssueRelationshipResponse";var VF=function(a){this.executor=a};g=VF.prototype;g.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+aA[b],responseConstructor:TF}).pipe(z(function(c){return c.getIssueRelationshipsList().map(Tn)}))};g.create=function(a,b,c){b=aA[b];c=QCa(c);return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:RF}).pipe(z(function(d){return Tn(d.getIssueRelationship())}))};
g.update=function(a,b,c){b=aA[b];var d=QCa(c);return this.executor.put({url:"action/issues/"+a+"/relationships/"+c.targetIssueId+"?relationshipType="+b,body:d,responseConstructor:UF}).pipe(z(function(e){return Tn(e.getIssueRelationship())}))};g.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+aA[b],responseConstructor:null})};
g.batchGet=function(a,b){b=aA[b];a=(new OF).setIt((new JF).setSourceIssueIdsList(a).setRelationshipType(b).setQuery(this.getQuery(void 0)));return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:QF}).pipe(z(function(c){return Yj(c,PF,1,Ai()).map(RCa)}))};
var x8b=function(a,b,c){var d=aA.CHILD;c=c.map(function(e){e=QCa(e);return(new s8b).setIssueRelationship(e)});b=(new LF).setIt((new HF).setIssueId(b).setRelationshipType(d).setSignificanceOverride(c.length>1?4:0).setRequestsList(c));return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:MF}).pipe(z(function(e){return e.getIssueRelationshipsList().map(Tn)}))},y8b=function(a,b,c){var d=aA.CHILD,e=new NF,f=e.setIt;b=(new IF).setIssueId(b).setRelationshipType(d);
c=Vl(b,3,c);e=f.call(e,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:e,responseConstructor:null})};
VF.prototype.getDescendants=function(a){var b=a.issueIds;var c=a.relationshipType;var d=a.includeArchived;var e=a.depthLimit;a=a.prefixSizeLimit;c=aA[c];b=(new SF).setIt(v8b(u8b(t8b(new KF,b).setRelationshipType(c).setQuery(this.getQuery(d)),e),a));return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:w8b}).pipe(z(function(f){var h=new Map;f=l(gc(f,1,PF,Wca).entries());for(var k=f.next();!k.done;k=f.next()){var q=l(k.value);k=q.next().value;q=q.next().value;h.set(String(k),
RCa(q))}return h}))};VF.prototype.getQuery=function(a){return a?"include_archived:true":"include_archived:false"};VF.\u0275fac=function(a){return new (a||VF)(n(pA))};VF.\u0275prov=Fc({token:VF,factory:VF.\u0275fac,providedIn:"root"});var WF={},z8b=(WF.BUG="BUG",WF.FEATURE_REQUEST="FEATURE_REQUEST",WF.CUSTOMER_ISSUE="CUSTOMER_ISSUE",WF.INTERNAL_CLEANUP="INTERNAL_CLEANUP",WF.PROCESS="PROCESS",WF.VULNERABILITY="VULNERABILITY",WF.PRIVACY_ISSUE="PRIVACY_ISSUE",WF.EPIC="STORY",WF.STORY="TASK",WF.TASK="TASK",WF.PROJECT="TASK",WF.FEATURE="TASK",WF.MILESTONE="TASK",WF.PROGRAM="PROJECT",WF);var XF=function(a,b,c){zA.call(this,{freshUntil:6E4,ancientAfter:792E5});var d=this;this.issueRelationshipService=a;this.issueFridge=b;this.refreshMonitor=c;this.recordType="issueRelationships";this.idForRecord=function(e){return e.issueId};this.isEqual=ci;this.activeMoveOperation$=new rn(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=dsa(function(e,f){return A8b(d,e,f)});this.assignParentToOneIssue=function(e,f){return A8b(d,String(e),[{issueId:f}])};this.moveChildrenInAPI=
csa(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=dsa(function(e){var f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma,Aa,wb,Pb,Vb;return ge(function(xb){switch(xb.nextAddress){case 1:h=XCa(e);if(h.length===0)return xb.return();k=h.map(function(Uc){return Uc.issues.map(function(Sa){return Sa.parentId})}).flat();q=h.map(function(Uc){return Uc.newParentId});t=Oi([].concat(r(k),r(q)));w=l(t);for(y=w.next();!y.done;y=w.next())D=y.value,d.setIsSaving(D);
he(xb,2);G=l(h);I=G.next();case 4:if(I.done){Zt(xb,3);break}N=I.value;S=l(N.newRelations);W=S.next();Z={};case 7:if(W.done){I=G.next();xb.jumpTo(4);break}Z.newRelation=W.value;fa=N.issues.find(function(Uc){return function(Sa){return Sa.issueId===Uc.newRelation.targetIssueId}}(Z)).parentId;return N.newParentId===fa?ie(xb,se(d.issueRelationshipService.update(N.newParentId,"CHILD",{afterIssueId:Z.newRelation.afterIssueId,targetIssueId:Z.newRelation.targetIssueId})),8):ie(xb,se(d.issueRelationshipService.create(N.newParentId,
"CHILD",{afterIssueId:Z.newRelation.afterIssueId,targetIssueId:Z.newRelation.targetIssueId})).catch(function(Uc){var Sa,nb;if(!(Uc==null?0:(Sa=Uc.error)==null?0:(nb=Sa.details)==null?0:nb.includes("ALREADY_EXISTS")))throw Uc;}),12);case 12:return ie(xb,se(d.issueRelationshipService.delete(fa,"CHILD",Z.newRelation.targetIssueId)),8);case 8:Z={newRelation:void 0};W=S.next();xb.jumpTo(7);break;case 2:f=ma=le(xb);case 3:ua=d.activeMoveOperation$.value;Ua=l(e.map(function(Uc){return Uc.eventTimestamps}).flat());
for(ha=Ua.next();!ha.done;ha=Ua.next())xa=ha.value,ua.delete(xa);d.activeMoveOperation$.next(ua);sa=l(t);for(Ma=sa.next();!Ma.done;Ma=sa.next())Aa=Ma.value,d.clearIsSaving(Aa);Promise.all(t.map(function(Uc){return d.poke(Uc)}));wb=l(h);for(Pb=wb.next();!Pb.done;Pb=wb.next())Vb=Pb.value,f&&Vb.done.reject(f),Vb.done.resolve();me(xb)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};V(XF,zA);
XF.prototype.fetchOne=function(a){var b=this;return B8b(this,function(){return b.issueRelationshipService.list(a,"CHILD").pipe(z(function(c){return{issueId:a,relatedChildren:c,totalChildCount:c.length}}),lf(function(c){return Ym(c)&&c.status===403?pe(void 0):qe(function(){return c})}))})};
XF.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(r((c=a.ids)!=null?c:[]));return d.length===0?pe({results:[]}):B8b(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:"CHILD",includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(z(SCa),z(function(e){return{results:e}}))});default:Bc(a.type)}};XF.prototype.copy=function(a){return a&&di(a)};
var B8b=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(He(function(d){return d.size===0}),Cf(function(){return b()}),Cf(function(d){return a.activeMoveOperation$.value.size===0?pe(d):c()}),qf())};return c()},C8b=function(a,b){return a.watch(b).pipe(Cf(function(c){return c&&c.totalChildCount===c.relatedChildren.length?pe(c):a.watch(b,{trustMemory:!1})}))},D8b=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:c===void 0?100:c})},E8b=function(a,b,c){return a.pokeMany({type:"descendants",
ids:new Set([b]),depth:c===void 0?100:c})};
XF.prototype.unlinkFromParent=function(a,b,c){c=c===void 0?!1:c;var d=this,e;return ge(function(f){switch(f.nextAddress){case 1:AA(d.issueFridge,b,function(h){--h.childIssueCount});AA(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(k){return k!==b})});AA(d,b,function(h){var k=h.relatedChildren;h.relatedChildren=WCa(k,a);h.totalChildCount-=k.length-h.relatedChildren.length});if(c)return f.return();he(f,2);return ie(f,se(d.issueRelationshipService.delete(b,"CHILD",a)),
4);case 4:Zt(f,0);break;case 2:return e=le(f),ie(f,Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var A8b=function(a,b,c){var d,e,f,h,k,q,t,w,y;return ge(function(D){switch(D.nextAddress){case 1:d=[];e=[];f=[];if(c.length===0)return D.return({added:d,notAdded:e});h=F8b(a,b);k=c.map(function(G,I){var N=G.afterIssueId==="-1"?h:G.afterIssueId;return{targetIssueId:G.issueId,afterIssueId:I?c[I-1].issueId:N}});G8b(a,b,k);q=l(k);t=q.next();case 2:if(t.done){D.jumpTo(4);break}w=t.value;he(D,5);return ie(D,se(a.issueRelationshipService.create(b,"CHILD",{targetIssueId:w.targetIssueId,afterIssueId:w.afterIssueId})),
7);case 7:d.push(w.targetIssueId);Zt(D,3);break;case 5:y=le(D);if(!Ym(y))throw y;f.push(y);e.push(w.targetIssueId);case 3:t=q.next();D.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),D.return(Object.assign({},{added:d,notAdded:e},f.length?{errors:f}:{}))}})},G8b=function(a,b,c){var d=0;AA(a,b,function(e){var f=VCa(e.relatedChildren,c);d=f.length-e.relatedChildren.length;e.relatedChildren=f;e.totalChildCount+=d},{evenWhenInFlight:!0});AA(a.issueFridge,b,function(e){e.childIssueCount+=
d},{evenWhenInFlight:!0})},H8b=function(a,b,c){var d,e,f,h,k,q,t,w,y,D,G,I;return ge(function(N){if(N.nextAddress==1)return d=[],e=[],f=[],c.length===0?N.return({added:d,notAdded:e}):ie(N,Promise.allSettled(c.map(function(S){return se(a.issueRelationshipService.create(S,"CHILD",{targetIssueId:b,afterIssueId:F8b(a,S)}))})),2);h=N.yieldResult;k=l(h.entries());for(q=k.next();!q.done;q=k.next())t=q.value,w=l(t),y=w.next().value,D=w.next().value,G=y,I=D,I.status==="fulfilled"&&d.push(c[G]),I.status===
"rejected"&&(e.push(c[G]),f.push(I.reason));Promise.all(c.map(function(S){return a.poke(S)}));return N.return({added:d,notAdded:e,errors:f})})},I8b=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var f=l(c),h=f.next(),k={};!h.done;k={issue$jscomp$54:void 0},h=f.next())k.issue$jscomp$54=h.value,AA(a,k.issue$jscomp$54.parentId,function(W){return function(Z){Z.relatedChildren=WCa(Z.relatedChildren,W.issue$jscomp$54.issueId);--Z.totalChildCount}}(k));
var q=void 0,t;if((t=b.position)==null?0:t.issueId){var w;if(((w=b.position)==null?void 0:w.position)==="after")q=b.position.issueId;else{var y;if(((y=b.position)==null?void 0:y.position)==="before"){var D,G;f=(G=(D=a.memory.getData(d))==null?void 0:D.relatedChildren)!=null?G:[];D=l(f.entries());for(G=D.next();!G.done;G=D.next())if(h=l(G.value),G=h.next().value,h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=(b=f[G-1])==null?void 0:b.targetIssueId;break}}}}var I=c.map(function(W,
Z){return{targetIssueId:W.issueId,afterIssueId:Z?c[Z-1].issueId:q}});M2b(a,d)!==void 0?AA(a,d,function(W){W.relatedChildren=VCa(W.relatedChildren,I);W.totalChildCount+=I.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:VCa([],I),totalChildCount:I.length});b=new bsa;var N,S;a.moveChildrenInAPI({newParentId:d,newRelations:I,issues:c,eventTimestamps:[e],newParentChildrenSnapshot:(S=(N=a.memory.getData(d))==null?void 0:N.relatedChildren)!=null?S:[],done:b});return b.promise},F8b=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};XF.\u0275fac=function(a){return new (a||XF)(n(VF),n(EF),n(DF))};XF.\u0275prov=Fc({token:XF,factory:XF.\u0275fac,providedIn:"root"});var J8b=function(a){this.internalArray_=m(a)};V(J8b,X);var mDa=new Set("READY_TO_SUBMIT NEEDS_ATTENTION THREAD_MENTIONS_ME TAGGED_IN_COMMENT REQUIRES_APPROVAL GERRIT_CHANGE_NEEDS_ATTENTION GERRIT_CHANGE_READY_TO_SUBMIT 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".split(" "));var YF=function(a){this.internalArray_=m(a,0,YF.messageId)};V(YF,X);YF.repeatedFields_=[1];YF.messageId="mc.BatchUpdateTasksDismissStateRequest";var K8b=function(a){this.internalArray_=m(a)};V(K8b,X);K8b.prototype.getCommentId=function(){return Zh(this,2)};K8b.prototype.setCommentId=function(a){return sj(this,2,a)};var ZF=function(a){this.internalArray_=m(a)};V(ZF,X);ZF.prototype.setTaskResourceTypesList=function(a){return Ul(this,1,a)};ZF.prototype.setMaxTaskAgeDays=function(a){return kj(this,2,a)};ZF.repeatedFields_=[1];var $F=function(a){this.internalArray_=m(a)};V($F,X);$F.prototype.setTaskResourceTypesList=function(a){return Ul(this,1,a)};$F.prototype.setMaxTaskAgeDays=function(a){return kj(this,2,a)};$F.repeatedFields_=[1];var aG=function(a){this.internalArray_=m(a)};V(aG,X);aG.prototype.getCommentId=function(){return Zh(this,1)};aG.prototype.setCommentId=function(a){return sj(this,1,a)};aG.prototype.getContent=function(){return Zh(this,3)};aG.prototype.setContent=function(a){return sj(this,3,a)};var bG=function(a){this.internalArray_=m(a,0,bG.messageId)};V(bG,X);bG.prototype.getResponse=function(){return Gj(this,aG,1)};bG.prototype.getReadonlyResponse=function(){return ru(this,aG,1)};bG.prototype.getMutableResponse=function(){return qu(this,aG,1)};bG.prototype.setResponse=function(a){return Pj(this,aG,1,a)};bG.messageId="b.LatestDriveMentionResponse";var hDa=function(a){this.internalArray_=m(a)};V(hDa,X);var Vn=function(a){this.internalArray_=m(a)};V(Vn,X);g=Vn.prototype;g.getPriority=function(){return Kj(this,1,0)};g.setPriority=function(a){return uj(this,1,a)};g.getAccessLevel=function(){return Kj(this,2,0)};g.setAccessLevel=function(a){return uj(this,2,a)};g.getHotlistIdsList_asLegacyNumberOrString=function(a){return il(this,3,Ai(a))};g.setHotlistIdsList=function(a){Vl(this,3,a)};g.addHotlistIds=function(a,b){return lc(this,3,Gb,a,b)};g.addAllHotlistIds=function(a){kc(this,3,Gb,a)};
Vn.repeatedFields_=[3];var fDa=function(a){this.internalArray_=m(a)};V(fDa,X);var Un=function(a){this.internalArray_=m(a)};V(Un,X);Un.prototype.getTitle=function(){return Zh(this,3)};Un.prototype.setTitle=function(a){return sj(this,3,a)};Un.prototype.getLastModifiedTimestamp=function(){return Gj(this,mj,5)};Un.repeatedFields_=[7];var iDa=[8,9,10,11,12];var L8b=function(a){this.internalArray_=m(a)};V(L8b,X);L8b.repeatedFields_=[1];var cG=function(a){this.internalArray_=m(a,0,cG.messageId)};V(cG,X);cG.prototype.getResponsesList=function(){return Yj(this,L8b,1,Ai())};cG.repeatedFields_=[1];cG.messageId="b.TasksMyTasksResponse";var dG=function(a){this.internalArray_=m(a)};V(dG,X);dG.prototype.getCommentNumber=function(){return yu(this,1)};dG.prototype.setCommentNumber=function(a){return Bu(this,1,a)};dG.repeatedFields_=[1];var $n=function(a){this.internalArray_=m(a)};V($n,X);$n.prototype.getDataCase=function(){return xj(this,M8b)};$n.prototype.getSignal=function(){return Kj(this,1,0)};$n.prototype.getCommentNumbers=function(){return bk(this,dG,2,M8b)};var M8b=[2];var qDa=function(a){this.internalArray_=m(a)};V(qDa,X);qDa.prototype.getComeBackTimestamp=function(){return Gj(this,mj,1)};var sDa=function(a){this.internalArray_=m(a)};V(sDa,X);sDa.prototype.getComeBackTimestamp=function(){return Gj(this,mj,2)};var pDa=function(a){this.internalArray_=m(a)};V(pDa,X);pDa.prototype.hasFutureAvailability=function(){return ok(this,sDa,1,rDa)};var rDa=[1,2];var Zn=function(a){this.internalArray_=m(a)};V(Zn,X);Zn.prototype.getDataCase=function(){return xj(this,N8b)};Zn.prototype.getSignal=function(){return Kj(this,1,0)};var N8b=[2,3];var Wn=function(a){this.internalArray_=m(a)};V(Wn,X);Wn.prototype.getDataCase=function(){return xj(this,nDa)};Wn.prototype.getSignal=function(){return Kj(this,1,0)};Wn.prototype.getCommentId=function(){return Zh(this,zj(this,nDa,2))};Wn.prototype.setCommentId=function(a){return Cj(this,2,nDa,a)};var nDa=[2];var uDa=function(a){this.internalArray_=m(a)};V(uDa,X);uDa.prototype.getSignal=function(){return Kj(this,1,0)};var bDa=function(a){this.internalArray_=m(a)};V(bDa,X);g=bDa.prototype;g.getTimestamp=function(){return Gj(this,mj,1)};g.setTimestamp=function(a){return Pj(this,mj,1,a)};g.hasTimestamp=function(){return Ak(this,mj,1)};g.getUrl=function(){return Gj(this,pz,2)};g.setUrl=function(a){return Pj(this,pz,2,a)};g.hasUrl=function(){return Ak(this,pz,2)};var Xn=[3,4,5,6,7];var YCa=function(a){this.internalArray_=m(a)};V(YCa,X);YCa.prototype.hasTask=function(){return Ak(this,Un,1)};YCa.repeatedFields_=[2];var O8b=function(a){this.internalArray_=m(a)};V(O8b,X);O8b.repeatedFields_=[1];var eG=function(a){this.internalArray_=m(a,0,eG.messageId)};V(eG,X);eG.prototype.getResponsesList=function(){return Yj(this,O8b,1,Ai())};eG.repeatedFields_=[1];eG.messageId="b.TasksNeedsAttentionResponse";var P8b=function(a){this.internalArray_=m(a)};V(P8b,X);P8b.prototype.getEmail=function(){return Zh(this,1)};P8b.prototype.setEmail=function(a){return sj(this,1,a)};var co=function(a){this.internalArray_=m(a)};V(co,X);co.prototype.getId=function(){return Zh(this,1)};co.prototype.setId=function(a){return sj(this,1,a)};co.prototype.getVersion=function(){return Zh(this,2)};co.prototype.setVersion=function(a){return sj(this,2,a)};var Oq=function(a){this.internalArray_=m(a)};V(Oq,X);g=Oq.prototype;g.getWorkspaceId=function(){return Jj(this,1)};g.getWorkspaceId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getName=function(){return Zh(this,2)};g.setName=function(a){return sj(this,2,a)};g.getTimeZone=function(){return Gj(this,co,8)};g.setTimeZone=function(a){return Pj(this,co,8,a)};g.hasTimeZone=function(){return Ak(this,co,8)};g.getMembersList=function(){return Yj(this,P8b,9,Ai())};
g.setMembersList=function(a){return Dk(this,9,a)};g.getUpdateTime=function(){return Gj(this,mj,12)};g.setUpdateTime=function(a){Pj(this,mj,12,a)};g.hasUpdateTime=function(){return Ak(this,mj,12)};g.getBookmarkGroupId_asLegacyNumberOrString=function(){return Jj(this,14)};g.setBookmarkGroupId=function(a){return Ij(this,14,a)};g.setTeamId=function(a){return sj(this,20,a)};var Q8b=ai(Oq);Oq.repeatedFields_=[5,9,13,15,17,18];var fG=function(a){this.executor=a},R8b=function(a,b,c){c=c===void 0?!0:c;var d=new YF;b=tj(d,1,b);c=jk(b,2,c);return a.executor.post({url:"action/tasks/dismiss",body:c,responseConstructor:null})},S8b=function(a,b,c,d){b=(new $F).setTaskResourceTypesList(b.map(wDa));a:switch(d){case 0:d=0;break a;case 1:d=5;break a;default:d=0}c=uj(b,3,d).setMaxTaskAgeDays(c);return a.executor.post({url:"action/tasks/needs_attention",responseConstructor:eG,body:c}).pipe(z($Ca))},T8b=function(a,b,c,d){var e=new J8b;
d=uj(e,1,xDa(d));b=(new ZF).setTaskResourceTypesList(b.map(wDa)).setMaxTaskAgeDays(c);b=Pj(b,J8b,3,d);return a.executor.post({url:"action/tasks/my_tasks",responseConstructor:cG,body:b}).pipe(z(dDa))},U8b=function(a,b,c){var d=new K8b;b=sj(d,1,b).setCommentId(c);return a.executor.post({url:"action/tasks/latest_drive_mention",responseConstructor:bG,body:b}).pipe(z(yDa))};fG.\u0275fac=function(a){return new (a||fG)(n(pA))};fG.\u0275prov=Fc({token:fG,factory:fG.\u0275fac,providedIn:"root"});var V8b={sources:["CHANGELIST","DRIVE","ISSUE"],maxTaskAgeDays:30,issueFilter:"ISSUE_TYPE_GROUPS_UNSPECIFIED"},gG=function(a){zA.call(this);this.api=a;this.recordType="myTasks";this.idForRecord=function(b){return b.taskId};this.defaultQuery=V8b};V(gG,zA);gG.prototype.fetchAll=function(a){return a.sources.length===0?pe({results:[]}):T8b(this.api,a.sources,a.maxTaskAgeDays,a.issueFilter).pipe(z(function(b){b=b===void 0?[]:b;return{results:b}}))};gG.\u0275fac=function(a){return new (a||gG)(n(fG))};
gG.\u0275prov=Fc({token:gG,factory:gG.\u0275fac,providedIn:"root"});var W8b={sources:["CHANGELIST","DRIVE","ISSUE"],signalFilter:0,maxTaskAgeDays:30},hG=function(a){zA.call(this);this.api=a;this.recordType="needsAttentionTask";this.idForRecord=function(b){return b.task.taskId};this.defaultQuery=W8b};V(hG,zA);hG.prototype.fetchAll=function(a){return a.sources.length===0?pe({results:[]}):S8b(this.api,a.sources,a.maxTaskAgeDays,a.signalFilter).pipe(z(function(b){b=b===void 0?[]:b;return{results:b}}))};hG.\u0275fac=function(a){return new (a||hG)(n(fG))};
hG.\u0275prov=Fc({token:hG,factory:hG.\u0275fac,providedIn:"root"});var iG=function(a){BA.call(this);this.userAccess=a;this.recordType="permissions"};V(iG,BA);iG.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(z(function(b){return l(b).next().value}))};iG.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return Be(function(){return u3b(b.userAccess,c).then(function(d){return Object.assign({},d,{id:c})})})}))};iG.\u0275fac=function(a){return new (a||iG)(n(IB))};iG.\u0275prov=Fc({token:iG,factory:iG.\u0275fac,providedIn:"root"});var zDa=function(a){this.internalArray_=m(a)};V(zDa,X);var X8b=function(a){this.internalArray_=m(a,0,X8b.messageId)};V(X8b,X);X8b.messageId="b.PrincipalTypeInfoBatchResponse";var jG=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(Y8b(this,!1));this.principalTypeWithDetailGetter=b.adapt(Y8b(this,!0))},Y8b=function(a,b){return function(c){return Z8b(a.principalResources,c,b).then(function(d){return DDa(c,d)})}};jG.prototype.get=function(a){return kG(this,a,!1)};var kG=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return d!=null?d:EDa()})};
jG.\u0275fac=function(a){return new (a||jG)(n(lG),n(FB))};jG.\u0275prov=Fc({token:jG,factory:jG.\u0275fac,providedIn:"root"});
var lG=function(a){this.executor=a},Z8b=function(a,b,c){if(b.length===0)return Promise.resolve({});var d={};d.email=Oi(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:X8b}).then(CDa).then(function(e){for(var f={},h=l(b),k=h.next();!k.done;k=h.next()){k=k.value;var q=void 0;f[k]=(q=e[k])!=null?q:EDa()}return f})};lG.\u0275fac=function(a){return new (a||lG)(n(qA))};lG.\u0275prov=Fc({token:lG,factory:lG.\u0275fac,providedIn:"root"});var mG=function(a){BA.call(this,{freshUntil:36E5,ancientAfter:864E5});this.principalTypesApi=a;this.recordType="principalTypes";this.idForRecord=function(b){return b.email}};V(mG,BA);mG.prototype.fetchOne=function(a){var b=this;return Be(function(){return b.principalTypesApi.get(a)}).pipe(z(function(c){return Object.assign({},{email:a},c)}),lf(function(){return pe(void 0)}))};mG.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Gi)}))};
mG.\u0275fac=function(a){return new (a||mG)(n(jG))};mG.\u0275prov=Fc({token:mG,factory:mG.\u0275fac,providedIn:"root"});var nG=function(a){BA.call(this);this.api=a;this.recordType="recentEventsForIssues";this.idForRecord=function(b){return b.id.query+"-"+b.id.pageSize}};V(nG,BA);nG.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:Dsa(a==null?void 0:a.events,b==null?void 0:b.events)};
nG.prototype.fetchOne=function(a){var b=l(a.split("___")),c=b.next().value;b=b.next().value;Di(b)||console.error("RecentEventsForIssuesFridge failed to parse maximumSize from query, using default. input: '"+a+"'");var d,e=(d=Di(b))!=null?d:50;return J3b(this.api,{query:c,maximumSize:e,minimumSignificance:"MAJOR"}).pipe(z(function(f){return{id:{query:c,pageSize:e},events:f}}))};nG.\u0275fac=function(a){return new (a||nG)(n(iC))};nG.\u0275prov=Fc({token:nG,factory:nG.\u0275fac,providedIn:"root"});var $8b=["ASSIGNMENT","RESPONSE","CLOSURE"],a9b=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),b9b=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),Nib=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var bo=function(a){this.internalArray_=m(a)};V(bo,X);g=bo.prototype;g.getId=function(){return Jj(this,1)};g.getId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getId_asString=function(){return xu(this,1)};g.setId=function(a){return Tl(this,1,a)};g.setFrequency=function(a){return uj(this,3,a)};g.getTimeZone=function(){return Gj(this,co,5)};g.setTimeZone=function(a){return Pj(this,co,5,a)};g.hasTimeZone=function(){return Ak(this,co,5)};g.setDaysRemaining=function(a){return Ik(this,7,a)};
bo.repeatedFields_=[8,9];var oG=function(a){this.internalArray_=m(a)};V(oG,X);oG.prototype.getTeamId_asLegacyNumberOrString=function(){return Jj(this,1)};oG.prototype.setTeamId=function(a){return Ij(this,1,a)};oG.prototype.getEffectiveSloEditPolicy=function(){return Kj(this,3,0)};var eo=function(a){this.internalArray_=m(a,0,eo.messageId)};V(eo,X);eo.prototype.getIt=function(){return Gj(this,fo,10)};eo.prototype.setIt=function(a){return Pj(this,fo,10,a)};eo.messageId="b.SloState";var pG=function(a){this.internalArray_=m(a)};V(pG,X);pG.prototype.getQuery=function(){return Zh(this,1)};pG.prototype.setQuery=function(a){return sj(this,1,a)};pG.prototype.clearQuery=function(){ro(this,1)};var GDa=function(a){this.internalArray_=m(a)};V(GDa,X);g=GDa.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Ij(this,1,a)};g.getEffectiveSloEditPolicy=function(){return Kj(this,2,0)};var c9b=function(a){this.internalArray_=m(a,0,c9b.messageId)};V(c9b,X);c9b.messageId="b.GetComponentSloEditPolicyResponse";var qG=function(a){this.internalArray_=m(a,0,qG.messageId)};V(qG,X);qG.prototype.getTeamSloEditPolicy=function(){return Gj(this,oG,1)};qG.messageId="b.GetTeamSloEditPolicyResponse";var d9b=function(a){this.internalArray_=m(a)};V(d9b,X);d9b.repeatedFields_=[1];var rG=function(a){this.internalArray_=m(a,0,rG.messageId)};V(rG,X);rG.prototype.getIt=function(){return Gj(this,d9b,1)};rG.prototype.setIt=function(a){return Pj(this,d9b,1,a)};rG.messageId="b.ListSlosResponse";var sG=function(a){this.internalArray_=m(a,0,sG.messageId)};V(sG,X);sG.prototype.getTeamSloEditPolicy=function(){return Gj(this,oG,1)};sG.messageId="b.UpdateTeamSloEditPolicyResponse";var tG=function(a,b){this.activeSession=a;this.executor=b};g=tG.prototype;g.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:eo}).pipe(z(LDa))};g.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};g.search=function(a){a=(new pG).setQuery(a);return this.executor.post({url:"action/listSlos",body:a,responseConstructor:rG}).pipe(z(function(b){b=b.getIt();b=Yj(b,fo,1,Ai());return(b!=null?b:[]).map(sua)}))};
g.create=function(a){a=MDa(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:eo}).pipe(z(LDa))};g.update=function(a){var b=a.sloId;a=MDa(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:eo}).pipe(z(LDa))};tG.\u0275fac=function(a){return new (a||tG)(n(as),n(pA))};tG.\u0275prov=Fc({token:tG,factory:tG.\u0275fac,providedIn:"root"});
var uG=function(a,b){this.observableSlosService=b;var c;this.slosCache=(c=a.get("slos-second-level-cache"))!=null?c:a.create("slos-second-level-cache",{capacity:25})};g=uG.prototype;g.get=function(a){var b=this.slosCache.get(a);return b!==void 0?b:this.slosCache.put(String(a),se(this.observableSlosService.get(a)))};g.getOwnedSlos=function(){return se(this.observableSlosService.getOwnedSlos())};g.search=function(a){return se(this.observableSlosService.search(a))};g.create=function(a){return se(this.observableSlosService.create(a))};
g.update=function(a){return se(this.observableSlosService.update(a))};uG.\u0275fac=function(a){return new (a||uG)(n(aE),n(tG))};uG.\u0275prov=Fc({token:uG,factory:uG.\u0275fac,providedIn:"root"});var vG=function(a){BA.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};V(vG,BA);g=vG.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)};
vG.\u0275fac=function(a){return new (a||vG)(n(tG))};vG.\u0275prov=Fc({token:vG,factory:vG.\u0275fac,providedIn:"root"});var e9b=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new $D(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};e9b.prototype.get=function(a){var b=this;return new ce(function(c){var d=b.lruCache.get(a);d||(d=f9b(b,a));return d.obs$.subscribe(c)})};
var f9b=function(a,b){var c=a.rawGet(b).pipe(zf({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 g9b(c,d);a.lruCache.set(b,c);return c},g9b=function(a,b){this.obs$=a;this.subscription=b};var wG=function(a){this.internalArray_=m(a)};V(wG,X);wG.prototype.getScope=function(){return Zh(this,1)};wG.prototype.setScope=function(a){return Sj(this,1,a)};var xG=function(a){this.internalArray_=m(a,0,xG.messageId)};V(xG,X);g=xG.prototype;g.getId=function(){return Jj(this,1)};g.getId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getId_asString=function(){return xu(this,1)};g.setId=function(a){return Tl(this,1,a)};g.getTriage=function(){return Gj(this,wG,2)};g.setTriage=function(a){return Pj(this,wG,2,a)};xG.messageId="b.TeamExperiments";var yG=function(a){this.internalArray_=m(a,0,yG.messageId)};V(yG,X);yG.prototype.getIt=function(){return Gj(this,YA,14)};yG.prototype.setIt=function(a){return Pj(this,YA,14,a)};yG.messageId="b.TeamState";var h9b=function(a){this.internalArray_=m(a)};V(h9b,X);g=h9b.prototype;g.getPathIdsList_asLegacyNumberOrString=function(){return xTb(this,1)};g.getPathIdsList_asString=function(){return $k(this,1)};g.setPathIdsList=function(a){return hc(this,1,a,Gb)};g.getPathNamesList=function(a){return zi(this,2,Ai(a))};g.setPathNamesList=function(a){return tj(this,2,a)};g.getId=function(){return wu(this,3)};g.getId_asLegacyNumberOrString=function(){return wu(this,3)};
g.getId_asString=function(){return Al(this,3)};g.setId=function(a){return Sl(this,3,a)};g.getName=function(){return Zh(this,4)};g.setName=function(a){return Sj(this,4,a)};g.hasName=function(){return vl(this,4)};g.getNameOrUndefined=function(){return Jm(this,4)};g.getDescription=function(){return Zh(this,5)};g.setDescription=function(a){return Sj(this,5,a)};g.hasDescription=function(){return vl(this,5)};h9b.repeatedFields_=[1,2];var i9b=function(a){this.internalArray_=m(a)};V(i9b,X);g=i9b.prototype;g.getId=function(){return wu(this,1)};g.getId_asLegacyNumberOrString=function(){return wu(this,1)};g.getId_asString=function(){return Al(this,1)};g.setId=function(a){return Sl(this,1,a)};g.getName=function(){return Zh(this,2)};g.setName=function(a){return Sj(this,2,a)};g.hasName=function(){return vl(this,2)};g.getNameOrUndefined=function(){return Jm(this,2)};g.getDescription=function(){return Zh(this,3)};
g.setDescription=function(a){return Sj(this,3,a)};g.hasDescription=function(){return vl(this,3)};var zG=function(a){this.internalArray_=m(a)};V(zG,X);zG.prototype.setTeamIdsList=function(a){return Vl(this,1,a)};zG.prototype.setView=function(a){return uj(this,2,a)};zG.repeatedFields_=[1];var AG=function(a){this.internalArray_=m(a,0,AG.messageId)};V(AG,X);AG.prototype.setTeamIdsList=function(a){return hc(this,1,a,Gb)};AG.repeatedFields_=[1];AG.messageId="b.BatchChildTeamsRequest";var j9b=function(a){this.internalArray_=m(a)};V(j9b,X);j9b.repeatedFields_=[1];var k9b=function(a){this.internalArray_=m(a,0,k9b.messageId)};V(k9b,X);k9b.messageId="b.BatchChildTeamsResponse";var l9b=function(a){this.internalArray_=m(a)};V(l9b,X);l9b.repeatedFields_=[1];var BG=function(a){this.internalArray_=m(a,0,BG.messageId)};V(BG,X);BG.prototype.getIt=function(){return Gj(this,l9b,2)};BG.prototype.setIt=function(a){return Pj(this,l9b,2,a)};BG.messageId="b.BatchGetTeamsResponse";var CG=function(a){this.internalArray_=m(a,0,CG.messageId)};V(CG,X);CG.prototype.getTeamSuggestionsList=function(){return Yj(this,h9b,1,Ai())};CG.prototype.setTeamSuggestionsList=function(a){Dk(this,1,a)};CG.repeatedFields_=[1];CG.messageId="b.TeamSuggestionResult";var DG=function(a){this.internalArray_=m(a,0,DG.messageId)};V(DG,X);DG.prototype.getIt=function(){return Gj(this,dl,3)};DG.prototype.setIt=function(a){return Pj(this,dl,3,a)};DG.messageId="b.UpdateTeamSloRequest";var EG=function(a,b,c,d){var e=this;this.executor=a;this.teamsBatchApiConfig=b;this.batchApiAdapter=c;this.activeSession=d;this.memoizingTeamStateMap=new e9b(function(f){return e.batchAdaptedGet(f)},100);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.teamsBatchApiConfig)};EG.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:yG}).pipe(z(ODa))};EG.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var FG=function(a,b){return a.getTeam(b).pipe(z(function(c){return c!=null?c:RDa(b)}),lf(function(){return pe(RDa(b))}))},m9b=function(a,b){b=b.filter(function(c){return c!=="0"}).map(function(c){return a.getTeam(c)});return Ce(b).pipe(z(function(c){var d=new Map;c=l(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
EG.prototype.getChildTeams=function(a){a=(new AG).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:k9b}).pipe(z(function(b){b=[].concat(r(gc(b,1,j9b,Mb).entries()));return new Map(b.map(function(c){var d=l(c);c=d.next().value;d=d.next().value;d=Yj(d,i9b,1,Ai());return[c,d.map(NDa)]}))}))};
var GG=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:CG}).pipe(z(function(c){return c.getTeamSuggestionsList().map(PDa)}))},n9b=function(a,b){return a.executor.get({url:"action/teams/"+b+"/experiments",responseConstructor:xG}).pipe(z(QDa))},o9b=function(a,b,c){return b==="0"?pe(!1):a.memoizingTeamStateMap.get(b).pipe(z(function(d){return(d==null?void 0:d.members.find(function(e){return e&&yi(e.user)===c}))!==void 0}))},p9b=function(a,
b){return ep(a.activeSession,"enableLeanFeD")?(b=(new zG).setTeamIdsList([].concat(r(b))).setView(2),a.executor.post({url:"action/batchGetTeams",responseConstructor:BG,body:b}).pipe(z(function(c){return Yj(c.getIt(),YA,1,Ai())}),z(function(c){return new Map(c.map(function(d){var e,f;return[String(d.getId_asLegacyNumberOrString()),(f=(e=Gj(d,cl,7))==null?void 0:Jj(e,3))!=null?f:0]}))}))):a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:BG}).pipe(lf(function(){return pe(new BG)}),
z(function(c){return qi(gc(c,1,yG,Mb),function(d){var e,f,h;return(h=(e=d.getIt())==null?void 0:(f=Gj(e,cl,7))==null?void 0:Jj(f,3))!=null?h:0})}))};
EG.prototype.updateTeam=function(a){var b=new yG,c=new YA,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(Di).filter(Gi));d=tj(f,5,a.collapsedPathNames).setMembersList((e=a.members)==null?void 0:e.map(Wva));jk(d,9,a.deleted);e=new cl;e.setVersion(a.version).setSlo(Xva(a.slo));a.sloLead&&(d=vj(a.sloLead),Pj(e,rj,4,d));a.defaultSloLead&&(d=vj(a.defaultSloLead),Pj(e,rj,5,d));Pj(c,cl,7,e);b.setIt(c);
return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:yG}).pipe(z(ODa))};EG.\u0275fac=function(a){return new (a||EG)(n(pA),n(HG),n(XA),n(as))};EG.\u0275prov=Fc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var HG=function(a,b){this.executor=a;this.activeSession=b};
HG.prototype.call=function(a){return ep(this.activeSession,"enableLeanFeD")?(a=(new zG).setTeamIdsList([].concat(r(a))).setView(1),this.executor.post({url:"action/batchGetTeams",responseConstructor:BG,body:a}).pipe(z(function(b){return Yj(b.getIt(),YA,1,Ai()).map(Vva)}),z(function(b){return ura(b,function(c){return c.teamId})}),lf(function(){return pe(new Map)}))):this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(r(a)).join(",")}},responseConstructor:BG}).pipe(z(function(b){return qi(gc(b,
1,yG,Mb),ODa)}),lf(function(){return pe(new Map)}))};HG.prototype.split=function(a,b){return b.get(a)};HG.\u0275fac=function(a){return new (a||HG)(n(pA),n(as))};HG.\u0275prov=Fc({token:HG,factory:HG.\u0275fac,providedIn:"root"});var IG=function(a){zA.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return(c=b.teamId)!=null?c:"NO_ID"}};V(IG,zA);IG.prototype.fetchAll=function(a){if(a.myTeams)return GG(this.teamsApi,"").pipe(z(function(b){b=b===void 0?[]:b;return{results:b}}));throw Error("ad");};IG.\u0275fac=function(a){return new (a||IG)(n(EG))};IG.\u0275prov=Fc({token:IG,factory:IG.\u0275fac,providedIn:"root"});var JG=function(a,b){BA.call(this);this.teamsApi=a;this.activeSession=b;this.recordType="team";this.idForRecord=function(c){return c.teamId}};V(JG,BA);JG.prototype.fetchOne=function(a){if(a==="0")return pe(void 0);var b=this.teamsApi.getTeam(a);a=ep(this.activeSession,"enableTeamScope")?n9b(this.teamsApi,a).pipe(lf(function(){return pe(void 0)})):pe(void 0);return Ce([b,a]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c&&Object.assign({},c,{experimentalFields:d})}),lf(function(){return pe(void 0)}))};
JG.prototype.fetchSet=function(a){var b=this;return we(a.map(function(c){return b.fetchOne(c)})).pipe(z(function(c){return c.filter(Gi)}))};JG.\u0275fac=function(a){return new (a||JG)(n(EG),n(as))};JG.\u0275prov=Fc({token:JG,factory:JG.\u0275fac,providedIn:"root"});var KG=function(a){this.internalArray_=m(a,0,KG.messageId)};V(KG,X);KG.prototype.getTrackersList=function(){return Yj(this,im,1,Ai())};KG.repeatedFields_=[1];KG.messageId="b.BatchGetTrackersResponse";var LG=function(a){this.internalArray_=m(a,0,LG.messageId)};V(LG,X);LG.prototype.getTrackersList=function(){return Yj(this,im,1,Ai())};LG.prototype.getNextPageToken=function(){return Zh(this,2)};LG.prototype.getTotalSize=function(){return Lj(this,3)};LG.repeatedFields_=[1];LG.messageId="b.ListTrackersResponse";var MG=function(a){this.jspbExecutor=a};MG.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:im}).pipe(z(vwa))};MG.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:KG,options:{params:{trackerIds:a}}}).pipe(z(wwa))};
MG.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:LG,options:{params:{query:a,pageSize:String(b),pageToken:c===void 0?"":c}}}).pipe(z(xwa))};MG.\u0275fac=function(a){return new (a||MG)(n(pA))};MG.\u0275prov=Fc({token:MG,factory:MG.\u0275fac,providedIn:"root"});var NG=function(a,b){BA.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=a;this.activeSession=b;this.recordType="tracker";this.idKey="trackerId";(a=this.activeSession.getTracker())&&this.announce(a)};V(NG,BA);NG.prototype.fetchOne=function(a){return this.trackerApi.get(a)};NG.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
NG.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(z(function(d){var e;return{results:(e=d==null?void 0:d.trackers)!=null?e:[]}}))};NG.\u0275fac=function(a){return new (a||NG)(n(MG),n(as))};NG.\u0275prov=Fc({token:NG,factory:NG.\u0275fac,providedIn:"root"});var OG=function(a){this.executor=a},q9b=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:Kl,body:cxa(b)}).pipe(z(function(c){return Nwa(c)}))};OG.\u0275fac=function(a){return new (a||OG)(n(pA))};OG.\u0275prov=Fc({token:OG,factory:OG.\u0275fac,providedIn:"root"});var PG=function(a){var b=this;this.userPreferencesManagerBase=a;this.destroyed$=new xf(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(z(di));this.textDisplayPreferences$=this.preferences$.pipe(z(function(c){return c.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=go(this.textDisplayPreferences$.pipe(Df(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(z(function(c){return c.lastPublishMode}),
sf());this.lastPublishModeProto$=this.lastPublishMode$.pipe(z(sl));this.themePreferences$=this.preferences$.pipe(z(function(c){var d;return(d=c.themePreferences)!=null?d:di($A.themePreferences)}),io());this.listViewPreferences$=this.preferences$.pipe(z(function(c){var d;return(d=c.listViewPreferences)!=null?d:di($A.listViewPreferences)}),io());this.layoutPreferences$=this.preferences$.pipe(z(function(c){return b.getLayoutPreferences(c)}),io());this.dateTimePreferences$=this.preferences$.pipe(z(function(c){var d;
return(d=c.dateTimePreferences)!=null?d:di($A.dateTimePreferences)}),io());this.homepagePreferences$=this.preferences$.pipe(z(function(c){return b.getHomepagePreferences(c)}),io());this.keyboardPrefs$=this.preferences$.pipe(z(function(c){var d;return(d=c.keyboardPreferences)!=null?d:di($A.keyboardPreferences)}),io());this.displayColumnsPreferences$=this.preferences$.pipe(z(function(c){var d,e;return(e=(d=c.displayColumns)==null?void 0:d.column)!=null?e:[]}),io());this.sortColumnsPreferences$=this.preferences$.pipe(z(function(c){var d,
e;return(e=(d=c.sortColumns)==null?void 0:d.column)!=null?e:[]}),io());this.bugScreensaverPreferences$=this.preferences$.pipe(z(function(c){var d;return(d=c.bugScreensaverPreferences)!=null?d:di($A.bugScreensaverPreferences)}),io());this.bugScreensaverSubject$=go(this.bugScreensaverPreferences$.pipe(Df(this.destroyed$)),$A.bugScreensaverPreferences);this.g3nPreferences$=this.preferences$.pipe(z(function(c){var d;return(d=c.g3nPreferences)!=null?d:di($A.g3nPreferences)}),io());go(this.g3nPreferences$.pipe(Df(this.destroyed$)),
$A.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(z(function(c){var d;return(d=c.teamWarningPreferences)!=null?d:di($A.teamWarningPreferences)}),io());this.teamWarningPreferencesSubject$=go(this.teamWarningPreferences$.pipe(Df(this.destroyed$)),$A.teamWarningPreferences);this.commentFilterPreferences$=this.preferences$.pipe(z(function(c){var d;return(d=c.commentFilterPreferences)!=null?d:di($A.commentFilterPreferences)}),io());go(this.commentFilterPreferences$.pipe(Df(this.destroyed$)),
$A.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(z(function(c){return!!c.useCodefont}),sf());this.autoCcOnComment$=this.preferences$.pipe(z(function(c){var d;return(d=c.autoCcOnComment)!=null?d:!1}),sf());this.showFullHistory$=this.preferences$.pipe(z(function(c){return!!c.showFullHistory}),sf());this.resultsPerPage$=this.preferences$.pipe(z(function(c){var d;return(d=c.resultsPerPage)!=null?d:$A.resultsPerPage}),sf());this.showRecentEventsFirst$=this.preferences$.pipe(z(function(c){return!!c.showRecentEventsFirst}),
sf());this.showInlineImages$=this.preferences$.pipe(z(function(c){var d;return(d=c.showInlineImages)!=null?d:$A.showInlineImages}),sf())};PG.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};PG.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};var r9b=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(z(a.getLayoutPreferences))},s9b=function(a,b){return a.save({homepagePreferences:b}).pipe(z(a.getHomepagePreferences))};
PG.prototype.getDateTimePreferences=function(){var a;return(a=(void 0).dateTimePreferences)!=null?a:di($A.dateTimePreferences)};var t9b=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},u9b=function(a,b){var c;return(c=a.preferencesSubject$.value.collapsed)==null?void 0:c[b]};PG.prototype.saveResultsPerPage=function(a){return this.save({resultsPerPage:a}).pipe(z(function(b){var c;return(c=b.resultsPerPage)!=null?c:$A.resultsPerPage}))};
var v9b=function(a,b){return a.save({displayColumns:{column:b}}).pipe(z(function(c){var d,e;return(e=(d=c.displayColumns)==null?void 0:d.column)!=null?e:[]}))};PG.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(z(function(b){var c,d;return(d=(c=b.sortColumns)==null?void 0:c.column)!=null?d:[]}))};var w9b=function(a,b){return a.save({teamWarningPreferences:b}).pipe(z(function(c){var d;return(d=c.teamWarningPreferences)!=null?d:di($A.teamWarningPreferences)}))};
PG.prototype.getLayoutPreferences=function(a){var b;return(b=a.layoutPreferences)!=null?b:di($A.layoutPreferences)};PG.prototype.getHomepagePreferences=function(a){var b;return(b=a.homepagePreferences)!=null?b:di($A.homepagePreferences)};var QG=function(a){return di(a.preferencesSubject$.getValue())};PG.\u0275fac=function(a){return new (a||PG)(n(RG))};PG.\u0275prov=Fc({token:PG,factory:PG.\u0275fac,providedIn:"root"});
var RG=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new rn(di($A));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),x9b(a);this.preferences$.next(a)};RG.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?pe(y9b(this,a)):q9b(this.userPreferencesResources,a).pipe(z(function(){return y9b(b,a)}))};
var y9b=function(a,b){var c=di(a.preferences$.value);c=Object.assign({},c,b);x9b(c);a.preferences$.next(c);return c},x9b=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=$A.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=$A.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=$A.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&a.notificationPreferences.collaboratorPriority!=="UNKNOWN_PRIORITY"||(a.notificationPreferences.collaboratorPriority=$A.notificationPreferences.collaboratorPriority)};RG.\u0275fac=function(a){return new (a||RG)(n(as),n(OG))};RG.\u0275prov=Fc({token:RG,factory:RG.\u0275fac,providedIn:"root"});var SG=function(a,b){this.teamFridge=a;this.userPrefsManager=b;this.destroyed$=new xf(1);this.scopePrefs$=this.userPrefsManager.preferences$.pipe(z(function(c){var d;return(d=c==null?void 0:c.scopePreferences)!=null?d:{starredTeams:[]}}));this.starredTeamIds$=go(this.scopePrefs$.pipe(z(function(c){return c.starredTeams}),Df(this.destroyed$)),[]);this.starredTeams$=this.starredTeamIds$.pipe(Cf(this.teamFridge.watchSet))};SG.prototype.save=function(a){this.userPrefsManager.save({scopePreferences:{starredTeams:a}}).subscribe()};
da.Object.defineProperties(SG.prototype,{starredTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.starredTeamIds$.value}}});SG.\u0275fac=function(a){return new (a||SG)(n(JG),n(PG))};SG.\u0275prov=Fc({token:SG,factory:SG.\u0275fac,providedIn:"root"});var TG=function(a){a=a===void 0?[]:a;this.internalValue$=new rn(new Set);this.value$=Ir(this.internalValue$).pipe(z(function(b){return new Set(b)}),sf(ci),zf({refCount:!0,bufferSize:1}));this.reset(a)};g=TG.prototype;g.reset=function(a){this.value.clear();a=l(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=l(jd.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 zp=function(a,b){return a.internalValue$.pipe(z(function(c){return c.has(b)}),sf())};TG.prototype[Symbol.iterator]=function(){return this.value.values()};
TG.prototype.toString=function(){return"[ReactiveSet](["+[].concat(r(this.value.values())).join(", ")+"])"};TG.prototype.indexOf=function(a){return[].concat(r(this.value.values())).indexOf(a)};
da.Object.defineProperties(TG.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(z(function(a){return a.size}),sf())}}});var z9b=new TG;var UG=function(){this.isSidebarOpen$=new rn(!1);this.currentIssueId$=new rn(void 0)};UG.prototype.openSidebar=function(){this.isSidebarOpen$.next(!0)};UG.prototype.closeSidebar=function(){this.isSidebarOpen$.next(!1)};UG.prototype.setIssueId=function(a){this.currentIssueId$.next(a)};UG.\u0275fac=function(a){return new (a||UG)};UG.\u0275prov=Fc({token:UG,factory:UG.\u0275fac,providedIn:"root"});var Qp={displayAs:"Open",queryAtom:"status:open",tooltip:'Issues that match "status:open"'};var no=function(a){this.internalArray_=m(a)};V(no,X);g=no.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getScope=function(){return Zh(this,2)};g.setScope=function(a){return sj(this,2,a)};g.setMaxResults=function(a){return kj(this,5,a)};var mo=function(a){this.internalArray_=m(a,0,mo.messageId)};V(mo,X);mo.prototype.getIt=function(){return Gj(this,no,1)};mo.prototype.setIt=function(a){return Pj(this,no,1,a)};mo.messageId="b.LookupSimilarIssuesRequest";var A9b=function(a){this.internalArray_=m(a)};V(A9b,X);g=A9b.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getScore=function(){return ak(this,2)};g.setScore=function(a){return Ik(this,2,a)};var B9b=function(a){this.internalArray_=m(a)};V(B9b,X);B9b.repeatedFields_=[1,2];var VG=function(a){this.internalArray_=m(a,0,VG.messageId)};V(VG,X);VG.prototype.getIt=function(){return Gj(this,B9b,3)};VG.prototype.setIt=function(a){return Pj(this,B9b,3,a)};VG.messageId="b.LookupSimilarIssuesResponse";var C9b={},D9b=(C9b[Qp.queryAtom]=!0,C9b),WG=function(a){this.executor=a},XG=function(a,b){return a.executor.post({url:"action/lookup_similar_issues",body:VDa(b),responseConstructor:VG}).pipe(z(function(c){var d=Yj(c.getIt(),ym,1,Ai()).map(Lk);c=Yj(c.getIt(),A9b,2,Ai()).map(function(e){return e.getScore()});return{similarIssues:d,scores:c}}))},E9b=function(a,b,c,d){d=d===void 0?new Set:d;d={maxResults:7,scope:lo.apply(null,[b?ko("-id",b):void 0,ko("modified","365d")].concat(r(Array.from(d).map(function(e){return e.queryAtom})))),
scopeSortOrder:"vote_count desc"};c==null?d.issueId=Number(b):d.keyword=c;return XG(a,d)},F9b=function(a,b,c,d){d=d===void 0?new Set:d;return XG(a,{issueId:Number(b),maxResults:7,scope:lo.apply(null,[ko("-id",b),ko("id",c)].concat(r(Array.from(d).map(function(e){return e.queryAtom}).filter(function(e){return D9b[e]}))))})};WG.\u0275fac=function(a){return new (a||WG)(n(pA))};WG.\u0275prov=Fc({token:WG,factory:WG.\u0275fac,providedIn:"root"});var G9b=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=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"};
G9b.prototype.setData=function(a,b,c){this.issueId=b;a=di(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=di(a);this.assignee=vi(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=xi(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=xi(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];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=vi(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=vi(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 H9b(f)}));c=l(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 H9b({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 K9b=function(a){for(var b=[],c=l(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=I9b(a,d.customFieldId);if(!ci(e?Rm(e):null,Rm(d))){if(e=Sm(d))d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){YG(vi(a.originalModelData.assigneeUser),a.assignee,"assignee",b);YG(a.originalModelData.componentId,a.componentId,"componentId",b,!0);YG(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",
b);YG(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);YG(a.originalModelData.inProd,a.inProd,"inProd",b);YG(a.originalModelData.isArchived,a.isArchived,"isArchived",b);YG(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);YG(a.originalModelData.priority,a.priority,"priority",b);YG(vi(a.originalModelData.reporterUser),a.reporter,"reporter",b);YG(a.originalModelData.severity,a.severity,"severity",b);YG(a.originalModelData.status,a.status,"status",b);YG(a.originalModelData.title,
a.title,"title",b);YG(a.originalModelData.type,a.type,"type",b);YG(vi(a.originalModelData.verifierUser),a.verifier,"verifier",b);var f,h,k,q;YG((k=(f=a.originalModelData.sloStartTime)==null?void 0:f.seconds)!=null?k:null,(q=(h=a.sloStartTime)==null?void 0:h.seconds)!=null?q:null,"sloStartTime",b);var t,w,y,D;YG((y=(t=a.originalModelData.sloEndTime)==null?void 0:t.seconds)!=null?y:null,(D=(w=a.sloEndTime)==null?void 0:w.seconds)!=null?D:null,"sloEndTime",b);YG(a.originalModelData.sloSnoozeType,a.sloSnoozeType,
"sloSnoozeType",b);var G,I;YG((I=(G=a.originalModelData.effort)==null?void 0:G.estimate)!=null?I:null,a.effortEstimate,"effortEstimate",b);ZG(xi(a.originalModelData.ccUsers),a.cc,"ccs",b);ZG(xi(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);ZG(a.originalModelData.changelist,a.changelist,"changelists",b);J9b(a.originalModelData.gerritChanges,a.gerritChanges,b);ZG(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);ZG(a.originalModelData.blockingIssueId,
a.blockingIssueId,"blockingIssueId",b);ZG(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);ZG(a.originalModelData.targetedToVersion,a.targetedToVersion,"targetedToVersion",b);ZG(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);ZG(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},YG=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))},ZG=function(a,b,c,d){var e=ora(b||[],new Set(a));a=ora(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"})},J9b=function(a,b,c){var d=Lra(b!=null?b:[],a!=null?a:[]);a=Lra(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"})};g=G9b.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:Bc(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=$i[this.status];!this.assignee&&this.originalModelData&&vi(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&&vi(this.originalModelData.verifierUser)&&this.originalModelData.status==="VERIFIED"&&(this.status="FIXED")};
g.setStatus=function(a){this.status=a;a=$i[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.setSloEndTime=function(a){this.sloEndTime=a};
g.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var I9b=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?a:null:null},kcb=function(a,b){var c=[];b!==void 0&&!b&&a.changelist&&c.push.apply(c,r(a.changelist));a.gerritChanges&&c.push.apply(c,r(a.gerritChanges.filter(function(d){return d.state==="MERGED"}).map(function(d){return Hra(d)})));return c},L9b=function(a){return a.gerritChanges?a.gerritChanges.filter(function(b){return b.state==="PENDING"}).map(function(b){return Hra(b)}):
[]},H9b=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};
H9b.prototype.isRepeated=function(){return this.type==null?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var M9b=new Map([["assignee",function(a,b){a.assigneeUser=Ci(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(Ci).filter(Gi)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=Ci(b.reporter)}],["verifier",function(a,b){a.verifierUser=Ci(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 $G=new ld("buganizerWindow",{factory:function(){return window}});var aH=function(a){this.$window=a};aH.\u0275fac=function(a){return new (a||aH)(n($G))};aH.\u0275prov=Fc({token:aH,factory:aH.\u0275fac,providedIn:"root"});var bH=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},Ep=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},N9b=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"};
bH.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 O9b=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Ep(a)},$Pa=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-external-access"},P9b=function(a){if(!a.session.isExternalSession())return"http://go/buganizer-public-access"},Q9b=function(a){if(a=P9b(a))return a+"#recommended-access-settings"},R9b=function(a){if(a=P9b(a))return a+"#fully-public-component"},S9b=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"},oqb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},T9b=function(a){return 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"},
Wr=function(){return"http://go/buganizer-retention"};bH.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 QFb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};bH.prototype.getDisablingFieldsHelpLink=function(){return QFb()+"#hiding-inherited-fields"};
var U9b=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};bH.\u0275fac=function(a){return new (a||bH)(n(as))};bH.\u0275prov=Fc({token:bH,factory:bH.\u0275fac,providedIn:"root"});var cH=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new yf;this._beforeClosed=new yf;this._state=0;this.disableClose=b.disableClose;this.id=a.id;a.addPanelClass("mat-mdc-dialog-panel");c._animationStateChanged.pipe(He(function(e){return e.state==="opened"}),qf()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(He(function(e){return e.state==="closed"}),qf()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);
d._finishDialogClose()});a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});Ge(this.backdropClick(),this.keydownEvents().pipe(He(function(e){return e.keyCode===27&&!d.disableClose&&!oh(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType=e.type==="keydown"?"keyboard":"mouse",d.close(void 0))})};
cH.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(He(function(c){return c.state==="closing"}),qf()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();uXb(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};cH.prototype.afterOpened=function(){return this._afterOpened};var dH=function(a){return a._ref.closed};
g=cH.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):ex(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):EXb(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 V9b=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 eH=function(a,b,c,d,e,f,h,k){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=f;this._overlayRef=h;this._focusMonitor=k;this._platform=Xc(Nv);this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=this._focusTrap=null;this._ariaLabelledByQueue=[];this._changeDetectorRef=Xc(Wg);this._injector=Xc(Ne);this._isDestroyed=!1;this._document=c;this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)};
V(eH,Cw);g=eH.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||Pe(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=mh();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?(Tv(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=mh();return a===b||a.contains(b)};g._initializeFocusTrap=function(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=mh()))};
g._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};eH.\u0275fac=function(a){return new (a||eH)(B(Rd),B(Zv),B(vh,8),B(V9b),B(Vv),B(Me),B($w),B(Sv))};
eH.\u0275cmp=p({type:eH,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&rg(Fw,7);if(a&2){var c;vg(c=wg())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&Nf("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:[Lf,Fg],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&C(0,XDa,0,0,"ng-template",0)},dependencies:[Fw],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var W9b=new ld("DialogScrollStrategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.block()}}}),X9b=new ld("DialogData"),Y9b=new ld("DefaultDialogConfig");var Z9b=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new yf;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||oh(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=Z9b.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 $9b=0,fH=function(a,b,c,d,e,f){this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new yf;this._afterOpenedAtThisLevel=new yf;this._ariaHiddenElements=new Map;this._scrollStrategy=f};g=fH.prototype;
g.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new V9b,b);b.id=b.id||"cdk-dialog-"+$9b++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new Z9b(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(){YDa(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;YDa(this._openDialogsAtThisLevel,function(b){b.config.closeOnDestroy===!1&&a._removeOpenDialog(b,!1)});YDa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
g._getOverlayConfig=function(a){var b=new Zw({positionStrategy:a.positionStrategy||EXb(ex(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:V9b,useValue:c},{provide:Z9b,useValue:b},{provide:$w,useValue:a}];c.container?typeof c.container==="function"?d=c.container:(d=c.container.type,b.push.apply(b,r(c.container.providers(c)))):d=eH;c=new Aw(d,c.viewContainerRef,Sg({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
g._attachDialogContent=function(a,b,c,d){if(a instanceof og){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 Bw(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new Aw(a,d.viewContainerRef,e,d.componentFactoryResolver)),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:X9b,useValue:a.data},{provide:Z9b,useValue:b}];a.providers&&(typeof a.providers==="function"?e.push.apply(e,r(a.providers(b,a,c))):e.push.apply(e,r(a.providers)));!a.direction||f&&f.get(Hw,null,{optional:!0})||e.push({provide:Hw,useValue:{value:a.direction,change:pe()}});return Sg({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=oXb(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};
da.Object.defineProperties(fH.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}}});fH.\u0275fac=function(a){return new (a||fH)(n(hx),n(Ne),n(Y9b,8),n(fH,12),n(Mw),n(W9b))};fH.\u0275prov=Fc({token:fH,factory:fH.\u0275fac,providedIn:"root"});var gH=function(){};gH.\u0275fac=function(a){return new (a||gH)};gH.\u0275mod=cd({type:gH});gH.\u0275inj=Gc({providers:[fH],imports:[kx,Gw,jw,Gw]});var a$b=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 hH=function(a,b,c,d,e,f,h,k,q){eH.call(this,a,b,c,d,e,f,h,q);var t=this;this._animationMode=k;this._animationStateChanged=new bv;this._animationsEnabled=this._animationMode!=="NoopAnimations";this._actionSectionCount=0;this._hostElement=this._elementRef.nativeElement;var w;this._enterAnimationDuration=this._animationsEnabled?(w=$Da(this._config.enterAnimationDuration))!=null?w:150:0;var y;this._exitAnimationDuration=this._animationsEnabled?(y=$Da(this._config.exitAnimationDuration))!=null?y:75:
0;this._animationTimer=null;this._finishDialogOpen=function(){t._clearAnimationClasses();t._openAnimationDone(t._enterAnimationDuration)};this._finishDialogClose=function(){t._clearAnimationClasses();t._animationStateChanged.emit({state:"closed",totalTime:t._exitAnimationDuration})}};V(hH,eH);g=hH.prototype;g._contentAttached=function(){eH.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(){eH.prototype.ngOnDestroy.call(this);this._animationTimer!==null&&clearTimeout(this._animationTimer)};
g.attachComponentPortal=function(a){a=eH.prototype.attachComponentPortal.call(this,a);a.location.nativeElement.classList.add("mat-mdc-dialog-component-host");return a};hH.\u0275fac=function(a){return new (a||hH)(B(Rd),B(Zv),B(vh,8),B(a$b),B(Vv),B(Me),B($w),B(Pu,8),B(Sv))};
hH.\u0275cmp=p({type:hH,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(a,b){a&2&&(eg("id",b._config.id),Nf("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),Wf("_mat-animation-noopable",!b._animationsEnabled)("mat-mdc-dialog-container-with-actions",
b._actionSectionCount>0))},standalone:!0,features:[Lf,Fg],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&&(F(0,"div",0)(1,"div",1),C(2,ZDa,0,0,"ng-template",2),H()())},dependencies:[Fw],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, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.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, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, 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, 0 24px 9px)}.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, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-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, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-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)}.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, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-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 iH=new ld("MatMdcDialogData"),b$b=new ld("mat-mdc-dialog-default-options"),c$b=new ld("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.block()}}}),d$b=0,jH=function(a,b,c,d,e,f){this._overlay=a;this._defaultOptions=d;this._scrollStrategy=e;this._parentDialog=f;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new yf;this._afterOpenedAtThisLevel=new yf;this.dialogConfigClass=a$b;this._dialog=b.get(fH);
this._dialogRefConstructor=cH;this._dialogContainerType=hH;this._dialogDataToken=iH};g=jH.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 a$b,b);b.id=b.id||"mat-mdc-dialog-"+d$b++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:EXb(ex(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:V9b,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,f,h){d=new c._dialogRefConstructor(e,b,h);var k;d.updatePosition((k=b)==null?void 0:k.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);dH(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()};
da.Object.defineProperties(jH.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}}});jH.\u0275fac=function(a){return new (a||jH)(n(hx),n(Ne),n(Mv,8),n(b$b,8),n(c$b),n(jH,12),n(Mw),n(Pu,8))};jH.\u0275prov=Fc({token:jH,factory:jH.\u0275fac,providedIn:"root"});var e$b=0,kH=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};kH.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=aEa(this._elementRef,this._dialog.openDialogs))};kH.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};kH.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=a.screenX===0&&a.screenY===0?"keyboard":"mouse";b.close(c)};
kH.\u0275fac=function(a){return new (a||kH)(B(cH,8),B(Rd),B(jH))};
kH.\u0275dir=ed({type:kH,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&O("click",function(c){return b._onButtonClick(c)});a&2&&Nf("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:[rd]});
var lH=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c};lH.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=aEa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){a._onAdd()})};lH.prototype.ngOnDestroy=function(){var a=this,b;((b=this._dialogRef)==null?0:b._containerInstance)&&Promise.resolve().then(function(){a._onRemove()})};lH.\u0275fac=function(a){return new (a||lH)(B(cH,8),B(Rd),B(jH))};
lH.\u0275dir=ed({type:lH,standalone:!0});var mH=function(){lH.apply(this,arguments);this.id="mat-mdc-dialog-title-"+e$b++};V(mH,lH);mH.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._addAriaLabelledBy)==null||b.call(a,this.id)};mH.prototype._onRemove=function(){var a,b,c;(a=this._dialogRef)==null||(b=a._containerInstance)==null||(c=b._removeAriaLabelledBy)==null||c.call(b,this.id)};mH.\u0275fac=function(){var a;return function(b){return(a||(a=Od(mH)))(b||mH)}}();
mH.\u0275dir=ed({type:mH,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(a,b){a&2&&eg("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Lf]});var nH=function(){};nH.\u0275fac=function(a){return new (a||nH)};
nH.\u0275dir=ed({type:nH,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:Tc(e),inputs:dd,outputs:dd}:{directive:Tc(e.directive),inputs:Oka(e.inputs),outputs:Oka(e.outputs)}});c.hostDirectives===null?(c.findHostDirectiveDefs=Nka,c.hostDirectives=d):c.hostDirectives.unshift.apply(c.hostDirectives,
r(d))};b.ngInherit=!0;return b}([Sw])]});var oH=function(){lH.apply(this,arguments)};V(oH,lH);oH.prototype._onAdd=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,1)};oH.prototype._onRemove=function(){var a,b;(a=this._dialogRef._containerInstance)==null||(b=a._updateActionSectionCount)==null||b.call(a,-1)};oH.\u0275fac=function(){var a;return function(b){return(a||(a=Od(oH)))(b||oH)}}();
oH.\u0275dir=ed({type:oH,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&&Wf("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:[Lf]});var pH=function(){};pH.\u0275fac=function(a){return new (a||pH)};pH.\u0275mod=cd({type:pH});pH.\u0275inj=Gc({providers:[jH],imports:[gH,kx,Gw,lx,lx]});var qH=function(a,b){this.dialogRef=a;this.data=b;this.confirmButtonTheme=b.isDestructive?"warn":"primary";var c;this.cancelButtonText=(c=b.cancelButtonText)!=null?c:"Cancel";var d;this.confirmButtonText=(d=b.confirmButtonText)!=null?d:"Confirm";var e;this.showCancelButton=(e=b.showCancelButton)!=null?e:!0};qH.\u0275fac=function(a){return new (a||qH)(B(cH),B(iH))};
qH.\u0275cmp=p({type:qH,selectors:[["b-confirmation-dialog"]],decls:7,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"innerHTML"],["mat-dialog-actions",""],["mat-button","","class","medium",3,"click",4,"ngIf"],["mat-flat-button","","cdkFocusInitial","",1,"medium",3,"click","color"],["mat-button","",1,"medium",3,"click"]],template:function(a,b){a&1&&(F(0,"h1",0),Q(1),H(),J(2,"div",1),F(3,"div",2),C(4,bEa,2,1,"button",3),F(5,"button",4),O("click",function(){return b.dialogRef.close(!0)}),
Q(6),H()());a&2&&(A(),yg(b.data.title),A(),E("innerHTML",b.data.content,bf),A(2),E("ngIf",b.showCancelButton),A(),E("color",b.confirmButtonTheme),A(),R(" ",b.confirmButtonText," "))},dependencies:[tv,kC,Ex,mH,oH,nH],encapsulation:2});var rH=function(a){this.dialog=a},f$b=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
rH.prototype.open=function(a){var b=a.title;var c=a.content;var d=a.onConfirm;var e=a.onDismiss;dH(this.dialog.open(qH,{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()})};rH.\u0275fac=function(a){return new (a||rH)(n(jH))};rH.\u0275prov=Fc({token:rH,factory:rH.\u0275fac,providedIn:"root"});var sH=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},g$b=function(a,b){return new Promise(function(c){tH(a,b,function(){c(!0)},function(){c(!1)})})},tH=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",f=Lh("");if(b==="VULNERABILITY")e="Set the issue type to \u201cVulnerability\u201d?",b={},f=Nh([Lh('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}),Oh("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=Nh([Lh('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}),Oh("a",(b.href="http://goto.google.com/pib-slo",b.target=
"_blank",b),"Learn more"),Lh(".\n\nDO NOT use this type to file ",{preserveNewlines:!0}),Oh("a",(f.href="http://goto.google.com/incident-response-policy",f.target="_blank",f),"privacy incidents"),Lh(". Incidents should be filed at ",{preserveNewlines:!0}),Oh("a",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),Lh(".\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(){}})}};sH.\u0275fac=function(a){return new (a||sH)(n(as),n(bH),n(rH))};sH.\u0275prov=Fc({token:sH,factory:sH.\u0275fac,providedIn:"root"});var uH=function(a){this.internalArray_=m(a,0,uH.messageId)};V(uH,X);uH.repeatedFields_=[1];uH.messageId="b.TimeZoneDataList";var vH=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new e9b(function(d){a:{var e=l(c.activeSession.session.preload.timezones);for(var f=e.next();!f.done;f=e.next())if(f=f.value,d===f.timeZoneId_){e=f;break a}e=void 0}return e?pe(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:gm}).pipe(z(twa))},10)};vH.prototype.get=function(a){return this.memoized.get(a)};
var h$b=function(a){return a.executor.get({url:"action/timezone",responseConstructor:uH}).pipe(z(function(b){return b==null?void 0:Yj(b,gm,1,Ai()).map(function(c){c=twa(c);var d=T2b(V2b(c,new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_,gmt:d}})}))};vH.\u0275fac=function(a){return new (a||vH)(n(pA),n(as))};vH.\u0275prov=Fc({token:vH,factory:vH.\u0275fac,providedIn:"root"});var i$b=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"]]),j$b=["P0","P1","P2","P3","P4"],k$b="NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" "),l$b="BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),m$b=["S0","S1","S2","S3","S4"],n$b=new Map([["PRIORITY_UNSPECIFIED","(Unspecified Priority)"],
["P0","P0"],["P1","P1"],["P2","P2"],["P3","P3"],["P4","P4"]]),o$b=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"]]),p$b=new Set("PROGRAM PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),
q$b=l$b.map(function(a){return{value:a,displayText:si(a),altText:i$b.get(a)}}),wH=function(){this.priorities=j$b;this.severities=m$b;this.editIssueTypes=l$b;this.editIssueTypeChoices=q$b;this.issueTypesDisplayNames=o$b;this.issueTypesShortDescriptions=i$b;this.issuePrioritiesDisplayNames=n$b;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};wH.\u0275fac=function(a){return new (a||wH)};
wH.\u0275prov=Fc({token:wH,factory:wH.\u0275fac,providedIn:"root"});var xH=function(a,b,c,d){Y.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new yf;this.userTimeZone=null;this.timeZones={};this.userPrefs=$A.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(f){if(f.id==="")return Promise.resolve({name:"",timeZone:null});var h=b.get(f.id).pipe(Df(e.destroyed$));return se(h).then(function(k){return{name:f.name,timeZone:k}})})).then(function(f){f=l(f);for(var h=f.next();!h.done;h=f.next())h=h.value,e.timeZones[h.name]=
h.timeZone;a.preferences$.pipe(Df(e.destroyed$)).subscribe(function(k){k.dateTimePreferences&&(k=k.dateTimePreferences,e.userPrefs=k,e.userTimeZone=e.timeZones[k.timeZone],e.formatPrefChange$.next())})}).catch(function(f){e.errorHandler.errorHandler(null,f)})};V(xH,Y);xH.\u0275dir=Y.\u0275dir;xH.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new zB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};var r$b=function(a,b){return a.formatPrefChange$.subscribe(b)};
xH.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};xH.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};xH.\u0275fac=function(a){return new (a||xH)(n(PG),n(vH),n(wH),n(eD))};xH.\u0275prov=Fc({token:xH,factory:xH.\u0275fac,providedIn:"root"});var yH=function(a){this.dateFormatter=a};
yH.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(Pm(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(Pm(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};yH.\u0275fac=function(a){return new (a||yH)(n(xH))};yH.\u0275prov=Fc({token:yH,factory:yH.\u0275fac,providedIn:"root"});var zH=function(a,b){this.customFieldFormatter=a;this.hotlistFridge=b;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"]},u$b=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?"":d;var e;b.bulkEditOps&&(e=dEa(b.bulkEditOps));var f=b.actions||[];!f.length&&b.bulkEditOps&&(f=cEa(b.bulkEditOps));b=s$b(f).map(function(h){return t$b(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+"."},s$b=function(a){var b=[],c=[];a=l(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)},t$b=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 k,q;return(k=(q=ho(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))==null?void 0:q.name)?"'"+k+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(f=f?ni(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 "'+$i[b.value].displayValue+'"'};zH.\u0275fac=function(a){return new (a||zH)(n(yH),n(rE))};zH.\u0275prov=Fc({token:zH,factory:zH.\u0275fac,providedIn:"root"});var so=function(a){this.internalArray_=m(a,0,so.messageId)};V(so,X);so.prototype.getIt=function(){return Gj(this,Hj,6)};so.prototype.setIt=function(a){return Pj(this,Hj,6,a)};so.messageId="b.ContentJudgement";var iEa=function(a){this.internalArray_=m(a)};V(iEa,X);iEa.prototype.getContentJudgement=function(){return Gj(this,so,2)};iEa.prototype.setContentJudgement=function(a){return Pj(this,so,2,a)};var AH=function(a){this.internalArray_=m(a)};V(AH,X);AH.prototype.getIssueId=function(){return wu(this,1)};AH.prototype.getIssueId_asLegacyNumberOrString=function(){return wu(this,1)};AH.prototype.getIssueId_asString=function(){return Al(this,1)};AH.prototype.setIssueId=function(a){return Sl(this,1,a)};AH.repeatedFields_=[3];var v$b=function(a){this.internalArray_=m(a)};V(v$b,X);g=v$b.prototype;g.getFilename=function(){return Zh(this,1)};g.setFilename=function(a){Sj(this,1,a)};g.getMimeType=function(){return Zh(this,2)};g.setMimeType=function(a){Sj(this,2,a)};g.getSize=function(){return Jj(this,5)};g.setSize=function(a){return Tl(this,5,a)};var BH=function(a){this.internalArray_=m(a,0,BH.messageId)};V(BH,X);BH.prototype.getIt=function(){return Gj(this,Nj,14)};BH.prototype.setIt=function(a){return Pj(this,Nj,14,a)};BH.messageId="b.Attachment";var CH=function(a){this.internalArray_=m(a,0,CH.messageId)};V(CH,X);CH.prototype.getAttachmentsList=function(){return Yj(this,BH,1,Ai())};CH.prototype.setAttachmentsList=function(a){return Dk(this,1,a)};CH.prototype.addAllAttachments=function(a){su(this,1,BH,a)};CH.repeatedFields_=[1];CH.messageId="b.CreateAttachmentsResponse";var DH=function(a){this.internalArray_=m(a,0,DH.messageId)};V(DH,X);DH.prototype.getErrorMessage=function(){return Zh(this,2)};DH.prototype.setErrorMessage=function(a){Sj(this,2,a)};DH.messageId="b.EncryptedMediaResponse";var EH=function(a,b){this.executor=a;this.httpClient=b},w$b=function(a,b){var c=new v$b;c.setFilename(b.filename);c.setMimeType(b.mimeType);b.encryptedBlobId!=null&&Sj(c,3,b.encryptedBlobId);Sj(c,4,b.docId);b.size!=null&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:DH}).then(hEa)},x$b=function(a,b,c){return a.httpClient.get("/download/attachment/"+b+"/"+c,{observe:"events",responseType:"arraybuffer"}).pipe(z(function(d){if(d instanceof DC&&
d.body)return d.body}))};EH.\u0275fac=function(a){return new (a||EH)(n(qA),n(FC))};EH.\u0275prov=Fc({token:EH,factory:EH.\u0275fac,providedIn:"root"});var FH=function(a){this.executor=a};FH.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})};FH.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:BH}).then(kEa)};
FH.\u0275fac=function(a){return new (a||FH)(n(qA))};FH.\u0275prov=Fc({token:FH,factory:FH.\u0275fac,providedIn:"root"});var GH=function(a){this.internalArray_=m(a)};V(GH,X);g=GH.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getComment=function(){return Gj(this,qm,2)};g.setComment=function(a){return Pj(this,qm,2,a)};g.setSignificanceOverride=function(a){return uj(this,3,a)};g.getContentJudgement=function(){return Gj(this,Hj,4)};
g.setContentJudgement=function(a){return Pj(this,Hj,4,a)};var HH=function(a){this.internalArray_=m(a)};V(HH,X);g=HH.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getCommentNumber=function(){return Lj(this,2)};g.setCommentNumber=function(a){return kj(this,2,a)};g.getComment=function(){return Gj(this,qm,3)};g.setComment=function(a){return Pj(this,qm,3,a)};var IH=function(a){this.internalArray_=m(a)};V(IH,X);g=IH.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getCommentNumber=function(){return Lj(this,2)};g.setCommentNumber=function(a){return kj(this,2,a)};g.getRestrictedRetention=function(){return Kj(this,3,0)};g.setRestrictedRetention=function(a){return uj(this,3,a)};var JH=function(a){this.internalArray_=m(a,0,JH.messageId)};V(JH,X);JH.prototype.getIt=function(){return Gj(this,nk,2)};JH.prototype.setIt=function(a){return Pj(this,nk,2,a)};JH.messageId="b.CommentReaction";var y$b=function(a){this.internalArray_=m(a)};V(y$b,X);y$b.prototype.getIt=function(){return Gj(this,GH,5)};y$b.prototype.setIt=function(a){return Pj(this,GH,5,a)};var KH=function(a){this.internalArray_=m(a,0,KH.messageId)};V(KH,X);KH.prototype.getIt=function(){return Gj(this,qm,19)};KH.prototype.setIt=function(a){return Pj(this,qm,19,a)};KH.messageId="b.IssueComment";var LH=function(a){this.internalArray_=m(a,0,LH.messageId)};V(LH,X);LH.prototype.getIssueCommentsList=function(){return Yj(this,KH,1,Ai())};LH.repeatedFields_=[1];LH.messageId="b.ListIssueCommentHistoryResponse";var z$b=function(a){this.internalArray_=m(a)};V(z$b,X);z$b.prototype.getIt=function(){return Gj(this,HH,5)};z$b.prototype.setIt=function(a){return Pj(this,HH,5,a)};var A$b=function(a){this.internalArray_=m(a)};V(A$b,X);A$b.prototype.getIt=function(){return Gj(this,IH,4)};A$b.prototype.setIt=function(a){return Pj(this,IH,4,a)};var MH=function(a){this.executor=a};g=MH.prototype;g.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(eEa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:KH}).pipe(z(rya))};
g.create=function(a,b,c,d,e){var f={};e&&(f["G-Recaptcha-Response-Token"]=e);b=(new GH).setIssueId(a).setComment((new qm).setComment(b).setFormattingMode(uk(c)));d&&b.setContentJudgement(rta(d));d=(new y$b).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 z$b).setIt((new HH).setIssueId(a).setCommentNumber(b).setComment((new qm).setComment(c).setFormattingMode(uk(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:KH}).pipe(z(rya))};g.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:LH}).pipe(z(sya))};
g.updateCommentReaction=function(a){var b=a.issueId;var c=a.commentId;var d=a.reactionType;var e=a.hasReacted;var f;a=new JH;var h=a.setIt,k=new nk;d=(new vk).setType((f=I1b[d])!=null?f:0);f=jk(d,1,e);f=gr(k,2,vk,f);a=h.call(a,f);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:a,responseConstructor:JH}).pipe(z(tya))};
g.updateRetention=function(a,b,c){c=(new A$b).setIt((new IH).setIssueId(a).setCommentNumber(b).setRestrictedRetention(Bta(c)));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:KH}).pipe(z(rya))};MH.\u0275fac=function(a){return new (a||MH)(n(pA))};MH.\u0275prov=Fc({token:MH,factory:MH.\u0275fac,providedIn:"root"});var NH=function(a){this.observableApi=a};g=NH.prototype;g.get=function(a,b,c){return se(this.observableApi.get(a,b,c))};
g.create=function(a,b,c,d,e){return se(this.observableApi.create(a,b,c,d,e))};g.update=function(a,b,c,d,e){return se(this.observableApi.update(a,b,c,d,e))};g.delete=function(a,b,c,d){return se(this.observableApi.delete(a,b,c,d))};g.undelete=function(a,b,c){return se(this.observableApi.undelete(a,b,c))};g.listHistory=function(a,b){return se(this.observableApi.listHistory(a,b))};g.updateCommentReaction=function(a){return se(this.observableApi.updateCommentReaction(a))};
g.updateRetention=function(a,b,c){return se(this.observableApi.updateRetention(a,b,c))};NH.\u0275fac=function(a){return new (a||NH)(n(MH))};NH.\u0275prov=Fc({token:NH,factory:NH.\u0275fac,providedIn:"root"});var OH=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};OH.prototype.close=function(a){this.dialogRef.close(a)};OH.\u0275fac=function(a){return new (a||OH)(B(cH),B(bH),B(iH))};
OH.\u0275cmp=p({type:OH,selectors:[["confirm-no-access-dialog"]],decls:18,vars:2,consts:[[1,"dialog-container"],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngFor","ngForOf"],["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&&(F(0,"div",0)(1,"h1",1),Q(2,"User may not have access"),H(),F(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: "),
H(),F(6,"ul"),C(7,mEa,2,1,"li",3),H(),F(8,"section"),Q(9,"Continue anyway?"),H()(),F(10,"footer",4)(11,"div",5)(12,"a",6),Q(13,"Learn more"),H()(),F(14,"button",7),O("click",function(){return b.close(!0)}),Q(15,"Continue"),H(),F(16,"button",8),O("click",function(){return b.close(!1)}),Q(17,"Cancel"),H()()());a&2&&(A(7),E("ngForOf",b.userEmails),A(5),E("href",b.readMoreLink,cf))},dependencies:[sv,kC,Ex,mH,oH,nH],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var PH=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},QH=function(a,b){var c=b.componentId;var d=b.userEmails;var e=b.relation;var f=b.analyticsEventLabel;var h,k,q;return ge(function(t){switch(t.nextAddress){case 1:if(d.every(function(w){return w.length===0}))return t.return(!0);he(t,2);return ie(t,B$b(a,c,d,e),4);case 4:h=t.yieldResult;if(h.length===0)return t.return(!0);a.analytics.trackEvent("addUserWithoutAccess","warn",f);return ie(t,
a.confirm(h,e),5);case 5:k=t.yieldResult;if(!k)return Xp(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent("addUserWithoutAccess","cancel",f),t.return(!1);a.analytics.trackEvent("addUserWithoutAccess","proceed",f);return t.return(!0);case 2:return q=le(t),a.logger.error(q),t.return(!1)}})},B$b=function(a,b,c,d){var e;return ge(function(f){if(f.nextAddress==1)return ie(f,a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=f.yieldResult;return f.return([].concat(r(e.noAccessEmails||
[]),r(e.unknownEmails||[])))})};PH.prototype.confirm=function(a,b){var c=this,d,e,f;return ge(function(h){if(h.nextAddress==1)return d={userEmails:a,relation:b},e=c.matDialogService.open(OH,{width:"400px",data:d}),ie(h,se(dH(e)),2);f=h.yieldResult;return h.return(!!f)})};PH.\u0275fac=function(a){return new (a||PH)(n(jH),n(CF),n(cD),n(dD),n(VA))};PH.\u0275prov=Fc({token:PH,factory:PH.\u0275fac,providedIn:"root"});var RH=function(){};RH.\u0275fac=function(a){return new (a||RH)};RH.\u0275mod=cd({type:RH});RH.\u0275inj=Gc({providers:[{provide:qYb,useValue:{color:"primary"}}],imports:[Ix]});var C$b=new ld("GMAT_DIALOG_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var SH=function(){hx.apply(this,arguments);this.gmatPanelClasses=[]};V(SH,hx);var TH=function(a,b){a.gmatPanelClasses.includes(b)||a.gmatPanelClasses.push(b)};SH.prototype.create=function(a){var b=(a==null?0:a.panelClass)?ph(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return hx.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};SH.\u0275fac=function(){var a;return function(b){return(a||(a=Od(SH)))(b||SH)}}();SH.\u0275prov=Fc({token:SH,factory:SH.\u0275fac});var UH=function(a,b,c,d,e,f,h,k){k.disableGmatStyle||TH(a,"gmat-mdc-dialog");jH.call(this,a,b,c,d,e,f,h)};V(UH,jH);UH.\u0275fac=function(a){return new (a||UH)(n(hx),n(Ne),n(Mv,8),n(b$b,8),n(c$b),n(jH,12),n(Mw),n(C$b))};UH.\u0275prov=Fc({token:UH,factory:UH.\u0275fac});var VH=function(){};VH.\u0275fac=function(a){return new (a||VH)};VH.\u0275mod=cd({type:VH});VH.\u0275inj=Gc({providers:[{provide:jH,useClass:UH},{provide:hx,useClass:SH}],imports:[pH]});var WH=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};WH.prototype.cancel=function(){this.state=4};var D$b={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var XH=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};XH.prototype.reset=function(){this.value="";E$b(this)};var E$b=function(a){for(var b=l(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},F$b=function(a){return a.fromTemplate&&a.initialComment===a.value};
XH.prototype.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(di(c.blobRef));return a};XH.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var G$b=function(a){return!a.isEmpty()&&!$qb(a)};XH.prototype.isEmpty=function(){return!this.value&&!H$b(this)};
var $qb=function(a){return a.uploads.some(function(b){return b.state===1||b.state===3})},H$b=function(a){return a.uploads.some(function(b){return b.state===2})};var YH=function(a,b){Y.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new rn({});this.issueId$=this.routeParams$.pipe(z(function(c){return c.issueId}),sf())};V(YH,Y);YH.\u0275dir=Y.\u0275dir;
var J$b=function(a){a.activatedRoute.queryParams.pipe(Df(a.destroyed$)).subscribe(function(b){I$b(a,a.routeParams$.value,b)});a.router.events.pipe(He(function(b){return b instanceof XAa}),z(function(b){return b}),Df(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);I$b(a,c,b.queryParams)})},ZH=function(a,b){return a.routeParams$.pipe(z(function(c){return c[b]}))},I$b=function(a,b,c){for(var d=l(Object.keys(a.params)),e=
d.next();!e.done;e=d.next())delete a.params[nEa(e.value)];a.routeParams$.next(b);c=l(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=l(d.value),d=e.next().value,e=e.next().value,a.params[nEa(d)]=e;b=l(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=l(c.value),c=d.next().value,d=d.next().value,a.params[nEa(c)]=d};YH.\u0275fac=function(a){return new (a||YH)(n(HD),n(qn))};YH.\u0275prov=Fc({token:YH,factory:YH.\u0275fac,providedIn:"root"});var $H=new ld("routeParams",{factory:function(){return Xc(YH).params}});var aI=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};aI.prototype.get=function(a){var b=this;if(this.routeParams.comment)return pe(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=ii(this.routeParams.template_comment)||1;return Be(function(){return K$b(b,c,d,b.routeParams.do_attribution)})}return a?pe(this.draftStore.$window.sessionStorage.getItem(oo(a))||""):pe("")};
var K$b=function(a,b,c,d){var e,f,h,k,q;return ge(function(t){if(t.nextAddress==1)return he(t,2),ie(t,a.issueComments.get(b,c),4);if(t.nextAddress!=2)return e=t.yieldResult,f=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(k="> From issue "+b+" on "+h+":",t.return(k+"\n\n"+f)):t.return(f);q=le(t);gD(a.errorHandler,q);return t.return("")})};aI.\u0275fac=function(a){return new (a||aI)(n($H),n(NH),n(aH),n(eD))};aI.\u0275prov=Fc({token:aI,factory:aI.\u0275fac,providedIn:"root"});var L$b=function(a,b,c,d,e){var f=this;this.issueId=a;this.defaultCommentSource=b;this.issueFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issue$=this.issueFridge.watch(this.issueId);this.componentId$=this.issue$.pipe(z(function(h){return h==null?void 0:h.snapshot[0].componentId}),sf());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(Bf(""),sf(),Ff(this.userPreferencesManager.lastPublishModeProto$),z(function(h){var k=l(h);h=k.next().value;k=k.next().value;h=new XH(h);
h.formattingMode=k;return h}),zf({bufferSize:1,refCount:!0}));this.comment=function(){return ho(f.comment$)};this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds();this.componentJudgementForNewContent$=this.componentId$.pipe(z(function(h){if(h&&f.createRestrictedResourcesComponentIds.includes(h))return{severity:"RESTRICTED",judgementReason:"None Specified"}}),zf({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new rn(void 0);
this.judgementForNewContent$=we([this.componentJudgementForNewContent$.pipe(Bf(void 0)),this.userDefinedJudgementForNewContent$]).pipe(z(function(h){var k=l(h);h=k.next().value;k=k.next().value;return k!=null?k:h}),zf({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return ho(f.judgementForNewContent$)}};L$b.prototype.setJudgementForNewContent=function(a){this.userDefinedJudgementForNewContent$.next(a)};
var M$b=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=l(b.uploads);for(var f=b.next();!f.done;f=b.next())f=f.value,f.state===2&&f.blobRef&&(f=di({attachment:f.blobRef}),d&&(f.contentJudgement={severity:d.severity,judgementReason:d.judgementReason}),e.push(f));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},N$b=function(a){var b=
M$b(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},bI=function(a,b,c,d){this.defaultCommentSource=a;this.issueFridge=b;this.activeSession=c;this.userPreferencesManager=d};bI.prototype.create=function(a){return new L$b(a,this.defaultCommentSource,this.issueFridge,this.activeSession,this.userPreferencesManager)};
bI.\u0275fac=function(a){return new (a||bI)(n(aI),n(EF),n(as),n(PG))};bI.\u0275prov=Fc({token:bI,factory:bI.\u0275fac,providedIn:"root"});var cI=function(){};cI.prototype.isSloStartTimeApplied=function(a){return!!a&&a.seconds>Date.now()/1E3};
var dI=function(a){return!!a&&!!a.targetTime&&a.targetTime.seconds!==0},O$b=function(a){return dI(a.assignmentBounds)||dI(a.responseBounds)||dI(a.closureBounds)},P$b=function(a,b){switch(b){case "ASSIGNMENT":return dI(a.assignmentBounds);case "RESPONSE":return dI(a.responseBounds);case "CLOSURE":return dI(a.closureBounds);default:return O$b(a)}},Q$b=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&oEa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&oEa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&oEa(b,c,a.closureBounds,"CLOSURE");return b.length>0?(b.sort(pEa),b[0]):c.length>0?(c.sort(pEa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};cI.\u0275fac=function(a){return new (a||cI)};cI.\u0275prov=Fc({token:cI,factory:cI.\u0275fac,providedIn:"root"});var R$b=function(a,b,c,d,e){var f=this;this.issueId=a;this.issueFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=ep(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issue$=this.issueFridge.watch(this.issueId);this.issueSnapshot$=this.issue$.pipe(z(function(h){return h==null?void 0:h.snapshot[0]}));
this.hasSloDefined$=this.issue$.pipe(z(function(h){var k;return h==null?void 0:(k=h.aggregatedData)==null?void 0:k.sloStatus}),z(function(h){return!!h&&O$b(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(z(function(h){return(h==null?void 0:h.type)!=null&&p$b.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(z(function(h){return!h&&!f.enableNonWtdmFieldPerTypeVisibility}));this.isSloStatusPrimary$=we([this.hasSloDefined$,this.isWtdmType$]).pipe(z(function(h){var k=l(h);h=k.next().value;
k=k.next().value;return h||!k}));this.isSeverityPrimary$=this.isWtdmType$.pipe(z(function(h){return!h}));this.isChangelistPrimary$=we([this.isWtdmType$,this.issueSnapshot$]).pipe(z(function(h){var k=l(h);h=k.next().value;k=k.next().value;return!h||(k==null?void 0:k.type)==="STORY"||(k==null?void 0:k.type)==="TASK"}));this.customFields$=this.issue$.pipe(z(function(h){var k;return(k=h==null?void 0:h.customFields)!=null?k:[]}));this.visibleFields$=this.issue$.pipe(z(function(h){var k;return(k=h==null?
void 0:h.visibleFields)!=null?k:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(z(function(h){return h.map(function(k){return k.customFieldId}).filter(Gi)}),z(function(h){return new Set(h)}),zf({refCount:!0,bufferSize:1}));this.visibleCustomFields$=we([this.visibleFieldIds$,this.customFields$]).pipe(z(function(h){h=l(h);var k=h.next().value;return h.next().value.filter(function(q){return k.has(q.customFieldId)})}),zf({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=we([this.visibleFieldIds$,
this.customFields$]).pipe(z(function(h){h=l(h);var k=h.next().value;return h.next().value.filter(function(q){return!k.has(q.customFieldId)})}),zf({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=we([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(z(function(h){var k=l(h);h=k.next().value;var q=k.next().value;var t=k.next().value;var w=k.next().value;k=k.next().value;return(h?0:4)+(q?0:1)+(!f.showSloStatus||
t?0:1)+(!f.showChangelists||w?0:2)+k.length}),zf({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(z(function(h){return h>0}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(z(function(h){return h===1?"Show 1 additional field":"Show "+h+" additional fields"}))},eI=function(a,b,c,d){this.issueFridge=a;this.constants=b;this.activeSession=c;this.sloStatusHelpersService=d};
eI.prototype.create=function(a){return new R$b(a,this.issueFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};eI.\u0275fac=function(a){return new (a||eI)(n(EF),n(wH),n(as),n(cI))};eI.\u0275prov=Fc({token:eI,factory:eI.\u0275fac,providedIn:"root"});var fI=function(a,b){Y.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=oi(this.issueToTrackingState,qEa);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")};V(fI,Y);fI.\u0275dir=Y.\u0275dir;
var gI=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),S$b(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Rr=function(a,b,c){a.getState(b).variations.add(c)},S$b=function(a,b,c,d){rF(a.clearcut,b,c);d=l(d);for(var e=d.next();!e.done;e=d.next())rF(a.clearcut,b,c+"-"+e.value)};fI.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
fI.\u0275fac=function(a){return new (a||fI)(n(CF),n(qF))};fI.\u0275prov=Fc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var hI=function(a,b,c){Y.call(this);var d=this;this.paramsService=b;this.issueFridge=c;this.componentIdOverride$=new rn(null);this.hotlistIdOverride$=new rn(null);this.issueIdOverride$=new rn(null);this.routeIssueId$=this.paramsService.issueId$.pipe(z(sEa),zf({refCount:!0,bufferSize:1}));this.routeComponentId$=ZH(this.paramsService,"componentId").pipe(sf());this.routeHotlistId$=ZH(this.paramsService,"hotlistId").pipe(sf());this.issueId$=we([this.issueIdOverride$,this.routeIssueId$]).pipe(z(function(e){var f=
l(e);e=f.next().value;f=f.next().value;return e||f}),z(sEa),sf(),zf({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(Cf(function(e){return e?d.issueFridge.watch(e):pe(void 0)}),z(function(e){return e==null?void 0:e.snapshot[0].componentId}));this.componentId$=we([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(z(function(e){var f=l(e);e=f.next().value;var h=f.next().value;f=f.next().value;return e||h||f}),z(rEa),sf(),zf({refCount:!0,
bufferSize:1}));this.hotlistId$=we([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(z(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e||f}),z(rEa),sf(),zf({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){d.componentIdOverride$.next(null);d.hotlistIdOverride$.next(null);d.issueIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(e){Kn("dimension4",e)}))};V(hI,Y);hI.\u0275dir=Y.\u0275dir;
hI.prototype.getComponentId=function(){return this.componentId$};hI.prototype.getIssueId=function(){return this.issueId$};hI.prototype.getHotlistId=function(){return this.hotlistId$};hI.\u0275fac=function(a){return new (a||hI)(n(BF),n(YH),n(EF))};hI.\u0275prov=Fc({token:hI,factory:hI.\u0275fac,providedIn:"root"});var iI=function(a,b,c,d,e,f){var h=this;this.issueFridge=a;this.teamFridge=b;this.componentFridge=c;this.eventsForIssue=d;this.activatedRoute=e;this.contextSensitiveRegistry=f;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(z(function(k){return k||void 0}));this.urlComment$=this.activatedRoute.fragment.pipe(z(gFa),zf({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(Cf(function(k){return k?h.issueFridge.watch(k):pe(void 0)}),zf({refCount:!0,bufferSize:1}));this.eventsJs$=this.id$.pipe(Cf(this.eventsForIssue.watch),
z(function(k){var q;return(q=k==null?void 0:k.events)!=null?q:[]}));this.starred$=this.issueJs$.pipe(z(xEa));this.lastViewedTimeMicros$=this.issueJs$.pipe(z(yEa));this.lastViewedTimeMicros$.pipe(z(function(k){return!k}));this.issueJs$.pipe(z(zEa));this.issueJs$.pipe(z(QEa));this.accessLimitLevel$=this.issueJs$.pipe(z(HEa));this.voted$=this.issueJs$.pipe(z(REa));this.status$=this.issueJs$.pipe(z(AEa));this.priority$=this.issueJs$.pipe(z(BEa));this.assignee$=this.issueJs$.pipe(z(CEa));this.issueJs$.pipe(z(DEa));
this.teamId$=this.issueJs$.pipe(z(EEa));this.team$=this.teamId$.pipe(Cf(this.teamFridge.watch),zf({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(z(GEa));this.collaboratorsUsers$=this.issueJs$.pipe(z(IEa));this.issueJs$.pipe(z(function(k){var q,t;return(t=(q=Zi(k))==null?void 0:q.severity)!=null?t:void 0}));this.type$=this.issueJs$.pipe(z(JEa));this.issueJs$.pipe(z(KEa));this.issueJs$.pipe(z(LEa));this.issueJs$.pipe(z(MEa));this.postmortems$=this.issueJs$.pipe(z(NEa));this.postmortems$.pipe(z(function(k){return k.length>
0}));this.issueJs$.pipe(z(OEa));this.effort$=this.issueJs$.pipe(z(PEa));this.isDeleted$=this.issueJs$.pipe(z(TEa));this.accessLevel$=this.issueJs$.pipe(z(VEa));this.modifiedTime$=this.issueJs$.pipe(z(WEa));this.retention$=this.issueJs$.pipe(z(YEa));this.retention=function(){return ho(h.retention$)};this.retentionState$=this.issueJs$.pipe(z(aFa));this.retentionState=function(){return ho(h.retentionState$)};this.canonicalIssueId$=this.issueJs$.pipe(z(ZEa));this.canonicalIssueId$.pipe(Cf(this.issueFridge.watch));
this.sloStatus$=this.issueJs$.pipe(z(function(k){var q;return k==null?void 0:(q=k.aggregatedData)==null?void 0:q.sloStatus}));this.sloId$=this.issueJs$.pipe(z(bFa));this.createdTimeMicros$=this.issueJs$.pipe(z(cFa));this.componentId$=this.issueJs$.pipe(z(FEa));this.component$=this.componentId$.pipe(Cf(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(z(function(k){var q;return(q=k==null?void 0:k.teamSuggestions)!=null?q:[]}));this.effortSpec$=this.component$.pipe(z(dFa));this.isEffortEnabled$=
this.component$.pipe(z(eFa));this.component$.pipe(z(fFa));this.thinking$=this.issueFridge.thinking$};iI.\u0275fac=function(a){return new (a||iI)(n(EF),n(JG),n(gB),n(HE),n(qn),n(hI))};iI.\u0275prov=Fc({token:iI,factory:iI.\u0275fac,providedIn:"root"});var T$b={admin:!1,writer:!0,appender:!0,reader:!0},kI=function(a,b,c,d,e,f){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=f;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+vo(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(Cf(function(k){return k?h.permissionsFridge.watchOne("issues/"+
k):pe(void 0)}),z(function(k){return k!=null?k:T$b}),Bf(T$b),zf({bufferSize:1,refCount:!1}));this.hasAclToView$=this.issuePermissions$.pipe(z(function(k){return!!k.reader}));this.hasAclToEdit$=this.issuePermissions$.pipe(z(function(k){return!!k.writer}));this.hasAclToEdit=function(){return!!ho(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(z(function(k){return!!k.appender}));this.hasAclToComment=function(){return!!ho(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(z(function(k){return!!k.admin}));
this.hasAclToAdmin=function(){return!!ho(h.hasAclToAdmin$)};this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(z(function(k){return k.some(function(q){return jI(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!ho(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(z(function(k){return k.some(function(q){return jI(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!ho(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=
this.hasAclToEdit$;we([this.hasAclToEdit$,this.isCurrentUserCCd$]).pipe(z(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k?q?"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(sf(),Cf(function(k){return k?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(k)):pe(!1)}),lf(function(k){if(k.status===403)return pe(!0);h.errorHandler.errorHandler(null,
k);return pe(!1)}),zf({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!ho(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=we([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(z(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(sf(),Cf(function(k){return k?KB(h.userAccess,"admin","components/"+k):pe(!1)}),lf(function(k){h.errorHandler.errorHandler(null,
k);return pe(!1)}),zf({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return ho(h.accessLevel$)};this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.isWithinExternalComponent$=this.accessLevel$.pipe(z(function(k){return!(!k||k==="INTERNAL")}));this.audience$=this.isWithinExternalComponent$.pipe(z(function(k){return k?"EXTERNAL":"INTERNAL"}));this.audience=function(){return ho(h.audience$)};this.canChangeCommentRetention$=
this.hasAclToEdit$;this.canChangeCommentRetention=function(){return ho(h.canChangeCommentRetention$)}},jI=function(a,b){return(b==null?void 0:b.search(a.currentUserEmailPattern))===0},U$b=function(a,b){return Xi(b)&&b.commentDeletionStatus==="DELETED"?a.hasAclToAdmin()||vi(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},V$b=function(a,b){return Xi(b)&&b.commentDeletionStatus==="ACTIVE"?yi(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():
!1};kI.prototype.canEditComment$=function(a){var b=this;return we([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(z(function(c){var d=l(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&&yi(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
kI.prototype.canDeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"ACTIVE"===a.status?jI(this,b)?pe(!0):this.hasAclToAdmin$:pe(!1):pe(!1)};kI.prototype.canUndeleteAttachment$=function(a,b){return a?(a=a.entityStatus)&&"DELETED"===a.status?jI(this,b)?pe(!0):this.hasAclToAdmin$:pe(!1):pe(!1)};kI.\u0275fac=function(a){return new (a||kI)(n(iI),n(iG),n(as),n(VA),n(eD),n(IB))};kI.\u0275prov=Fc({token:kI,factory:kI.\u0275fac,providedIn:"root"});var W$b={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},X$b={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},Y$b={type:"START",displayText:"Start work",description:"Change issue status to '"+ti.ACCEPTED+"'"},Z$b={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+ti.FIXED+"'"},$$b={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+ti.VERIFIED+"'"},aac={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+ti.ASSIGNED+"'"};var cac=function(a,b,c,d){var e=this;this.issueId=a;this.activeSession=b;this.issueFridge=c;this.componentTemplatesFridge=d;this.defaultAssigneeQuickActionEnabled=this.activeSession.isInternalSession();this.issue$=this.issueFridge.watch(this.issueId).pipe(zf({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(z(function(f){return f==null?void 0:f.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(z(function(f){return(f==null?void 0:f.assigneeUser)&&yi(f.assigneeUser)}),z(Ei));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(z(function(f){return f==null?void 0:f.componentId}),sf(),Cf(function(f){return f?e.componentTemplatesFridge.defaultTemplate$(String(f)):pe(void 0)}),z(function(f){return f&&yi(f.snapshot.assigneeUser)}),zf({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return ho(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=we([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(z(function(f){var h=l(f);
f=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&f!==h?X$b:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(z(function(f){return f&&bac(e,f)}))},bac=function(a,b){var c=a.activeSession.getUserEmail();a=yi(b.assigneeUser)===c;c=yi(b.verifierUser)===c;b=b.status;if(c&&b==="FIXED")return $$b;if(a)switch(b){case "ASSIGNED":return Y$b;case "ACCEPTED":return Z$b;default:return aac}switch(b){case "NEW":return W$b;case "ASSIGNED":return W$b;case "ACCEPTED":return W$b;
default:return aac}},lI=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};lI.prototype.create=function(a){return new cac(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};lI.\u0275fac=function(a){return new (a||lI)(n(as),n(EF),n(SD))};lI.\u0275prov=Fc({token:lI,factory:lI.\u0275fac,providedIn:"root"});var mI=function(){this.transform=hFa};mI.\u0275fac=function(a){return new (a||mI)};mI.\u0275pipe=fd({name:"toNewEmailPreference",type:mI,pure:!0});var nI=function(){this.transform=iFa};nI.\u0275fac=function(a){return new (a||nI)};nI.\u0275pipe=fd({name:"enumToHuman",type:nI,pure:!0});var oI=function(){this.transform=jFa};oI.\u0275fac=function(a){return new (a||oI)};oI.\u0275pipe=fd({name:"arrayToHuman",type:oI,pure:!0});var pI=function(){};pI.prototype.transform=function(a,b){return Mh(kFa(a,b)).toString()};
pI.\u0275fac=function(a){return new (a||pI)};pI.\u0275pipe=fd({name:"boldPrefixMatches",type:pI,pure:!0});var qI=function(){this.transform=lFa};qI.\u0275fac=function(a){return new (a||qI)};qI.\u0275pipe=fd({name:"yesNo",type:qI,pure:!0});var rI=function(){this.transform=mFa};rI.\u0275fac=function(a){return new (a||rI)};rI.\u0275pipe=fd({name:"teamPath",type:rI,pure:!0});var sI=function(){this.transform=nFa};sI.\u0275fac=function(a){return new (a||sI)};
sI.\u0275pipe=fd({name:"humanFileSize",type:sI,pure:!0});var vI=function(){this.transform=oFa};vI.\u0275fac=function(a){return new (a||vI)};vI.\u0275pipe=fd({name:"omitObfuscatedEmail",type:vI,pure:!0});var wI=function(){this.transform=wo};wI.\u0275fac=function(a){return new (a||wI)};wI.\u0275pipe=fd({name:"toString",type:wI,pure:!0});var xI=function(){this.transform=pFa};xI.\u0275fac=function(a){return new (a||xI)};xI.\u0275pipe=fd({name:"csv",type:xI,pure:!0});
var dac=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),yI=function(){};yI.prototype.transform=function(a){return a==null?void 0:a.split("").reverse().map(function(b){var c;return(c=dac.get(b))!=null?c:b}).join("")};yI.\u0275fac=function(a){return new (a||yI)};yI.\u0275pipe=fd({name:"reverse",type:yI,pure:!0});var zI=function(){};zI.prototype.transform=function(a,b,c){a=b.indexOf(a);if(a<0)return!0;c=a+c;return!(c>=0&&c<b.length)};
zI.\u0275fac=function(a){return new (a||zI)};zI.\u0275pipe=fd({name:"isOutOfBounds",type:zI,pure:!0});var AI=function(){};AI.\u0275fac=function(a){return new (a||AI)};AI.\u0275mod=cd({type:AI});AI.\u0275inj=Gc({});var eac=function(){this.propertiesBeingSaved=new TG};eac.prototype.get=function(a){return this.propertiesBeingSaved.has(wo(a))};var BI=function(a,b){a.propertiesBeingSaved.add(wo(b))},CI=function(a,b){a.propertiesBeingSaved.delete(wo(b))};eac.prototype.properties=function(){return[].concat(r(this.propertiesBeingSaved))};var qFa={QA:{157:[{emailAddress:"security@chromium.org"}]},PROD:{157:[{emailAddress:"security@chromium.org"}]}};var DI=function(){};DI.prototype.transform=function(a){return xo(a)};DI.\u0275fac=function(a){return new (a||DI)};DI.\u0275pipe=fd({name:"appendDomain",type:DI,pure:!0});var vFa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var EI=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa){var Ma=this;this.activeSession=a;this.butterBar=b;this.issueInteractionsTracking=c;this.issueApi=d;this.componentFridge=e;this.permissionsFridge=f;this.eventsForIssueFridge=h;this.statusMessages=k;this.errorHandler=q;this.confirmationDialogService=t;this.principalTypes=w;this.issuePermissionService=y;this.accessPolicy=D;this.issueTypeDialog=G;this.logger=I;this.issueFridge=N;this.confirmNoAccessService=S;this.issueService=
W;this.attachmentsMember=Z;this.userPreferencesManager=fa;this.issueComments=ma;this.draftStore=ua;this.attachmentApi=Ua;this.issueFieldsFactory=ha;this.issueQuickActionsFactory=xa;this.issueCommentDraftFactory=sa;this.isSavingMap=new Map;this.savingState=oi(this.isSavingMap,function(){return new eac});this.issueFieldsMap=new Map;this.issueFields=oi(this.issueFieldsMap,function(Aa){return Ma.issueFieldsFactory.create(Aa)});this.issueQuickActionsMap=new Map;this.issueQuickActions=oi(this.issueQuickActionsMap,
function(Aa){return Ma.issueQuickActionsFactory.create(Aa)});this.editableIssueMap=new Map;this.editableIssue$=oi(this.editableIssueMap,function(Aa){return fac(Ma,Aa)});this.editableIssue=function(Aa){return Ma.editableIssue$(Aa).value};this.subscriptions=new Map;this.getSubscription=oi(this.subscriptions,function(){return new Yd});this.issueCommentDraftMap=new Map;this.issueCommentDraft=oi(this.issueCommentDraftMap,function(Aa){return Ma.issueCommentDraftFactory.create(Aa)});this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY=
{saveCommentDraft:this.saveCommentDraft.bind(this)}};EI.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()};
EI.prototype.updateComponent=function(a,b,c,d){var e=this,f,h,k,q,t,w;return ge(function(y){if(y.nextAddress==1)return f=e.editableIssue(a),f.componentId=b,(h=FI(e,f))&&h.actions&&h.actions.length?ie(y,e.getRetentionState(a),2):y.return();k=y.yieldResult;GI(e,h);q={issueId:a,componentId:b};t=Object.assign({},q,{setLimitViewTrusted:d});w=c?e.issueApi.moveIssueExternal(a,t):e.issueApi.moveIssue(a,q);return y.return(HI(e,w,h,{originalRetentionState:k}))})};
var Ccb=function(a,b,c){var d;return ge(function(e){if(!c)return a.butterBar.showWarning("Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return((d=a.updateIssue(b))!=null?d:Promise.resolve())})},gac=function(a,b,c,d){var e,f,h,k,q,t;return ge(function(w){switch(w.nextAddress){case 1:e=wra(c);if(!e)return a.logger.warn("unknown issue type: "+c),w.return();f=a.editableIssue(b);if(e!=="VULNERABILITY"&&e!=="PRIVACY_ISSUE"){w.jumpTo(2);break}return ie(w,g$b(a.issueTypeDialog,
e),3);case 3:if(h=w.yieldResult,!h)return w.return();case 2:if(!d||e!=="VULNERABILITY"){w.jumpTo(4);break}k=rFa(a.activeSession.getEnvironmentType(),d);if(k===void 0){w.jumpTo(4);break}he(w,6);return ie(w,a.issueApi.markAsVulnerability(b,k),8);case 8:a.permissionsFridge.poke("issues/"+b);a.issueFridge.poke(b);Zt(w,7);break;case 6:q=le(w),gD(a.errorHandler,q);case 7:return w.return(Promise.resolve());case 4:return f.setType(e),w.return((t=a.updateIssue(b))!=null?t:Promise.resolve())}})},Ecb=function(a,
b,c){var d,e,f;return ge(function(h){d=ri(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},iac=function(a,b,c){var d,e,f;return ge(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=FI(a,d);return e?(f=e.actions.find(function(k){return k.fieldName==="duplicateOfIssueId"&&!dq(k.value||"")}))&&f.value?h.return(hac(a,b,{actionIssueId:f.value,implicitAppenders:d.cc,
implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},jac=function(a,b,c){var d,e;return ge(function(f){d=a.editableIssue(b);d.setStatus(c);return f.return((e=a.updateIssue(b))!=null?e:Promise.resolve())})},kac=function(a,b,c){var d,e,f;return ge(function(h){if(!c)return h.return();d=a.editableIssue(b);var k=e=a.issueQuickActions(b),q=d;switch(c.type){case "TAKE":q.status==="NEW"&&(q.status="ASSIGNED");q.assignee=k.activeSession.getUserEmail();break;case "DEFAULT_ASSIGNEE":if(k=
k.defaultAssigneeForComponent())q.status==="NEW"&&(q.status="ASSIGNED"),q.assignee=k;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:Bc(c.type)}return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},Dbb=function(a,b,c){var d,e;return ge(function(f){d=a.editableIssue(b);var h;d.effortEstimate=(h=c==null?void 0:c.estimate)!=null?h:null;return f.return((e=
a.updateIssue(b))!=null?e:Promise.resolve())})},mcb=function(a,b,c){var d,e,f;return ge(function(h){d=a.editableIssue(b);e=qra(c,!1);d.foundInVersion=e;return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},qcb=function(a,b,c){var d,e,f;return ge(function(h){d=a.editableIssue(b);e=qra(c,!1);d.verifiedInVersion=e;return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},ocb=function(a,b,c){var d,e,f;return ge(function(h){d=a.editableIssue(b);e=qra(c,!1);d.targetedToVersion=e;return h.return((f=
a.updateIssue(b))!=null?f:Promise.resolve())})},scb=function(a,b,c){var d,e;return ge(function(f){d=a.editableIssue(b);d.setInProd(c);return f.return((e=a.updateIssue(b))!=null?e:Promise.resolve())})},fcb=function(a,b,c){var d,e,f;return ge(function(h){d=xra(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})};
EI.prototype.updateSloStartTime=function(a,b){var c=this,d,e;return ge(function(f){d=c.editableIssue(a);d.sloStartTime=b;return f.return((e=c.updateIssue(a))!=null?e:Promise.resolve())})};EI.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return ge(function(f){d=c.editableIssue(a);d.setSloEndTime(b);return f.return((e=c.updateIssue(a))!=null?e:Promise.resolve())})};
var icb=function(a,b,c){var d,e,f;ge(function(h){d=a.editableIssue(b);d.changelist=(e=c)!=null?e:[];return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},jcb=function(a,b,c){var d,e,f;ge(function(h){d=a.editableIssue(b);d.gerritChanges=(e=c)!=null?e:[];return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},zcb=function(a,b,c,d){var e,f;return ge(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return((f=a.updateIssue(b))!=null?f:Promise.resolve())})},Icb=function(a,
b,c){var d,e,f,h;return ge(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?ie(k,lac(a,b,"verifier",[c]),5):ie(k,QH(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setVerifier(c),k.return((h=a.updateIssue(b))!=null?h:Promise.resolve())}})},
or=function(a,b,c){var d,e,f,h;return ge(function(k){switch(k.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?ie(k,lac(a,b,"assignee",[c]),5):ie(k,QH(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=k.yieldResult;if(!e)return k.return();k.jumpTo(3);break;case 5:if(f=k.yieldResult,!f)return k.return();case 3:return d.setAssignee(c),k.return((h=a.updateIssue(b))!=
null?h:Promise.resolve())}})},mac=function(a,b,c){var d,e,f,h,k,q;return ge(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return ie(t,lac(a,b,"CC",c),5);e=ksa(d.cc,c);f=e.added;return ie(t,QH(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);break;case 5:if(k=t.yieldResult,!k)return t.return();case 3:return d.cc=
c,t.return((q=a.updateIssue(b))!=null?q:Promise.resolve())}})},nac=function(a,b,c){var d,e,f,h,k,q;return ge(function(t){switch(t.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return ie(t,lac(a,b,"collaborators",c),5);e=ksa(d.collaborators,c);f=e.added;return ie(t,QH(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:f,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=t.yieldResult;if(!h)return t.return();t.jumpTo(3);
break;case 5:if(k=t.yieldResult,!k)return t.return();case 3:return d.setCollaborators(c),t.return((q=a.updateIssue(b))!=null?q:Promise.resolve())}})};EI.prototype.unarchive=function(a){var b=this,c,d;return ge(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return((d=b.updateIssue(a))!=null?d:Promise.resolve())})};
EI.prototype.updateIssueRetention=function(a,b){var c=this,d,e,f;return ge(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),BI(e,"retention"),he(h,2,3),ie(h,c.issueApi.updateIssueRetention(a,d),5);case 5:return ie(h,c.issueFridge.poke(a),6);case 6:Xp(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:je(h);CI(e,"retention");ke(h,0);break;case 2:f=le(h),gD(c.errorHandler,f),h.jumpTo(3)}})};
var oac=function(a,b){var c,d,e;return ge(function(f){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=FI(a,c);if(!d||!d.actions)return f.jumpTo(0);GI(a,d);e=a.issueService.delete(b,"ABUSE");return ie(f,HI(a,e,d),0)})},swb=function(a,b){var c,d,e;return ge(function(f){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=FI(a,c);if(!d||!d.actions)return f.jumpTo(0);GI(a,d);e=a.issueService.undelete(b);return ie(f,HI(a,e,d),0)})};
EI.prototype.updateSubscription=function(a,b){var c=this,d,e,f,h,k;return ge(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),ie(q,se(c.issueFridge.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();he(q,3,4);BI(d,"subscribe");return ie(q,c.issueFridge.setNotificationSubscription(a,b),4);case 4:je(q);CI(d,"subscribe");ke(q,0);break;case 3:k=le(q),gD(c.errorHandler,k),q.jumpTo(4)}})};
var pac=function(a,b,c){var d,e;ge(function(f){switch(f.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return f.return();he(f,2,3);Xp(a.butterBar,"Restoring attachment...");BI(d,"undeleteAttachment");return ie(f,a.attachmentsMember.undelete(b.toString(),c),5);case 5:Xp(a.butterBar,"Attachment restored."),a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:je(f);CI(d,"undeleteAttachment");ke(f,0);break;case 2:e=le(f),gD(a.errorHandler,e),f.jumpTo(3)}})},
qac=function(a,b,c,d){var e,f;return ge(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();he(h,2,3);Xp(a.butterBar,"Deleting attachment...");BI(e,"deleteAttachment");return ie(h,a.attachmentsMember.delete(b,c,d),5);case 5:Xp(a.butterBar,"Attachment deleted."),a.issueFridge.poke(b),a.eventsForIssueFridge.poke(b);case 3:je(h);CI(e,"deleteAttachment");ke(h,0);break;case 2:f=le(h),gD(a.errorHandler,f),h.jumpTo(3)}})};
EI.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),f=M$b(d);if(!f.commentText&&!f.attachmentsWithJudgements.length)return Promise.resolve();var h=N$b(d);GI(this,h);return HI(this,function(){return ge(function(k){switch(k.nextAddress){case 1:return ie(k,rac(c,a),2);case 2:if(!f.commentText){k.jumpTo(3);break}return ie(k,c.issueComments.create(String(a),f.commentText,f.formattingMode,f.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(oo(a));
case 3:if(!f.attachmentsWithJudgements.length){k.jumpTo(5);break}var q=c.attachmentApi;var t=f.attachmentsWithJudgements,w=new AH;w.setIssueId(String(a));t!==void 0&&(t=t.map(jEa),Dk(w,3,t));q=q.executor.post({url:"action/issues/"+a+"/attachments",body:w,responseConstructor:CH}).then(lEa);return ie(k,q,6);case 6:e.reset();case 5:return d.setJudgementForNewContent(),k.return(c.issueFridge.poke(a))}})}(),h)};
var rac=function(a,b){var c,d;return ge(function(e){if(!QG(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();var f=c=a.editableIssue(b),h=[].concat(r(c.cc),[a.activeSession.getUserEmail()]);f.cc=h;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return ie(e,a.issueApi.updateIssue(b,d),0)})},fac=function(a,b){var c=a.issueFridge.watch(b).pipe(z(function(e){var f=
new G9b;if(e){var h=sac(a,b,di(La(e.snapshot)));f.currentUserEmail=a.activeSession.getUserEmail();f.setData(h,b,e.customFields)}return f})),d=new rn(new G9b);a.getSubscription(b).add(c.subscribe(d));return d};
EI.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=FI(this,b);if(!c)return null;for(var d=!1,e=[],f=[],h=a,k=l(c.actions),q=k.next();!q.done;q=k.next()){q=q.value;var t=q.value||"";if(q.actionType!=="REMOVE")switch(q.fieldName){case "ccs":e=t.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":f=t.split(",").filter(Boolean);break;case "duplicateOfIssueId":dq(t)||(e=b.cc,h=String(t),d=!0)}}return hac(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:f,
isDeduping:d,isRemovingSelfFromCc:c.actions.length===1&&c.actions[0].fieldName==="ccs"&&c.actions[0].actionType==="REMOVE"&&this.activeSession.getUserEmail()===c.actions[0].value,requestData:c})};
var hac=function(a,b,c){var d=c.actionIssueId;var e=c.implicitAppenders;var f=c.implicitEditors;var h=c.isDeduping;var k=c.isRemovingSelfFromCc;var q=c.requestData;var t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua;return ge(function(ha){switch(ha.nextAddress){case 1:return ie(ha,Promise.all([tac(a,e,"appender",d),tac(a,f,"writer",d)]),2);case 2:t=ha.yieldResult;w=l(t);y=w.next().value;D=w.next().value;G=y;I=D;N=G.noAccessEmails||[];S=I.noAccessEmails||[];W=[].concat(r(N),r(S));if(W.length===0)return ha.return(uac(a,
q,h,k));he(ha,3);return ie(ha,Promise.all(W.map(function(xa){return vac(a,xa)})),5);case 5:return Z=ha.yieldResult,fa=$Ba({userPrincipals:Z,newEditors:S,newImplicitUsers:W,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),ma=fa.title,ua=fa.content,ie(ha,f$b(a.confirmationDialogService,{title:ma,content:Lh(ua),confirmButtonText:"Allow"}),6);case 6:if(Ua=ha.yieldResult)return ha.return(uac(a,q,h,k));a.permissionsFridge.poke("issues/"+b);a.issueFridge.poke(b);Zt(ha,0);
break;case 3:le(ha),a.butterBar.showWarning("Could not determine email type."),me(ha)}})},uac=function(a,b,c,d){GI(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 HI(a,e,b)},tac=function(a,b,c,d,e,f){e=e===void 0?!1:e;f=f===void 0?null:f;if(e&&!f)throw Error("bd");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?f:d;e={noAccessEmails:[]};
return b.length!==0&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(xo),c,h,d):Promise.resolve(e)},sac=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&ho(a);if(!a||!d)return c;d=d.properties();d=l(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=ii(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=M9b.get(b))==null||e(c,a));return c},FI=function(a,b){var c=K9b(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(AFa(e)))});return c.actions.length?c:null},GI=function(a,b){var c=String(b.issueId);Xp(a.butterBar,"Saving...",0);var d=b.actions.map(function(e){return e.fieldName}).join(",");
gI(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=l(b.actions);for(c=b.next();!c.done;c=b.next())BI(a,AFa(c.value))},HI=function(a,b,c,d){var e,f;return ge(function(h){switch(h.nextAddress){case 1:return he(h,2),ie(h,b,4);case 4:return e=h.yieldResult,GF(a.issueFridge,[c.issueId],{eagerUpdate:!1,userActivityType:"EDIT"}).then(function(){var k=String(c.issueId);a.issueFridge.poke(k);a.eventsForIssueFridge.poke(k)}),ie(h,wac(a,c,e,d),5);case 5:Zt(h,0);break;case 2:f=le(h),xac(a,c,f),
me(h)}})},wac=function(a,b,c,d){var e=(d===void 0?{}:d).originalRetentionState;var f,h,k,q;return ge(function(t){f=a.savingState(String(b.issueId));h=l(b.actions);for(k=h.next();!k.done;k=h.next())q=k.value,CI(f,AFa(q));return c?ie(t,yac(a,b,e),0):t.jumpTo(0)})},xac=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=l(b.actions);for(var f=b.next();!f.done;f=b.next())CI(e,AFa(f.value));a.permissionsFridge.poke("issues/"+d);a.issueFridge.poke(d);Ym(c)&&c.status===403&&Zm(c)?fD(a.errorHandler,
Zm(c)):gD(a.errorHandler,c)},yac=function(a,b,c){var d,e,f,h,k,q,t,w,y,D,G;return ge(function(I){switch(I.nextAddress){case 1:return ie(I,a.getEffortSpec(String(b.issueId)),2);case 2:d=I.yieldResult;e=a.editableIssue(String(b.issueId));k=u$b(a.statusMessages,b,e.customFieldMap,(h=(f=d)==null?void 0:f.name)!=null?h:"");if(!c){I.jumpTo(3);break}return ie(I,Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),4);case 4:q=I.yieldResult;t=l(q);w=t.next().value;y=t.next().value;
D=w;G=y;if(G!=="INDEFINITE"&&c&&D){var N=c.retentionPeriod?Qi(Math.floor(c.retentionPeriod.seconds*1E3/864E5)):"indefinite";var S=D.retentionPeriod?Qi(Math.floor(D.retentionPeriod.seconds*1E3/864E5)):"indefinite";N=N===S?"":" Issue retention period changed from "+N+" to "+S+"."}else N="";k+=N;case 3:Xp(a.butterBar,k),me(I)}})},lac=function(a,b,c,d){return ge(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(r(f.values())).flat())).has(h)?(f.set(c,d),h=!(new Set([].concat(r(f.values())).flat())).has(h)):h=!1;e=h?ie(e,zac(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},zac=function(a,b,c,d){var e;return ge(function(f){if(f.nextAddress==1)return ie(f,tac(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=f.yieldResult;return e.noAccessEmails&&e.noAccessEmails.length!==
0?f.return(f$b(a.confirmationDialogService,{title:"Removing yourself from "+d+" may revoke your access to the issue",content:Lh("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)})};EI.prototype.getRetentionState=function(a){return se(this.issueFridge.watch(a).pipe(z(aFa)))};
EI.prototype.getRetention=function(a){return se(this.issueFridge.watch(a).pipe(z(YEa)))};EI.prototype.getEffortSpec=function(a){return se(this.issueFridge.watch(a).pipe(z(FEa),Cf(this.componentFridge.watch),z(dFa)))};var vac=function(a,b){return ge(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(kG(a.principalTypes,b,!0))})};
EI.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=l(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};EI.\u0275fac=function(a){return new (a||EI)(n(as),n(cD),n(fI),n(jC),n(gB),n(iG),n(HE),n(zH),n(eD),n(rH),n(jG),n(kI),n(VA),n(sH),n(dD),n(EF),n(PH),n(XE),n(FH),n(PG),n(NH),n(aH),n(EH),n(eI),n(lI),n(bI))};
EI.\u0275prov=Fc({token:EI,factory:EI.\u0275fac,providedIn:"root"});var II=function(){this.text="..."};II.\u0275fac=function(a){return new (a||II)};
II.\u0275cmp=p({type:II,selectors:[["ai-spinner"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("large",b.large)},inputs:{large:"large",text:"text"},decls:2,vars:1,template:function(a,b){a&1&&(F(0,"label"),Q(1),H());a&2&&(A(),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 Aac=new ld("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var JI=function(a,b){this.options=a;a.disableGmatStyle||TH(b,"gmat-mdc-menu")};JI.\u0275fac=function(a){return new (a||JI)(B(Aac),B(hx))};JI.\u0275dir=ed({type:JI,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[Dg([{provide:hx,useClass:SH}])]});var Bac=new ld("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var KI=function(a,b){a.disableGmatStyle||TH(b,"gmat-mdc-tooltip")};KI.\u0275fac=function(a){return new (a||KI)(B(Bac),B(hx))};KI.\u0275dir=ed({type:KI,selectors:[["","matTooltip",""]],features:[Dg([{provide:hx,useClass:SH}])]});var Cac=new ld("MAT_MENU_PANEL");var Dac=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],LI=function(a,b,c,d,e){this._elementRef=a;this._document=b;this._focusMonitor=c;this._parentMenu=d;this._changeDetectorRef=e;this.role="menuitem";this.disableRipple=this.disabled=!1;this._hovered=new yf;this._focused=new yf;this._triggersSubmenu=this._highlighted=!1;var f;d==null||(f=d.addItem)==null||f.call(d,this)};g=LI.prototype;
g.focus=function(a,b){this._focusMonitor&&a?Tv(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;var b;(b=this._changeDetectorRef)==null||b.markForCheck()};g._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;(b=this._changeDetectorRef)==null||b.markForCheck()};g._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};LI.\u0275fac=function(a){return new (a||LI)(B(Rd),B(vh),B(Sv),B(Cac,8),B(Wg))};
LI.\u0275cmp=p({type:LI,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(a,b){a&1&&O("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(Nf("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),Wf("mat-mdc-menu-item-highlighted",b._highlighted)("mat-mdc-menu-item-submenu-trigger",b._triggersSubmenu))},inputs:{role:"role",
disabled:[2,"disabled","disabled",Tg],disableRipple:[2,"disableRipple","disableRipple",Tg]},exportAs:["matMenuItem"],standalone:!0,features:[Mf,Fg],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&&(ig(Dac),jg(0),F(1,"span",0),jg(2,1),H(),J(3,"div",1),C(4,BFa,2,0,":svg:svg",2));a&2&&(A(3),E("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),A(),$f(b._triggersSubmenu?4:-1))},dependencies:[vx],encapsulation:2,changeDetection:0});var Eac=Eh("transformMenu",[Hh("void",Gh({opacity:0,transform:"scale(0.8)"})),Jh("void => enter",Fh("120ms cubic-bezier(0, 0, 0.2, 1)",Gh({opacity:1,transform:"scale(1)"}))),Jh("* => void",Fh("100ms 25ms linear",Gh({opacity:0})))]),Fac=Eh("fadeInItems",[Hh("showing",Gh({opacity:1})),Jh("void => *",[Gh({opacity:0}),Fh("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Gac=new ld("MatMenuContent"),MI=function(a,b,c,d,e,f,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=f;this._changeDetectorRef=h;this._attached=new yf};
MI.prototype.attach=function(a){a=a===void 0?{}:a;this._portal||(this._portal=new Bw(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new Dw(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var b=this._template.elementRef.nativeElement;b.parentNode.insertBefore(this._outlet.outletElement,b);var c;(c=this._changeDetectorRef)==null||c.markForCheck();this._portal.attach(this._outlet,a);this._attached.next()};
MI.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};MI.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};MI.\u0275fac=function(a){return new (a||MI)(B(og),B(Nu),B(hv),B(Ne),B(pg),B(vh),B(Wg))};MI.\u0275dir=ed({type:MI,selectors:[["ng-template","matMenuContent",""]],standalone:!0,features:[Dg([{provide:Gac,useExisting:MI}])]});var Hac=0,Iac=new ld("mat-menu-default-options",{providedIn:"root",factory:DFa}),NI=function(a,b,c,d){this._elementRef=a;this._changeDetectorRef=d;this._elevationPrefix="mat-elevation-z";this._baseElevation=null;this._directDescendantItems=new qg;this._classList={};this._panelAnimationState="void";this._animationDone=new yf;this.close=this.closed=new bv;this.panelId="mat-menu-panel-"+Hac++;this._injector=Xc(Ne);this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=
c.yPosition;this.backdropClass=c.backdropClass;this.overlapTrigger=c.overlapTrigger;this.hasBackdrop=c.hasBackdrop};g=NI.prototype;g.ngOnInit=function(){this.setPositionClasses()};
g.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=uw(hXb(rw(new xw(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(Bf(this._directDescendantItems),Cf(function(b){return Ge.apply(null,r(b.map(function(c){return c._focused})))})).subscribe(function(b){return vw(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(Bf(this._directDescendantItems),Cf(function(a){return Ge.apply(null,r(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:oh(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||kXb(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var Jac=function(a,b){b=b===void 0?"program":b;var c;(c=a._firstItemFocusRef)==null||c.destroy();a._firstItemFocusRef=Pe(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;kXb(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}},{injector:a._injector})};g=NI.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));var d;(d=this._changeDetectorRef)==null||d.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(Bf(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));ug(a._directDescendantItems)})};
da.Object.defineProperties(NI.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}}});NI.\u0275fac=function(a){return new (a||NI)(B(Rd),B(Me),B(Iac),B(Wg))};
NI.\u0275cmp=p({type:NI,selectors:[["mat-menu"]],contentQueries:function(a,b,c){a&1&&(sg(c,Gac,5),sg(c,LI,5),sg(c,LI,4));if(a&2){var d;vg(d=wg())&&(b.lazyContent=d.first);vg(d=wg())&&(b._allItems=d);vg(d=wg())&&(b.items=d)}},viewQuery:function(a,b){a&1&&rg(og,5);if(a&2){var c;vg(c=wg())&&(b.templateRef=c.first)}},hostVars:3,hostBindings:function(a){a&2&&Nf("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",Tg],hasBackdrop:[2,"hasBackdrop","hasBackdrop",function(a){return a==null?null:Tg(a)}],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[Dg([{provide:Cac,useExisting:NI}]),Mf,Fg],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&&(ig(),C(0,CFa,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);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-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);background-color:var(--mat-menu-container-color);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}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,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}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.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);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[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)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.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)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-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:[Eac,Fac]},changeDetection:0});var Kac=new ld("mat-menu-scroll-strategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.reposition()}}}),Lac={provide:Kac,deps:[hx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Mac=kh({passive:!0}),OI=function(a,b,c,d,e,f,h,k,q){var t=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=f;this._dir=h;this._focusMonitor=k;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=
this._hoverSubscription=this._closingActionsSubscription=Yd.EMPTY;this._changeDetectorRef=Xc(Wg);this._handleTouchStart=function(w){moa(w)||(t._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new bv;this.onMenuClose=this.menuClosed=new bv;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof NI?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,Mac)};OI.prototype.ngAfterContentInit=function(){this._handleHover()};
OI.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Mac);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var PI=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};g=OI.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?!PI(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 NI&&(b._startAnimation(),b._directDescendantItems.changes.pipe(Df(b.close)).subscribe(function(){xXb(BXb(e,
!1));BXb(e,!0)}))}};g.closeMenu=function(){var a;(a=this.menu)==null||a.close.emit()};g.focus=function(a,b){this._focusMonitor&&a?Tv(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&&PI(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof NI)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(He(function(e){return e.toState==="void"}),qf(),Df(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=PI(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);Jac(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(),PI(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 Zw({positionStrategy:CXb(zXb(BXb(gx(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})};
g._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e=d.connectionPair.overlayX==="start"?"after":"before",f=d.connectionPair.overlayY==="top"?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,f)}):a.setPositionClasses(e,f)})};
g._setPosition=function(a,b){var c=l(a.xPosition==="before"?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=l(a.yPosition==="above"?["bottom","top"]:["top","bottom"]),f=e.next().value;e=e.next().value;var h=l([f,e]),k=h.next().value;h=h.next().value;var q=l([d,c]),t=q.next().value;q=q.next().value;var w=0;PI(this)?(q=d=a.xPosition==="before"?"start":"end",c=t=d==="end"?"start":"end",this._parentMaterialMenu&&(this._parentInnerPadding==null&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),w=f==="bottom"?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(k=f==="top"?"bottom":"top",h=e==="top"?"bottom":"top");bx(b,[{originX:d,originY:k,overlayX:t,overlayY:f,offsetY:w},{originX:c,originY:k,overlayX:q,overlayY:f,offsetY:w},{originX:d,originY:h,overlayX:t,overlayY:e,offsetY:-w},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-w}])};
g._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:pe(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(He(function(f){return f!==a._menuItemInstance}),He(function(){return a._menuOpen})):pe();return Ge(b,d,e,c)};g._handleMousedown=function(a){loa(a)||(this._openedBy=a.button===0?"mouse":void 0,PI(this)&&a.preventDefault())};
g._handleKeydown=function(a){a=a.keyCode;if(a===13||a===32)this._openedBy="keyboard";PI(this)&&(a===39&&this.dir==="ltr"||a===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())};g._handleClick=function(a){PI(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
g._handleHover=function(){var a=this;PI(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(He(function(b){return b===a._menuItemInstance&&!b.disabled}),rf(0,jo)).subscribe(function(){a._openedBy="mouse";a.menu instanceof NI&&a.menu._isAnimating?a.menu._animationDone.pipe(qf(),rf(0,jo),Df(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
g._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new Bw(a.templateRef,this._viewContainerRef));return this._portal};
da.Object.defineProperties(OI.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(PI(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"}}});OI.\u0275fac=function(a){return new (a||OI)(B(hx),B(Rd),B(pg),B(Kac),B(Cac,8),B(LI,10),B(Hw,8),B(Sv),B(Me))};
OI.\u0275dir=ed({type:OI,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(a,b){a&1&&O("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&Nf("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 Nac=["input"],Oac=["formField"],Pac=0,Qac=function(a,b){this.source=a;this.value=b},Rac={provide:Wx,useExisting:Sc(function(){return QI}),multi:!0},Sac=new ld("MatRadioGroup"),Tac=new ld("mat-radio-default-options",{providedIn:"root",factory:EFa}),QI=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+Pac++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=
function(){};this.change=new bv};g=QI.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 Qac(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()};
da.Object.defineProperties(QI.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()}}});
QI.\u0275fac=function(a){return new (a||QI)(B(Wg))};
QI.\u0275dir=ed({type:QI,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&sg(c,RI,5);if(a&2){var d;vg(d=wg())&&(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",Tg],required:[2,"required","required",Tg]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[Dg([Rac,{provide:Sac,useExisting:QI}]),Mf]});
var RI=function(a,b,c,d,e,f,h,k){this._elementRef=b;this._changeDetector=c;this._focusMonitor=d;this._radioDispatcher=e;this._providerOverride=h;this.id=this._uniqueId="mat-radio-"+ ++Pac;this.disableRipple=!1;this.tabIndex=0;this.change=new bv;this._checked=!1;this._value=null;this._removeUniqueSelectionListener=function(){};this._injector=Xc(Ne);this.radioGroup=a;this._noopAnimations=f==="NoopAnimations";k&&(this.tabIndex=Ug(k,0))};g=RI.prototype;
g.focus=function(a,b){b?Tv(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()})};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};g._emitChangeEvent=function(){this.change.emit(new Qac(this,this._value))};g._isRippleDisabled=function(){return this.disableRipple||this.disabled};g._onInputClick=function(a){a.stopPropagation()};
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);this.disabled||this._inputElement.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,Pe(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}))}};
da.Object.defineProperties(RI.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._providerOverride&&this._providerOverride.color||"accent"},set:function(a){this._color=a}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});
RI.\u0275fac=function(a){return new (a||RI)(B(Sac,8),B(Rd),B(Wg),B(Sv),B(Uw),B(Pu,8),B(Tac,8),Jd("tabindex"))};
RI.\u0275cmp=p({type:RI,selectors:[["mat-radio-button"]],viewQuery:function(a,b){a&1&&(rg(Nac,5),rg(Oac,7,Rd));if(a&2){var c;vg(c=wg())&&(b._inputElement=c.first);vg(c=wg())&&(b._rippleTrigger=c.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(a,b){a&1&&O("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(Nf("id",b.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Wf("mat-primary",b.color==="primary")("mat-accent",
b.color==="accent")("mat-warn",b.color==="warn")("mat-mdc-radio-checked",b.checked)("_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",Tg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Ug(a)}],checked:[2,"checked","checked",Tg],value:"value",labelPosition:"labelPosition",
disabled:[2,"disabled","disabled",Tg],required:[2,"required","required",Tg],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[Mf,Fg],ngContentSelectors:["*"],decls:13,vars:16,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-mdc-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=u();ig();F(0,"div",2,0)(2,"div",3)(3,"div",4);O("click",function(d){v(c);return x(b._onTouchTargetClick(d))});H();F(4,"input",5,1);O("change",function(d){v(c);return x(b._onInputInteraction(d))});H();F(6,"div",6);J(7,"div",7)(8,
"div",8);H();F(9,"div",9);J(10,"div",10);H()();F(11,"label",11);jg(12);H()()}a&2&&(E("labelPosition",b.labelPosition),A(2),Wf("mdc-radio--disabled",b.disabled),A(2),E("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required),Nf("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby),A(5),E("matRippleTrigger",b._rippleTrigger.nativeElement)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",
!0),A(2),E("for",b.inputId))},dependencies:[vx,tx],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) - 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)}.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)}.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)}.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)}.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);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 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);height:var(--mdc-radio-state-layer-size)}.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);opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.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);opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.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)}.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)}.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)}.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 .mdc-radio--disabled{cursor:default;pointer-events:none}.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)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color);font-family:var(--mat-radio-label-text-font);line-height:var(--mat-radio-label-text-line-height);font-size:var(--mat-radio-label-text-size);letter-spacing:var(--mat-radio-label-text-tracking);font-weight:var(--mat-radio-label-text-weight)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.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-mdc-focus-indicator::before{content:""}.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)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}\n'],
encapsulation:2,changeDetection:0});var Uac=["tooltip"],Vac=new ld("mat-tooltip-scroll-strategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}}),Wac={provide:Vac,deps:[hx],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},Xac=new ld("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Yac=kh({passive:!0}),TI=function(a,b,c,d,e,
f,h,k,q,t,w,y){var D=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=t;this._defaultOptions=w;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._tooltipComponent=SI;this._viewportMargin=8;this._cssClassPrefix="mat-mdc";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=
new yf;this._injector=Xc(Ne);this._scrollStrategy=q;this._document=y;w&&(this._showDelay=w.showDelay,this._hideDelay=w.hideDelay,w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures));t.change.pipe(Df(this._destroyed)).subscribe(function(){D._overlayRef&&D._updatePosition(D._overlayRef)});this._viewportMargin=8};g=TI.prototype;
g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Df(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=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,Yac)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();mw(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 Aw(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(Df(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 Rd)return this._overlayRef;this._detach()}c=qXb(this._scrollDispatcher,this._elementRef);a=yXb(cx(dx(CXb(gx(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Df(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(Df(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Df(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Df(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!oh(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();bx(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(),Pe(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();clearTimeout(a._touchstartTimeout);var e;a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},(e=a._defaultOptions.touchLongPressShowDelay)!=null?e: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,r(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,Yac)})};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"}};
da.Object.defineProperties(TI.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=qh(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=qh(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=th(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=th(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;mw(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(){lw(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)}}});TI.\u0275fac=function(a){return new (a||TI)(B(hx),B(Rd),B(Rw),B(pg),B(Me),B(Nv),B(kw),B(Sv),B(Vac),B(Hw),B(Xac,8),B(vh))};
TI.\u0275dir=ed({type:TI,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("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 SI=function(a,b,c){this._changeDetectorRef=a;this._elementRef=b;this._isVisible=this._closeOnInteraction=this._isMultiline=!1;this._onHide=new yf;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide";this._animationsDisabled=c==="NoopAnimations"};g=SI.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))};SI.\u0275fac=function(a){return new (a||SI)(B(Wg),B(Rd),B(Pu,8))};
SI.\u0275cmp=p({type:SI,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&rg(Uac,7);if(a&2){var c;vg(c=wg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&O("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&Vf("zoom",b.isVisible()?1:null)},standalone:!0,features:[Fg],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=u();F(0,"div",1,0);O("animationend",function(d){v(c);return x(b._handleAnimationEnd(d))});F(2,"div",2);Q(3);H()()}a&2&&(Wf("mdc-tooltip--multiline",b._isMultiline),E("ngClass",b.tooltipClass),A(3),yg(b.message))},dependencies:[rv],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);color:var(--mdc-plain-tooltip-supporting-text-color);border-radius:var(--mdc-plain-tooltip-container-shape);font-family:var(--mdc-plain-tooltip-supporting-text-font);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);letter-spacing:var(--mdc-plain-tooltip-supporting-text-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 GFa=function(a,b){return b.issueId},UI=function(a,b,c,d){var e=this;this.triageService=a;this.similarIssuesApi=b;this.snackbar=c;this.editIssueService=d;this.IssueStatus=N1b;this.issueId$=this.triageService.currentIssueId$;this.cancelAction=new xF;this.completeAction=new xF;this.similarIssues$=this.issueId$.pipe(He(Gi),Cf(function(f){return XG(e.similarIssuesApi,{issueId:Number(f),maxResults:5}).pipe(z(function(h){return h.similarIssues}))}),zf({bufferSize:1,refCount:!0}))},yo=function(a,b,c){var d;
return ge(function(e){if(e.nextAddress==1)return b==="DUPLICATE"?a.selectedCanonicalIssueId?ie(e,iac(a.editIssueService,c,a.selectedCanonicalIssueId),6):(a.snackbar.open("Please select a canonical issue","",{duration:2E3}),e.jumpTo(0)):ie(e,jac(a.editIssueService,c,b),4);if(e.nextAddress!=6)return d={id:c,triage:{phase:"WONT_FIX",needsInfo:!1}},a.completeAction.emit(d),e.jumpTo(0);a.completeAction.emit({id:c});me(e)})};UI.\u0275fac=function(a){return new (a||UI)(B(UG),B(WG),B(ZC),B(EI))};
UI.\u0275cmp=p({type:UI,selectors:[["close-issue"]],outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},decls:2,vars:3,consts:[["aiLoadingSpinner",""],["wontFixMenu","matMenu"],[4,"ngIf"],[1,"heading-xs","margin-s-y"],["svgIcon","spark_24px","color","primary",1,"valign-middle","icon-xs"],[4,"ngIf","ngIfElse"],[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","","matTooltip","This will cause a visible change to the issue status",1,"gmat-button",3,"click","disabled"],["mat-button","",1,"gmat-button","margin-s-top","cancel-btn",3,"click"],["aria-label","Select an issue as canonical",1,"margin-s-bottom",3,"change","value"],[1,"margin-s-bottom",3,"value"],["text","Finding similar issues...",1,"margin-s-top","margin-bottom"]],template:function(a,b){a&1&&(C(0,JFa,25,6,"ng-container",2),T(1,"async"));a&2&&E("ngIf",U(1,1,b.issueId$))},
dependencies:[tv,RC,II,QI,RI,JI,NI,LI,OI,kC,Ex,KI,TI,yv],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 zo=function(a,b){this.char=a;this.modifiers=b};var Zac={category:"Edit Issue Page",keys:[Ao("r")],displayAs:"Shift+r",description:"Refresh"},$ac={category:"Issue List",keys:["u",Ao("r")],displayAs:"u / Shift+r",description:"Refresh search results"},mr={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Ao("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:Zac,REFRESH_ISSUE_LIST:$ac,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"}};/*

 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(I,N,S){I.addEventListener?I.addEventListener(N,S,!1):I.attachEvent("on"+N,S)}function e(I){if("keypress"==I.type){var N=String.fromCharCode(I.which);I.shiftKey||(N=N.toLowerCase());return N}return t[I.which]?t[I.which]:w[I.which]?w[I.which]:String.fromCharCode(I.which).toLowerCase()}function f(I){return"shift"==I||"ctrl"==I||"alt"==I||"meta"==I}function h(I,N){var S,W=[];"+"===I?I=["+"]:(I=I.replace(/\+{2}/g,"+plus"),I=I.split("+"));for(S=0;S<I.length;++S){var Z=I[S];D[Z]&&
(Z=D[Z]);N&&"keypress"!=N&&y[Z]&&(Z=y[Z],W.push("shift"));f(Z)&&W.push(Z)}I=Z;S=N;if(!S){if(!G){G={};for(var fa in t)95<fa&&112>fa||t.hasOwnProperty(fa)&&(G[t[fa]]=fa)}S=G[I]?"keydown":"keypress"}"keypress"==S&&W.length&&(S="keydown");return{key:Z,modifiers:W,action:S}}function k(I,N){return null===I||I===b?!1:I===N?!0:k(I.parentNode,N)}function q(I){function N(Aa){Aa=Aa||{};var wb=!1,Pb;for(Pb in Ua)Aa[Pb]?wb=!0:Ua[Pb]=0;wb||(Ma=!1)}function S(Aa,wb,Pb,Vb,xb,Uc){var Sa,nb,Za=[],Yb=Pb.type;if(!ua._callbacks[Aa])return[];
"keyup"==Yb&&f(Aa)&&(wb=[Aa]);for(Sa=0;Sa<ua._callbacks[Aa].length;++Sa)if(nb=ua._callbacks[Aa][Sa],(Vb||!nb.seq||Ua[nb.seq]==nb.level)&&Yb==nb.action){var ic;(ic="keypress"==Yb&&!Pb.metaKey&&!Pb.ctrlKey)||(ic=nb.modifiers,ic=wb.sort().join(",")===ic.sort().join(","));ic&&(ic=Vb&&nb.seq==Vb&&nb.level==Uc,(!Vb&&nb.combo==xb||ic)&&ua._callbacks[Aa].splice(Sa,1),Za.push(nb))}return Za}function W(Aa,wb,Pb,Vb){ua.stopCallback(wb,wb.target||wb.srcElement,Pb,Vb)||!1!==Aa(wb,Pb)||(wb.preventDefault?wb.preventDefault():
wb.returnValue=!1,wb.stopPropagation?wb.stopPropagation():wb.cancelBubble=!0)}function Z(Aa){"number"!==typeof Aa.which&&(Aa.which=Aa.keyCode);var wb=e(Aa);if(wb)if("keyup"==Aa.type&&xa===wb)xa=!1;else{var Pb=ua,Vb=Pb.handleKey,xb=[];Aa.shiftKey&&xb.push("shift");Aa.altKey&&xb.push("alt");Aa.ctrlKey&&xb.push("ctrl");Aa.metaKey&&xb.push("meta");Vb.call(Pb,wb,xb,Aa)}}function fa(Aa,wb,Pb,Vb){function xb(Za){return function(){Ma=Za;++Ua[Aa];clearTimeout(ha);ha=setTimeout(N,1E3)}}function Uc(Za){W(Pb,
Za,Aa);"keyup"!==Vb&&(xa=e(Za));setTimeout(N,10)}for(var Sa=Ua[Aa]=0;Sa<wb.length;++Sa){var nb=Sa+1===wb.length?Uc:xb(Vb||h(wb[Sa+1]).action);ma(wb[Sa],nb,Vb,Aa,Sa)}}function ma(Aa,wb,Pb,Vb,xb){ua._directMap[Aa+":"+Pb]=wb;Aa=Aa.replace(/\s+/g," ");var Uc=Aa.split(" ");1<Uc.length?fa(Aa,Uc,wb,Pb):(Pb=h(Aa,Pb),ua._callbacks[Pb.key]=ua._callbacks[Pb.key]||[],S(Pb.key,Pb.modifiers,{type:Pb.action},Vb,Aa,xb),ua._callbacks[Pb.key][Vb?"unshift":"push"]({callback:wb,modifiers:Pb.modifiers,action:Pb.action,
seq:Vb,level:xb,combo:Aa}))}var ua=this;I=I||b;if(!(ua instanceof q))return new q(I);ua.target=I;ua._callbacks={};ua._directMap={};var Ua={},ha,xa=!1,sa=!1,Ma=!1;ua._handleKey=function(Aa,wb,Pb){var Vb=S(Aa,wb,Pb),xb;wb={};var Uc=0,Sa=!1;for(xb=0;xb<Vb.length;++xb)Vb[xb].seq&&(Uc=Math.max(Uc,Vb[xb].level));for(xb=0;xb<Vb.length;++xb)Vb[xb].seq?Vb[xb].level==Uc&&(Sa=!0,wb[Vb[xb].seq]=1,W(Vb[xb].callback,Pb,Vb[xb].combo,Vb[xb].seq)):Sa||W(Vb[xb].callback,Pb,Vb[xb].combo);Vb="keypress"==Pb.type&&sa;
Pb.type!=Ma||f(Aa)||Vb||N(wb);sa=Sa&&"keydown"==Pb.type};ua._bindMultiple=function(Aa,wb,Pb){for(var Vb=0;Vb<Aa.length;++Vb)ma(Aa[Vb],wb,Pb)};d(I,"keypress",Z);d(I,"keydown",Z);d(I,"keyup",Z)}if(a){var t={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"},w={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",
189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},y={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},D={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},G;for(c=1;20>c;++c)t[111+c]="f"+c;for(c=0;9>=c;++c)t[c+96]=c;q.prototype.bind=function(I,N,S){I=I instanceof Array?I:[I];this._bindMultiple.call(this,
I,N,S);return this};q.prototype.unbind=function(I,N){return this.bind.call(this,I,function(){},N)};q.prototype.trigger=function(I,N){if(this._directMap[I+":"+N])this._directMap[I+":"+N]({},I);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(I,N){return-1<(" "+N.className+" ").indexOf(" mousetrap ")||k(N,this.target)?!1:"INPUT"==N.tagName||"SELECT"==N.tagName||"TEXTAREA"==N.tagName||N.isContentEditable};q.prototype.handleKey=
function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(I){for(var N in I)I.hasOwnProperty(N)&&(t[N]=I[N]);G=null};q.init=function(){var I=q(b),N;for(N in I)"_"!==N.charAt(0)&&(q[N]=function(S){return function(){return I[S].apply(I,arguments)}}(N))};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);/*

 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 abc=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||""};
da.Object.defineProperties(abc.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 bbc=new ld("HotkeyOptions");var VI=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new yf;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 abc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new abc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};g=VI.prototype;
g.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=l(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,k){var q=!0;if(h){var t=h.target,w=t.nodeName.toUpperCase();(" "+t.className+" ").indexOf(" mousetrap ")>-1?q=!0:c.preventIn.indexOf(w)>-1&&a.allowIn.map(function(y){return y.toUpperCase()}).indexOf(w)===-1&&(q=!1)}if(q)return a.callback.apply(c,[h,k])},b);return a};
g.remove=function(a){var b=[];if(!a){a=l(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=l(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=l(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=l(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=l(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()};VI.\u0275fac=function(a){return new (a||VI)(n(bbc))};VI.\u0275prov=Fc({token:VI,factory:VI.\u0275fac});var WI=function(){};WI.\u0275fac=function(a){return new (a||WI)};WI.\u0275mod=cd({type:WI});WI.\u0275inj=Gc({imports:[Gv]});var cbc;sea("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var dbc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),XI=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},YI=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?(cbc||(c={},cbc=(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=cbc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},ebc=function(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)},ZI=function(a,b){var c="";b&&(c=b.id);YI(a,"activedescendant",c)},fbc=function(a,b){YI(a,"label",b)};var $I=function(a,b,c,d){Y.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(f,h){if(!e.enabled||e.paused)h=!0;else if((" "+h.className+" ").indexOf(" mousetrap ")>-1||h.classList.contains("has-hotkey"))h=!1;else{if(f=h.getAttribute)f=h.getAttribute("role")||null,f=Oa(dbc,f);h=f||h.contentEditable==="true"||h.tagName==="INPUT"&&h.type==="text"||h.tagName==="SELECT"||h.tagName==="TEXTAREA"||gbc(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(Df(this.destroyed$)).subscribe(function(f){f&&(e.enabled=!!f.enableAllHotkeys)});a.routeChangeStart.pipe(Df(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){hbc(e)})};V($I,Y);$I.\u0275dir=Y.\u0275dir;$I.prototype.isEnabled=function(){return this.enabled};$I.prototype.isPaused=function(){return this.paused};
var aJ=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(r(b),r(d)));ibc(a);return function(){var f=new Set(d.map(function(q){return q.onPress})),h,k=((h=a.hotkeyGroups.get(c))!=null?h:[]).filter(function(q){return!f.has(q.onPress)});k.length?a.hotkeyGroups.set(c,k):a.hotkeyGroups.delete(c);ibc(a)}},hbc=function(a){var b=[].concat(r(a.rawHotkeysService.hotkeys));b=l(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},ibc=function(a){hbc(a);for(var b=l(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){c=jbc(a,c.value);c=l(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 abc(OFa(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)}},gbc=function(a){return[].concat(r(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return b.style.position===
"static"}).some(function(b){return b.contains(a)})},jbc=function(a,b){var c=[];b=l(b);for(var d=b.next(),e={};!d.done;e={hotkeySpec:void 0},d=b.next()){e.hotkeySpec=d.value;d=l(e.hotkeySpec.keys.entries());for(var f=d.next(),h={};!f.done;h={index$jscomp$3624:void 0},f=d.next()){var k=l(f.value);f=k.next().value;k=k.next().value;h.index$jscomp$3624=f;c.push(new kbc(k,function(q,t){return function(){a.ngZone.run(function(){q.hotkeySpec.onPress(t.index$jscomp$3624)})}}(e,h),e.hotkeySpec.allowIn))}}Kba(c,
function(q,t){return q.strokeLength>t.strokeLength?-1:q.strokeLength<t.strokeLength?1:0});return c};$I.prototype.pause=function(){this.paused=!0};$I.prototype.unpause=function(){this.paused=!1};var lbc=function(a){return[].concat(r(a.hotkeyGroups.entries())).map(function(b){var c=l(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:Ni(c,PFa)}})};$I.\u0275fac=function(a){return new (a||$I)(n(BF),n(PG),n(VI),n(Me))};$I.\u0275prov=Fc({token:$I,factory:$I.\u0275fac,providedIn:"root"});
var kbc=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 bJ=function(){};bJ.\u0275fac=function(a){return new (a||bJ)};bJ.\u0275mod=cd({type:bJ});bJ.\u0275inj=Gc({providers:[Wac],imports:[jw,Gv,kx,lx,lx,Ww]});var cJ=function(a,b){Y.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new xF};V(cJ,Y);cJ.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+")"}};
cJ.prototype.ngOnInit=function(){var a=this;this.hotkey&&this.hotkeyEnabled&&this.subscriptions.add(aJ(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};cJ.\u0275fac=function(a){return new (a||cJ)(B($I),B(TI,8))};
cJ.\u0275dir=ed({type:cJ,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("has-hotkey",b.hotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[Lf,rd]});var dJ=function(){};dJ.\u0275fac=function(a){return new (a||dJ)};dJ.\u0275mod=cd({type:dJ});dJ.\u0275inj=Gc({});var mbc=new ld("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),nbc=new ld("isScrolledOnScreen",{factory:function(){return{fully:SFa,partially:TFa}}}),eJ=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};eJ.prototype.getObservable=function(a,b){b=b===void 0?!1:b;return window.IntersectionObserver!=null?UFa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):VFa(a,this.isScrolledOnScreen,b)};
eJ.\u0275fac=function(a){return new (a||eJ)(n(mbc),n(nbc))};eJ.\u0275prov=Fc({token:eJ,factory:eJ.\u0275fac,providedIn:"root"});var fJ=function(a,b,c){Y.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new xF;this.el=a.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)};V(fJ,Y);fJ.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&obc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){obc(a,2)}))};fJ.prototype.onInput=function(){obc(this,1)};
var obc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=l("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=Co(d.getPropertyValue("border-top-width"))+Co(d.getPropertyValue("padding-top"))+c.scrollHeight+Co(d.getPropertyValue("padding-bottom"))+Co(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=Co(d.getPropertyValue("max-height")),d=Co(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})))};fJ.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);Y.prototype.ngOnDestroy.call(this)};fJ.\u0275fac=function(a){return new (a||fJ)(B(Rd),B($G),B(eJ))};
fJ.\u0275dir=ed({type:fJ,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&O("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[Lf]});var gJ=function(a){this.codefont$=a.codeFont$};gJ.\u0275fac=function(a){return new (a||gJ)(n(PG))};gJ.\u0275prov=Fc({token:gJ,factory:gJ.\u0275fac,providedIn:"root"});var hJ=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new xF;this.clickHandler=function(c){var d=c.target instanceof Element?c.target:c.target instanceof Node?c.target.parentElement:null;d&&(d.closest(".cdk-overlay-container")||b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}};hJ.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
hJ.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};hJ.\u0275fac=function(a){return new (a||hJ)(B(Rd))};hJ.\u0275dir=ed({type:hJ,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var iJ=function(){};iJ.\u0275fac=function(a){return new (a||iJ)};iJ.\u0275mod=cd({type:iJ});iJ.\u0275inj=Gc({});var jJ=function(a){this.window=a};jJ.prototype.openInNewTab=function(a){a=xc(a);Bea(this.window,a,"_blank")};var Eo=function(a,b){b=xc(b);Bea(a.window,b)},kJ=function(a,b){a=a.window.location;b=xc(b);b=yc(b);b!==void 0&&(a.href=b)};jJ.\u0275fac=function(a){return new (a||jJ)(n($G))};jJ.\u0275prov=Fc({token:jJ,factory:jJ.\u0275fac,providedIn:"root"});var lJ=function(){};lJ.\u0275fac=function(a){return new (a||lJ)};lJ.\u0275cmp=p({type:lJ,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(ig(),F(0,"span",0),jg(1),H())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var pbc=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)};pbc.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};
pbc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var mJ=function(a){this._document=a};mJ.prototype.copy=function(a){a=new pbc(a,this._document);var b=a.copy();a.destroy();return b};mJ.\u0275fac=function(a){return new (a||mJ)(n(vh))};mJ.\u0275prov=Fc({token:mJ,factory:mJ.\u0275fac,providedIn:"root"});new ld("CDK_COPY_TO_CLIPBOARD_CONFIG");var qbc=["el"],nJ=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};nJ.prototype.getNgContentParentEl=function(){return this.el.nativeElement};nJ.prototype.hide=function(){this.opened=!1};nJ.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};nJ.\u0275fac=function(a){return new (a||nJ)(B(mJ),B(ZC),B(jJ))};
nJ.\u0275cmp=p({type:nJ,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&rg(qbc,7);if(a&2){var c;vg(c=wg())&&(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=u();ig();F(0,"a",2,0);O("click",function(d){v(c);d.preventDefault();d.stopPropagation();b.opened=!b.opened;return x()});F(2,"b-glue");J(3,"mat-icon",3);H();F(4,"span",null,1);jg(6);H()();C(7,WFa,11,4,"ng-template",4)}a&2&&(a=M(1),
A(7),E("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[RC,jx,ix,hJ,lJ,kC,Ex,KI,TI],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 rbc=new ld("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var oJ=function(a){this.options=a};oJ.\u0275fac=function(a){return new (a||oJ)(B(rbc))};oJ.\u0275dir=ed({type:oJ,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var sbc=new ld("mat-checkbox-default-options",{providedIn:"root",factory:XFa});var tbc=["input"],ubc=["label"],vbc={provide:Wx,useExisting:Sc(function(){return pJ}),multi:!0},wbc=function(){},xbc=0,ybc=XFa(),pJ=function(a,b,c,d,e,f){this._elementRef=a;this._changeDetectorRef=b;this._ngZone=c;this._animationMode=e;this._options=f;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 bv;this.indeterminateChange=new bv;this._onTouched=function(){};this._currentAnimationClass="";this._currentCheckState=0;this._controlValueAccessorChangeFn=function(){};this._validatorChangeFn=function(){};this._indeterminate=this._disabled=this._checked=!1;this._options=
this._options||ybc;this.color=this._options.color||ybc.color;this.tabIndex=parseInt(d)||0;this.id=this._uniqueId="mat-mdc-checkbox-"+ ++xbc};g=pJ.prototype;g.focus=function(){this._inputElement.nativeElement.focus()};g._createChangeEvent=function(a){var b=new wbc;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;this.disabled||c==="noop"?this.disabled||c!=="noop"||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(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())};
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()};
da.Object.defineProperties(pJ.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)}}});pJ.\u0275fac=function(a){return new (a||pJ)(B(Rd),B(Wg),B(Me),Jd("tabindex"),B(Pu,8),B(sbc,8))};
pJ.\u0275cmp=p({type:pJ,selectors:[["mat-checkbox"]],viewQuery:function(a,b){a&1&&(rg(tbc,5),rg(ubc,5),rg(vx,5));if(a&2){var c;vg(c=wg())&&(b._inputElement=c.first);vg(c=wg())&&(b._labelElement=c.first);vg(c=wg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(eg("id",b.id),Nf("tabindex",null)("aria-label",null)("aria-labelledby",null),Xf(b.color?"mat-"+b.color:"mat-accent"),Wf("_mat-animation-noopable",b._animationMode==="NoopAnimations")("mdc-checkbox--disabled",
b.disabled)("mat-mdc-checkbox-disabled",b.disabled)("mat-mdc-checkbox-checked",b.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",Tg],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",Tg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:Ug(a)}],color:"color",checked:[2,
"checked","checked",Tg],disabled:[2,"disabled","disabled",Tg],indeterminate:[2,"indeterminate","indeterminate",Tg]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[Dg([vbc,{provide:Xx,useExisting:pJ,multi:!0}]),Mf,rd,Fg],ngContentSelectors:["*"],decls:15,vars:19,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-mdc-focus-indicator",3,"matRippleTrigger",
"matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(a,b){if(a&1){var c=u();ig();F(0,"div",3);O("click",function(d){v(c);return x(b._preventBubblingFromLabel(d))});F(1,"div",4,0)(3,"div",5);O("click",function(){v(c);return x(b._onTouchTargetClick())});H();F(4,"input",6,1);O("blur",function(){v(c);return x(b._onBlur())})("click",function(){v(c);return x(b._onInputClick())})("change",function(d){v(c);return x(b._onInteractionEvent(d))});H();J(6,"div",7);F(7,"div",8);Fd();
F(8,"svg",9);J(9,"path",10);H();zd.currentNamespace=null;J(10,"div",11);H();J(11,"div",12);H();F(12,"label",13,2);jg(14);H()()}a&2&&(a=M(2),E("labelPosition",b.labelPosition),A(4),Wf("mdc-checkbox--selected",b.checked),E("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.disabled?-1:b.tabIndex),Nf("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("aria-checked",b.indeterminate?
"mixed":null)("name",b.name)("value",b.value),A(7),E("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),A(),E("for",b.inputId))},dependencies:[vx,tx],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);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.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)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.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)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.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)}.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}.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);border-color:var(--mdc-checkbox-unselected-icon-color);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);background-color:var(--mdc-checkbox-selected-icon-color)}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.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);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);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);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.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)}.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);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.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)}.mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.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)}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.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 .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.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-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)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var qJ=function(){this.checked=!1};qJ.\u0275fac=function(a){return new (a||qJ)};qJ.\u0275cmp=p({type:qJ,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[[3,"disabled","checked"]],template:function(a,b){a&1&&J(0,"mat-checkbox",0);a&2&&E("disabled",!0)("checked",b.checked)},dependencies:[oJ,pJ],encapsulation:2,changeDetection:0});var zbc=new ld("formatting mode",{factory:function(){return"UNSPECIFIED_FORMATTING_MODE"}});var Abc=["el"],cGa=function(a,b){return b.label},rJ=function(a,b,c,d,e,f,h){Y.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.activeSession=d;this.contextSensitiveRegistry=e;this.formattingMode=f;this.analytics=h;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.urls=[];this.enableNexusLinking=ep(this.activeSession,"enableNexusLinking")&&this.activeSession.isInternalSession();this.opened=!1};V(rJ,Y);rJ.\u0275dir=Y.\u0275dir;
rJ.prototype.ngOnInit=function(){this.urls=[{label:this.originalHref,originalHref:this.originalHref,href:this.href}];if(this.enableNexusLinking){var a=ho(this.contextSensitiveRegistry.getIssueId());a:{var b=this.originalHref;try{var c=null,d=(new URL(b)).hostname;switch(d.includes("analog")?"Analog":d.includes("trace")?"Dapper":d.includes("sherlog")?"Sherlog":d.includes("eye3")?"Third Eye":"PRODUCT_UNSPECIFIED"){case "Analog":var e=new URL("https://nexus.corp.google.com/debug/dashboard"),f=Rma("analog_link",
b);e.searchParams.set("filters",Hma(f));e.searchParams.set("tab","rdl");c=e;break;case "Dapper":c=iqa(b);break;case "Sherlog":if(b.startsWith("http://sherlog/_")){var h=new URL("https://nexus.corp.google.com/trace/"+b.replace("http://sherlog/_",""));h.searchParams.set("action","expandsherlog");c=h}else{var k=new URL(b);if(k.pathname.includes("workflow")){var q=k.searchParams,t,w=(t=q.get("dataid"))!=null?t:"",y=new URL("https://nexus.corp.google.com/trace/"+w),D=kqa(k);y.searchParams.set("account",
D.account);y.searchParams.set("account_type",D.accountType);var G;y.searchParams.set("version",(G=q.get("version"))!=null?G:"");var I;y.searchParams.set("pipeline",(I=q.get("config"))!=null?I:"");y.searchParams.set("trace_type","sherlog");c=y}else c=null}}b=c;a=a!=null?a:void 0;if(b==null)var N="";else b.searchParams.set("origin_type","buganizer"),a&&(a.startsWith("b/")||(a="b/"+a),b.searchParams.set("origin_id",a)),N=b.toString();break a}catch(S){N="";break a}N=void 0}N&&this.urls.push({label:"Open in Nexus",
originalHref:N,href:N,icon:"nexus-logo"})}};rJ.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(Df(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};rJ.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var Bbc=function(a){if(a.urls.length>1)return!0;if(a.formattingMode==="PLAIN")return!1;var b=a.getNgContentParentEl(),c,d;if(d=RFa(b))a=a.originalHref,b=(c=b.textContent)!=null?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};rJ.prototype.hide=function(){this.opened=!1};rJ.prototype.copyToClipboard=function(a){this.clipboard.copy(a);this.snackBar.open("URL copied","",{duration:2E3})};
var aGa=function(a,b,c){if(c&&(b.preventDefault(),a=a.cdkConnectedOverlay.overlayRef.overlayElement)){var d=a.querySelector("a");d&&setTimeout(function(){d.focus()})}},$Fa=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()})}},Cbc=function(a){var b="externalLinkPopup";a.urls.find(function(c){return c.label==="Open in Nexus"})&&(b="externalLinkPopupNexus");
a.analytics.trackEvent("issue","click",b)};rJ.\u0275fac=function(a){return new (a||rJ)(B(jJ),B(mJ),B(ZC),B(as),B(hI),B(zbc),B(CF))};
rJ.\u0275cmp=p({type:rJ,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(rg(Abc,7),rg(jx,7));if(a&2){var c;vg(c=wg())&&(b.el=c.first);vg(c=wg())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[Lf],ngContentSelectors:["*"],decls:7,vars:8,consts:[["trigger","cdkOverlayOrigin"],["el",""],["cdkOverlayOrigin","",1,"keep-focus-ring",3,"click","href","rel"],[4,"ngIf"],["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=u();ig();F(0,"a",2,0);O("click",function(d){v(c);
if(!Do(d))if(d.preventDefault(),d.stopPropagation(),Bbc(b))Cbc(b),b.opened=!b.opened;else{var e=b.href;Do(d)||(d.preventDefault(),d.stopPropagation(),Eo(b.domSafe,e))}return x()});C(2,YFa,2,0,"b-glue",3);F(3,"span",null,1);jg(5);H()();C(6,dGa,3,0,"ng-template",4)}a&2&&(a=M(1),Wf("needs-contextual-popup",Bbc(b)),E("href",b.originalHref,cf)("rel",b.EXTERNAL_LINK_REL),A(2),E("ngIf",Bbc(b)),A(4),E("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",b.opened))},dependencies:[tv,
RC,jx,ix,hJ,lJ,kC,Ex,KI,TI],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 Dbc=["child"],sJ=function(a){this.codefont=a};sJ.prototype.ngOnInit=function(){};sJ.prototype.ngOnChanges=function(){QFa(this.child.nativeElement,this.content.content)};sJ.\u0275fac=function(a){return new (a||sJ)(B(gJ))};
sJ.\u0275cmp=p({type:sJ,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&rg(Dbc,7);if(a&2){var c;vg(c=wg())&&(b.child=c.first)}},inputs:{content:"content"},features:[Dg([{provide:zbc,useValue:"LITERAL"}]),rd],decls:3,vars:4,consts:[["child",""],[1,"type-m","child"]],template:function(a,b){a&1&&(J(0,"div",1,0),T(2,"async"));a&2&&Wf("codefont",U(2,2,b.codefont.codefont$))},dependencies:[yv],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var tJ=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(z(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),sf());this.textDisplayPreferences$.pipe(z(function(c){return c.lastPublishMode===Y2b}),sf());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(z(function(c){return c.commentDisplayOverride}),sf())};tJ.\u0275fac=function(a){return new (a||tJ)(n(as),n(PG))};
tJ.\u0275prov=Fc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var Ebc=new ld("IssueCard");var uJ=function(){};uJ.prototype.visit=function(){};uJ.\u0275fac=function(a){return new (a||uJ)};uJ.\u0275prov=Fc({token:uJ,factory:uJ.\u0275fac,providedIn:"root"});var eGa;var vJ=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new bv;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};vJ.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};vJ.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
vJ.prototype.getRoot=function(){var a;return(a=fGa(this.elementRef.nativeElement))!=null?a:document};vJ.\u0275fac=function(a){return new (a||vJ)(B(Rd))};vJ.\u0275dir=ed({type:vJ,selectors:[["","clickOutside",""]],inputs:{eventType:[0,"clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var wJ=function(){};wJ.\u0275fac=function(a){return new (a||wJ)};wJ.\u0275mod=cd({type:wJ});wJ.\u0275inj=Gc({});var Fbc=Symbol("cd"),Gbc=Symbol("dd"),xJ=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new bv;this[Fbc]=new xf(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new rn(!1);this.closeHovercard$=new yf};xJ.prototype.ngOnInit=function(){};var Hbc=function(a){var b=a[Gbc];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[Fbc].pipe(rf(0))):pe(void 0)};xJ.\u0275fac=function(a){return new (a||xJ)(B(pg))};
xJ.\u0275cmp=p({type:xJ,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&rg(og,7);if(a&2){var c;vg(c=wg())&&(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&&(ig(),C(0,gGa,2,3,"ng-template"))},dependencies:[$v,vJ],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 yJ=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[Gbc]=this};yJ.\u0275fac=function(a){return new (a||yJ)(B(og),B(pg),B(Wg),B(xJ))};yJ.\u0275dir=ed({type:yJ,selectors:[["","onedevHovercardLazyBody",""]]});var zJ=function(a){this.hovercard=a;this.destroyed$=new xf(1)};zJ.prototype.ngOnDestroy=function(){this.destroyed$.next()};zJ.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(Df(this.destroyed$)).subscribe(this.hovercard[Fbc])};
zJ.\u0275fac=function(a){return new (a||zJ)(B(xJ))};zJ.\u0275dir=ed({type:zJ,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:[0,"onedevIsHovercardReady","isHovercardReady$"]}});var Ibc={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},Jbc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},Kbc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},Lbc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},Ibc,Kbc,{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 AJ=function(){this.delay=600;this.position=Lbc;this.triggerKey=[]},BJ=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new AJ;this.active=!1;this.hovercardShown$=new xf(1);this.hide$=new yf;this.hovercard$=new rn(null);this.isHovered$=new rn(!1);this.isKeyboardActivated$=new rn(!1);this.destroyed$=new xf(1);this.onDocumentKeyDown=function(d){d.key==="Escape"&&(Mbc(c),d.stopPropagation(),d.preventDefault())};Nbc(this);this.handleClose()},Nbc=
function(a){Obc(a).pipe(Df(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};BJ.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(Cf(function(b){return(b==null?void 0:b.closeHovercard$)||Yu}),Df(this.destroyed$)).subscribe(function(){Mbc(a)})};BJ.prototype.dispose=function(){Pbc(this);var a;(a=this.overlayRef)==null||a.dispose();this.destroyed$.next();this.destroyed$.complete()};BJ.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};
BJ.prototype.toggle=function(a){this.isHovered$.next(a)};var Mbc=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;(b=a.hovercard$.getValue())==null||b.isOnHover$.next(!1)};
BJ.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,Hbc(this.hovercard$.getValue()).pipe(qf(),Df(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};BJ.prototype.hide=function(){Pbc(this);this.hide$.next()};
var Pbc=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()}};BJ.prototype.getPositionStrategy=function(){return bx(cx(dx(gx(this.overlay.position(),this.origin)),8),this.config.position)};
var Obc=function(a){return we([Qbc(a).pipe(Bf(!1)),a.isKeyboardActivated$]).pipe(Af(1),z(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b||c}),Cf(function(b){var c;return((c=a.waitFor$)==null?void 0:c.pipe(vf(b)))||pe(b)}))},Qbc=function(a){return a.hovercard$.pipe(Cf(function(b){return we([a.isHovered$,(b==null?void 0:b.isOnHover$)||pe(!1)]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c||d}),pf(a.config.delay),Df(a.destroyed$))}))};var Rbc={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 Ubc=function(a){a=Sbc(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,f=e,h=0,k=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+=Tbc(a,h),c+=Tbc(a,h+4),d+=Tbc(a,h+8),k();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]}k();return Rbc.toString(d)},Vbc=function(a){return a},Sbc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},Tbc=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var Wbc=new ld("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".split(" ")}}),Xbc=new ld("STREAMZ_PRODUCT_IDENTIFIER"),Ybc=new ld("STREAMZ_ALLOWLIST_IDENTIFIER"),Zbc=new ld("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return Xc(Me).runOutsideAngular(function(){var a=new oF(1503);a=new W0b(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),CJ=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new b1b(this.streamzService);new c1b(this.streamzService);new d1b(this.streamzService);new e1b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(Vbc);this.allowlistIdentifier=Ubc(e!=null?e:this.productIdentifier)},acc=function(a,b,c){a.zone.runOutsideAngular(function(){$bc(a)&&a.oneDeveloperWorkflowUsageMetrics.increment(b,a.productIdentifier,
c)})},$bc=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};CJ.\u0275fac=function(a){return new (a||CJ)(n(Zbc),n(Me),n(Wbc),n(Xbc,8),n(Ybc,8))};CJ.\u0275prov=Fc({token:CJ,factory:CJ.\u0275fac,providedIn:"root"});var bcc=new ld("onedevHovercardLoggingOn"),DJ=function(a,b,c,d,e){var f=this;this.viewContainerRef=c;this.injector=e;this.config=new AJ;this.onHovercardShown=new bv;this.destroyed$=new xf(1);this.triggerControl=new BJ(a,b);this.triggerControl.hovercardShown$.pipe(Ff(d||pe(!1)),Df(this.destroyed$)).subscribe(function(h){h=l(h);h.next();h=h.next().value;f.onHovercardShown.emit();h&&(f.clientStreamzService||(f.clientStreamzService=f.injector.get(CJ)),acc(f.clientStreamzService,"hovercardShown",!0))})};
g=DJ.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 Bw(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()};da.Object.defineProperties(DJ.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
DJ.\u0275fac=function(a){return new (a||DJ)(B(hx),B(Rd),B(pg),B(bcc,8),B(Ne))};
DJ.\u0275dir=ed({type:DJ,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&O("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&&Nf("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:[rd]});var ccc=["el"],EJ=function(a){this.viewContainerRef=a};EJ.\u0275fac=function(a){return new (a||EJ)(B(pg))};EJ.\u0275dir=ed({type:EJ,selectors:[["","issueCardHost",""]]});var FJ=function(a,b){Y.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new xf(1)};V(FJ,Y);FJ.\u0275dir=Y.\u0275dir;FJ.prototype.ngOnInit=function(){};
FJ.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(Df(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(qf(),Df(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
FJ.prototype.visit=function(a){if(!Do(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})}};FJ.\u0275fac=function(a){return new (a||FJ)(B(uJ),B(Ebc,8))};
FJ.\u0275cmp=p({type:FJ,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(rg(ccc,7),rg(EJ,5));if(a&2){var c;vg(c=wg())&&(b.el=c.first);vg(c=wg())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[Lf],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=u();ig();F(0,"onedev-hovercard",null,0);C(2,hGa,2,1,"div",2);H();F(3,"a",3,1);O("click",function(d){v(c);return x(b.visit(d))});jg(5);H()}a&2&&(a=M(1),A(3),E("onedevHovercardTrigger",a)("onedevHovercardActive",!!b.issueCard)("href",b.href,cf))},dependencies:[xJ,yJ,DJ,zJ,EJ],encapsulation:2,changeDetection:0});var GJ=function(a,b,c){Y.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new xf(1);this.ccInProgress$=new xf(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(z(function(d){return zsa(d)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(z(function(d){var e;return wi((e=Zi(d))==null?void 0:e.ccUsers)||[]}));this.assignee$=this.assigneeUpdate$.pipe(zf({refCount:!0,bufferSize:1}));
this.cc$=this.ccUpdate$.pipe(zf({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};V(GJ,Y);GJ.\u0275dir=Y.\u0275dir;
var dcc=function(a,b){var c,d,e;return ge(function(f){switch(f.nextAddress){case 1:c=ho(a.id$);if(!c)return f.return();a.assigneeInProgress$.next(!0);d=b.action==="remove_user"?"":b.email;he(f,2,3);return ie(f,or(a.editIssueService,c,d),5);case 5:return ie(f,se(a.assigneeUpdate$.pipe(He(function(h){h=b.email===h;return b.action==="set_user"?h:!h}),Je(6E4))),3);case 3:je(f);a.assigneeInProgress$.next(!1);ke(f,0);break;case 2:throw e=le(f),e;}})},ecc=function(a,b){var c,d,e,f,h;return ge(function(k){switch(k.nextAddress){case 1:c=
ho(a.id$);if(!c)return k.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=mac(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):f=mac(a.editIssueService,c,[].concat(r(d.cc),[b.email]));if(!f)return k.return();he(k,2,3);a.ccInProgress$.next(!0);return ie(k,f,5);case 5:return ie(k,se(a.ccUpdate$.pipe(He(function(q){q=q.includes(b.email);return b.action==="set_user"?q:!q}),Je(6E4))),3);case 3:je(k);
a.ccInProgress$.next(!1);ke(k,0);break;case 2:throw h=le(k),h;}})};GJ.\u0275fac=function(a){return new (a||GJ)(n(iI),n(kI),n(EI))};GJ.\u0275prov=Fc({token:GJ,factory:GJ.\u0275fac});var fcc=function(a){return["chip","gmat-caption",a]},HJ=function(){this.variant="grey";this.isTall=!1};HJ.\u0275fac=function(a){return new (a||HJ)};
HJ.\u0275cmp=p({type:HJ,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(ig(),F(0,"div",0)(1,"div",1),jg(2),H()());a&2&&E("ngClass",Hg(1,fcc,b.variant))},dependencies:[rv],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 IJ=function(a){this.chip=a};IJ.\u0275fac=function(a){return new (a||IJ)(B(HJ))};IJ.\u0275dir=ed({type:IJ,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&Vf("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 JJ=function(){};JJ.\u0275fac=function(a){return new (a||JJ)};JJ.\u0275mod=cd({type:JJ});JJ.\u0275inj=Gc({imports:[Gv]});var KJ=function(){};KJ.\u0275fac=function(a){return new (a||KJ)};KJ.\u0275cmp=p({type:KJ,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&Nf("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&Q(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var LJ=function(){};LJ.\u0275fac=function(a){return new (a||LJ)};LJ.\u0275mod=cd({type:LJ});LJ.\u0275inj=Gc({});var gcc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],hcc=function(a){return{"with-avatar":a}},MJ=function(){};MJ.prototype.ngOnInit=function(){};MJ.\u0275fac=function(a){return new (a||MJ)};
MJ.\u0275cmp=p({type:MJ,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},standalone:!0,features:[Fg],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&&(ig(gcc),F(0,"div",0)(1,"div",1)(2,"div",2),C(3,iGa,1,2,"img",3),F(4,"div",4),Q(5),H(),C(6,jGa,2,1,"div",5),H(),C(7,kGa,4,1,"div",6),F(8,"div",7),C(9,oGa,7,3,"ng-container",8)(10,pGa,4,1,"ng-container",8)(11,qGa,19,4,"ng-container",8),jg(12),H()(),jg(13,1),H());a&2&&(A(2),E("ngClass",Hg(8,hcc,b.person.imageUrl)),A(),E("ngIf",b.person.imageUrl),A(2),R(" ",b.person.name||b.person.email," "),A(),E("ngIf",b.person.name),A(),E("ngIf",b.outOfOfficeDescription),A(2),
E("ngIf",b.person.title||b.person.department),A(),E("ngIf",b.person.location),A(),E("ngIf",b.person.ldap))},dependencies:[JJ,HJ,IJ,Gv,rv,tv,LJ,KJ,QD,RC],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 icc=function(){};var jcc=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},NJ=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 jea(a)},kcc=
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}}},lcc=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=kcc(a),e=NJ(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)},mcc=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=kcc(a),e=NJ(a),f=e.length,h=0;h<f;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var ncc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),occ=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," ")):"")}}},pcc=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]},qcc=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)qcc(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))},rcc=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)qcc(a[b],a[b+1],c);return c.join("&")},scc=function(a){var b=[],c;for(c in a)qcc(c,a[c],b);return b.join("&")},MMa=function(a,b){var c=arguments.length==2?rcc(arguments[1],0):rcc(arguments,
1);return pcc(a,c)},OMa=function(a,b){b=scc(b);return pcc(a,b)},tcc=function(a,b,c){c=c!=null?"="+encodeURIComponent(String(c)):"";return pcc(a,b+c)},ucc=/#|$/,vcc=function(a,b){var c=a.search(ucc);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 qp=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof qp?(this.ignoreCase_=b!==void 0?b:a.ignoreCase_,OJ(this,a.scheme_),this.setUserInfo(a.getUserInfo()),PJ(this,a.getDomain()),this.setPort(a.getPort()),this.setPath(a.getPath()),QJ(this,a.queryData_.clone()),RJ(this,a.fragment_)):a&&(c=String(a).match(ncc))?(this.ignoreCase_=!!b,OJ(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),PJ(this,c[3]||"",!0),this.setPort(c[4]),
this.setPath(c[5]||"",!0),QJ(this,c[6]||"",!0),RJ(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new SJ(null,this.ignoreCase_))};
qp.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(TJ(b,wcc,!0),":");var c=this.getDomain();if(c||b=="file")a.push("//"),(b=this.getUserInfo())&&a.push(TJ(b,wcc,!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(TJ(c,c.charAt(0)=="/"?xcc:ycc,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",TJ(c,zcc));
return a.join("")};
qp.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?OJ(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=!!a.domain_;c?PJ(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(Ga(e,"./")||Ga(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=
[],h=0;h<e.length;){var k=e[h++];k=="."?d&&h==e.length&&f.push(""):k==".."?((f.length>1||f.length==1&&f[0]!="")&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?QJ(b,a.queryData_.clone()):c=!!a.fragment_;c&&RJ(b,a.fragment_);return b};qp.prototype.clone=function(){return new qp(this)};var OJ=function(a,b,c){a.scheme_=c?UJ(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};qp.prototype.getUserInfo=function(){return this.userInfo_};
qp.prototype.setUserInfo=function(a,b){this.userInfo_=b?UJ(a):a;return this};qp.prototype.hasUserInfo=function(){return!!this.userInfo_};qp.prototype.getDomain=function(){return this.domain_};var PJ=function(a,b,c){a.domain_=c?UJ(b,!0):b;return a};g=qp.prototype;g.getPort=function(){return this.port_};g.setPort=function(a){if(a){a=Number(a);if(isNaN(a)||a<0)throw Error("ed`"+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?UJ(a,!0):a;return this};g.hasPath=function(){return!!this.path_};g.hasQuery=function(){return this.queryData_.toString()!==""};var QJ=function(a,b,c){b instanceof SJ?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=TJ(b,Acc)),a.queryData_=new SJ(b,a.ignoreCase_));return a};qp.prototype.setQuery=function(a){return QJ(this,a)};qp.prototype.getQuery=function(){return this.queryData_.toString()};
var VJ=function(a,b,c){a.queryData_.set(b,c);return a},WJ=function(a,b){return a.queryData_.get(b)},RJ=function(a,b,c){a.fragment_=c?UJ(b):b;return a},XJ=function(a){VJ(a,"zx",Gu());return a};qp.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};qp.prototype.isReadOnly=function(){return!1};qp.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var YJ=function(a,b){return a instanceof qp?a.clone():new qp(a,b)},Bcc=function(a,b,c,d,e){var f=new qp(null);a&&OJ(f,a);b&&f.setUserInfo(b);c&&PJ(f,c);d&&f.setPort(d);e&&f.setPath(e);return f},UJ=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},TJ=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Ccc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Ccc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
wcc=/[#\/\?@]/g,ycc=/[#\?:]/g,xcc=/[#\?]/g,Acc=/[#\?@]/g,zcc=/#/g,SJ=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},ZJ=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&occ(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};g=SJ.prototype;g.getCount=function(){ZJ(this);return this.count_};
g.add=function(a,b){ZJ(this);this.encodedQuery_=null;a=$J(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){ZJ(this);a=$J(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(){ZJ(this);return this.count_==0};g.containsKey=function(a){ZJ(this);a=$J(this,a);return this.keyMap_.has(a)};
g.containsValue=function(a){var b=this.getValues();return Oa(b,a)};g.forEach=function(a,b){ZJ(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};g.getKeys=function(){ZJ(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){ZJ(this);var b=[];if(typeof a==="string")this.containsKey(a)&&(b=b.concat(this.keyMap_.get($J(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){ZJ(this);this.encodedQuery_=null;a=$J(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($J(this,a),Ta(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 SJ;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var $J=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};SJ.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(ZJ(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};
SJ.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)lcc(arguments[b],function(c,d){this.add(d,c)},this)};var Dcc=function(a){var b="";pc(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},Ecc=function(a,b,c){if(rc(c))return a;c=Dcc(c);if(typeof a==="string")return tcc(a,encodeURIComponent(String(b)),c);VJ(a,b,c);return a};var Go=function(){this.Serializable$values={}},Fo=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},aK=function(a,b){return a.Serializable$values[b]!=null};var Fcc=function(){};var Gcc=function(a,b){this.requestService=a;this.hookFactory=b===void 0?null:b};V(Gcc,Fcc);
var Hcc=function(a,b,c){var d=rGa(a.hookFactory,b);return d==null?c:Fe.pipe(Ef({complete:function(){d.onBeforeSend()}}),Vja(c.pipe(Ef(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},Icc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,f=b.body instanceof Go?yGa(b.body,vGa,wGa,xGa):b.body;return Hcc(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 Jcc=function(){};Jcc.prototype.send=function(a,b){sGa(a);return this.makeRequest(a).pipe(z(function(c){return b?CGa(b,c):c}))};var Kcc=new ld("API_VERSION"),Lcc=new ld("REQUEST_SERVICE"),bK=function(){};bK.\u0275fac=function(a){return new (a||bK)};bK.\u0275mod=cd({type:bK});bK.\u0275inj=Gc({});
var Mcc={$Xgafv:"$.xgafv",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",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",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",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",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",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"},cK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new Gcc(b,c)};
cK.prototype.list=function(a,b){a=a===void 0?{}:a;b=b===void 0?{}:b;return Icc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:tGa(a,Mcc,b)})};cK.\u0275fac=function(a){return new (a||cK)(n(Kcc,8),n(Lcc),n(icc,8))};cK.\u0275prov=Fc({token:cK,factory:cK.\u0275fac});var dK=function(){};dK.\u0275fac=function(a){return new (a||dK)};dK.\u0275prov=Fc({token:dK,factory:function(a){return cK.\u0275fac(a)},providedIn:bK});
var eK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v2":a;this.$apiClient=new Gcc(b,c)};eK.\u0275fac=function(a){return new (a||eK)(n(Kcc,8),n(Lcc),n(icc,8))};eK.\u0275prov=Fc({token:eK,factory:eK.\u0275fac});var fK=function(){};fK.\u0275fac=function(a){return new (a||fK)};fK.\u0275prov=Fc({token:fK,factory:function(a){return eK.\u0275fac(a)},providedIn:bK});var GGa=/.*@google.com/,Ncc=new ld("onedevPeopleServiceConfig"),Occ={},gK=function(){},Qcc=function(a,b){return Pcc(a,[b]).pipe(z(function(c){return c[0]}))};gK.\u0275fac=function(a){return new (a||gK)};gK.\u0275prov=Fc({token:gK,factory:gK.\u0275fac});
var hK=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new yf;this.config=Occ;c&&c.pipe(Ef(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),Df(this.destroy$)).subscribe({next:function(e){d.config=e}})};V(hK,gK);
var Pcc=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(z(function(c){return KGa(b,c)}))};hK.prototype.ngOnDestroy=function(){this.destroy$.next()};hK.\u0275fac=function(a){return new (a||hK)(n(dK),n(fK),n(Ncc,8))};hK.\u0275prov=Fc({token:hK,factory:hK.\u0275fac});var iK=function(){};iK.\u0275fac=function(a){return new (a||iK)};iK.\u0275mod=cd({type:iK});iK.\u0275inj=Gc({providers:[hK,{provide:gK,useExisting:hK}],imports:[bK]});var Rcc=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};V(Rcc,Go);Rcc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
da.Object.defineProperties(Rcc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return aK(this,"dayOfWeek")?Fo(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return aK(this,"periodEndMinutes")?Fo(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return aK(this,"periodStartMinutes")?Fo(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var Scc=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};V(Scc,Go);Scc.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:jK},keys:["debugOptions","userIds"],objects:{debugOptions:kK}}};
da.Object.defineProperties(Scc.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return aK(this,"debugOptions")?Fo(this,"debugOptions"):this.debugOptions=new kK},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return aK(this,"userIds")?Fo(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var Tcc=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.results=a.results==null?null:a.results};V(Tcc,Go);Tcc.prototype.getPartialClassMetadata=function(){return{arrays:{results:Ucc},keys:["results"]}};
da.Object.defineProperties(Tcc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"results")!==null}},results:{configurable:!0,enumerable:!0,get:function(){return aK(this,"results")?Fo(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var lK=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};V(lK,Go);
lK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
da.Object.defineProperties(lK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"committedUntil")?Fo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return aK(this,"eventSummary")?Fo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return aK(this,"nextAvailable")?Fo(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"occupiedUntil")?Fo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var mK=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};V(mK,Go);mK.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:nK}}};
da.Object.defineProperties(mK.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return aK(this,"geoCoordinates")?Fo(this,"geoCoordinates"):this.geoCoordinates=new nK},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return aK(this,"label")?Fo(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return aK(this,"location")?Fo(this,"location"):""},
set:function(a){this.Serializable$values.location=a}}});var oK=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};V(oK,Go);oK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
da.Object.defineProperties(oK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"committedUntil")?Fo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return aK(this,"nextAvailable")?Fo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"occupiedUntil")?Fo(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Vcc=function(){this.Serializable$values={}};V(Vcc,Go);Vcc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var pK=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};V(pK,Go);
pK.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
da.Object.defineProperties(pK.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"committedUntil")?Fo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return aK(this,"eventSummary")?Fo(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"inMeetingsUntil")?Fo(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return aK(this,"nextAvailable")?Fo(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"occupiedUntil")?Fo(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Wcc=function(){this.Serializable$values={}};V(Wcc,Go);
Wcc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var nK=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};V(nK,Go);nK.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
da.Object.defineProperties(nK.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return aK(this,"latitude")?Fo(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return aK(this,"longitude")?Fo(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var qK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=a.timeZone==null?null:a.timeZone};
V(qK,Go);qK.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};da.Object.defineProperties(qK.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return aK(this,"timeZone")?Fo(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var rK=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};V(rK,Go);
rK.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
da.Object.defineProperties(rK.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return aK(this,"experimentalBuildingId")?Fo(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return aK(this,"experimentalDeskId")?Fo(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return aK(this,"experimentalFloorId")?Fo(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return aK(this,"label")?Fo(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var sK=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};V(sK,Go);sK.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
da.Object.defineProperties(sK.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"comeBackTime")?Fo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return aK(this,"committedUntil")?Fo(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return aK(this,"eventSummary")?Fo(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var tK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=a.comeBackTime==null?null:a.comeBackTime};V(tK,Go);tK.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
da.Object.defineProperties(tK.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"comeBackTime")?Fo(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var uK=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};V(uK,Go);
uK.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
da.Object.defineProperties(uK.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return aK(this,"code")?Fo(this,"code"):0},set:function(a){this.Serializable$values.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return aK(this,"details")?Fo(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return aK(this,"message")?Fo(this,"message"):""},set:function(a){this.Serializable$values.message=
a}}});var vK=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};V(vK,Go);vK.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
da.Object.defineProperties(vK.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"endTime")?Fo(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"startTime")?Fo(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var wK=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};V(wK,Go);wK.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
da.Object.defineProperties(wK.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return aK(this,"computationDuration")?Fo(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"overrideCurrentTime")?Fo(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var xK=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};V(xK,Go);xK.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:yK}}};
da.Object.defineProperties(xK.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return aK(this,"nextCommitmentStatus")?Fo(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new yK},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"nextCommitmentTime")?Fo(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var zK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=a.timeRange==null?null:a.timeRange};V(zK,Go);zK.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:vK}}};da.Object.defineProperties(zK.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return aK(this,"timeRange")?Fo(this,"timeRange"):this.timeRange=new vK},set:function(a){this.Serializable$values.timeRange=a}}});
var AK=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};V(AK,Go);AK.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:Xcc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:BK}}};
da.Object.defineProperties(AK.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return aK(this,"availabilities")?Fo(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"nextPollTime")?Fo(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return aK(this,"workingHours")?
Fo(this,"workingHours"):this.workingHours=new BK},set:function(a){this.Serializable$values.workingHours=a}}});var kK=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};V(kK,Go);kK.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:wK}}};
da.Object.defineProperties(kK.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return aK(this,"forceEnableUserStatusCache")?Fo(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return aK(this,"timeSettings")?Fo(this,"timeSettings"):this.timeSettings=new wK},set:function(a){this.Serializable$values.timeSettings=a}}});
var Ucc=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};V(Ucc,Go);Ucc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:uK,userAvailabilities:AK,userId:jK}}};
da.Object.defineProperties(Ucc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return aK(this,"status")?Fo(this,"status"):this.status=new uK},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"userAvailabilities")!==null}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return aK(this,"userAvailabilities")?
Fo(this,"userAvailabilities"):this.userAvailabilities=new AK},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"userId")!==null}},userId:{configurable:!0,enumerable:!0,get:function(){return aK(this,"userId")?Fo(this,"userId"):this.userId=new jK},set:function(a){this.Serializable$values.userId=a}}});
var Xcc=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};V(Xcc,Go);Xcc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:CK,status:yK,timeRange:vK}}};
da.Object.defineProperties(Xcc.prototype,{hasContexts:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"contexts")!==null}},contexts:{configurable:!0,enumerable:!0,get:function(){return aK(this,"contexts")?Fo(this,"contexts"):this.contexts=new CK},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"status")!==null}},status:{configurable:!0,enumerable:!0,get:function(){return aK(this,"status")?Fo(this,"status"):this.status=
new yK},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,enumerable:!0,get:function(){return aK(this,"timeRange")?Fo(this,"timeRange"):this.timeRange=new vK},set:function(a){this.Serializable$values.timeRange=a}}});
var CK=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};V(CK,Go);
CK.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:qK,upcomingCommitmentContext:xK,upcomingOoo:zK,workingElsewhere:DK}}};
da.Object.defineProperties(CK.prototype,{hasLocalTime:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"localTime")!==null}},localTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"localTime")?Fo(this,"localTime"):this.localTime=new qK},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return aK(this,"upcomingCommitmentContext")?Fo(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=
new xK},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,enumerable:!0,get:function(){return aK(this,"upcomingOoo")?Fo(this,"upcomingOoo"):this.upcomingOoo=new zK},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return aK(this,"workingElsewhere")?Fo(this,"workingElsewhere"):this.workingElsewhere=new DK},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var jK=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};V(jK,Go);jK.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
da.Object.defineProperties(jK.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return aK(this,"email")?Fo(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return aK(this,"obfuscatedGaiaId")?Fo(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var EK=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};V(EK,Go);EK.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:mK,homeLocation:Vcc,officeLocation:rK}}};
da.Object.defineProperties(EK.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return aK(this,"customLocation")?Fo(this,"customLocation"):this.customLocation=new mK},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return aK(this,"homeLocation")?Fo(this,"homeLocation"):this.homeLocation=new Vcc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return aK(this,
"officeLocation")?Fo(this,"officeLocation"):this.officeLocation=new rK},set:function(a){this.Serializable$values.officeLocation=a}}});
var yK=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};V(yK,Go);yK.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:lK,doNotDisturb:oK,inMeeting:pK,inactive:Wcc,outOfOffice:sK,outsideWorkingHours:tK}}};
da.Object.defineProperties(yK.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return aK(this,"calendarBusy")?Fo(this,"calendarBusy"):this.calendarBusy=new lK},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return aK(this,"doNotDisturb")?Fo(this,"doNotDisturb"):this.doNotDisturb=new oK},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return aK(this,
"inMeeting")?Fo(this,"inMeeting"):this.inMeeting=new pK},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return aK(this,"inactive")?Fo(this,"inactive"):this.inactive=new Wcc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return Fo(this,"outOfOffice")!==null}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return aK(this,"outOfOffice")?Fo(this,"outOfOffice"):
this.outOfOffice=new sK},set:function(a){this.Serializable$values.outOfOffice=a}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return aK(this,"outsideWorkingHours")?Fo(this,"outsideWorkingHours"):this.outsideWorkingHours=new tK},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});var DK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.location=a.location==null?null:a.location};V(DK,Go);
DK.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:EK}}};da.Object.defineProperties(DK.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return aK(this,"location")?Fo(this,"location"):this.location=new EK},set:function(a){this.Serializable$values.location=a}}});var BK=function(a){a=a===void 0?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=a.availableTime==null?null:a.availableTime};V(BK,Go);
BK.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:Rcc},keys:["availableTime"]}};da.Object.defineProperties(BK.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return aK(this,"availableTime")?Fo(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var Ycc=new ld("API_VERSION"),Zcc=new ld("REQUEST_SERVICE"),FK=function(){};FK.\u0275fac=function(a){return new (a||FK)};FK.\u0275mod=cd({type:FK});
FK.\u0275inj=Gc({});var $cc={$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"},GK=function(a,b,c){this.gapiVersion=a;this.gapiVersion=a==null?"v1alpha":a;this.$apiClient=new Gcc(b,c)};GK.\u0275fac=function(a){return new (a||GK)(n(Ycc,8),n(Zcc),n(icc,8))};GK.\u0275prov=Fc({token:GK,factory:GK.\u0275fac});var HK=function(){};
HK.\u0275fac=function(a){return new (a||HK)};HK.\u0275prov=Fc({token:HK,factory:function(a){return GK.\u0275fac(a)},providedIn:FK});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var IK=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};gu(IK,LGa);
IK.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof IK&&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 JK(this),KK(this),LK(this,!1,a))}};IK.prototype.continue_=function(a,b){this.blocked_=!1;LK(this,a,b)};
var LK=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;adc(a)},KK=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new bdc(a);a.silentlyCanceled_=!1}};IK.prototype.callback=function(a){KK(this);LK(this,!0,a)};IK.prototype.addCallback=function(a,b){return cdc(this,a,null,b)};var cdc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&adc(a);return a};
IK.prototype.then=function(a,b,c){var d,e,f=new Tz(function(h,k){e=h;d=k});cdc(this,e,function(h){h instanceof JK?f.cancel():d(h);return ddc},this);return f.then(a,b,c)};IK.prototype.$goog_Thenable=!0;IK.prototype.isError=function(a){return a instanceof Error};
var edc=function(a){return LSb(a.sequence_,function(b){return typeof b[1]==="function"})},ddc={},adc=function(a){if(a.unhandledErrorId_&&a.fired_&&edc(a)){var b=a.unhandledErrorId_,c=fdc[b];c&&(Ba.clearTimeout(c.id_),delete fdc[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 k=f.call(e||a.defaultScope_,b);k===ddc&&(k=void 0);k!==void 0&&
(a.hadError_=a.hadError_&&(k==b||a.isError(k)),a.result_=b=k);if(y0b(b)||typeof Ba.Promise==="function"&&b instanceof Ba.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,edc(a)||(c=!0)}}a.result_=b;d&&(k=eu(a.continue_,a,!0),d=eu(a.continue_,a,!1),b instanceof IK?(cdc(b,k,d),b.blocking_=!0):b.then(k,d));c&&(b=new gdc(b),fdc[b.id_]=b,a.unhandledErrorId_=b.id_)},bdc=function(){ya.call(this)};gu(bdc,ya);bdc.prototype.message="Deferred has already fired";bdc.prototype.name="AlreadyCalledError";
var JK=function(){ya.call(this)};gu(JK,ya);JK.prototype.message="Deferred was canceled";JK.prototype.name="CanceledError";var gdc=function(a){this.id_=Ba.setTimeout(eu(this.throwError,this),0);this.error_=a};gdc.prototype.throwError=function(){delete fdc[this.id_];throw this.error_;};var fdc={};var QGa=function(a,b){var c=b||{};b=c.document||document;var d=Cc(a).toString(),e=(new Fz(b)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},h=new IK(hdc,f),k=null,q=c.timeout!=null?c.timeout:5E3;q>0&&(k=window.setTimeout(function(){idc(e,!0);var t=new jdc(1,"Timeout reached for loading script "+d);KK(h);LK(h,!1,t)},q),f.timeout_=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(idc(e,c.cleanupWhenDone||!1,k),h.callback(null))};e.onerror=
function(){idc(e,!0,k);var t=new jdc(0,"Error while loading script "+d);KK(h);LK(h,!1,t)};f=c.attributes||{};rea(f,{type:"text/javascript",charset:"UTF-8"});a0b(e,f);Z_b(e,a);kdc(b).appendChild(e);return h},kdc=function(a){var b=Iz("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement},hdc=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&idc(a,!0,this.timeout_)}},idc=function(a,b,c){c!=null&&Ba.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=
function(){};b&&window.setTimeout(function(){Oz(a)},0)},jdc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);ya.call(this,c);this.code=a};gu(jdc,ya);var RGa=Vt(["https://apis.google.com/js/api.js"]),MGa=null,TGa=new WeakMap;var MK=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=Be(function(){return OGa().then(function(f){f=f||window.gapi;e.setGapiConfig(f);return VGa(f,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return f})})})};V(MK,Jcc);
MK.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(ye(function(c){var d=pe(void 0);b.gapiAuthParams.minAuthTokenTimeRemaining!==void 0&&(d=fe(UGa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(ye(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}))}))}))};
MK.prototype.parseResponse=function(a){return new ce(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)})})};MK.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&SGa(a,b,this.gapiConfigUpdates[b])};var ldc=function(a,b,c,d,e){d=d===void 0?{}:d;e=e===void 0?{}:e;MK.call(this,a,c,d,e);this.waldoApiKey=b};V(ldc,MK);ldc.prototype.makeRequest=function(a){var b=MK.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var NK=function(a){var b=this;this.apiStub=a;this.result=new yf;this.destroyed=new xf(1);this.trigger=new yf;this.batchedTrigger=this.trigger.pipe(Sja(this.trigger.pipe(kf(200))));this.responseHandler=function(c){if(c.hasResults){c=l(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),k=new Date;f=k.getFullYear()===h.getFullYear()&&k.getMonth()===h.getMonth()&&k.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(Df(this.destroyed)).subscribe(function(c){c=[].concat(r(new Set(c)));mdc(b,c.slice(0,100));c=l(c.slice(100));for(var d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},mdc=function(a,b){var c,d;ge(function(e){for(var f=new Scc,h=[],k=l(b),q=k.next();!q.done;q=k.next()){q=q.value;var t=new jK;t.email=q;h.push(t)}f.userIds=
h;c=f;f=a.apiStub;var w=w===void 0?{}:w;var y=y===void 0?{}:y;d=Icc(f.$apiClient,{body:c,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",path:"/"+f.gapiVersion+"/useravailabilities:batchget",queryParams:tGa(w,$cc,y),responseCtor:Tcc});d.pipe(Df(a.destroyed)).subscribe(a.responseHandler);me(e)})},ndc=function(a,b){if(!b)return pe({emailAddress:b,availability:"",timezone:""});a.trigger.next(b);return a.result.pipe(He(function(c){return c.emailAddress===
b}))},odc=function(a,b){return ndc(a,b).pipe(z(function(c){return c.availability}))};NK.prototype.ngOnDestroy=function(){this.destroyed.next()};NK.\u0275fac=function(a){return new (a||NK)(n(HK))};NK.\u0275prov=Fc({token:NK,factory:NK.\u0275fac});var OK=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new xf(1);this.availability=this.userSubject.pipe(Cf(function(c){return odc(b.waldoAvailabilityService,c)}))};OK.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};OK.\u0275fac=function(a){return new (a||OK)(B(NK))};
OK.\u0275cmp=p({type:OK,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[rd],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&&(C(0,WGa,6,3,"div",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.availability))},dependencies:[tv,yv],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 pdc=function(a){this.proxiedService=a};V(pdc,Jcc);pdc.prototype.makeRequest=function(a){var b=this;return Be(function(){return b.proxiedService.makeRequest(a)})};var qdc=new ld("environment"),rdc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},PK=function(){};PK.\u0275fac=function(a){return new (a||PK)};PK.\u0275mod=cd({type:PK});PK.\u0275inj=Gc({imports:[Gv,FK]});var sdc=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"),tdc=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,udc=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,vdc=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,wdc=function(a){return sdc.test(a)||tdc.test(a)||udc.test(a)||vdc.test(a)};var xdc=function(a){this.internalArray_=m(a)};V(xdc,X);g=xdc.prototype;g.getSize=function(){return vu(this,1)};g.setSize=function(a){return Ml(this,1,a)};g.getWidth=function(){return vu(this,12)};g.setWidth=function(a){return Ml(this,12,a)};g.getHeight=function(){return vu(this,13)};g.setHeight=function(a){return Ml(this,13,a)};g.setStretch=function(a){return Ll(this,33,a)};g.setCrop=function(a){return Ll(this,2,a)};g.setCircleCrop=function(a){return Ll(this,51,a)};
g.setImageCrop=function(a){return Ll(this,32,a)};g.setSmartCrop=function(a){return Ll(this,19,a)};g.setSmartCropNoClip=function(a){return Ll(this,52,a)};g.setSmartCropUseFace=function(a){return Ll(this,67,a)};g.setDetectFaces=function(a){Ll(this,80,a)};g.setCenterCrop=function(a){return Ll(this,20,a)};g.setPad=function(a){return Ll(this,60,a)};g.setDownload=function(a){Ll(this,3,a)};g.setHtml=function(a){Ll(this,4,a)};g.setObjectId=function(a){ro(this,7,a==null?a:Rca(a))};
g.setLooseFaceCrop=function(a){return Ll(this,65,a)};g.setFaceCropVersion=function(a){Ml(this,94,a)};g.setFrameId=function(a){ro(this,29,a==null?a:Rca(a))};g.setTileX=function(a){Ml(this,9,a)};g.setTileY=function(a){Ml(this,10,a)};g.setTileZoom=function(a){Ml(this,11,a)};g.setTileGeneration=function(a){Ll(this,14,a)};g.setForceTileGeneration=function(a){Ll(this,34,a)};g.setTilePyramidAsProto=function(a){Ll(this,72,a)};g.setExpirationTime=function(a){Ml(this,15,a)};
g.setExpirationTimeInMinutes=function(a){Ml(this,107,a)};g.setImageFilter=function(a){return Sj(this,16,a)};g.setKillAnimation=function(a){return Ll(this,17,a)};g.setUnfiltered=function(a){Ll(this,18,a)};g.setUnfilteredWithTransforms=function(a){Ll(this,45,a)};g.setIncludeMetadata=function(a){Ll(this,22,a)};g.setIncludePublicMetadata=function(a){Ll(this,54,a)};g.setStripGoogleData=function(a){Ll(this,82,a)};g.setPreserveGoogleData=function(a){Ll(this,83,a)};
g.setStripMetadata=function(a){Ll(this,93,a)};g.setStripGeoinfo=function(a){Ll(this,95,a)};g.setEsPortraitApprovedOnly=function(a){return Ll(this,21,a)};g.setBypassTakedown=function(a){Ll(this,23,a)};g.getToken=function(){return Tj(this,24)};g.setToken=function(a){return Sj(this,24,a)};g.setVersionedToken=function(a){Sj(this,36,a)};g.setSkipRefererCheck=function(a){Ll(this,6,a)};g.setRotate=function(a){return Ml(this,26,a)};g.setHorizontalFlip=function(a){Ll(this,30,a)};
g.setVerticalFlip=function(a){Ll(this,31,a)};g.getOverlay=function(){return qt(this,27)};g.setOverlay=function(a){return Ll(this,27,a)};g.setQueryString=function(a){Sj(this,28,a)};g.setRequestJpeg=function(a){return Ll(this,57,a)};g.setRequestPng=function(a){return Ll(this,58,a)};g.setRequestGif=function(a){Ll(this,59,a)};g.setRequestAvif=function(a){Ll(this,103,a)};g.setRequestWebp=function(a){return Ll(this,35,a)};g.setRequestWebpUnlessMaybeTransparent=function(a){Ll(this,41,a)};
g.setRequestAnimatedWebp=function(a){Ll(this,64,a)};g.setNoWebp=function(a){Ll(this,48,a)};g.setRequestH264=function(a){return Ll(this,49,a)};g.setLossy=function(a){Ll(this,97,a)};g.setNoOverlay=function(a){return Ll(this,37,a)};g.setBorderSize=function(a){Ml(this,38,a)};g.setBorderRadius=function(a){Ml(this,86,a)};g.setBorderColor=function(a){Ml(this,39,a)};g.getBackgroundColor=function(){return vu(this,87)};g.setBackgroundColor=function(a){Ml(this,87,a)};g.setPadColor=function(a){Ml(this,88,a)};
g.setSubstitutionColor=function(a){Ml(this,89,a)};g.setNoSilhouette=function(a){Ll(this,40,a)};g.setFocusBlur=function(a){Ml(this,42,a)};g.setFocalPlane=function(a){Ml(this,43,a)};g.setQualityLevel=function(a){return Ml(this,44,a)};g.setQualityBucket=function(a){return Ml(this,62,a)};g.setNoUpscale=function(a){Ll(this,46,a)};g.setPreserveAspectRatio=function(a){Ll(this,61,a)};g.setForceTransformation=function(a){Ll(this,50,a)};g.setNoDefaultImage=function(a){Ll(this,53,a)};
g.setNoCorrectExifOrientation=function(a){Ll(this,55,a)};g.setSelectFrameNumber=function(a){Ml(this,56,a)};g.setVideoFormat=function(a){Ml(this,63,a)};g.setVideoMultiFormat=function(a){Sj(this,81,a)};g.setVideoManifest=function(a){Ll(this,98,a)};g.setDownloadVideo=function(a){Ll(this,90,a)};g.setVideoBegin=function(a){Tl(this,68,a)};g.setVideoLength=function(a){Tl(this,69,a)};g.setMatchVersion=function(a){Ll(this,66,a)};g.setImageDigest=function(a){Ll(this,70,a)};
g.setInternalClient=function(a){Ml(this,71,a)};g.setMonogram=function(a){Ll(this,73,a)};g.setForceMonogram=function(a){return Ll(this,84,a)};g.setMonogramDogfood=function(a){Ll(this,91,a)};g.setIgnoreLowResProfilePhoto=function(a){Ll(this,96,a)};g.setAutoloop=function(a){Ll(this,74,a)};g.getImageVersion=function(){return tu(this,75)};g.setImageVersion=function(a){Tl(this,75,a)};g.setPitchDegrees=function(a){ro(this,76,yb(a))};g.setYawDegrees=function(a){ro(this,77,yb(a))};
g.setRollDegrees=function(a){ro(this,78,yb(a))};g.setFovDegrees=function(a){ro(this,79,yb(a))};g.setBadge=function(a){Ml(this,85,a)};g.setColorProfile=function(a){Ml(this,92,a)};g.setDeepCrop=function(a){Sj(this,99,a)};g.setRequestVideoFast=function(a){Ll(this,100,a)};g.setVideoFormatFilters=function(a){Sj(this,102,a)};g.setDummyCacheKeyModifier=function(a){Ll(this,104,a)};g.setGainMap=function(a){Ll(this,105,a)};g.setNoGainMap=function(a){Ll(this,106,a)};
g.setForceCookieRedirect=function(a){Ll(this,108,a)};g.setStoryboardLevel=function(a){Ml(this,109,a)};g.setStoryboardMosaic=function(a){Ml(this,110,a)};var QK=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};QK.prototype.set=function(a,b){ydc(this,a,b,!1)};QK.prototype.add=function(a,b){ydc(this,a,b,!0)};var ydc=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 QK);a=a.childNodes_[f]}if(d&&a.value_!==void 0)throw Error("kd`"+b);a.value_=c};QK.prototype.setAll=function(a){var b=kcc(a);a=NJ(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var zdc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};QK.prototype.get=function(a){return(a=zdc(this,a))?a.value_:void 0};QK.prototype.getValues=function(){var a=[];Adc(this,a);return a};var Adc=function(a,b){a.value_!==void 0&&b.push(a.value_);for(var c in a.childNodes_)Adc(a.childNodes_[c],b)};
QK.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]}Bdc(c,a,b)}else Bdc(this,"",b);return b};var Bdc=function(a,b,c){a.value_!==void 0&&c.push(b);for(var d in a.childNodes_)Bdc(a.childNodes_[d],b+d,c)};g=QK.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("ld`"+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 QK(this)};g.getCount=function(){return jcc(this.getValues())};g.isEmpty=function(){return this.value_===void 0&&rc(this.childNodes_)};var Edc=function(){if(!Cdc){var a=Cdc=new QK,b;for(b in Ddc)a.add(b,Ddc[b])}},Cdc,RK=function(a,b){this.types=a;this.setters=b},Ddc={a:new RK([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new RK([3],[function(a,b){a.setAutoloop(b)}]),b:new RK([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new RK([0],[function(a,b){a.setBadge(b)}]),bc:new RK([0],[function(a,b){a.setBackgroundColor(b)}]),br:new RK([0],[function(a,
b){a.setBorderRadius(b)}]),c:new RK([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new RK([3],[function(a,b){a.setCircleCrop(b)}]),ci:new RK([3],[function(a,b){a.setImageCrop(b)}]),ckm:new RK([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new RK([0],[function(a,b){a.setColorProfile(b)}]),cr:new RK([3],[function(a,b){a.setForceCookieRedirect(b)}]),cv:new RK([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new RK([3],[function(a,b){a.setDownload(b)}]),dc:new RK([5],
[function(a,b){a.setDeepCrop(b)}]),df:new RK([3],[function(a,b){a.setDetectFaces(b)}]),dv:new RK([3],[function(a,b){a.setDownloadVideo(b)}]),e:new RK([0],[function(a,b){a.setExpirationTime(b)}]),em:new RK([0],[function(a,b){a.setExpirationTimeInMinutes(b)}]),f:new RK([4],[function(a,b){a.setImageFilter(b)}]),fg:new RK([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new RK([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new RK([3],[function(a,b){a.setForceMonogram(b)}]),fo:new RK([2],[function(a,
b){a.setFovDegrees(b)}]),ft:new RK([3],[function(a,b){a.setForceTransformation(b)}]),fv:new RK([3],[function(a,b){a.setVerticalFlip(b)}]),g:new RK([3],[function(a,b){a.setTileGeneration(b)}]),gd:new RK([3],[function(a,b){a.setPreserveGoogleData(b)}]),gm:new RK([3],[function(a,b){a.setGainMap(b)}]),h:new RK([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new RK([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new RK([0],[function(a,b){a.setInternalClient(b)}]),id:new RK([3],[function(a,
b){a.setImageDigest(b)}]),il:new RK([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new RK([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new RK([0],[function(a,b){a.setImageVersion(b)}]),j:new RK([1],[function(a,b){a.setFrameId(b)}]),k:new RK([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new RK([0],[function(a,b){a.setQualityLevel(b)}]),lf:new RK([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new RK([3],[function(a,b){a.setLossy(b)}]),m:new RK([0],
[function(a,b){a.setVideoFormat(b)}]),md:new RK([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new RK([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new RK([3],[function(a,b){a.setMonogram(b)}]),mv:new RK([3],[function(a,b){a.setMatchVersion(b)}]),n:new RK([3],[function(a,b){a.setCenterCrop(b)}]),nc:new RK([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new RK([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new RK([3],[function(a,b){a.setStripGeoinfo(b)}]),ngm:new RK([3],[function(a,
b){a.setNoGainMap(b)}]),no:new RK([3],[function(a,b){a.setNoOverlay(b)}]),ns:new RK([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new RK([4],[function(a,b){a.setVersionedToken(b)}]),nu:new RK([3],[function(a,b){a.setNoUpscale(b)}]),nw:new RK([3],[function(a,b){a.setNoWebp(b)}]),o:new RK([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new RK([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new RK([3],[function(a,b){a.setPreserveAspectRatio(b)}]),
pc:new RK([0],[function(a,b){a.setPadColor(b)}]),pd:new RK([3],[function(a,b){a.setPad(b)}]),pf:new RK([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new RK([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new RK([2],[function(a,b){a.setPitchDegrees(b)}]),pp:new RK([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new RK([4],[function(a,b){a.setQueryString(b)}]),r:new RK([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new RK([3],[function(a,b){a.setRequestAvif(b)}]),
rf:new RK([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new RK([3],[function(a,b){a.setRequestGif(b)}]),rh:new RK([3],[function(a,b){a.setRequestH264(b)}]),rj:new RK([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new RK([2],[function(a,b){a.setRollDegrees(b)}]),rp:new RK([3],[function(a,b){a.setRequestPng(b)}]),rw:new RK([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new RK([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new RK([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),
s:new RK([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sb:new RK([0],[function(a,b){a.setStoryboardMosaic(b)}]),sc:new RK([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new RK([3],[function(a,b){a.setStripGoogleData(b)}]),sl:new RK([0],[function(a,b){a.setStoryboardLevel(b)}]),sm:new RK([3],[function(a,b){a.setStripMetadata(b)}]),t:new RK([4],[function(a,b){a.setToken(b)}]),u:new RK([3],[function(a,b){a.setUnfiltered(b)}]),ut:new RK([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),
v:new RK([0],[function(a,b){a.setQualityBucket(b)}]),vb:new RK([0],[function(a,b){a.setVideoBegin(b)}]),vf:new RK([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new RK([0],[function(a,b){a.setVideoLength(b)}]),vm:new RK([3],[function(a,b){a.setVideoManifest(b)}]),w:new RK([0],[function(a,b){a.setWidth(b)}]),x:new RK([0],[function(a,b){a.setTileX(b)}]),y:new RK([0],[function(a,b){a.setTileY(b)}]),ya:new RK([2],[function(a,b){a.setYawDegrees(b)}]),z:new RK([0],[function(a,b){a.setTileZoom(b)}])};
Edc.prototype.parse=function(a){var b=new xdc,c=new xdc;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,k=!1;var q=h;var t=h.charAt(0);t!=t.toLowerCase()&&(k=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var w=Cdc;for(t=1;t<=q.length;++t){var y=w,D=q.substring(0,t);if(D.length==0?y.isEmpty():!zdc(y,D))break}q=t==1?null:(q=w.get(q.substring(0,t-1)))?{option:h.substring(0,t-1),value:h.substring(t-1),signed:k,attributes:q}:null;if(q){h=
[];k=[];t=!1;for(w=0;w<q.attributes.types.length;w++){y=q.attributes.types[w];var G=q.value;D=e;if(q.signed&&y==1)for(var I=G.length;I<12&&D<a.length-1;)G+="-"+a[D+1],I=G.length,++D;else if(y==2)for(;D<a.length-1&&a[D+1].match(/^[\d\.]/);)G+="-"+a[D+1],++D;I=q.attributes.setters[w];G=Fdc(this,y)(q.option,G,b,c,I);if(G===null){t=!0;e=D;break}else h.push(y),k.push(G)}if(!t)for(q=0;q<k.length;q++)w=h[q],G=k[q],Gdc(this,w)(f,G);d=d&&t}else d=!1}}a=d}return new Hdc(b,c,a)};
var SK=function(a,b,c,d,e,f){e(c,b);a=a.charAt(0);f=f(a==a.toUpperCase());e(d,f)};g=Edc.prototype;g.parseAndSetIntOption_=function(a,b,c,d,e){if(b=="")return 0;b=ii(b);if(isNaN(b))return 1;SK(a,b,c,d,e,Number);return null};g.logIntParseError_=function(){};g.parseAndSetFloatOption_=function(a,b,c,d,e){if(b=="")return 0;b=yk(b);if(isNaN(b))return 1;SK(a,b,c,d,e,Number);return null};g.logFloatParseError_=function(){};
g.parseAndSetBoolOption_=function(a,b,c,d,e){if(b!="")return 2;SK(a,!0,c,d,e,Boolean);return null};g.logBoolParseError_=function(){};g.parseAndSetStringOption_=function(a,b,c,d,e){if(b=="")return 0;SK(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;SK(a,b,c,d,e,function(f){return f?1:0});return null};
var Fdc=function(a,b){switch(b){case 0:return eu(a.parseAndSetIntOption_,a);case 2:return eu(a.parseAndSetFloatOption_,a);case 3:return eu(a.parseAndSetBoolOption_,a);case 4:return eu(a.parseAndSetStringOption_,a);case 1:return eu(a.parseAndSetUint64Base64Option_,a);default:return function(){}}},Gdc=function(a,b){switch(b){case 0:return eu(a.logIntParseError_,a);case 2:return eu(a.logFloatParseError_,a);case 3:return eu(a.logBoolParseError_,a);case 4:case 1:return eu(a.logStringParseError_,a);default:return function(){}}},
Hdc=function(a,b,c){this.valueProto_=a;this.signatureFlagProto_=b;this.valid_=c};Hdc.prototype.isValid=function(){return this.valid_};var Idc=function(a,b){a!=null&&this.append.apply(this,arguments)};g=Idc.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 TK=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;Jdc(this,a)};TK.prototype.getParsedOptions=function(){return this.parsedOptions_};var Kdc=function(a){a.parser_==null&&(a.parser_=new Edc);return a.parser_},Jdc=function(a,b){a.parsedOptions_=b?typeof b==="string"?Kdc(a).parse(b):b:Kdc(a).parse("")},UK=function(a,b){return a==b?!1:!0};g=TK.prototype;
g.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,21),qt(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};g.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,56),vu(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};g.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,74),qt(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
g.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,23,!1),hk(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};g.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,38),vu(b.signatureFlagProto_,38))&&c.setBorderSize(a)};g.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,85),vu(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,vu(c,86),vu(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};g.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,2,!1),hk(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
g.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,39),vu(b.signatureFlagProto_,39))&&c.setBorderColor(a)};g.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,51),qt(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,qt(c,32),qt(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,qt(c,104),qt(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};g.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,92),vu(b.signatureFlagProto_,92))&&c.setColorProfile(a)};g.setForceCookieRedirect=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,108),qt(b.signatureFlagProto_,108))&&c.setForceCookieRedirect(a)};
g.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,94),vu(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};g.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,3,!1),hk(b.signatureFlagProto_,3,!1))&&c.setDownload(a)};g.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,Tj(c,99),Tj(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};
g.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,80),qt(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};g.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,90),qt(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};g.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,15),vu(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};
g.setExpirationTimeInMinutes=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,107),vu(b.signatureFlagProto_,107))&&c.setExpirationTimeInMinutes(a)};g.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,Tj(c,16),Tj(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,hk(c,34,!1),hk(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};
g.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,30),qt(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};g.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,84),qt(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};g.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,jr(c,79),jr(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};
g.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,50),qt(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};g.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,31),qt(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};g.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,14,!1),hk(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};
g.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,83),qt(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};g.setGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,105),qt(b.signatureFlagProto_,105))&&c.setGainMap(a)};g.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,4,!1),hk(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,qt(c,22),qt(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};g.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,71),vu(b.signatureFlagProto_,71))&&c.setInternalClient(a)};
g.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,70),qt(b.signatureFlagProto_,70))&&c.setImageDigest(a)};g.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,96),qt(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};g.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,54),qt(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};
g.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,tu(c,75),tu(b.signatureFlagProto_,75))&&c.setImageVersion(a)};g.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,uu(c,29),uu(b.signatureFlagProto_,29))&&c.setFrameId(a)};g.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,17),qt(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};
g.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,42),vu(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};g.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,44),vu(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,qt(c,65),qt(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,qt(c,97),qt(b.signatureFlagProto_,97))&&c.setLossy(a)};g.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,63),vu(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};g.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,91),qt(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};
g.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,Tj(c,81),Tj(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};g.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,73),qt(b.signatureFlagProto_,73))&&c.setMonogram(a)};g.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,66),qt(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};
g.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,20,!1),hk(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,qt(c,55),qt(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};g.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,53),qt(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};
g.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,95),qt(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};g.setNoGainMap=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,106),qt(b.signatureFlagProto_,106))&&c.setNoGainMap(a)};g.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,37,!1),hk(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,qt(c,40),qt(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};g.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,Tj(c,36),Tj(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};g.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,46),qt(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};
g.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,48,!1),hk(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};g.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,uu(c,7),uu(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,hk(c,19,!1),hk(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};g.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,43),vu(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};g.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,61),qt(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};
g.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,88),vu(b.signatureFlagProto_,88))&&c.setPadColor(a)};g.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,60),qt(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,hk(c,67,!1),hk(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,hk(c,72,!1),hk(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};g.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,jr(c,76),jr(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};g.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,52,!1),hk(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,Tj(c,28),Tj(b.signatureFlagProto_,28))&&c.setQueryString(a)};g.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,6,!1),hk(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};g.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,26),vu(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,hk(c,103,!1),hk(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};g.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,100),qt(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};g.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,59),qt(b.signatureFlagProto_,59))&&c.setRequestGif(a)};
g.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,49,!1),hk(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,qt(c,57),qt(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};g.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,jr(c,78),jr(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};
g.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,58),qt(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,hk(c,35,!1),hk(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,hk(c,64,!1),hk(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};
g.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,hk(c,41,!1),hk(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};g.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,33),qt(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,vu(c,110),vu(b.signatureFlagProto_,110))&&c.setStoryboardMosaic(a)};g.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,89),vu(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};g.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,82),qt(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};
g.setStoryboardLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,109),vu(b.signatureFlagProto_,109))&&c.setStoryboardLevel(a)};g.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,93),qt(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,qt(c,18),qt(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};g.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,45),qt(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};g.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,62),vu(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};
g.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,tu(c,68),tu(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};g.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,Tj(c,102),Tj(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};g.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,tu(c,69),tu(b.signatureFlagProto_,69))&&c.setVideoLength(a)};
g.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;UK(a,qt(c,98),qt(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,vu(c,9),vu(b.signatureFlagProto_,9))&&c.setTileX(a)};
g.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,10),vu(b.signatureFlagProto_,10))&&c.setTileY(a)};g.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,jr(c,77),jr(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};g.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;UK(a,vu(c,11),vu(b.signatureFlagProto_,11))&&c.setTileZoom(a)};g.setOptions=function(a){Jdc(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",hk(b,2,!1),hk(a,2,!1));WK(this,"d",hk(b,3,!1),hk(a,3,!1));VK(this,"h",b.getHeight(),a.getHeight());WK(this,"s",qt(b,33),qt(a,33));WK(this,"h",hk(b,4,!1),hk(a,4,!1));WK(this,"p",hk(b,19,!1),hk(a,19,!1));WK(this,"pp",hk(b,52,!1),hk(a,52,!1));WK(this,"pf",hk(b,67,!1),hk(a,67,!1));WK(this,"n",hk(b,20,!1),
hk(a,20,!1));VK(this,"r",vu(b,26),vu(a,26));WK(this,"r",hk(b,6,!1),hk(a,6,!1));WK(this,"o",b.getOverlay(),a.getOverlay());var c=uu(b,7);XK(this,"o",c,uu(a,7));c=uu(b,29);XK(this,"j",c,uu(a,29));VK(this,"x",vu(b,9),vu(a,9));VK(this,"y",vu(b,10),vu(a,10));VK(this,"z",vu(b,11),vu(a,11));WK(this,"g",hk(b,14,!1),hk(a,14,!1));VK(this,"e",vu(b,15),vu(a,15));XK(this,"f",Tj(b,16),Tj(a,16));WK(this,"k",qt(b,17),qt(a,17));WK(this,"u",qt(b,18),!0);WK(this,"ut",qt(b,45),!0);WK(this,"i",qt(b,22),!0);WK(this,"a",
qt(b,21),qt(a,21));WK(this,"b",hk(b,23,!1),hk(a,23,!1));VK(this,"b",vu(b,38),vu(a,38));VK(this,"c",vu(b,39),vu(a,39),16,8);XK(this,"q",Tj(b,28),Tj(a,28));WK(this,"fh",qt(b,30),qt(a,30));WK(this,"fv",qt(b,31),qt(a,31));WK(this,"fg",hk(b,34,!1),hk(a,34,!1));WK(this,"ci",qt(b,32),qt(a,32));XK(this,"t",b.getToken(),a.getToken());XK(this,"nt0",Tj(b,36),Tj(a,36));WK(this,"rw",hk(b,35,!1),hk(a,35,!1));WK(this,"rwu",hk(b,41,!1),hk(a,41,!1));WK(this,"rwa",hk(b,64,!1),hk(a,64,!1));WK(this,"nw",hk(b,48,!1),
hk(a,48,!1));WK(this,"rh",hk(b,49,!1),hk(a,49,!1));WK(this,"no",hk(b,37,!1),hk(a,37,!1));WK(this,"ns",qt(b,40),qt(a,40));VK(this,"k",vu(b,42),vu(a,42));VK(this,"p",vu(b,43),vu(a,43));VK(this,"l",vu(b,44),vu(a,44));VK(this,"v",vu(b,62),vu(a,62));WK(this,"nu",qt(b,46),qt(a,46));WK(this,"ft",qt(b,50),qt(a,50));WK(this,"cc",qt(b,51),qt(a,51));WK(this,"nd",qt(b,53),qt(a,53));WK(this,"ip",qt(b,54),qt(a,54));WK(this,"nc",qt(b,55),qt(a,55));VK(this,"a",vu(b,56),vu(a,56));WK(this,"rj",qt(b,57),qt(a,57));WK(this,
"rp",qt(b,58),qt(a,58));WK(this,"rg",qt(b,59),qt(a,59));WK(this,"pd",qt(b,60),qt(a,60));WK(this,"pa",qt(b,61),qt(a,61));VK(this,"m",vu(b,63),vu(a,63));VK(this,"vb",tu(b,68),tu(a,68));VK(this,"vl",tu(b,69),tu(a,69));WK(this,"lf",qt(b,65),qt(a,65));WK(this,"mv",qt(b,66),qt(a,66));WK(this,"id",qt(b,70),qt(a,70));VK(this,"ic",vu(b,71),!0);WK(this,"pg",hk(b,72,!1),hk(a,72,!1));WK(this,"mo",qt(b,73),qt(a,73));WK(this,"al",qt(b,74),qt(a,74));VK(this,"iv",tu(b,75),tu(a,75));VK(this,"pi",jr(b,76),jr(a,76));
VK(this,"ya",jr(b,77),jr(a,77));VK(this,"ro",jr(b,78),jr(a,78));VK(this,"fo",jr(b,79),jr(a,79));WK(this,"df",qt(b,80),qt(a,80));XK(this,"mm",Tj(b,81),Tj(a,81));WK(this,"sg",qt(b,82),qt(a,82));WK(this,"gd",qt(b,83),qt(a,83));WK(this,"fm",qt(b,84),qt(a,84));VK(this,"ba",vu(b,85),vu(a,85));VK(this,"br",vu(b,86),vu(a,86));VK(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);VK(this,"pc",vu(b,88),vu(a,88),16,8);VK(this,"sc",vu(b,89),vu(a,89),16,8);WK(this,"dv",qt(b,90),qt(a,90));WK(this,"md",
qt(b,91),qt(a,91));VK(this,"cp",vu(b,92),vu(a,92));WK(this,"sm",qt(b,93),qt(a,93));VK(this,"cv",vu(b,94),vu(a,94));WK(this,"ng",qt(b,95),qt(a,95));WK(this,"il",qt(b,96),qt(a,96));WK(this,"lo",qt(b,97),qt(a,97));WK(this,"vm",qt(b,98),qt(a,98));XK(this,"dc",Tj(b,99),Tj(a,99));WK(this,"rf",qt(b,100),qt(a,100));XK(this,"vf",Tj(b,102),Tj(a,102));WK(this,"ra",hk(b,103,!1),hk(a,103,!1));WK(this,"ckm",qt(b,104),qt(a,104));WK(this,"gm",qt(b,105),qt(a,105));WK(this,"ngm",qt(b,106),qt(a,106));VK(this,"em",vu(b,
107),vu(a,107));WK(this,"cr",qt(b,108),qt(a,108));VK(this,"sl",vu(b,109),vu(a,109));VK(this,"sb",vu(b,110),vu(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 Idc;e.append(h==16?"0x":"");h=e.append;f==void 0?f="":(f-=c.length,f=f<=0?"":XTb("0",f));h.call(e,f);e.append(c);Ldc(a,b,e.toString(),!!d)}},WK=function(a,b,c,d){c&&Ldc(a,b,"",!!d)},XK=function(a,b,c,d){c&&Ldc(a,b,c,!!d)},Ldc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var YK=function(a){TK.call(this,a)};gu(YK,TK);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){Wa(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_;qt(a,18)||qt(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 Mdc=/^[^\/]*\/\//,$K=function(a,b){b=b===void 0?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(Mdc))&&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_=YJ(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},Ndc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},aL=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"&&(Ndc(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)Ndc(a,
a.components_[0]);else if(a.components_[0]=="image")Ndc(a,a.components_[0]);else if(b==7||b==3)return a.valid_=!1,a.components_;if(b<=3){a.obfuscated_=!0;b==3&&(Ndc(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_};$K.prototype.isValid=function(){aL(this);return this.valid_};var Odc=function(a){aL(a);return a.obfuscated_},Pdc=function(a){aL(a);return a.isFreeformUrl_};
$K.prototype.getDomain=function(){var a=this.uri_.getPort();return this.uri_.getDomain()+(a?":"+a:"")};$K.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var bL=function(a){aL(a);a.pathPrefix_==void 0&&(a.pathPrefix_=null);return a.pathPrefix_};$K.prototype.hasOptions=function(){switch(aL(this).length){case 7:return!0;case 6:return bL(this)==null;case 5:return!1;case 3:return!0;case 2:return bL(this)==null;case 1:return!1;default:return!1}};
var cL=function(a,b){if(Pdc(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=aL(a)[b]}else if(Odc(a))a:{var c=bL(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=aL(a)[b]}else a:{c=bL(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=aL(a)[b]}return a};g=$K.prototype;g.getObfuscatedGaiaId=function(){this.obfuscatedGaiaId_==void 0&&(this.obfuscatedGaiaId_=cL(this,0));return this.obfuscatedGaiaId_};g.getPhotoId=function(){this.photoId_==void 0&&(this.photoId_=cL(this,1));return this.photoId_};g.getImageVersion=function(){this.imageVersion_==void 0&&(this.imageVersion_=cL(this,2));return this.imageVersion_};g.getOptions=function(){this.options_==void 0&&(this.options_=cL(this,4));return this.options_};
g.getFilename=function(){this.filename_==void 0&&(this.filename_=cL(this,5));return this.filename_};var Qdc=function(){};Qdc.prototype.parse=function(a,b){return new Rdc(a,b===void 0?!1:b)};var Rdc=function(a,b){$K.call(this,a,b===void 0?!1:b)};V(Rdc,$K);Rdc.prototype.getParsedOptions=function(){if(this.parsedOptions_==void 0){var a=this.getOptions();a||(a="");this.parsedOptions_=(new Edc).parse(a)}return this.parsedOptions_};var dL=function(a,b){b=b===void 0?!1:b;this.parsedImageUrl_=null;a instanceof Rdc||(Sdc==void 0&&(Sdc=new Qdc),a=Sdc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();TK.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},Sdc;gu(dL,YK);dL.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
dL.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.original_;var a=dL.superClass_.build.call(this),b=[];bL(this.parsedImageUrl_)!=null&&b.push(bL(this.parsedImageUrl_));var c=Pdc(this.parsedImageUrl_);if(Odc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;d.obfuscatedData_==void 0&&(d.obfuscatedData_=cL(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;e.freeformUrlPath_===void 0&&(e.freeformUrlPath_=cL(e,7));d.call(b,
e.freeformUrlPath_);a&&b.push(a)}else b.push(this.parsedImageUrl_.getObfuscatedGaiaId()),b.push(this.parsedImageUrl_.getPhotoId()),b.push(this.parsedImageUrl_.getImageVersion()),d=b.push,e=this.parsedImageUrl_,e.signature_==void 0&&(e.signature_=cL(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=YJ(this.protocolPrefix_+this.domain_+"/"+(c?b.join("="):b.join("/"))+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//","://"));
return a};var Tdc=/\/\/lh[3-6]\./,Udc=function(a,b,c,d){if(!a||!wdc(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(Tdc,"//lh3.");return(new dL(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 Vdc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],eL=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new xf(1);this.person$=this.providedEmail$.pipe(Cf(function(d){return Qcc(c.peopleService,d)}),z(function(d){if(d){var e=Object,f=e.assign;if(d.imageUrl){var h=d.imageUrl;if(wdc(h)){var k=new dL(h);k.setSize(48);h=k.build()||h}}else h=d.imageUrl;d=f.call(e,{},d,{imageUrl:h})}return d}),zf(1));this.outOfOfficeDescription$=
new xf;this.init=new xf(1);this.destroyed$=new xf(1)};eL.prototype.ngOnInit=function(){var a=this;this.person$.pipe(qf(),Df(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&Wdc(this)};var Wdc=function(a){a.waldoService&&a.person$.pipe(Cf(function(b){return b?odc(a.waldoService,b.email):pe("")}),Df(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
da.Object.defineProperties(eL.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});eL.\u0275fac=function(a){return new (a||eL)(B(gK),B(NK,8))};
eL.\u0275cmp=p({type:eL,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},standalone:!0,features:[Fg],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&&(ig(Vdc),C(0,XGa,4,4,"onedev-person-hovercard-body",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.person$))},dependencies:[Gv,tv,yv,
iK,MJ,PK],encapsulation:2,changeDetection:0});var Xdc=[[["onedev-hovercard-action"],["",8,"actions"]]],fL=function(){};fL.prototype.ngOnInit=function(){};fL.\u0275fac=function(a){return new (a||fL)};
fL.\u0275cmp=p({type:fL,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&&(ig(Xdc),C(0,YGa,3,3,"onedev-person-hovercard",1))},dependencies:[eL,yJ,zJ],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 gL=function(){this.isNonObfuscatedEmail=Ki};gL.\u0275fac=function(a){return new (a||gL)};
gL.\u0275cmp=p({type:gL,selectors:[["b-person-hovercard"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[["content",""],["card",""],[4,"ngIf","ngIfElse"],["role","button","tabindex","0",1,"keep-focus-ring",3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(ig(),C(0,$Ga,6,4,"ng-container",2)(1,aHa,1,0,"ng-template",null,0,Mg));a&2&&(a=M(2),E("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",a))},
dependencies:[tv,xv,xJ,DJ,fL],encapsulation:2,changeDetection:0});var Ydc=function(){};var iHa=RegExp("{{\\s*(.+?)\\s*}}","g"),jHa=/-+([a-z0-9])/g;var Zdc=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(" ")),$dc=function(){};V($dc,Ydc);
var nHa=function(a,b,c){var d="",e=b.toString().trim();Zdc.has(a)&&b!==0&&b!=="0"&&(typeof b==="number"?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&a[1].length==0&&c.push(new Jc(3005,!1)));return e+d};var tHa=typeof document==="undefined"?null:document.documentElement;var aec=function(){};var zHa=new Set(["true","1"]),AHa=new Set(["false","0"]);var BHa=RegExp("s*:selfs*,?","g"),bec=function(a){this._driver=a};g=bec.prototype;g.build=function(a,b){b=new cec(b);this._resetContextStyleTimingState(b);return Mo(this,Ko(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 Jc(3006,!1));a.definitions.forEach(function(k){c._resetContextStyleTimingState(b);if(k.type==0){var q=k.name;q.toString().split(/\s*,\s*/).forEach(function(t){k.name=t;f.push(c.visitState(k,b))});k.name=q}else k.type==1?(q=c.visitTransition(k,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new Jc(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(k){gHa(k).forEach(function(q){f.hasOwnProperty(q)||e.add(q)})})});e.size&&b.errors.push(bHa([].concat(r(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=Mo(this,Ko(a.animation),b);return{type:1,matchers:yHa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:Qo(a.options)}};g.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return Mo(c,d,b)}),options:Qo(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=Mo(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:f,options:Qo(a.options)}};
g.visitAnimate=function(a,b){var c=EHa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Gh({});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=Gh(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){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=l(d);for(var e=d.next();!e.done;e=d.next())e=e.value,typeof e==="string"?e==="*"?c.push(e):b.errors.push(new Jc(3002,!1)):c.push(new Map(Object.entries(e)));var f=!1,h=null;c.forEach(function(k){if(k instanceof Map&&(k.has("easing")&&(h=k.get("easing"),k.delete("easing")),!f)){k=l(k.values());for(var q=k.next();!q.done;q=k.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,k){var q=b.collectedStyles.get(b.currentQuerySelector),t=q.get(k),w=!0;t&&(e!=d&&e>=t.startTime&&d<=t.endTime&&(b.errors.push(new Jc(3010,!1)),w=!1),e=t.startTime);w&&q.set(k,{startTime:e,endTime:d});b.options&&hHa(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 Jc(3011,!1)),d;var e=0,f=[],h=!1,k=!1,q=0,t=a.steps.map(function(N){N=c._makeStyleAst(N,b);var S=N.offset!=null?N.offset:DHa(N.styles),W=0;S!=null&&(e++,W=N.offset=S);k=k||W<0||W>1;h=h||W<q;q=W;f.push(W);return N});k&&b.errors.push(new Jc(3012,!1));h&&b.errors.push(new Jc(3200,!1));a=a.steps.length;var w=0;e>0&&e<a?b.errors.push(new Jc(3202,!1)):e==0&&(w=1/(a-1));var y=
a-1,D=b.currentTime,G=b.currentAnimateTimings,I=G.duration;t.forEach(function(N,S){S=w>0?S==y?1:w*S:f[S];var W=S*I;b.currentTime=D+G.delay+W;G.duration=W;c._validateStyleAst(N,b);N.offset=S;d.styles.push(N)});return d};g.visitReference=function(a,b){return{type:8,animation:Mo(this,Ko(a.animation),b),options:Qo(a.options)}};g.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:Qo(a.options)}};
g.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:Qo(a.options)}};
g.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=l(CHa(a.selector)),f=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+f:f;Po(b.collectedStyles,b.currentQuerySelector,new Map);var h=Mo(this,Ko(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:Qo(a.options)}};
g.visitStagger=function(a,b){b.currentQuery||b.errors.push(new Jc(3013,!1));var c=a.timings==="full"?{duration:0,delay:0,easing:"full"}:dHa(a.timings,b.errors,!0);return{type:12,animation:Mo(this,Ko(a.animation),b),timings:c,options:null}};var cec=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 hL=function(){this._map=new Map};hL.prototype.get=function(a){return this._map.get(a)||[]};hL.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,r(b))};hL.prototype.has=function(a){return this._map.has(a)};hL.prototype.clear=function(){this._map.clear()};var dec=RegExp(":enter","g"),eec=RegExp(":leave","g"),GHa=function(){};g=GHa.prototype;
g.buildKeyframes=function(a,b,c,d,e,f,h,k,q,t){t=t===void 0?[]:t;q=q||new hL;a=new iL(a,b,q,d,e,t,[]);a.options=k;d=k.delay?Ho(k.delay):0;a.currentTimeline.delayNextStep(d);fec(a.currentTimeline,[f],null,a.errors,k);Mo(this,c,a);c=a.timelines.filter(function(y){return y.containsAnimation()});if(c.length&&h.size){for(f=c.length-1;f>=0;f--)if(e=c[f],e.element===b){var w=e;break}w&&w._currentEmptyStepKeyframe===w._currentKeyframe&&fec(w,[h],null,a.errors,k)}return c.length?c.map(function(y){return y.buildKeyframes()}):
[FHa(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=jL(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&kL(b,c)}b.previousNode=a};
g.visitAnimateRef=function(a,b){var c=jL(b,a.options);kL(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);kL(b,c.currentTimeline.currentTime);b.previousNode=a};g._applyAnimationRefDelays=function(a,b,c){a=l(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:Ho(Lo(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?Ho(c.duration):null,f=c.delay!=null?Ho(c.delay):null;e!==0&&a.forEach(function(h){var k={duration:e!=null?e:h.duration,delay:b.currentTimeline.currentTime+(f!=null?f:0)+h.delay,easing:""};h=new gec(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,k,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,k.duration+k.delay)});return d};
g.visitReference=function(a,b){hec(b,a.options,!0);Mo(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=jL(b,f),kL(e),f.delay!=null&&(e.previousNode.type==6&&(lL(e.currentTimeline),e.previousNode=iec),e.delayNextStep(Ho(f.delay))));a.steps.length&&(a.steps.forEach(function(h){return Mo(c,h,e)}),mL(e.currentTimeline),e.subContextCount>d&&kL(e));b.previousNode=a};
g.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,f=a.options&&a.options.delay?Ho(a.options.delay):0;a.steps.forEach(function(h){var k=jL(b,a.options);f&&k.delayNextStep(f);Mo(c,h,k);e=Math.max(e,k.currentTimeline.currentTime);d.push(k.currentTimeline)});d.forEach(function(h){return jec(b.currentTimeline,h)});kL(b,e);b.previousNode=a};
g._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?Lo(a,b.params,b.errors):a,dHa(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&&(kec(b.currentTimeline,b.currentTimeline.duration+c.delay),lL(d));var e=a.style;e.type==5?this.visitKeyframes(e,b):(kec(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),mL(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=l(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var f=l(e.value);e=f.next().value;f=f.next().value;c._backFill.set(e,f||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else fec(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=jL(b).currentTimeline;f.easing=c.easing;a.styles.forEach(function(h){kec(f,(h.offset||0)*e);fec(f,h.styles,h.easing,b.errors,b.options);mL(f)});jec(b.currentTimeline,f);kL(b,d+e);b.previousNode=a};
g.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},f=e.delay?Ho(e.delay):0;f&&(b.previousNode.type===6||d==0&&b.currentTimeline._currentKeyframe.size>0)&&(lL(b.currentTimeline),b.previousNode=iec);var h=d;d=lec(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var k=null;d.forEach(function(q,t){b.currentQueryIndex=t;t=jL(b,a.options,q);f&&t.delayNextStep(f);q===b.element&&(k=t.currentTimeline);Mo(c,a.animation,t);mL(t.currentTimeline);
h=Math.max(h,t.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;kL(b,h);k&&(jec(b.currentTimeline,k),lL(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;Mo(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var iec={},iL=function(a,b,c,d,e,f,h,k){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=iec;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=k||new nL(this._driver,b,0);h.push(this.currentTimeline)},hec=function(a,b,c){if(b){var d=a.options;b.duration!=null&&(d.duration=
Ho(b.duration));b.delay!=null&&(d.delay=Ho(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]=Lo(e[h],f,a.errors))})}}};iL.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 jL=function(a,b,c){b=b===void 0?null:b;c=c||a.element;c=new iL(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();hec(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},kL=function(a,b){a.previousNode=iec;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};iL.prototype.delayNextStep=function(a){a>0&&this.currentTimeline.delayNextStep(a)};var lec=function(a,b,c,d,e,f){var h=[];d&&h.push(a.element);b.length>0&&(b=b.replace(dec,"."+a._enterClassName),b=b.replace(eec,"."+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,r(a)));e||h.length!=0||f.push(new Jc(3014,!1));return h};
da.Object.defineProperties(iL.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var nL=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()};nL.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this._currentKeyframe.size>0;default:return!0}};nL.prototype.delayNextStep=function(a){var b=this._keyframes.size===1&&this._pendingStyles.size;this.duration||b?(kec(this,this.currentTime+a),b&&lL(this)):this.startTime+=a};
nL.prototype.fork=function(a,b){mL(this);return new nL(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};nL.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 kec=function(a,b){mL(a);a.duration=b;a._loadKeyframe()};
nL.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 fec=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=JHa(b,a._globalTimelineStyles);b=l(b);for(e=b.next();!e.done;e=b.next()){var f=l(e.value);e=f.next().value;f=f.next().value;f=Lo(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)}},mL=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)}))},lL=function(a){for(var b=l(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},jec=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)})};
nL.prototype.buildKeyframes=function(){var a=this;mL(this);var b=new Set,c=new Set,d=this._keyframes.size===1&&this.duration===0,e=[];this._keyframes.forEach(function(t,w){t=new Map([].concat(r(a._backFill),r(t)));t.forEach(function(y,D){y==="!"?b.add(D):y==="*"&&c.add(D)});d||t.set("offset",w/a.duration);e.push(t)});var f=[].concat(r(b.values())),h=[].concat(r(c.values()));if(d){var k=e[0],q=new Map(k);k.set("offset",0);q.set("offset",1);e=[k,q]}return FHa(this.element,e,f,h,this.duration,this.startTime,
this.easing,!1)};da.Object.defineProperties(nL.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 gec=function(a,b,c,d,e,f,h){h=h===void 0?!1:h;nL.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}};
V(gec,nL);gec.prototype.containsAnimation=function(){return this.keyframes.length>1};
gec.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",IHa(f));b.push(h);f=a.length-1;for(h=1;h<=f;h++){var k=new Map(a[h]),q=k.get("offset");k.set("offset",IHa((c+q*d)/e));b.push(k)}d=e;c=0;e="";a=b}return FHa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var mec={},So=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};So.prototype.match=function(a,b,c,d){return LHa(this.ast.matchers,a,b,c,d)};So.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};
So.prototype.build=function(a,b,c,d,e,f,h,k,q,t){var w=[],y=this.ast.options&&this.ast.options.params||mec;h=this.buildStyles(c,h&&h.params||mec,w);var D=k&&k.params||mec;k=this.buildStyles(d,D,w);var G=new Set,I=new Map,N=new Map,S=d==="void",W;y={params:MHa(D,y),delay:(W=this.ast.options)==null?void 0:W.delay};a=t?[]:HHa(a,b,this.ast.animation,e,f,h,k,y,q,w);var Z=0;a.forEach(function(fa){Z=Math.max(fa.duration+fa.delay,Z)});if(w.length)return KHa(b,this._triggerName,c,d,S,h,k,[],[],I,N,Z,w);a.forEach(function(fa){var ma=
fa.element,ua=Po(I,ma,new Set);fa.preStyleProps.forEach(function(ha){return ua.add(ha)});var Ua=Po(N,ma,new Set);fa.postStyleProps.forEach(function(ha){return Ua.add(ha)});ma!==b&&G.add(ma)});return KHa(b,this._triggerName,c,d,S,h,k,a,[].concat(r(G.values())),I,N,Z)};var nec=function(a,b){this.styles=a;this.defaultParams=b};
nec.prototype.buildStyles=function(a,b){var c=new Map,d=MHa(a,this.defaultParams);this.styles.styles.forEach(function(e){typeof e!=="string"&&e.forEach(function(f,h){f&&(f=Lo(f,d,b));var k=fHa(h);f=nHa(k,f,b);c.set(h,f)})});return c};var oec=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 nec(e.style,e.options&&e.options.params||{}))});OHa(this.states,"true","1");OHa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new So(a,e,d.states))});this.fallbackTransition=NHa(a,this.states)},pec=function(a,b,c,d,e){return a.transitionFactories.find(function(f){return f.match(b,c,
d,e)})||null};var qec=new hL,rec=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};g=rec.prototype;g.register=function(a,b){var c=[];b=(new bec(this._driver)).build(b,c,[]);if(c.length)throw new Jc(3503,!1);this._animations.set(a,b)};g._buildPlayer=function(a,b,c){var d=a.element;b=oHa(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=HHa(this._driver,b,f,"ng-enter","ng-leave",new Map,new Map,c,qec,e),b.forEach(function(k){var q=Po(h,k.element,new Map);k.postStyleProps.forEach(function(t){return q.set(t,null)})})):(e.push(new Jc(3300,!1)),b=[]);if(e.length)throw new Jc(3504,!1);h.forEach(function(k,q){k.forEach(function(t,w){k.set(w,kHa(q,w))})});e=b.map(function(k){var q=h.get(k.element);return d._buildPlayer(k,new Map,q)});
e=Oo(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 Jc(3301,!1);return a};g.listen=function(a,b,c,d){b=rHa(b,"","","");qHa(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 sec=[],tec={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},RHa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},uec=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={})},vec=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])})}};da.Object.defineProperties(uec.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var wec=new uec("void"),oL=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;To(b,this._hostClassName)};g=oL.prototype;
g.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new Jc(3302,!1);if(c==null||c.length==0)throw new Jc(3303,!1);if(c!="start"&&c!="done")throw new Jc(3400,!1);var f=Po(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};f.push(h);var k=Po(this._engine.statesByElement,a,new Map);k.has(b)||(To(a,"ng-trigger"),To(a,"ng-trigger-"+b),k.set(b,wec));return function(){pL(e._engine,function(){var q=f.indexOf(h);q>=0&&f.splice(q,1);e._triggers.has(b)||k.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 Jc(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 xec(this.id,b,a),k=this._engine.statesByElement.get(a);k||(To(a,"ng-trigger"),To(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,k=new Map));var q=k.get(b),t=new uec(c,this.id);c&&c.hasOwnProperty("value")||!q||vec(t,q.options);k.set(b,t);q||(q=wec);if(t.value!=="void"&&q.value===t.value){if(!XHa(q.params,t.params)){d=[];var w=f.fallbackTransition.buildStyles(q.value,q.params,d),y=f.fallbackTransition.buildStyles(t.value,
t.params,d);d.length?this._engine.reportError(d):pL(this._engine,function(){Jo(a,w);Io(a,y)})}}else{c=Po(this._engine.playersByElement,a,[]);c.forEach(function(G){G.namespaceId==e.id&&G.triggerName==b&&G.queued&&G.destroy()});k=pec(f,q.value,t.value,a,t.params);var D=!1;if(!k){if(!d)return;k=f.fallbackTransition;D=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:k,fromState:q,toState:t,player:h,isFallbackTransition:D});D||(To(a,"ng-animate-queued"),h.onStart(function(){Uo(a,
"ng-animate-queued")}));h.onDone(function(){var G=e.players.indexOf(h);G>=0&&e.players.splice(G,1);if(G=e._engine.playersByElement.get(a)){var I=G.indexOf(h);I>=0&&G.splice(I,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 yec=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))};
oL.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=zec(c._engine,e);f.size?f.forEach(function(h){return Aec(h,e,b,!1,!0)}):yec(c,e)}});this._engine.afterFlushAnimationsDone(function(){return d.forEach(function(e){return yec(c,e)})})};
var Aec=function(a,b,c,d,e){var f=a._engine.statesByElement.get(b),h=new Map;if(f){var k=[];f.forEach(function(q,t){h.set(t,q.value);a._triggers.has(t)&&(q=a.trigger(b,t,"void",e))&&k.push(q)});if(k.length){Bec(a._engine,a.id,b,!0,c,h);if(d)Oo(k).onDone(function(){return Vo(a._engine,b)});return!0}}return!1},Cec=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,
k=d.get(f)||wec,q=new uec("void"),t=new xec(a.id,f,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:f,transition:h,fromState:k,toState:q,player:t,isFallbackTransition:!0})}})}};
oL.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!Aec(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}}Cec(this,a);e?Bec(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==tec||(pL(d,function(){return yec(c,a)}),Dec(d,a),d._onRemovalComplete(a,b)))}};
oL.prototype.insertNode=function(a){To(a,this._hostClassName)};
var Eec=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(k){if(k.name==d.triggerName){var q=rHa(f,d.triggerName,d.fromState.value,d.toState.value);q._data=b;qHa(d.player,k.phase,q,k.callback)}});e.markedForDestroy?pL(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:vHa(d.element,
e.element)?1:-1})};oL.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var qL=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=qL.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 oL(a,b,this),this.bodyNode&&vHa(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&&(pL(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 zec=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=l(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};qL.prototype.trigger=function(a,b,c,d){return PHa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
qL.prototype.insertNode=function(a,b,c,d){if(PHa(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 Fec=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),To(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),Uo(b,"ng-animate-disabled"))};
qL.prototype.removeNode=function(a,b,c){if(PHa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):Bec(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var Bec=function(a,b,c,d,e,f){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:f}};qL.prototype.listen=function(a,b,c,d,e){return PHa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
qL.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 Dec=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return Gec(a,d)});a.playersByQueriedElement.size!=0&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return Hec(a,d)}))},Gec=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},Hec=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Vo=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
tec;if(c.namespaceId){Dec(a,b);var d=a._fetchNamespace(c.namespaceId);d&&yec(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;((e=b.classList)==null?0:e.contains("ng-animate-disabled"))&&Fec(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(f){Fec(a,f,!1)})};
qL.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++)To(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++)Vo(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)Oo(c).onDone(function(){e.forEach(function(f){return f()})});else e.forEach(function(f){return f()})}};
qL.prototype.reportError=function(){throw new Jc(3402,!1);};
qL.prototype._flushAnimations=function(a,b){var c=this,d=new hL,e=[],f=new Map,h=[],k=new Map,q=new Map,t=new Map,w=new Set;this.disabledNodes.forEach(function(Za){w.add(Za);Za=c.driver.query(Za,".ng-animate-queued",!0);for(var Yb=0;Yb<Za.length;Yb++)w.add(Za[Yb])});var y=this.bodyNode,D=Array.from(this.statesByElement.keys()),G=THa(D,this.collectedEnterElements),I=new Map,N=0;G.forEach(function(Za,Yb){var ic="ng-enter"+N++;I.set(Yb,ic);Za.forEach(function(Rc){return To(Rc,ic)})});for(var S=[],W=
new Set,Z=new Set,fa=0;fa<this.collectedLeaveElements.length;fa++){var ma=this.collectedLeaveElements[fa],ua=ma.__ng_removed;ua&&ua.setForRemoval&&(S.push(ma),W.add(ma),ua.hasAnimation?this.driver.query(ma,".ng-star-inserted",!0).forEach(function(Za){return W.add(Za)}):Z.add(ma))}var Ua=new Map,ha=THa(D,Array.from(W));ha.forEach(function(Za,Yb){var ic="ng-leave"+N++;Ua.set(Yb,ic);Za.forEach(function(Rc){return To(Rc,ic)})});a.push(function(){G.forEach(function(Za,Yb){var ic=I.get(Yb);Za.forEach(function(Rc){return Uo(Rc,
ic)})});ha.forEach(function(Za,Yb){var ic=Ua.get(Yb);Za.forEach(function(Rc){return Uo(Rc,ic)})});S.forEach(function(Za){Vo(c,Za)})});var xa=[],sa=[];for(a=this._namespaceList.length-1;a>=0;a--)Eec(this._namespaceList[a],b).forEach(function(Za){var Yb=Za.player,ic=Za.element;xa.push(Yb);if(c.collectedEnterElements.length){var Rc=ic.__ng_removed;if(Rc&&Rc.setForMove){if(Rc.previousTriggersValues&&Rc.previousTriggersValues.has(Za.triggerName)){Rc=Rc.previousTriggersValues.get(Za.triggerName);var Ab=
c.statesByElement.get(Za.element);if(Ab&&Ab.has(Za.triggerName)){var dc=Ab.get(Za.triggerName);dc.value=Rc;Ab.set(Za.triggerName,dc)}}Yb.destroy();return}}Rc=!y||!vHa(y,ic);Ab=Ua.get(ic);dc=I.get(ic);var Xb=c._buildInstruction(Za,d,dc,Ab,Rc);if(Xb.errors&&Xb.errors.length)sa.push(Xb);else if(Rc)Yb.onStart(function(){return Jo(ic,Xb.fromStyles)}),Yb.onDestroy(function(){return Io(ic,Xb.toStyles)}),e.push(Yb);else if(Za.isFallbackTransition)Yb.onStart(function(){return Jo(ic,Xb.fromStyles)}),Yb.onDestroy(function(){return Io(ic,
Xb.toStyles)}),e.push(Yb);else{var vd=[];Xb.timelines.forEach(function(Id){Id.stretchStartingKeyframe=!0;c.disabledNodes.has(Id.element)||vd.push(Id)});Xb.timelines=vd;d.append(ic,Xb.timelines);h.push({instruction:Xb,player:Yb,element:ic});Xb.queriedElements.forEach(function(Id){return Po(k,Id,[]).push(Yb)});Xb.preStyleProps.forEach(function(Id,of){if(Id.size){var Lg=q.get(of);Lg||q.set(of,Lg=new Set);Id.forEach(function($g,Ro){return Lg.add(Ro)})}});Xb.postStyleProps.forEach(function(Id,of){var Lg=
t.get(of);Lg||t.set(of,Lg=new Set);Id.forEach(function($g,Ro){return Lg.add(Ro)})})}});if(sa.length){var Ma=[];sa.forEach(function(){Ma.push(new Jc(3505,!1))});xa.forEach(function(Za){return Za.destroy()});this.reportError(Ma)}var Aa=new Map,wb=new Map;h.forEach(function(Za){var Yb=Za.element;d.has(Yb)&&(wb.set(Yb,Yb),c._beforeAnimationBuild(Za.player.namespaceId,Za.instruction,Aa))});e.forEach(function(Za){var Yb=Za.element;c._getPreviousPlayers(Yb,!1,Za.namespaceId,Za.triggerName,null).forEach(function(ic){Po(Aa,
Yb,[]).push(ic);ic.destroy()})});var Pb=S.filter(function(Za){return YHa(Za,q,t)}),Vb=new Map;SHa(Vb,Z,t).forEach(function(Za){YHa(Za,q,t)&&Pb.push(Za)});var xb=new Map;G.forEach(function(Za){SHa(xb,new Set(Za),q)});Pb.forEach(function(Za){var Yb=Vb.get(Za),ic=xb.get(Za),Rc,Ab;Vb.set(Za,new Map([].concat(r((Rc=Yb==null?void 0:Yb.entries())!=null?Rc:[]),r((Ab=ic==null?void 0:ic.entries())!=null?Ab:[]))))});var Uc=[],Sa=[],nb={};h.forEach(function(Za){var Yb=Za.element,ic=Za.player,Rc=Za.instruction;
if(d.has(Yb))if(w.has(Yb))ic.onDestroy(function(){return Io(Yb,Rc.toStyles)}),ic.disabled=!0,ic.totalTime=Rc.totalTime,e.push(ic);else{var Ab=nb;if(wb.size>1){Za=Yb;for(var dc=[];Za=Za.parentNode;){var Xb=wb.get(Za);if(Xb){Ab=Xb;break}dc.push(Za)}dc.forEach(function(vd){return wb.set(vd,Ab)})}Za=c._buildAnimation(ic.namespaceId,Rc,Aa,f,xb,Vb);Iec(ic,Za);Ab===nb?Uc.push(ic):((Za=c.playersByElement.get(Ab))&&Za.length&&(ic.parentPlayer=Oo(Za)),e.push(ic))}else Jo(Yb,Rc.fromStyles),ic.onDestroy(function(){return Io(Yb,
Rc.toStyles)}),Sa.push(ic),w.has(Yb)&&e.push(ic)});Sa.forEach(function(Za){var Yb=f.get(Za.element);Yb&&Yb.length&&(Yb=Oo(Yb),Iec(Za,Yb))});e.forEach(function(Za){Za.parentPlayer?Jec(Za,Za.parentPlayer):Za.destroy()});for(b=0;b<S.length;b++)if(Z=S[b],a=Z.__ng_removed,Uo(Z,"ng-leave"),!a||!a.hasAnimation){a=[];if(k.size)for((D=k.get(Z))&&D.length&&a.push.apply(a,r(D)),D=this.driver.query(Z,".ng-animating",!0),fa=0;fa<D.length;fa++)(ma=k.get(D[fa]))&&ma.length&&a.push.apply(a,r(ma));a=a.filter(function(Za){return!Za.destroyed});
a.length?UHa(this,Z,a):Vo(this,Z)}S.length=0;Uc.forEach(function(Za){c.players.push(Za);Za.onDone(function(){Za.destroy();var Yb=c.players.indexOf(Za);c.players.splice(Yb,1)});Za.play()});return Uc};var pL=function(a,b){a._flushFns.push(b)};g=qL.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(k){k.queued||(h||k.triggerName==d)&&f.push(k)})}if(c||d)f=f.filter(function(k){return c&&c!=k.namespaceId||d&&d!=k.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=l(b.timelines),h=f.next(),k={};!h.done;k={players$jscomp$10:void 0},h=f.next()){h=h.value.element;var q=h!==e;k.players$jscomp$10=Po(c,h,[]);this._getPreviousPlayers(h,q,a,d,b.toState).forEach(function(t){return function(w){var y=w._player;y.beforeDestroy&&y.beforeDestroy();w.destroy();t.players$jscomp$10.push(w)}}(k))}Jo(e,b.fromStyles)};
g._buildAnimation=function(a,b,c,d,e,f){var h=this,k=b.triggerName,q=b.element,t=[],w=new Set,y=new Set,D=b.timelines.map(function(I){var N=I.element;w.add(N);var S=N.__ng_removed;if(S&&S.removedBeforeQueried)return new No(I.duration,I.delay);S=N!==q;var W=WHa((c.get(N)||sec).map(function(ma){return ma._player})).filter(function(ma){return ma.element?ma.element===N:!1}),Z=e.get(N),fa=f.get(N);Z=oHa(I.keyframes,Z,fa);W=h._buildPlayer(I,Z,W);I.subTimeline&&d&&y.add(N);S&&(I=new xec(a,k,N),Iec(I,W),
t.push(I));return W});t.forEach(function(I){Po(h.playersByQueriedElement,I.element,[]).push(I);I.onDone(function(){var N=h.playersByQueriedElement,S=I.element,W=N.get(S);if(W){if(W.length){var Z=W.indexOf(I);W.splice(Z,1)}W.length==0&&N.delete(S)}return W})});w.forEach(function(I){return To(I,"ng-animating")});var G=Oo(D);G.onDestroy(function(){w.forEach(function(I){return Uo(I,"ng-animating")});Io(q,b.toStyles)});y.forEach(function(I){Po(d,I,[]).push(G)});return G};
g._buildPlayer=function(a,b,c){return b.length>0?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new No(a.duration,a.delay)};
var xec=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new No;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},Iec=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return qHa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
Jec=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=xec.prototype;g._queueEvent=function(a,b){Po(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 rL=function(a,b,c){var d=this;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new qL(a.body,b,c);this._timelineEngine=new rec(a.body,b,c);this._transitionEngine.onRemovalComplete=function(e,f){return d.onRemovalComplete(e,f)}};g=rL.prototype;
g.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new bec(this._driver)).build(e,c,[]);if(c.length)throw new Jc(3404,!1);c=new oec(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){Fec(this._transitionEngine,a,b)};
g.process=function(a,b,c,d){c.charAt(0)=="@"?(c=l(sHa(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=l(sHa(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)};
da.Object.defineProperties(rL.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this._transitionEngine.players),r(this._timelineEngine.players))}}});var $Ha=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=Kec.get(a);d||Kec.set(a,d=new Map);this._initialStyles=d};$Ha.prototype.start=function(){this._state<1&&(this._startStyles&&Io(this._element,this._startStyles,this._initialStyles),this._state=1)};$Ha.prototype.finish=function(){this.start();this._state<2&&(Io(this._element,this._initialStyles),this._endStyles&&(Io(this._element,this._endStyles),this._endStyles=null),this._state=1)};
$Ha.prototype.destroy=function(){this.finish();this._state<3&&(Kec.delete(this._element),this._startStyles&&(Jo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jo(this._element,this._endStyles),this._endStyles=null),Io(this._element,this._initialStyles),this._state=3)};var Kec=new WeakMap;var Lec=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=Lec.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:kHa(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};da.Object.defineProperties(Lec.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var Mec=function(){};Mec.prototype.getParentElement=function(a){return uHa(a)};Mec.prototype.query=function(a,b,c){a=c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[];return a};
Mec.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 k=new Map;e=f.filter(function(t){return t instanceof Lec});c!==0&&d!==0||e.forEach(function(t){t.currentSnapshot.forEach(function(w,y){return k.set(y,w)})});var q=eHa(b).map(function(t){return new Map(t)});q=lHa(a,q,k);b=aIa(a,q);return new Lec(a,q,h,b)};var sL=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d};g=sL.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.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)};
da.Object.defineProperties(sL.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});var Nec=function(a,b,c,d,e){sL.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};V(Nec,sL);Nec.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)};
Nec.prototype.listen=function(a,b,c){var d=this;if(b.charAt(0)=="@"){a=bIa(a);b=b.slice(1);var e="";b.charAt(0)!="@"&&(e=l(cIa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(f){Oec(d.factory,f._data||-1,c,f)})}return this.delegate.listen(a,b,c)};var tL=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){var f=e==null?void 0:e.parentNode(d);f&&e.removeChild(f,d)}};
tL.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 sL("",d,this.engine,function(){return f.delete(d)}),f.set(d,b));return b}var h=b.id,k=b.id+"-"+this._currentId;this._currentId++;this.engine.register(k,a);var q=function(t){Array.isArray(t)?t.forEach(q):c.engine.registerTrigger(h,k,a,t.name,t)};b.data.animation.forEach(q);return new Nec(this,k,d,this.engine)};
tL.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};tL.prototype._scheduleCountTask=function(){var a=this;queueMicrotask(function(){a._microtaskId++})};
var Oec=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=l(f);f=h.next().value;h=h.next().value;f(h)});a._animationCallbacksBuffer=[]})});e.push([c,d])}};
tL.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 uL=function(a,b,c){rL.call(this,a,b,c)};V(uL,rL);uL.prototype.ngOnDestroy=function(){this.flush()};uL.\u0275fac=function(a){return new (a||uL)(n(vh),n(aec),n(Ydc))};uL.\u0275prov=Fc({token:uL,factory:uL.\u0275fac});var Pec=[{provide:Ydc,useFactory:function(){return new $dc}},{provide:rL,useClass:uL},{provide:FUb,useFactory:function(a,b,c){return new tL(a,b,c)},deps:[qC,rL,Me]}],Qec=[{provide:aec,useFactory:function(){return new Mec}},{provide:Pu,useValue:"BrowserAnimations"}].concat(r(Pec));r(Pec);var vL=function(){};vL.\u0275fac=function(a){return new (a||vL)};vL.\u0275mod=cd({type:vL});vL.\u0275inj=Gc({providers:Qec,imports:[PC]});var Rec="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),Sec=Hoa(Joa(Ioa(function(a){this._elementRef=a}))),wL=function(a,b,c){var d=Sec.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=l(Rec),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};V(wL,Sec);g=wL.prototype;g.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};g.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};g.focus=function(a,b){a?Tv(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 jd.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};wL.\u0275fac=function(a){return new (a||wL)(B(Rd),B(Sv),B(Pu,8))};
wL.\u0275cmp=p({type:wL,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&&rg(vx,5);if(a&2){var c;vg(c=wg())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:6,hostBindings:function(a,b){a&2&&(Nf("disabled",b.disabled||null)("mat-id-collision",null),Wf("_mat-animation-noopable",b._animationMode===
"NoopAnimations")("mat-button-disabled",b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Lf],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&&(ig(),F(0,"span",0),jg(1),H(),J(2,"span",1)(3,"span",2));a&2&&(A(2),Wf("mat-button-ripple-round",
b.isRoundButton||b.isIconButton),E("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[vx],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)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .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 xL=function(){this.onAction=new bv;this.disabled=!1};xL.prototype.handleClick=function(){this.onAction.emit()};xL.\u0275fac=function(a){return new (a||xL)};
xL.\u0275cmp=p({type:xL,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&&(ig(),F(0,"button",0),O("click",function(){return b.handleClick()}),jg(1),H());a&2&&E("disabled",b.disabled)},dependencies:[wL],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 yL=function(a,b,c){Y.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};V(yL,Y);yL.\u0275dir=Y.\u0275dir;
yL.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;(b=this.actionService)==null||b.assignee$.pipe(Df(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;(c=this.actionService)==null||c.cc$.pipe(Df(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var dIa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";Jn("personCard","assigneeAction",b);dcc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},eIa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";Jn("personCard","ccAction",b);ecc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};yL.\u0275fac=function(a){return new (a||yL)(B(jJ),B(yF,2),B(GJ,8))};
yL.\u0275cmp=p({type:yL,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Dg([yF]),Lf],decls:6,vars:4,consts:[[3,"email"],["class","actions",4,"ngIf"],[3,"click"],[1,"actions"],[3,"onAction","disabled"]],template:function(a,b){a&1&&(F(0,"b-person-card",0),C(1,fIa,9,8,"ng-container",1),T(2,"async"),F(3,"onedev-hovercard-action",2),O("click",function(c){Jn("personCard","showAssignedIssuesAction");var d=wp.listIssues.makeHref({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?
b.domSafe.openInNewTab(d):kJ(b.domSafe,d)}),F(4,"span"),Q(5,"Show assigned issues"),H()()());a&2&&(E("email",b.email),A(),E("ngIf",b.actionService&&U(2,2,b.actionService.editAccess$)))},dependencies:[tv,xL,fL,yv],encapsulation:2,changeDetection:0});var zL=function(){this.isMentioningMe=!1};zL.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};zL.\u0275fac=function(a){return new (a||zL)};
zL.\u0275cmp=p({type:zL,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&&(F(0,"span",2,0),Q(2),H(),F(3,"onedev-hovercard",null,1),J(5,"b-issue-person-card",3),H());a&2&&(a=M(4),Wf("me",b.isMentioningMe),E("onedevHovercardTrigger",a),A(2),R("@",b.username,""),A(3),E("email",b.email))},dependencies:[yL,xJ,DJ],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 gIa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|3p-screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),jIa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var AL=function(a){this.internalArray_=m(a,0,AL.messageId)};V(AL,X);AL.prototype.getUrl=function(){return Zh(this,1)};AL.prototype.setUrl=function(a){return Sj(this,1,a)};AL.prototype.hasUrl=function(){return vl(this,1)};AL.messageId="b.ImageRedirectRequest";var BL=function(a){this.internalArray_=m(a,0,BL.messageId)};V(BL,X);BL.prototype.getUrl=function(){return Zh(this,1)};BL.prototype.setUrl=function(a){return Sj(this,1,a)};BL.prototype.hasUrl=function(){return vl(this,1)};BL.messageId="b.ImageRedirectResponse";var CL=function(a){this.executor=a},Tec=function(a,b){var c=new AL;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:BL}).pipe(z(function(d){return d.getUrl()}))};CL.\u0275fac=function(a){return new (a||CL)(n(pA))};CL.\u0275prov=Fc({token:CL,factory:CL.\u0275fac,providedIn:"root"});var DL=function(a){var b=this;this.imageRedirector=a;this.src$=new rn("");this.showImage$=new rn(!1);this.error$=new rn(!1);this.srcTruncated$=this.src$.pipe(z(function(c){var d=c;d=d===void 0?"":d;var e=e===void 0?48:e;c=[].concat(r(d));if(c.length<=e)e=d;else{var f=Math.floor(e/2);d=c.slice(0,f-1).join("");e=c.slice(-(f-(e%2!==0?1:2))).join("");String.prototype.trimEnd!=null&&String.prototype.trimStart!=null&&(d=d.trimEnd(),e=e.trimStart());e=d+"..."+e}return e}));this.srcRedirected$=we([this.src$,
this.showImage$]).pipe(He(function(c){c=l(c);c.next();return c.next().value}),Cf(function(c){var d=l(c).next().value;return(c=lIa(d,!0))?pe(c):Tec(b.imageRedirector,d).pipe(lf(function(){b.error$.next(!0);return d}))}))};DL.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
da.Object.defineProperties(DL.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}}});DL.\u0275fac=function(a){return new (a||DL)(B(CL))};
DL.\u0275cmp=p({type:DL,selectors:[["b-secure-image-widget"]],inputs:{showByDefault:"showByDefault",src:"src",alt:"alt"},decls:6,vars:4,consts:[["widget",""],["error",""],[4,"ngIf","ngIfElse"],[3,"src"],["tabindex","0",1,"normal-link",3,"click","keydown.enter","href","title"],["svgIcon","image",1,"icon-s"],["svgIcon","broken-image",1,"icon-l",3,"matTooltip"]],template:function(a,b){a&1&&(C(0,pIa,3,4,"ng-container",2),T(1,"async"),C(2,qIa,8,9,"ng-template",null,0,Mg)(4,rIa,2,4,"ng-template",null,1,
Mg));a&2&&(a=M(5),E("ngIf",U(1,2,b.error$)===!1)("ngIfElse",a))},dependencies:[tv,RC,KI,TI,lJ,yv],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 Uec={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},EL=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=Uec;this.src$=new rn("");this.isMarkdownImage$=new rn(!1);this.displayMode$=we([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(z(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return d&&c.activeSession.isInternalSession()?!f&&
e?"COLLAPSE":f?"SHOW":"HIDE":"HIDE"}),Bf("HIDE"))};da.Object.defineProperties(EL.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}}});EL.\u0275fac=function(a){return new (a||EL)(B(as),B(PG))};
EL.\u0275cmp=p({type:EL,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&&(C(0,uIa,3,3),T(1,"async"));if(a&2){var c;$f((c=U(1,1,b.src$))?0:-1,c)}},dependencies:[DL,yv],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});var Vec=Symbol(),Wec=Symbol(),Xec=Symbol(),Yec=Symbol(),Zec=Symbol(),$ec=Symbol(),FL=function(a,b,c){this.appRef=a;this.flags=b;this.session=c;this.allComponentRefs=[];this.secureImageRefs=[];this.snipItImageRefs=[];this.mentionChipRefs=[];this.checkboxRefs=[];this.externalHyperlinkRefs=[];this.brokenLinkRefs=[];this.issueReferenceRefs=[]},cfc=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var f=d[e],h=f.dataset.bId;h&&(f.id=h)}d=l(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&hIa(h)&&e&&RFa(e)&&h===e.textContent&&(f=e.nextSibling,afc(a,e,h,void 0,c),h=void 0,(h=f)!=null&&h.textContent&&(h=f.textContent.match(/(^[^\w]+)/))))h=h[1],f.textContent=f.textContent.substring(h.length),f=document.createElement("span"),f.textContent=h,e.insertAdjacentElement("afterend",f);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(h=d[e],h.dataset.bWidget){case "image":f=a;var k=h,q=c;h=k.dataset.bImgSrc;var t=k.dataset.bImgRedirectedSrc;
vIa(k);if(h){var w=k.dataset.bImgAlt;if(hIa(h))afc(f,k,h,w,q,!0);else if(ep(f.flags.session,"enableMarkdownInlineImages"))k=f.createComponent(DL,k,q),q=k.instance,q.src=h,w&&(q.alt=w),f.secureImageRefs.push(k);else{var y=document.createElement("a");w?y.appendChild(document.createTextNode(w)):y.appendChild(document.createTextNode(h));k.appendChild(y);bfc(f,y,h,t||h,q)}}break;case "checkbox":f=a;w=h;k=c;h=w.dataset.bCheckboxChecked!=null;vIa(w);w=f.createComponent(qJ,w,k);w.instance.checked=h;f.checkboxRefs.push(w);
break;case "url":f=a;w=c;k=h.dataset.bOriginalHref;q=h.dataset.bRedirectedHref;k&&q&&(h.removeAttribute("href"),bfc(f,h,k,q,w));break;case "broken-url":f=a;w=h;q=c;if(k=w.dataset.bOriginalHref){h=Array.from(w.childNodes);w=f.createComponent(nJ,w,q);q=w.instance;q.originalHref=k;k=q.getNgContentParentEl();h=l(h);for(q=h.next();!q.done;q=h.next())k.appendChild(q.value);f.brokenLinkRefs.push(w)}break;case "mention":a.session.isInternalSession()&&(w=void 0,f=a,k=h,q=c,h="",((w=k.textContent)==null?void 0:
w[0])==="@"&&(h=k.textContent.slice(1)),vIa(k),w=f.createComponent(zL,k,q),k=w.instance,k.email=h,k.isMentioningMe=f.session.getUserEmail()===h,f.mentionChipRefs.push(w));break;case "issue-reference":t=void 0;f=a;var D=c;w=h.href;k=h.dataset.bIssueId;q=h.dataset.bCommentNumber;if(w&&k){y=Number(q);q=Array.from(h.childNodes);var G=document.createElement("span");(t=h.parentNode)==null||t.insertBefore(G,h);t=f.createComponent(FJ,G,D);D=t.instance;D.href=w;D.issueId=k;D.commentNumber=y;w=D.el.nativeElement;
k=l(q);for(q=k.next();!q.done;q=k.next())w.appendChild(q.value);h.remove();f.issueReferenceRefs.push(t)}}a=b.querySelectorAll("a");for(c=0;c<a.length;c++)d=a[c],d.getAttribute("target")||d.setAttribute("target","_self");a=b.querySelectorAll("table");for(c=0;c<a.length;c++)d=a[c],d.parentNode&&(e=document.createElement("div"),e.classList.add("table-overflow"),e.tabIndex=-1,d.parentNode.insertBefore(e,d),e.appendChild(d));b=l(b.querySelectorAll("pre"));for(a=b.next();!a.done;a=b.next())a.value.tabIndex=
-1};FL.prototype.ngOnDestroy=function(){dfc(this)};
var afc=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));b=a.createComponent(EL,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=f;a.snipItImageRefs.push(b)},bfc=function(a,b,c,d,e){var f=Array.from(b.childNodes);b=a.createComponent(rJ,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();f=l(f);for(d=f.next();!d.done;d=f.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
FL.prototype.createComponent=function(a,b,c){a=xma(a,{environmentInjector:this.appRef.injector,elementInjector:c.injector});b.appendChild(a.location.nativeElement);EVb(this.appRef,a.hostView);this.allComponentRefs.push(a);return a};
var dfc=function(a){for(var b=l(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[];a.secureImageRefs=[];a.snipItImageRefs=[];a.mentionChipRefs=[];a.checkboxRefs=[];a.externalHyperlinkRefs=[];a.brokenLinkRefs=[];a.issueReferenceRefs=[]};FL.prototype[Vec]=function(){return this.secureImageRefs.slice()};FL.prototype[Wec]=function(){return this.snipItImageRefs.slice()};FL.prototype[Xec]=function(){return this.checkboxRefs.slice()};FL.prototype[Yec]=function(){return this.externalHyperlinkRefs.slice()};
FL.prototype[Zec]=function(){return this.brokenLinkRefs.slice()};FL.prototype[$ec]=function(){return this.issueReferenceRefs.slice()};FL.\u0275fac=function(a){return new (a||FL)(n(hv),n(tJ),n(as))};FL.\u0275prov=Fc({token:FL,factory:FL.\u0275fac});var efc=["child"],ffc=Symbol(),GL=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};GL.prototype.ngOnInit=function(){};GL.prototype.ngOnChanges=function(){dfc(this.dynamicComponents);var a=this.child.nativeElement;QFa(a,this.content.content);cfc(this.dynamicComponents,a,this.viewContainerRef)};GL.prototype.ngOnDestroy=function(){dfc(this.dynamicComponents)};GL.prototype[ffc]=function(){return this.dynamicComponents};
GL.\u0275fac=function(a){return new (a||GL)(B(FL,2),B(gJ),B(pg))};
GL.\u0275cmp=p({type:GL,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&rg(efc,7);if(a&2){var c;vg(c=wg())&&(b.child=c.first)}},inputs:{content:"content"},features:[Dg([{provide:FL,useClass:FL},{provide:zbc,useValue:"MARKDOWN"}]),rd],decls:3,vars:4,consts:[["child",""],[1,"type-m","markdown-display"]],template:function(a,b){a&1&&(J(0,"div",1,0),T(2,"async"));a&2&&Wf("codefont",U(2,2,b.codefont.codefont$))},dependencies:[yv],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 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-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-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-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.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-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-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{border-color:#fff;background:#3c4043;color:#fff}/*# sourceMappingURL=markdown_format_presenter.css.map */\n'],
encapsulation:2,changeDetection:0});var gfc=["child"],hfc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},HL=function(a){this.codefont=a};HL.prototype.ngOnInit=function(){};HL.\u0275fac=function(a){return new (a||HL)(B(gJ))};
HL.\u0275cmp=p({type:HL,selectors:[["b-plain-format-presenter"]],inputs:{content:"content"},features:[Dg([{provide:zbc,useValue:"PLAIN"}])],decls:3,vars:5,consts:[[1,"type-m"],[4,"ngFor","ngForOf"],[3,"section"]],template:function(a,b){a&1&&(F(0,"div",0),T(1,"async"),C(2,wIa,2,1,"ng-container",1),H());a&2&&(Wf("codefont",U(1,3,b.codefont.codefont$)),A(2),E("ngForOf",b.content.plainSection))},dependencies:function(){return[sv,IL,yv]},styles:[hfc()],changeDetection:0});var IL=function(){};
IL.prototype.ngOnInit=function(){};IL.\u0275fac=function(a){return new (a||IL)};IL.\u0275cmp=p({type:IL,selectors:[["b-plain-format-section"]],inputs:{section:"section"},decls:3,vars:2,consts:[[3,"section",4,"ngIf"],[3,"section"]],template:function(a,b){a&1&&(K(0),C(1,xIa,1,1,"b-plain-format-quoted-section",0)(2,yIa,1,1,"b-plain-format-unquoted-section",0),L());a&2&&(A(),E("ngIf",b.section.isQuoted),A(),E("ngIf",!b.section.isQuoted))},dependencies:function(){return[tv,JL,KL]},encapsulation:2,changeDetection:0});
var JL=function(){this.showQuote=!1;ifc++;this.childId="plainFormatQuotedSection"+ifc};JL.prototype.ngOnInit=function(){};JL.prototype.ngOnChanges=function(){zIa(this)};var zIa=function(a){var b=a.child.nativeElement;if(a.showQuote)QFa(b,a.section.content);else for(;b.lastChild;)b.lastChild.remove()};JL.\u0275fac=function(a){return new (a||JL)};
JL.\u0275cmp=p({type:JL,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&rg(gfc,7);if(a&2){var c;vg(c=wg())&&(b.child=c.first)}},inputs:{section:"section"},features:[rd],decls:5,vars:3,consts:[["child",""],["class","showhide muted","tabindex","0","role","button","aria-expanded","false",3,"click",4,"ngIf"],["class","showhide muted","tabindex","0","role","button","aria-expanded","true",3,"click",4,"ngIf"],[1,"child",3,"id"],["tabindex","0","role","button","aria-expanded","false",
1,"showhide","muted",3,"click"],["tabindex","0","role","button","aria-expanded","true",1,"showhide","muted",3,"click"]],template:function(a,b){a&1&&(F(0,"div"),C(1,AIa,2,1,"a",1)(2,BIa,2,1,"a",2),J(3,"div",3,0),H());a&2&&(A(),E("ngIf",!b.showQuote),A(),E("ngIf",b.showQuote),A(),E("id",b.childId))},dependencies:[tv],styles:[hfc()],changeDetection:0});var ifc=0,KL=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};KL.prototype.ngOnInit=function(){};
KL.prototype.ngOnChanges=function(){dfc(this.dynamicComponents);var a=this.child.nativeElement;QFa(a,this.section.content);cfc(this.dynamicComponents,a,this.viewContainerRef)};KL.\u0275fac=function(a){return new (a||KL)(B(FL,2),B(pg))};
KL.\u0275cmp=p({type:KL,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&rg(gfc,7);if(a&2){var c;vg(c=wg())&&(b.child=c.first)}},inputs:{section:"section"},features:[Dg([{provide:FL,useClass:FL}]),rd],decls:2,vars:0,consts:[["child",""],[1,"child"]],template:function(a){a&1&&J(0,"div",1,0)},encapsulation:2,changeDetection:0});var LL=function(){};LL.prototype.ngOnInit=function(){};LL.\u0275fac=function(a){return new (a||LL)};
LL.\u0275cmp=p({type:LL,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&C(0,CIa,2,1,"ng-container",0)(1,DIa,2,1,"ng-container",0)(2,EIa,2,1,"ng-container",0);a&2&&(E("ngIf",b.formattedComment.literalFormat),A(),E("ngIf",b.formattedComment.markdownFormat),A(),E("ngIf",b.formattedComment.plainFormat))},dependencies:[tv,sJ,GL,HL],encapsulation:2,changeDetection:0});var ML=function(a){this.internalArray_=m(a)};V(ML,X);g=ML.prototype;g.getFormattingMode=function(){return Kj(this,1,0)};g.setFormattingMode=function(a){return uj(this,1,a)};g.getSource=function(){return Zh(this,2)};g.setSource=function(a){return sj(this,2,a)};g.getIssueId=function(){return Jj(this,3)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,3)};g.getIssueId_asString=function(){return xu(this,3)};g.setIssueId=function(a){return Ij(this,3,a)};
g.getIdPrefix=function(){return Zh(this,4)};g.setIdPrefix=function(a){return sj(this,4,a)};var NL=function(a){this.internalArray_=m(a,0,NL.messageId)};V(NL,X);NL.prototype.getIt=function(){return Gj(this,ML,8)};NL.prototype.setIt=function(a){return Pj(this,ML,8,a)};NL.messageId="b.FormatCommentRequest";var OL=function(a){this.internalArray_=m(a)};V(OL,X);OL.prototype.getFormattedComment=function(){return Gj(this,Bk,1)};OL.prototype.hasFormattedComment=function(){return Ak(this,Bk,1)};OL.prototype.getMentionsList=function(a){return Yj(this,cA,2,Ai(a))};OL.repeatedFields_=[2];var PL=function(a){this.internalArray_=m(a,0,PL.messageId)};V(PL,X);PL.prototype.getIt=function(){return Gj(this,OL,3)};PL.prototype.setIt=function(a){return Pj(this,OL,3,a)};PL.messageId="b.FormatCommentResponse";var QL=function(a,b){this.executor=a;this.activeSession=b};QL.prototype.format=function(a){return a.formattingMode==="LITERAL"||a.comment.trim()===""?HIa(a):jfc(this,a).pipe(z(GIa))};
var jfc=function(a,b){var c,d=(new ML).setFormattingMode(uk(b.formattingMode)).setSource(b.comment).setIssueId((c=Di(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=sj(d,5,c);b=uj(d,6,C1b[b.audience]);return a.executor.post({url:"action/formatComment",body:(new NL).setIt(b),responseConstructor:PL})};
QL.\u0275fac=function(a){return new (a||QL)(n(pA),n(as))};QL.\u0275prov=Fc({token:QL,factory:QL.\u0275fac,providedIn:"root"});var RL=function(a){Y.call(this);var b=this;this.formatter=a;this.issueIdInternal="";this.audience="EXTERNAL";this.formattingMode="LITERAL";this.params$=new xf(1);this.formattedResult$=this.params$.pipe(pf(200),Cf(function(c){return b.formatter.format(c).pipe(kfc,lf(function(){var d={literalFormat:{content:Lh(c.comment)}};return pe({formattedComment:d,isFallback:!0})}))}))};V(RL,Y);RL.\u0275dir=Y.\u0275dir;
RL.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()})}))};RL.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()})};
RL.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueIdInternal+"-draft"};da.Object.defineProperties(RL.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueIdInternal=a||""}}});RL.\u0275fac=function(a){return new (a||RL)(B(QL))};
RL.\u0275cmp=p({type:RL,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[Lf,rd],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(C(0,IIa,3,5,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.formattedResult$))},dependencies:[tv,LL,yv],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 kfc=z(function(a){return{formattedComment:a,isFallback:!1}});var SL=function(a,b,c){Y.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new xF;this.checkedSubject=new rn(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(Df(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(Df(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=e})};
V(SL,Y);SL.\u0275dir=Y.\u0275dir;SL.prototype.ngOnInit=function(){this.checkedSubject.next(this.initialValue==="MARKDOWN")};SL.prototype.ngOnChanges=function(){this.initialValue!=null&&this.checkedSubject.next(this.initialValue==="MARKDOWN")};SL.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(Df(this.destroyed$)).subscribe()};SL.\u0275fac=function(a){return new (a||SL)(B(PG),B(tJ),B(bH))};
SL.\u0275cmp=p({type:SL,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[Lf,rd],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","class","help small","aria-label","Markdown Help","target","_blank",3,"href","disableRipple",4,"ngIf"],["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&&(F(0,"mat-checkbox",0),T(1,"async"),O("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?Y2b:e?e:Z2b;b.save({lastPublishMode:d});b.change.emit(sl(d))}),Q(2," Markdown "),H(),C(3,JIa,2,2,"a",1));if(a&2){var c;E("checked",(c=U(1,2,b.checkedSubject))!==null&&c!==void 0?c:!1);A(3);E("ngIf",b.mdHelpLink)}},dependencies:[oJ,pJ,tv,RC,kC,Hx,KI,TI,yv],encapsulation:2,
changeDetection:0});var TL=function(a,b){Y.call(this);var c=this;this.appEvents=b;this.init=new xF;this.FormattingMode=$z;a.textDisplayPreferencesSubject$.pipe(Df(this.destroyed$)).subscribe(function(d){switch(d.commentDisplayOverride){case "LITERAL_FORMATTING_MODE":c.formattingModeOverride="LITERAL";break;case "MARKDOWN_FORMATTING_MODE":c.formattingModeOverride="MARKDOWN";break;case "PLAIN_FORMATTING_MODE":c.formattingModeOverride="PLAIN";break;case void 0:c.formattingModeOverride=void 0;break;default:Bc(d.commentDisplayOverride)}})};
V(TL,Y);TL.\u0275dir=Y.\u0275dir;TL.prototype.ngOnInit=function(){};TL.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)};TL.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
TL.\u0275fac=function(a){return new (a||TL)(B(PG),B(iD))};
TL.\u0275cmp=p({type:TL,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[Lf,rd],decls:5,vars:2,consts:[["livePreview",""],[1,"bv2-note-container","bv2-event-note"],[1,"bv2-note-container-note"],[3,"formattedComment",4,"ngIf","ngIfElse"],[3,"formattedComment"],[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"div",2),C(2,
KIa,1,1,"b-formatted-comment-presenter",3),H()(),C(3,LIa,1,5,"ng-template",null,0,Mg));if(a&2){a=M(4);A(2);var c;if(c=b.note.formattedComment)c=b.note.formattedComment,c=!c||b.formattingModeOverride?!1:c.literalFormat&&b.formattingMode==="LITERAL"||c.plainFormat&&b.formattingMode==="PLAIN"||c.markdownFormat&&b.formattingMode==="MARKDOWN"?!0:!1;E("ngIf",c)("ngIfElse",a)}},dependencies:[tv,LL,RL],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 UL=function(){};UL.\u0275fac=function(a){return new (a||UL)};UL.\u0275mod=cd({type:UL});UL.\u0275inj=Gc({imports:[yx,lx,lx]});var VL=function(){};VL.\u0275fac=function(a){return new (a||VL)};VL.\u0275mod=cd({type:VL});VL.\u0275inj=Gc({imports:[jw,wJ,Gv,UL,kx]});var WL=function(){};WL.\u0275fac=function(a){return new (a||WL)};WL.\u0275mod=cd({type:WL});WL.\u0275inj=Gc({imports:[RD,eL,VL]});var XL=function(){};XL.\u0275fac=function(a){return new (a||XL)};XL.\u0275mod=cd({type:XL});XL.\u0275inj=Gc({imports:[RD,VL,WL]});var YL=function(){this.segments=[];this.clickMain=new xF;this.clickSegment=new xF};YL.prototype.ngOnInit=function(){};da.Object.defineProperties(YL.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return this.segments.length>0}}});YL.\u0275fac=function(a){return new (a||YL)};
YL.\u0275cmp=p({type:YL,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"],[4,"ngIf"],["mat-button","","aria-label","More options",1,"more","button-xl","square-left",3,"matMenuTriggerFor"],["svgIcon","arrow-dropdown"],["mat-menu-item","",
3,"href","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","href"]],template:function(a,b){a&1&&(F(0,"span",1)(1,"a",2),O("click",function(){return b.clickMain.emit(b.label)}),J(2,"mat-icon",3),Q(3),H(),C(4,NIa,6,2,"ng-container",4),H());a&2&&(A(),Wf("square-right",b.showMoreButton),Nf("href",b.href||void 0,cf),A(),E("svgIcon",b.icon),A(),R(" ",b.label," "),A(),E("ngIf",b.showMoreButton))},dependencies:[sv,tv,RC,kC,Fx,Ex,JI,NI,LI,OI],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 lfc=function(a,b){return b.value},ZL=function(){this.choices=[];this.value="";this.valueChange=new xF};ZL.prototype.onClickButton=function(a){this.value=a;this.valueChange.next(a)};ZL.\u0275fac=function(a){return new (a||ZL)};
ZL.\u0275cmp=p({type:ZL,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&&bg(0,PIa,3,5,"button",0,lfc);a&2&&cg(b.choices)},dependencies:[RC,kC,Ex,KI,TI],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 $L=function(){};$L.\u0275fac=function(a){return new (a||$L)};$L.\u0275mod=cd({type:$L});$L.\u0275inj=Gc({providers:[Lac],imports:[Gv,yx,lx,kx,Ww,lx]});var aM=function(){};aM.\u0275fac=function(a){return new (a||aM)};aM.\u0275mod=cd({type:aM});aM.\u0275inj=Gc({providers:[{provide:hx,useClass:SH}],imports:[$L]});var bM=function(){};bM.\u0275fac=function(a){return new (a||bM)};bM.\u0275mod=cd({type:bM});bM.\u0275inj=Gc({imports:[bJ]});var mfc=[YL,ZL],cM=function(){};cM.\u0275fac=function(a){return new (a||cM)};cM.\u0275mod=cd({type:cM});cM.\u0275inj=Gc({imports:[RD,RH,aM,bM]});var dM=function(){};dM.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};dM.\u0275fac=function(a){return new (a||dM)};
dM.\u0275cmp=p({type:dM,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&&(F(0,"section",0)(1,"button",1),O("click",function(){return b.onPressBack()}),J(2,"mat-icon",2),H()())},dependencies:[RC,kC,Gx,KI,TI],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var eM=function(a,b,c){Y.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};V(eM,Y);da.Object.defineProperties(eM.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(Df(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});eM.\u0275fac=function(a){return new (a||eM)(B(og),B(pg),B(Wg))};
eM.\u0275dir=ed({type:eM,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[Lf]});var fM=function(a,b,c){var d=this;this.cdr=a;this.events=b;this.ngZone=c;this.lastOpenPosition=this.width=220;this.hideToggleBtnOnOpen=this.disableToggleBtn=!1;this.direction="ltr";this.maxWidth=700;this.widthChanged=new xF;this.widthAtDragStart=this.width;this.startDragging=function(e){d.dragStart=e;d.widthAtDragStart=d.width};this.minSnapWidth=185;this.onMousemove=function(e){d.isDragging&&(d.setWidth(d.widthAtDragStart+(e.pageX-(d.dragStart||0))*(d.isLTR?1:-1)),d.cdr.detectChanges())};this.onMouseup=
function(){d.dragStart=void 0;d.cdr.detectChanges()};this.broadcastWidthChange=Dz(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=Dz(function(){Jn("sidebar","resizeKeyboard")},2E3)};fM.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
fM.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var nfc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=b<0?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};fM.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
fM.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)};
da.Object.defineProperties(fM.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}}});fM.\u0275fac=function(a){return new (a||fM)(B(yF,2),B(iD),B(Me))};
fM.\u0275cmp=p({type:fM,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&Xf(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size",maxWidth:"maxWidth"},outputs:{widthChanged:"widthChanged"},features:[Dg([yF])],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","","class","toggleButton xs","matTooltipPosition","right",3,"ngClass","isClosed","matTooltip","click",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",1,"toggleButton","xs",3,"click","ngClass","matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&(ig(),F(0,"div",0)(1,"div",1),jg(2),H(),F(3,"div",2),O("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return nfc(b,-10)})("keyup.arrowright",function(){return nfc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),H()(),C(4,QIa,2,6,"button",3));a&2&&(Vf("width",b.width+"px"),Wf("isDragging",b.isDragging)("isClosed",b.isClosed),E("ngClass",b.direction),A(),Vf("width",b.lastOpenPosition+"px"),A(2),Nf("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),A(),E("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[rv,tv,RC,kC,Gx,KI,TI,Sw],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 gM=function(){};gM.prototype.onClick=function(a,b){ofc(b)&&a.preventDefault()};var ofc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};gM.\u0275fac=function(a){return new (a||gM)};gM.\u0275dir=ed({type:gM,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&O("click",function(c){return b.onClick(c,c.target)})}});r(mfc);var hM=function(){};hM.\u0275fac=function(a){return new (a||hM)};hM.\u0275mod=cd({type:hM});hM.\u0275inj=Gc({imports:[RD,RH,bM,Ww,cM]});var iM=function(){};iM.\u0275fac=function(a){return new (a||iM)};iM.\u0275mod=cd({type:iM});iM.\u0275inj=Gc({imports:[pJ,lx,lx]});var jM=function(){};jM.\u0275fac=function(a){return new (a||jM)};jM.\u0275mod=cd({type:jM});jM.\u0275inj=Gc({providers:[{provide:sbc,useValue:{color:"primary"}}],imports:[iM]});var pfc=new ld("GMAT_FORM_FIELD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var kM=function(a){this.options=a};kM.\u0275fac=function(a){return new (a||kM)(B(pfc))};kM.\u0275dir=ed({type:kM,selectors:[["mat-form-field"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-form-field",!b.options.disableGmatStyle)}});var lM=function(){};lM.\u0275fac=function(a){return new (a||lM)};lM.\u0275mod=cd({type:lM});lM.\u0275inj=Gc({imports:[Ky]});var qfc=new ld("GMAT_SELECT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var mM=function(a){this.options=a};mM.\u0275fac=function(a){return new (a||mM)(B(qfc))};mM.\u0275dir=ed({type:mM,selectors:[["mat-select"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-select",!b.options.disableGmatStyle)}});var rfc=Eh("transformPanel",[Hh("void",Gh({opacity:0,transform:"scale(1, 0.8)"})),Jh("void => showing",Fh("120ms cubic-bezier(0, 0, 0.2, 1)",Gh({opacity:1,transform:"scale(1, 1)"}))),Jh("* => void",Fh("100ms linear",Gh({opacity:0})))]);var sfc=["trigger"],tfc=["panel"],ufc=[[["mat-select-trigger"]],"*"],vfc=0,wfc=new ld("mat-select-scroll-strategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.reposition()}}}),xfc=new ld("MAT_SELECT_CONFIG"),yfc={provide:wfc,deps:[hx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},zfc=new ld("MatSelectTrigger"),Afc=function(a,b){this.source=a;this.value=b},nM=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G){var I=this;this._viewportRuler=
a;this._changeDetectorRef=b;this._elementRef=e;this._dir=f;this._parentFormField=q;this.ngControl=t;this._liveAnnouncer=D;this._defaultOptions=G;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._panelOpen=!1;this._compareWith=function(ma,ua){return ma===ua};this._uid="mat-select-"+vfc++;this._triggerAriaLabelledBy=null;this._destroy=new yf;this.stateChanges=new yf;this.disableAutomaticLabeling=!0;this._onChange=function(){};this._onTouched=function(){};this._valueId="mat-select-value-"+vfc++;this._panelDoneAnimatingStream=new yf;var N;this._overlayPanelClass=((N=this._defaultOptions)==null?void 0:N.overlayPanelClass)||"";this._focused=!1;this.controlType="mat-select";this.disableRipple=
this.disabled=!1;this.tabIndex=0;var S,W;this._hideSingleSelectionIndicator=(W=(S=this._defaultOptions)==null?void 0:S.hideSingleSelectionIndicator)!=null?W:!1;this._multiple=!1;var Z,fa;this.disableOptionCentering=(fa=(Z=this._defaultOptions)==null?void 0:Z.disableOptionCentering)!=null?fa:!1;this.ariaLabel="";this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth!=="undefined"?this._defaultOptions.panelWidth:"auto";this._initialized=new yf;this.optionSelectionChanges=Be(function(){var ma=
I.options;return ma?ma.changes.pipe(Bf(ma),Cf(function(){return Ge.apply(null,r(ma.map(function(ua){return ua.onSelectionChange})))})):I._initialized.pipe(Cf(function(){return I.optionSelectionChanges}))});this.openedChange=new bv;this._openedStream=this.openedChange.pipe(He(function(ma){return ma}),z(function(){}));this._closedStream=this.openedChange.pipe(He(function(ma){return!ma}),z(function(){}));this.selectionChange=new bv;this.valueChange=new bv;this._trackedModal=null;this._skipPredicate=
function(ma){return I.panelOpen?!1:ma.disabled};this.ngControl&&(this.ngControl.valueAccessor=this);(G==null?void 0:G.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=G.typeaheadDebounceInterval);this._errorStateTracker=new KXb(d,t,k,h,this.stateChanges);this._scrollStrategyFactory=y;this._scrollStrategy=this._scrollStrategyFactory();this.tabIndex=parseInt(w)||0;this.id=this.id};g=nM.prototype;
g._scrollOptionIntoView=function(a){var b=this.options.toArray()[a];if(b){var c=this.panel.nativeElement,d=Poa(a,this.options,this.optionGroups);b=b._getHostElement();c.scrollTop=a===0&&d===1?0:Qoa(b.offsetTop,b.offsetHeight,c.scrollTop,c.offsetHeight)}};g._positioningSettled=function(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)};g._getChangeEvent=function(a){return new Afc(this,a)};
g.ngOnInit=function(){var a=this;this._selectionModel=new Tw(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(sf(),Df(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)});this._viewportRuler.change().pipe(Df(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(Df(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(Bf(null),Df(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&&hXb(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=tZb(this._parentFormField)),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,tw(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&&uh(this._trackedModal,"aria-owns",b);uoa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(uh(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};
g.close=function(){this._panelOpen&&(this._panelOpen=!1,tw(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||oh(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||oh(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(qf()).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?(Array.isArray(a),a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?vw(this._keyManager,a):this.panelOpen||vw(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 ix?a.elementRef:a||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth};g._syncParentProperties=function(){if(this.options)for(var a=l(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g._initKeyManager=function(){var a=this;this._keyManager=gXb(iXb(uw(tw(sw(hXb(new ww(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=Ge(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Df(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});Ge.apply(null,r(this.options.map(function(c){return c._stateChanges}))).pipe(Df(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();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()};
da.Object.defineProperties(nM.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:LYb(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}}});nM.\u0275fac=function(a){return new (a||nM)(B(Vw),B(Wg),B(Me),B(rx),B(Rd),B(Hw,8),B(jy,8),B(ry,8),B(qZb,8),B(by,10),Jd("tabindex"),B(wfc),B(iw),B(xfc,8))};
nM.\u0275cmp=p({type:nM,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(sg(c,zfc,5),sg(c,xx,5),sg(c,NXb,5));if(a&2){var d;vg(d=wg())&&(b.customTrigger=d.first);vg(d=wg())&&(b.options=d);vg(d=wg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(rg(sfc,5),rg(tfc,5),rg(jx,5));if(a&2){var c;vg(c=wg())&&(b.trigger=c.first);vg(c=wg())&&(b.panel=c.first);vg(c=wg())&&(b._overlayDir=c.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],
hostVars:19,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});a&2&&(Nf("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()),
Wf("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",Tg],disableRipple:[2,"disableRipple","disableRipple",Tg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Ug(a)}],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator",
"hideSingleSelectionIndicator",Tg],placeholder:"placeholder",required:[2,"required","required",Tg],multiple:[2,"multiple","multiple",Tg],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Tg],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ug],sortComparator:"sortComparator",
id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Dg([{provide:Ey,useExisting:nM},{provide:MXb,useExisting:nM}]),Mf,rd,Fg],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=u();ig(ufc);F(0,"div",2,0);O("click",function(){v(c);return x(b.open())});F(3,"div",3);C(4,RIa,2,1,"span",4)(5,UIa,3,1,"span",5);H();F(6,"div",6)(7,"div",7);Fd();F(8,"svg",8);J(9,"path",9);H()()()();C(10,VIa,3,9,"ng-template",10);
O("backdropClick",function(){v(c);return x(b.close())})("attach",function(){v(c);return x(b._onAttached())})("detach",function(){v(c);return x(b.close())})}a&2&&(a=M(1),A(3),Nf("id",b._valueId),A(),$f(b.empty?4:5),A(6),E("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",b._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayWidth",b._overlayWidth))},
dependencies:[ix,jx,rv],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);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.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)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .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)}.cdk-high-contrast-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)}._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)}\n'],
encapsulation:2,data:{animation:[rfc]},changeDetection:0});var oM=function(){};oM.\u0275fac=function(a){return new (a||oM)};oM.\u0275dir=ed({type:oM,selectors:[["mat-select-trigger"]],standalone:!0,features:[Dg([{provide:zfc,useExisting:oM}])]});var pM=function(){};pM.\u0275fac=function(a){return new (a||pM)};pM.\u0275mod=cd({type:pM});pM.\u0275inj=Gc({providers:[yfc],imports:[Gv,kx,Ax,lx,Ww,Ky,Ax,lx]});var Bfc={provide:xfc,deps:[[new Lu,new Mu,new wUb(xfc)],[new Lu,new wUb(qfc)]],useFactory:function(a,b){return!b||b.disableGmatStyle?a||{}:a?(b=ph(a.overlayPanelClass).concat("gmat-mdc-select"),Object.assign({},a,{overlayPanelClass:b})):{overlayPanelClass:"gmat-mdc-select"}}},qM=function(){};qM.\u0275fac=function(a){return new (a||qM)};qM.\u0275mod=cd({type:qM});qM.\u0275inj=Gc({providers:[Bfc],imports:[pM,lM]});var Cfc=new ld("GMAT_SNACK_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var rM=function(a,b,c,d,e,f,h){h.disableGmatStyle||TH(a,"gmat-mdc-snack-bar");ZC.call(this,a,b,c,d,e,f)};V(rM,ZC);rM.\u0275fac=function(a){return new (a||rM)(n(hx),n(iw),n(Ne),n(cw),n(ZC,12),n(X4b),n(Cfc))};rM.\u0275prov=Fc({token:rM,factory:rM.\u0275fac});var sM=function(){};sM.\u0275fac=function(a){return new (a||sM)};sM.\u0275mod=cd({type:sM});sM.\u0275inj=Gc({providers:[{provide:ZC,useClass:rM},{provide:hx,useClass:SH}],imports:[$C]});var Dfc=new ld("GMAT_TABS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1,appearance:"primary"}}});var Efc=function(a){this._items=a};Efc.prototype.hide=function(){this._items.forEach(function(a){return Ffc(a)})};
var Hfc=function(a,b){var c=a._items.find(function(h){return h.elementRef.nativeElement===b}),d=a._currentItem;if(c!==d&&(d==null||Ffc(d),c)){var e,f;d=d==null?void 0:(f=(e=d.elementRef.nativeElement).getBoundingClientRect)==null?void 0:f.call(e);Gfc(c,d);a._currentItem=c}},tM=function(){this._elementRef=Xc(Rd);this._fitToContent=!1},Gfc=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")},Ffc=function(a){a._elementRef.nativeElement.classList.remove("mdc-tab-indicator--active")};tM.prototype.ngOnInit=function(){this._createInkBarElement()};
tM.prototype.ngOnDestroy=function(){var a;(a=this._inkBarElement)==null||a.remove();this._inkBarElement=this._inkBarContentElement=null};tM.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()};
tM.prototype._appendInkBarElement=function(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)};da.Object.defineProperties(tM.prototype,{fitInkBarToContent:{configurable:!0,enumerable:!0,get:function(){return this._fitToContent},set:function(a){this._fitToContent!==a&&(this._fitToContent=a,this._inkBarElement&&this._appendInkBarElement())}}});tM.\u0275fac=function(a){return new (a||tM)};
tM.\u0275dir=ed({type:tM,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",Tg]},features:[Mf]});new ld("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var Ifc=new ld("MatTabContent"),uM=function(a){this.template=a};uM.\u0275fac=function(a){return new (a||uM)(B(og))};uM.\u0275dir=ed({type:uM,selectors:[["","matTabContent",""]],standalone:!0,features:[Dg([{provide:Ifc,useExisting:uM}])]});var Jfc=Eh("translateTab",[Hh("center, void, left-origin-center, right-origin-center",Gh({transform:"none",visibility:"visible"})),Hh("left",Gh({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Hh("right",Gh({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Jh("* => left, * => right, left => center, right => center",Fh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Jh("void => left-origin-center",[Gh({transform:"translate3d(-100%, 0, 0)",
visibility:"hidden"}),Fh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Jh("void => right-origin-center",[Gh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Fh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var Kfc=function(a){return{animationDuration:a}},Lfc=function(a,b){return{value:a,params:b}},vM=function(a,b,c,d){Fw.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=Yd.EMPTY};V(vM,Fw);
vM.prototype.ngOnInit=function(){var a=this;Fw.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(Bf(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()})};vM.prototype.ngOnDestroy=function(){Fw.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
vM.\u0275fac=function(a){return new (a||vM)(B(Nu),B(pg),B(Sc(function(){return wM})),B(vh))};vM.\u0275dir=ed({type:vM,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[Lf]});
var wM=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=Yd.EMPTY;this._translateTabComplete=new yf;this._onCentering=new bv;this._beforeCentering=new bv;this._afterLeavingCenter=new bv;this._onCentered=new bv(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(sf(function(e,f){return e.fromState===f.fromState&&
e.toState===f.toState})).subscribe(function(e){d._isCenterPosition(e.toState)&&d._isCenterPosition(d._position)&&d._onCentered.emit();d._isCenterPosition(e.fromState)&&!d._isCenterPosition(d._position)&&d._afterLeavingCenter.emit()})};g=wM.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"};da.Object.defineProperties(wM.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
wM.\u0275fac=function(a){return new (a||wM)(B(Rd),B(Hw,8),B(Wg))};
wM.\u0275cmp=p({type:wM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&rg(Fw,5);if(a&2){var c;vg(c=wg())&&(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:[Fg],decls:3,
vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(a,b){if(a&1){var c=u();F(0,"div",1,0);O("@translateTab.start",function(d){v(c);return x(b._onTranslateTabStarted(d))})("@translateTab.done",function(d){v(c);return x(b._translateTabComplete.next(d))});C(2,WIa,0,0,"ng-template",2);H()}a&2&&E("@translateTab",Ig(3,Lfc,b._position,Hg(1,Kfc,b.animationDuration)))},dependencies:[vM,Sw],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:[Jfc]}});var Mfc=new ld("MAT_TABS_CONFIG");var Nfc=kh({passive:!0}),xM=function(a,b,c,d,e,f,h){var k=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=f;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new yf;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new yf;this.disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new bv;this.indexFocused=new bv;this._sharedResizeObserver=
Xc(Fy);this._injector=Xc(Ne);e.runOutsideAngular(function(){De(a.nativeElement,"mouseleave").pipe(Df(k._destroyed)).subscribe(function(){k._stopInterval()})})};g=xM.prototype;g.ngAfterViewInit=function(){var a=this;De(this._previousPaginator.nativeElement,"touchstart",Nfc).pipe(Df(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});De(this._nextPaginator.nativeElement,"touchstart",Nfc).pipe(Df(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
g.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:pe("ltr"),c=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(pf(32),Df(this._destroyed)),d=this._viewportRuler.change(150).pipe(Df(this._destroyed)),e=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=rw(uw(tw(new xw(this._items),this._getLayoutDirection()))).skipPredicate(function(){return!1});vw(this._keyManager,this._selectedIndex);Pe(e,{injector:this._injector});Ge(b,d,
c,this._items.changes,this._itemsResized()).pipe(Df(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));e()})});tw(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"?Fe:this._items.changes.pipe(Bf(this._items),Cf(function(b){return new ce(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()}})})}),Af(1),He(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(!oh(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)?Hfc(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(),Ie(650,100).pipe(Df(Ge(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}};
da.Object.defineProperties(xM.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&&vw(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)}}});xM.\u0275fac=function(a){return new (a||xM)(B(Rd),B(Wg),B(Vw),B(Hw,8),B(Me),B(Nv),B(Pu,8))};xM.\u0275dir=ed({type:xM,inputs:{disablePagination:[2,"disablePagination","disablePagination",Tg],selectedIndex:[2,"selectedIndex","selectedIndex",Ug]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Mf]});var yM=function(a){tM.call(this);this.elementRef=a;this.disabled=!1};V(yM,tM);yM.prototype.focus=function(){this.elementRef.nativeElement.focus()};yM.\u0275fac=function(a){return new (a||yM)(B(Rd))};yM.\u0275dir=ed({type:yM,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Nf("aria-disabled",!!b.disabled),Wf("mat-mdc-tab-disabled",b.disabled))},inputs:{disabled:[2,"disabled","disabled",Tg]},standalone:!0,features:[Mf,Lf]});var Ofc=["tabListContainer"],Pfc=["tabList"],Qfc=["tabListInner"],Rfc=["nextPaginator"],Sfc=["previousPaginator"],zM=function(a,b,c,d,e,f,h){xM.call(this,a,b,c,d,e,f,h);this.disableRipple=!1};V(zM,xM);zM.\u0275dir=xM.\u0275dir;zM.prototype.ngAfterContentInit=function(){this._inkBar=new Efc(this._items);xM.prototype.ngAfterContentInit.call(this)};zM.prototype._itemSelected=function(a){a.preventDefault()};zM.\u0275fac=function(a){return new (a||zM)(B(Rd),B(Wg),B(Vw),B(Hw,8),B(Me),B(Nv),B(Pu,8))};
zM.\u0275cmp=p({type:zM,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&sg(c,yM,4);if(a&2){var d;vg(d=wg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(rg(Ofc,7),rg(Pfc,7),rg(Qfc,7),rg(Rfc,5),rg(Sfc,5));if(a&2){var c;vg(c=wg())&&(b._tabListContainer=c.first);vg(c=wg())&&(b._tabList=c.first);vg(c=wg())&&(b._tabListInner=c.first);vg(c=wg())&&(b._nextPaginator=c.first);vg(c=wg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(a,
b){a&2&&Wf("mat-mdc-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-mdc-tab-header-rtl",b._getLayoutDirection()=="rtl")},inputs:{disableRipple:[2,"disableRipple","disableRipple",Tg]},standalone:!0,features:[Mf,Lf,Fg],ngContentSelectors:["*"],decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",
3,"click","mousedown","touchend","matRippleDisabled","disabled"],[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"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(a,b){if(a&1){var c=u();ig();F(0,"button",
5,0);O("click",function(){v(c);return x(b._handlePaginatorClick("before"))})("mousedown",function(d){v(c);return x(b._handlePaginatorPress("before",d))})("touchend",function(){v(c);return x(b._stopInterval())});J(2,"div",6);H();F(3,"div",7,1);O("keydown",function(d){v(c);return x(b._handleKeydown(d))});F(5,"div",8,2);O("cdkObserveContent",function(){v(c);return x(b._onContentChanges())});F(7,"div",9,3);jg(9);H()()();F(10,"button",10,4);O("mousedown",function(d){v(c);return x(b._handlePaginatorPress("after",
d))})("click",function(){v(c);return x(b._handlePaginatorClick("after"))})("touchend",function(){v(c);return x(b._stopInterval())});J(12,"div",6);H()}a&2&&(Wf("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),E("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),A(3),Wf("_mat-animation-noopable",b._animationMode==="NoopAnimations"),A(7),Wf("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),E("matRippleDisabled",b._disableScrollAfter||
b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[vx,gw],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;background:none;border:none;outline:0;padding: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)}.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)}.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);border-bottom-color:var(--mat-tab-header-divider-color)}.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);border-top-color:var(--mat-tab-header-divider-color)}.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)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}\n"],
encapsulation:2});var Tfc=new ld("MatTabLabel"),Ufc=new ld("MAT_TAB"),AM=function(a,b,c){Bw.call(this,a,b);this._closestTab=c};V(AM,Ew);AM.\u0275fac=function(a){return new (a||AM)(B(og),B(pg),B(Ufc,8))};AM.\u0275dir=ed({type:AM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[Dg([{provide:Tfc,useExisting:AM}]),Lf]});var Vfc=new ld("MAT_TAB_GROUP"),BM=function(a,b){this._viewContainerRef=a;this._closestTabGroup=b;this.disabled=!1;this._explicitContent=void 0;this.textLabel="";this._contentPortal=null;this._stateChanges=new yf;this.origin=this.position=null;this.isActive=!1};BM.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};BM.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
BM.prototype.ngOnInit=function(){this._contentPortal=new Bw(this._explicitContent||this._implicitContent,this._viewContainerRef)};BM.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};da.Object.defineProperties(BM.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}}});
BM.\u0275fac=function(a){return new (a||BM)(B(pg),B(Vfc,8))};
BM.\u0275cmp=p({type:BM,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(sg(c,AM,5),sg(c,uM,7,og));if(a&2){var d;vg(d=wg())&&(b.templateLabel=d.first);vg(d=wg())&&(b._explicitContent=d.first)}},viewQuery:function(a,b){a&1&&rg(og,7);if(a&2){var c;vg(c=wg())&&(b._implicitContent=c.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",Tg],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",
bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[Dg([{provide:Ufc,useExisting:BM}]),Mf,rd,Fg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),C(0,XIa,1,0,"ng-template"))},encapsulation:2});var Wfc=["tabBodyWrapper"],Xfc=["tabHeader"],Yfc=0,CM=function(a,b,c,d){this._elementRef=a;this._changeDetectorRef=b;this._animationMode=d;this._tabs=new qg;this._indexToSelect=0;this._lastFocusedTabIndex=null;this._tabBodyWrapperHeight=0;this._tabLabelSubscription=this._tabsSubscription=Yd.EMPTY;this._fitInkBarToContent=!1;this.stretchTabs=!0;this.dynamicHeight=!1;this._selectedIndex=null;this.headerPosition="above";this.preserveContent=this.disableRipple=this.disablePagination=!1;this.selectedIndexChange=
new bv;this.focusChange=new bv;this.animationDone=new bv;this.selectedTabChange=new bv(!0);this._isServer=!Xc(Nv).isBrowser;this._groupId=Yfc++;this.animationDuration=c&&c.animationDuration?c.animationDuration:"500ms";this.disablePagination=c&&c.disablePagination!=null?c.disablePagination:!1;this.dynamicHeight=c&&c.dynamicHeight!=null?c.dynamicHeight:!1;(c==null?void 0:c.contentTabIndex)!=null&&(this.contentTabIndex=c.contentTabIndex);this.preserveContent=!(c==null||!c.preserveContent);this.fitInkBarToContent=
c&&c.fitInkBarToContent!=null?c.fitInkBarToContent:!1;this.stretchTabs=c&&c.stretchTabs!=null?c.stretchTabs:!0};g=CM.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(Bf(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));ug(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 Zfc;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=Ge.apply(null,r(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)};
da.Object.defineProperties(CM.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}}});
CM.\u0275fac=function(a){return new (a||CM)(B(Rd),B(Wg),B(Mfc,8),B(Pu,8))};
CM.\u0275cmp=p({type:CM,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&sg(c,BM,5);if(a&2){var d;vg(d=wg())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(rg(Wfc,5),rg(Xfc,5));if(a&2){var c;vg(c=wg())&&(b._tabBodyWrapper=c.first);vg(c=wg())&&(b._tabHeader=c.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(a,b){a&2&&(Xf("mat-"+(b.color||"primary")),Vf("--mat-tab-animation-duration",b.animationDuration),Wf("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",Tg],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Tg],dynamicHeight:[2,"dynamicHeight","dynamicHeight",Tg],selectedIndex:[2,"selectedIndex","selectedIndex",Ug],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Ug],disablePagination:[2,"disablePagination","disablePagination",
Tg],disableRipple:[2,"disableRipple","disableRipple",Tg],preserveContent:[2,"preserveContent","preserveContent",Tg],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[Dg([{provide:Vfc,useExisting:CM}]),Mf,Fg],ngContentSelectors:["*"],decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused",
"selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-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-mdc-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=u();ig();F(0,"mat-tab-header",3,0);O("indexFocused",function(d){v(c);return x(b._focusChanged(d))})("selectFocusedIndex",
function(d){v(c);return x(b.selectedIndex=d)});bg(2,aJa,8,17,"div",4,ag);H();C(4,bJa,1,0);F(5,"div",5,1);bg(7,cJa,1,13,"mat-tab-body",6,ag);H()}a&2&&(E("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),A(2),cg(b._tabs),A(2),$f(b._isServer?4:-1),A(),Wf("_mat-animation-noopable",b._animationMode==="NoopAnimations"),A(2),cg(b._tabs))},dependencies:[zM,yM,Uv,vx,Fw,wM],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{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);font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-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);border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.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)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.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)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);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)}.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-mdc-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-mdc-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 Zfc=function(){};var $fc=["tabListContainer"],agc=["tabList"],bgc=["tabListInner"],cgc=["nextPaginator"],dgc=["previousPaginator"],egc=["*"],fgc=0,DM=function(a,b,c,d,e,f,h,k){xM.call(this,a,d,e,b,c,f,h);this._fitInkBarToContent=new rn(!1);this.stretchTabs=!0;this.disableRipple=!1;this.color="primary";this.disablePagination=k&&k.disablePagination!=null?k.disablePagination:!1;this.fitInkBarToContent=k&&k.fitInkBarToContent!=null?k.fitInkBarToContent:!1;this.stretchTabs=k&&k.stretchTabs!=null?k.stretchTabs:!0};
V(DM,xM);DM.\u0275dir=xM.\u0275dir;DM.prototype._itemSelected=function(){};DM.prototype.ngAfterContentInit=function(){var a=this;this._inkBar=new Efc(this._items);this._items.changes.pipe(Bf(null),Df(this._destroyed)).subscribe(function(){ggc(a)});xM.prototype.ngAfterContentInit.call(this)};DM.prototype.ngAfterViewInit=function(){xM.prototype.ngAfterViewInit.call(this)};
var ggc=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()}};DM.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
da.Object.defineProperties(DM.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}}});DM.\u0275fac=function(a){return new (a||DM)(B(Rd),B(Hw,8),B(Me),B(Wg),B(Vw),B(Nv),B(Pu,8),B(Mfc,8))};
DM.\u0275cmp=p({type:DM,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&sg(c,EM,5);if(a&2){var d;vg(d=wg())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(rg($fc,7),rg(agc,7),rg(bgc,7),rg(cgc,5),rg(dgc,5));if(a&2){var c;vg(c=wg())&&(b._tabListContainer=c.first);vg(c=wg())&&(b._tabList=c.first);vg(c=wg())&&(b._tabListInner=c.first);vg(c=wg())&&(b._nextPaginator=c.first);vg(c=wg())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:17,
hostBindings:function(a,b){a&2&&(Nf("role",b._getRole()),Vf("--mat-tab-animation-duration",b.animationDuration),Wf("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",Tg],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",Tg],animationDuration:"animationDuration",backgroundColor:"backgroundColor",disableRipple:[2,"disableRipple","disableRipple",Tg],color:"color",tabPanel:"tabPanel"},exportAs:["matTabNavBar","matTabNav"],standalone:!0,features:[Mf,Lf,Fg],attrs:["mat-tab-nav-bar",""],ngContentSelectors:egc,decls:13,vars:8,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",
""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[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"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",
3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(a,b){if(a&1){var c=u();ig();F(0,"button",5,0);O("click",function(){v(c);return x(b._handlePaginatorClick("before"))})("mousedown",function(d){v(c);return x(b._handlePaginatorPress("before",d))})("touchend",function(){v(c);return x(b._stopInterval())});J(2,"div",6);H();F(3,"div",7,1);O("keydown",function(d){v(c);return x(b._handleKeydown(d))});F(5,"div",8,2);O("cdkObserveContent",function(){v(c);return x(b._onContentChanges())});
F(7,"div",9,3);jg(9);H()()();F(10,"button",10,4);O("mousedown",function(d){v(c);return x(b._handlePaginatorPress("after",d))})("click",function(){v(c);return x(b._handlePaginatorClick("after"))})("touchend",function(){v(c);return x(b._stopInterval())});J(12,"div",6);H()}a&2&&(Wf("mat-mdc-tab-header-pagination-disabled",b._disableScrollBefore),E("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),A(10),Wf("mat-mdc-tab-header-pagination-disabled",b._disableScrollAfter),
E("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[vx,gw],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{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;background:none;border:none;outline:0;padding: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)}.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)}.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)}.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);border-bottom-color:var(--mat-tab-header-divider-color)}.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-mdc-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-mdc-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 EM=function(a,b,c,d,e,f){tM.call(this);var h=this;this._tabNavBar=a;this.elementRef=b;this._focusMonitor=e;this._destroyed=new yf;this.disableRipple=this.disabled=this._isActive=!1;this.tabIndex=0;this.id="mat-tab-link-"+fgc++;this.rippleConfig=c||{};this.tabIndex=parseInt(d)||0;f==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0});a._fitInkBarToContent.pipe(Df(this._destroyed)).subscribe(function(k){h.fitInkBarToContent=k})};V(EM,tM);
EM.\u0275dir=tM.\u0275dir;g=EM.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();tM.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};
da.Object.defineProperties(EM.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a!==this._isActive&&(this._isActive=a,ggc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});EM.\u0275fac=function(a){return new (a||EM)(B(DM),B(Rd),B(ux,8),Jd("tabindex"),B(Sv),B(Pu,8))};
EM.\u0275cmp=p({type:EM,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&O("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Nf("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()),
Wf("mat-mdc-tab-disabled",b.disabled)("mdc-tab--active",b.active))},inputs:{active:[2,"active","active",Tg],disabled:[2,"disabled","disabled",Tg],disableRipple:[2,"disableRipple","disableRipple",Tg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Ug(a)}],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[Mf,Lf,Fg],attrs:["mat-tab-link",""],ngContentSelectors:egc,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&&(ig(),J(0,"span",0)(1,"div",1),F(2,"span",2)(3,"span",3),jg(4),H()());a&2&&(A(),E("matRippleTrigger",b.elementRef.nativeElement)("matRippleDisabled",b.rippleDisabled))},dependencies:[vx],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);font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-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);border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.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)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.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)}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);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)}.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 FM=function(){this.id="mat-tab-nav-panel-"+fgc++};FM.\u0275fac=function(a){return new (a||FM)};
FM.\u0275cmp=p({type:FM,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(a,b){a&2&&Nf("aria-labelledby",b._activeTabId)("id",b.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[Fg],ngContentSelectors:egc,decls:1,vars:0,template:function(a){a&1&&(ig(),jg(0))},encapsulation:2,changeDetection:0});var GM=function(){};GM.\u0275fac=function(a){return new (a||GM)};GM.\u0275mod=cd({type:GM});GM.\u0275inj=Gc({imports:[lx,lx]});var HM=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabGroup=c;this.appearance=this.options.appearance};da.Object.defineProperties(HM.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())}}});HM.\u0275fac=function(a){return new (a||HM)(B(Dfc),B(Wg),B(CM))};
HM.\u0275dir=ed({type:HM,selectors:[["mat-tab-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"}});var IM=function(a,b,c){this.options=a;this.changeDetectorRef=b;this.tabNav=c;this.appearance=this.options.appearance};
da.Object.defineProperties(IM.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())}}});IM.\u0275fac=function(a){return new (a||IM)(B(Dfc),B(Wg),B(DM))};
IM.\u0275dir=ed({type:IM,selectors:[["","mat-tab-nav-bar",""]],hostVars:4,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-tabs-primary",!b.options.disableGmatStyle&&b.appearance==="primary")("gmat-mdc-tabs-secondary",!b.options.disableGmatStyle&&b.appearance==="secondary")},inputs:{appearance:"appearance"}});var JM=function(){};JM.\u0275fac=function(a){return new (a||JM)};JM.\u0275mod=cd({type:JM});JM.\u0275inj=Gc({imports:[GM]});var KM=function(){};KM.\u0275fac=function(a){return new (a||KM)};KM.\u0275mod=cd({type:KM});KM.\u0275inj=Gc({imports:[jM,sM,RD,kx,iJ,hM,qM,JM,RH,bM,WL,XL,VL]});var hgc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var iJa=function(a,b,c){var d=this;this.realGapiClient=a;this.peopleApiProxy=b;this.activeSession=c;this.request=function(e){var f=e.path;if(!Np(d.activeSession)||f!=="v2/people/autocomplete"||ep(d.activeSession,"enableGapiRedirect"))return d.realGapiClient.request(e);var h=gJa(e.params);return se(d.peopleApiProxy.call(f,h)).then(function(k){return{result:k}}).catch(function(){gj("falling back to gapi",e);return d.realGapiClient.request(e)})}};var LM=function(a){this.internalArray_=m(a,0,LM.messageId)};V(LM,X);LM.prototype.getPath=function(){return Zh(this,1)};LM.prototype.setPath=function(a){return Sj(this,1,a)};LM.prototype.hasPath=function(){return vl(this,1)};var igc=function(a,b){return Sj(a,2,b)};LM.messageId="b.PeopleApiProxyRequest";var jgc=function(a){this.internalArray_=m(a,0,jgc.messageId)};V(jgc,X);jgc.messageId="b.PeopleApiProxyResponse";var MM=function(a){this.executor=a};MM.prototype.call=function(a,b){a=igc((new LM).setPath(a),JSON.stringify(b));return this.executor.post({url:"action/peopleApiProxy",body:a,responseConstructor:jgc}).pipe(z(function(c){return JSON.parse(Zh(c,1))}))};MM.\u0275fac=function(a){return new (a||MM)(n(pA))};MM.\u0275prov=Fc({token:MM,factory:MM.\u0275fac,providedIn:"root"});var kgc=function(a){this.allowExecution=a;this.queue=[]};kgc.prototype.addTask=function(a){this.queue.push(a);lgc(this)};var lgc=function(a){if(a.queue.length!==0)if(a.allowExecution()){var b=l(a.queue),c=b.next().value;a.queue=Mk(b);c();lgc(a)}else setTimeout(function(){lgc(a)},0)};var NM=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new kgc(function(){return!e.router.navigationTransitions.currentNavigation})};NM.prototype.absUrl=function(){return this.platformLocation.href};NM.prototype.hash=function(a,b){typeof a!=="undefined"&&mgc(this,a!=null?a:"",b);var c;return(c=this.activatedRoute.snapshot.fragment)!=null?c:""};
var mgc=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})})};NM.prototype.path=function(a,b){typeof a!=="undefined"&&this.setPath(a,b);return this.getPath()};var ngc=function(a,b){a.path(b,!0)};g=NM.prototype;g.getPath=function(){var a=l(this.location.path().split("?")).next().value;return l(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 lJa(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(){Or(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)};
NM.\u0275fac=function(a){return new (a||NM)(n(Mv),n(Hv),n(qn),n(HD))};NM.\u0275prov=Fc({token:NM,factory:NM.\u0275fac,providedIn:"root"});var OM=function(a){this.activeSession=a;this.createIframe=V_b(function(){var b=document.createElement("iframe");b.id="first_party_auth_helper";b.setAttribute("aria-hidden","true");b.setAttribute("style","width:1px;height:1px;position:absolute;top:-100px;display:none;");document.body.appendChild(b);return b})},ogc=function(a){var b,c;ge(function(d){if(d.nextAddress==1){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();he(d,2);b=a.createIframe();return ie(d,
new Promise(function(e,f){var h=function(){try{var q,t,w;if((q=b.contentWindow)==null?0:(t=q.location)==null?0:(w=t.href)==null?0:w.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(k),e()}catch(y){}},k=setTimeout(function(){b.removeEventListener("load",h);f(Error("qd"))},5E3);b.addEventListener("load",h);Aea(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(d.nextAddress!=2)return Zt(d,0);c=le(d);console.log("first party auth passive login "+c);me(d)})};
OM.\u0275fac=function(a){return new (a||OM)(n(as))};OM.\u0275prov=Fc({token:OM,factory:OM.\u0275fac,providedIn:"root"});var PM=function(a){this.internalArray_=m(a)};V(PM,X);PM.prototype.getSocialApplication=function(){return Kj(this,3,0)};PM.prototype.getSocialApplicationOrUndefined=function(){return Ot(this,3)};PM.prototype.getAffinityType=function(){return Zh(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};PM.prototype.setAffinityType=function(a){return Sj(this,12,a)};var QM=function(a){this.internalArray_=m(a)};V(QM,X);QM.prototype.getExperimentIdsList=function(a){return Zk(this,4,Ai(a))};QM.prototype.setExperimentIdsList=function(a){return hc(this,4,a,Eb)};QM.prototype.getExperimentIds=function(){return yu(this,4)};QM.prototype.setExperimentIds=function(a){Bu(this,4,a)};QM.repeatedFields_=[4];var pgc=function(a){this.internalArray_=m(a)};V(pgc,X);g=pgc.prototype;g.getClientInfo=function(){return Gj(this,PM,1)};g.getMutableClientInfo=function(){return qu(this,PM,1)};g.setClientInfo=function(a){Pj(this,PM,1,a)};g.getExperiments=function(){return Gj(this,QM,2)};g.setExperiments=function(a){return Pj(this,QM,2,a)};g.hasExperiments=function(){return Ak(this,QM,2)};var qgc=Uqa(pgc);var rgc;var sgc=function(a){this.internalArray_=m(a)};V(sgc,X);g=sgc.prototype;g.getDelegatorId=function(){return Zh(this,2)};g.getEnvType=function(){return Kj(this,5,0)};g.getEnvType_legacyNullable=function(){return yt(this,5)};g.setEnvType=function(a){Ol(this,5,a)};g.getCacheSize=function(){return Lj(this,7)};g.setCacheSize=function(a){Ml(this,7,a)};g.hasCacheSize=function(){return ul(this,7)};var oJa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,mJa=/([#].*?&|[#])authuser=([^&#]*)\b/,nJa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var RM=function(){this.config_=Nb(rgc||(rgc=qgc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new sgc;this.onAuthError_=this.gapiClientThenable_=null};RM.prototype.getClientInfo=function(){return this.config_.getClientInfo()};RM.prototype.getExperiments=function(){return this.config_.getExperiments()};RM.prototype.getUserInfo=function(){return this.userInfo_};
var tgc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=uJa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_},ugc=function(a,b){b&&(a.gapiClientThenable_=b.then(function(c){return c},function(){return uJa(10,5E3).then(function(c){return c.client})}))};RM.prototype.getAuthErrorHandler=function(){return this.onAuthError_};RM.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var vgc=function(){};var SM=[];SM.push=function(){throw Error("rd");};var TM={cancel:function(){},isPending:function(){return!1}};var UM=function(a){this.response_=a||function(){};this.timer_=Xq(this.onTimer_,0,this);this.addressBookId_=""};g=UM.prototype;g.setResponse=function(a){this.response_=a};g.setAddressBookId=function(a){this.addressBookId_=a};g.getAddressBookId=function(){return this.addressBookId_};g.cancel=function(){Yq(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 wgc=new Map([["personal",2],["domain",4],["pcab",3]]);var hp=function(a){this.internalArray_=m(a)};V(hp,X);g=hp.prototype;g.getEventType=function(){return Kj(this,1,0)};g.setEventType=function(a){return Ol(this,1,a)};g.getApiType=function(){return Kj(this,2,0)};g.setApiType=function(a){return Ol(this,2,a)};g.getCacheStatus=function(){return Kj(this,3,0)};g.setCacheStatus=function(a){return Ol(this,3,a)};g.getAddressBook=function(){return Kj(this,4,0)};g.setAddressBook=function(a){return Ol(this,4,a)};g.getRpcType=function(){return Kj(this,5,0)};
g.setRpcType=function(a){return Ol(this,5,a)};g.getLookupType=function(){return Kj(this,6,0)};g.setLookupType=function(a){return Ol(this,6,a)};g.getToken=function(){return Zh(this,7,"")};g.setToken=function(a){return Sj(this,7,a)};var VM=function(a){this.internalArray_=m(a)};V(VM,X);g=VM.prototype;g.setDevice=function(a){return Ol(this,1,a)};g.getApplication=function(){return Kj(this,2,0)};g.setApplication=function(a){return Ol(this,2,a)};g.getApplicationOrUndefined=function(){return Ot(this,2)};g.setPlatform=function(a){Ol(this,3,a)};var WM=function(a){this.internalArray_=m(a)};V(WM,X);g=WM.prototype;g.setEventSource=function(a){Ol(this,2,a)};g.getEventSourceOrUndefined=function(){return Ot(this,2)};g.setEventSourceId=function(a){Ml(this,15,a)};g.getEventSourceIdOrUndefined=function(){return Au(this,15)};g.getSocialClient=function(){return Gj(this,VM,3)};g.setSocialClient=function(a){return Pj(this,VM,3,a)};g.setVersionName=function(a){return Sj(this,5,a)};g.getBaselineCl=function(){return tu(this,7)};
g.setBaselineCl=function(a){return Tl(this,7,a)};g.hasBaselineCl=function(){return El(this,7)};g.getBaselineClOrUndefined=function(){return It(this,7)};g.setClientAgent=function(a){return Ol(this,9,a)};g.getClientAgentOrUndefined=function(){return Ot(this,9)};g.getPeoplekitEntryPoint=function(){return yt(this,11)};g.setPeoplekitEntryPoint=function(a){return Ol(this,11,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Ot(this,11)};g.setEnvironment=function(a){return Ol(this,13,a)};
g.getEnvironmentOrUndefined=function(){return Ot(this,13)};g.setSharekitEntryPoint=function(a){Ol(this,14,a)};g.getSharekitEntryPointOrUndefined=function(){return Ot(this,14)};WM.repeatedFields_=[6];var xgc=function(a){this.internalArray_=m(a)};V(xgc,X);g=xgc.prototype;g.getApiType=function(){return Kj(this,1,0)};g.setApiType=function(a){return Ol(this,1,a)};g.getItemCount=function(){return Lj(this,2)};g.setItemCount=function(a){return Ml(this,2,a)};g.hasItemCount=function(){return ul(this,2)};var ygc=function(a){this.internalArray_=m(a)};V(ygc,X);g=ygc.prototype;g.getApiType=function(){return Kj(this,1,0)};g.setApiType=function(a){return Ol(this,1,a)};g.getItemCount=function(){return Lj(this,2)};g.setItemCount=function(a){return Ml(this,2,a)};g.hasItemCount=function(){return ul(this,2)};g.getStatus=function(){return Kj(this,4,2)};g.setStatus=function(a){return Ol(this,4,a)};g.hasStatus=function(){return wl(this,4)};g.setTotalUsec=function(a){return Tl(this,5,a)};
g.setBlockedUsec=function(a){return Tl(this,6,a)};g.setNetworkUsec=function(a){Tl(this,7,a)};g.getCacheStatus=function(){return Kj(this,8,0)};g.setCacheStatus=function(a){return Ol(this,8,a)};g.getAddressBook=function(){return Kj(this,9,0)};g.setAddressBook=function(a){return Ol(this,9,a)};var XM=function(a){this.internalArray_=m(a)};V(XM,X);XM.prototype.getStatus=function(){return Kj(this,1,2)};XM.prototype.setStatus=function(a){return Ol(this,1,a)};XM.prototype.hasStatus=function(){return wl(this,1)};XM.prototype.setTotalUsec=function(a){return Tl(this,2,a)};var YM=function(a){this.internalArray_=m(a)};V(YM,X);YM.prototype.getRpcType=function(){return Kj(this,1,0)};YM.prototype.setRpcType=function(a){return Ol(this,1,a)};YM.prototype.getLookupType=function(){return Kj(this,2,0)};YM.prototype.setLookupType=function(a){return Ol(this,2,a)};var zgc=function(a){this.internalArray_=m(a)};V(zgc,X);g=zgc.prototype;g.getRpcType=function(){return Kj(this,1,0)};g.setRpcType=function(a){return Ol(this,1,a)};g.getLookupType=function(){return Kj(this,2,0)};g.setLookupType=function(a){return Ol(this,2,a)};g.getStatus=function(){return Kj(this,3,2)};g.setStatus=function(a){return Ol(this,3,a)};g.hasStatus=function(){return wl(this,3)};g.setTotalUsec=function(a){return Tl(this,4,a)};g.setBlockedUsec=function(a){return Tl(this,5,a)};
g.setNetworkUsec=function(a){Tl(this,6,a)};var ZM=function(a){this.internalArray_=m(a)};V(ZM,X);g=ZM.prototype;g.getEnvType=function(){return Kj(this,1,0)};g.getEnvType_legacyNullable=function(){return yt(this,1)};g.setEnvType=function(a){Ol(this,1,a)};g.getCacheSize=function(){return Lj(this,2)};g.setCacheSize=function(a){Ml(this,2,a)};g.hasCacheSize=function(){return ul(this,2)};var $M=function(a){this.internalArray_=m(a)};V($M,X);g=$M.prototype;g.getClientInterface=function(){return Gj(this,WM,1)};g.setClientInterface=function(a){return Pj(this,WM,1,a)};g.getSource=function(){return Kj(this,2,0)};g.setSource=function(a){return Ol(this,2,a)};g.hasSource=function(){return wl(this,2)};g.getSourceOrUndefined=function(){return Ot(this,2)};g.getEventType=function(){return Kj(this,3,0)};g.getEventType_legacyNullable=function(){return yt(this,3)};
g.setEventType=function(a){return Ol(this,3,a)};g.setRpcRequest=function(a){return gk(this,5,aN,a)};g.setRpcResponse=function(a){return gk(this,6,aN,a)};g.setApiCall=function(a){return gk(this,7,aN,a)};g.setApiResult=function(a){return gk(this,8,aN,a)};g.getUserInfo=function(){return Gj(this,ZM,9)};g.setUserInfo=function(a){return Pj(this,ZM,9,a)};g.hasUserInfo=function(){return Ak(this,ZM,9)};var aN=[4,5,6,7,8];var Agc=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]]),Bgc=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]]),Cgc=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]]),Dgc=function(a){return Bgc.has(a)?Bgc.get(a):1},Egc=function(a){return Cgc.has(a)?Cgc.get(a):2};var Fgc=function(a){this.request_=a;this.errorCode_=0},Ggc=function(a,b){b=new Fgc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};g=Fgc.prototype;g.hasChanges=function(){return this.mutateResponse_&&Kj(this.mutateResponse_,2,0)?Kj(this.mutateResponse_,2,0).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 bN=function(a){this.map_=new XD;this.size=0;a&&this.addAll(a)},Hgc=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+Xa(a):b.charAt(0)+a};g=bN.prototype;g.getCount=function(){return this.map_.size};g.add=function(a){this.map_.set(Hgc(a),a);this.setSizeInternal_(this.map_.size)};g.addAll=function(a){a=NJ(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};g.removeAll=function(a){a=NJ(a);for(var 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(Hgc(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(Hgc(a))};g.contains=function(a){return this.map_.containsKey(Hgc(a))};g.intersection=function(a){var b=new bN;a=NJ(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 bN(this)};g.equals=function(a){return this.getCount()==jcc(a)&&Igc(this,a)};
var Igc=function(a,b){var c=jcc(b);if(a.getCount()>c)return!1;!(b instanceof bN)&&c>5&&(b=new bN(b));return mcc(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})};bN.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};bN.prototype[Symbol.iterator]=function(){return this.values()};
bN.prototype.setSizeInternal_=function(a){this.size=a};var cN=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new bN(c);this.extraFields_=[]};cN.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 Jgc=function(a){a.fieldSet_||(a.fieldSet_=new bN(a.fields_));return a.fieldSet_};
cN.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new bN);if(this.doesntContain_.has(a))return!1;var b=Jgc(this),c=Jgc(a);if(mcc(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var Kgc=new cN(["6","12"],"1"),Lgc=new cN("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[Kgc]);new cN("6 12 16 17 18 1a".split(" "),"3",[Kgc]);
new cN("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",[Kgc,Lgc]);new cN([]);var Mgc=function(a){try{return Ba.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("sd`"+a);},Ngc=function(){this.replacer_=void 0};
Ngc.prototype.serialize=function(a){var b=[];Ogc(this,a,b);return b.join("")};
var Ogc=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],Ogc(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),Pgc(d,c),c.push(":"),Ogc(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Pgc(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("td`"+typeof b);}}},Qgc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Rgc=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Pgc=function(a,b){b.push('"',a.replace(Rgc,
function(c){var d=Qgc[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),Qgc[c]=d);return d}),'"')};var Sgc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var Tgc=function(a,b,c){sz.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};V(Tgc,sz);g=Tgc.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 Ugc=function(a){sz.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};V(Ugc,sz);g=Ugc.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(){sz.prototype.disposeInternal.call(this);this.scheduler=null};var Vgc=function(){sz.call(this);this.states={};this.currentGroup=1};V(Vgc,sz);Vgc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,f=this.states[a.getGroup()];f||(f=new Ugc(this),this.states[a.getGroup()]=f);f.setMaxNumRetries(Math.max(c||1,f.getMaxNumRetries()));switch(f.runState){case 1:case 5:f.reset();Wgc(a,b,e);break;case 6:Wgc(a,b,e);break;case 4:d&&(f.reset(),Wgc(a,b,e));break;case 2:e<f.runTime?(this.cancel(f),f.reset(),Wgc(a,b,e)):f.numTriesLeft=f.maxNumRetries_}};
var Wgc=function(a,b,c){b==0?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(Xq(a.run,b,a)))};g=Vgc.prototype;g.getState=function(a){return this.states[a]};g.createGroup=function(){return""+this.currentGroup++};g.disposeInternal=function(){sz.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);bi(b)}this.states={}};g.cancel=function(a){a.runState==2&&Yq(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 Xgc={SOMETHING_CHANGED:"a",ERROR:"b"},dN=function(a,b){tz.call(this,a&&a[0].getError()?"b":"a");this.responses_=a;this.source_=b||"d"};V(dN,tz);dN.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];Na(this.responses_,function(b){b=Kj(b,2,0).getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};dN.prototype.getSource=function(){return this.source_};var Ygc=function(a,b){this.fn_=a;this.handler_=b};Ygc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};Ygc.prototype.abort=function(){this.handler_=this.fn_=null};B_b(function(a){Ygc.prototype.execute=a(Ygc.prototype.execute)});var eN=function(a){this.serviceId_=a};eN.prototype.toString=function(){return this.serviceId_};new eN("z72MOc");new eN("IW8Usd");new eN("jbDgG");new eN("hdXIif");new eN("DFElXb");new eN("ZtVrH");new eN("rJmJrc");new eN("fJuxOc");new eN("vk3Wc");new eN("IykvEf");new eN("NGntwf");new eN("ofuapc");new eN("BWETze");new eN("ZmXAm");new eN("n73qwf");new eN("zZa4xc");new eN("Bgf0ib");new eN("MpJwZc");new eN("UUJqVe");new eN("GHAeAc");new eN("Wt6vjf");new eN("byfTOb");new eN("TuDsZ");new eN("o1bZcd");new eN("b8xKu");new eN("LEikZe");new eN("lsjVmc");new eN("pVbxBc");new eN("klpyYe");new eN("OPbIxb");new eN("pg9hFd");new eN("IaqD3e");new eN("Xpw1of");new eN("v5BQle");new eN("tdUkaf");new eN("WSziFf");new eN("UBSgGf");new eN("WwG67d");new eN("JccZRe");new eN("amY3Td");new eN("ABma3e");new eN("gSshPb");new eN("yu4DA");new eN("J5K1Ad");new eN("d0RAGb");new eN("AzG0ke");new eN("J4QWB");new eN("mITR5c");new eN("FENZqe");new eN("tLnxq");var fN=function(){sz.call(this);this.eventTarget_=new lp;this.updateCacheEventTarget_=new lp;this.mutationIdMap_=new $D};V(fN,sz);fN.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};fN.prototype.getEventTarget=function(){return this.eventTarget_};
fN.prototype.disposeInternal=function(){sz.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var ds=function(a){sz.call(this);this.handler_=a;this.keys_={}};gu(ds,sz);var Zgc=[];ds.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Zgc[0]=b.toString()),b=Zgc);for(var e=0;e<b.length;e++){var f=mp(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!f)break;this.keys_[f.key]=f}return this};ds.prototype.listenOnce=function(a,b,c,d){return $gc(this,a,b,c,d)};
var $gc=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)$gc(a,b,c[h],d,e,f);else{b=xz(b,c,d||a.handleEvent,e,f||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
ds.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=Wa(d)?!!d.capture:!!d,e=e||this.handler_||this,c=N_b(c),d=!!d,b=vz(a)?a.getListener(b,c,d,e):a?(a=yz(a))?a.getListener(b,c,d,e):null:null,b&&(Az(b),delete this.keys_[b.key]);return this};ds.prototype.removeAll=function(){pc(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&Az(a)},this);this.keys_={}};
ds.prototype.disposeInternal=function(){ds.superClass_.disposeInternal.call(this);this.removeAll()};ds.prototype.handleEvent=function(){throw Error("vd");};var Lt=function(a){this.internalArray_=m(a)};V(Lt,X);var Kt=function(a,b){return Sj(a,1,b)};g=Lt.prototype;g.getLogSource=function(){return Kj(this,2,-1)};g.setLogSource=function(a){return Ol(this,2,a)};g.getApplication=function(){return Kj(this,3,0)};g.setApplication=function(a){return Ol(this,3,a)};g.getApplicationOrUndefined=function(){return Ot(this,3)};g.getVersion=function(){return Zh(this,4)};g.setVersion=function(a){return Sj(this,4,a)};g.getVersionOrUndefined=function(){return Jm(this,4)};
g.getBaselineCl=function(){return Lj(this,5)};g.setBaselineCl=function(a){return Ml(this,5,a)};g.hasBaselineCl=function(){return ul(this,5)};g.getBaselineClOrUndefined=function(){return Au(this,5)};g.getEnableClearcut=function(){return hk(this,6)};g.setEnableClearcut=function(a){return Ll(this,6,a)};var lRb=function(a,b){return hc(a,7,b,Eb)};g=Lt.prototype;g.setClientAgent=function(a){return Ol(this,8,a)};g.getClientAgentOrUndefined=function(){return Ot(this,8)};
g.setEventSource=function(a){Ol(this,9,a)};g.getEventSourceOrUndefined=function(){return Ot(this,9)};g.setEventSourceId=function(a){Ml(this,14,a)};g.getEventSourceIdOrUndefined=function(){return Au(this,14)};g.getClearcutUrl=function(){return Zh(this,10)};g.setClearcutUrl=function(a){Sj(this,10,a)};g.setEnvironment=function(a){return Ol(this,11,a)};g.getEnvironmentOrUndefined=function(){return Ot(this,11)};g.getPeoplekitEntryPoint=function(){return Kj(this,12,0)};
g.setPeoplekitEntryPoint=function(a){return Ol(this,12,a)};g.getPeoplekitEntryPointOrUndefined=function(){return Ot(this,12)};g.setSharekitEntryPoint=function(a){Ol(this,13,a)};g.getSharekitEntryPointOrUndefined=function(){return Ot(this,13)};Lt.repeatedFields_=[7];var ahc=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 bhc=function(a){this.start_=a;this.end_=NaN};bhc.prototype.duration=function(){return this.end_-this.start_};bhc.prototype.stop=function(a){this.end_=a;return this.duration()};var gN=function(a){var b=b===void 0?ahc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};gN.prototype.source=function(){return this.source_};var chc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};
gN.prototype.duration=function(a){a=chc(this,a===void 0?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};var hN=function(a,b){return yJa(a.duration(b===void 0?"":b))};gN.prototype.toString=function(a,b){b=b===void 0?1:b;return this.duration(a===void 0?"":a).toFixed(b)};gN.prototype.start=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=chc(this,a);this.durations_.set(a,new bhc(b));return this};
gN.prototype.stop=function(a){a=a===void 0?"":a;var b=this.nowFn_();a=chc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};gN.prototype.clear=function(){this.durations_.clear();return this};var dhc=function(a){this.internalArray_=m(a)};V(dhc,X);var Ht=function(a){this.internalArray_=m(a)};V(Ht,X);g=Ht.prototype;g.getQueryId=function(){return tu(this,1)};g.setQueryId=function(a){return Tl(this,1,a)};g.setSelectionId=function(a){return Tl(this,2,a)};g.getInstanceId=function(){return Tj(this,4)};g.setInstanceId=function(a){return Sj(this,4,a)};g.clearInstanceId=function(){ro(this,4)};g.hasInstanceId=function(){return vl(this,4)};g.getInstanceIdOrUndefined=function(){return Jm(this,4)};g.getAffinityVersion=function(){return vu(this,5)};
g.setAffinityVersion=function(a){Ml(this,5,a)};g.getAffinityVersionOrUndefined=function(){return Au(this,5)};var ehc=function(a){this.internalArray_=m(a)};V(ehc,X);g=ehc.prototype;g.getQueryLength=function(){return vu(this,1)};g.setQueryLength=function(a){return Ml(this,1,a)};g.hasQueryLength=function(){return ul(this,1)};g.getQuery=function(){return Tj(this,2)};g.setQuery=function(a){return Sj(this,2,a)};g.clearQuery=function(){ro(this,2)};g.hasQuery=function(){return vl(this,2)};var fhc=function(a){this.internalArray_=m(a)};V(fhc,X);fhc.prototype.setLatencyUsec=function(a){Ml(this,1,a)};var iN=function(a){this.internalArray_=m(a)};V(iN,X);g=iN.prototype;g.getColumn=function(){return vu(this,2)};g.setColumn=function(a){return Ml(this,2,a)};g.getType=function(){return yt(this,3)};g.setType=function(a){return Ol(this,3,a)};g.hasType=function(){return wl(this,3)};var jN=function(a){this.internalArray_=m(a)};V(jN,X);jN.prototype.getExistingSelectionsCount=function(){return vu(this,1)};jN.prototype.setExistingSelectionsCount=function(a){Ml(this,1,a)};jN.prototype.getPosition=function(){return Gj(this,iN,2)};jN.prototype.setPosition=function(a){return Pj(this,iN,2,a)};var kN=function(a){this.internalArray_=m(a)};V(kN,X);g=kN.prototype;g.getType=function(){return yt(this,5)};g.setType=function(a){return Ol(this,5,a)};g.hasType=function(){return wl(this,5)};g.getEmail=function(){return Tj(this,1)};g.getEmail_legacyNullable=function(){return Tj(this,1)};g.setEmail=function(a){return Sj(this,1,a)};g.hasEmail=function(){return vl(this,1)};g.getPhone=function(){return Tj(this,2)};g.getPhone_legacyNullable=function(){return Tj(this,2)};
g.setPhone=function(a){return Sj(this,2,a)};g.hasPhone=function(){return vl(this,2)};g.getObfuscatedGaiaId=function(){return Tj(this,3)};g.getObfuscatedGaiaId_legacyNullable=function(){return Tj(this,3)};g.setObfuscatedGaiaId=function(a){Sj(this,3,a)};g.getContactId=function(){return tu(this,4)};g.setContactId=function(a){return Tl(this,4,a)};g.getGroupId=function(){return Tj(this,6)};g.setGroupId=function(a){Sj(this,6,a)};g.hasGroupId=function(){return vl(this,6)};var lN=function(a){this.internalArray_=m(a)};V(lN,X);lN.prototype.getName=function(){return Tj(this,1)};lN.prototype.setName=function(a){return Sj(this,1,a)};lN.prototype.hasName=function(){return vl(this,1)};lN.prototype.getNameOrUndefined=function(){return Jm(this,1)};var mN=function(a){this.internalArray_=m(a)};V(mN,X);g=mN.prototype;g.getPosition=function(){return Gj(this,iN,1)};g.setPosition=function(a){return Pj(this,iN,1,a)};g.getProvenance=function(){return BTb(this,3)};g.setProvenance=function(a){return mc(this,3,Db,a,void 0,Jl)};g.getIsPlaceholder=function(){return qt(this,7)};g.setIsPlaceholder=function(a){Ll(this,7,a)};g.getIsSelf=function(){return qt(this,11)};g.getQueryId=function(){return tu(this,15)};g.setQueryId=function(a){return Tl(this,15,a)};
g.setSelectionId=function(a){return Tl(this,16,a)};mN.repeatedFields_=[4,3];var nN=function(a){this.internalArray_=m(a)};V(nN,X);nN.prototype.getLoggingId=function(){return Tj(this,1)};nN.prototype.setLoggingId=function(a){Sj(this,1,a)};nN.prototype.getMetadata=function(){return Gj(this,mN,3)};nN.prototype.setMetadata=function(a){Pj(this,mN,3,a)};var oN=function(a){this.internalArray_=m(a)};V(oN,X);oN.prototype.getAffinityVersion=function(){return vu(this,2)};oN.prototype.setAffinityVersion=function(a){Ml(this,2,a)};oN.prototype.getAffinityVersionOrUndefined=function(){return Au(this,2)};var ghc=function(a){this.internalArray_=m(a)};V(ghc,X);g=ghc.prototype;g.getEventType=function(){return yt(this,1)};g.getEventType_legacyNullable=function(){return yt(this,1)};g.setEventType=function(a){return Ol(this,1,a)};g.getMetadata=function(){return Gj(this,oN,4)};g.setMetadata=function(a){Pj(this,oN,4,a)};g.getClientInterface=function(){return Gj(this,WM,5)};g.setClientInterface=function(a){return Pj(this,WM,5,a)};ghc.repeatedFields_=[2];var hhc=new Map([[1,4],[2,2],[3,1],[4,7]]),ihc=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=hk(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=hk(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=hhc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=lc(lRb(Kt(new Lt,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,Eb,20090307)};g=ihc.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b){b=b.source();var c=jhc(this);switch(b.getEventType()){case 2:case 3:return(new $M).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new YM).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new $M).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new xgc).setApiType(b.getApiType()));default:return null}};
g.createStatusMetric=function(a,b,c){var d=b.source(),e=jhc(this);switch(d.getEventType()){case 1:d=(new $M).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new XM).setStatus(c);if(c==0||c==4)c=e.setTotalUsec(hN(b,"total")),b=hN(b,"blocked"),b=Tl(c,3,b),Ol(b,5,a);return gk(d,4,aN,e);case 2:case 3:return a=(new $M).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new zgc).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
c!=0&&c!=4||d.setTotalUsec(hN(b,"total")).setBlockedUsec(hN(b,"blocked")).setNetworkUsec(hN(b,"network")),e.call(a,d);case 4:case 5:a=(new $M).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var f=new ygc;f.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);c!==0&&c!==4||f.setTotalUsec(hN(b,"total"));return e.call(a,f);default:return null}};g.createErrorMetric=function(){return null};g.createLatencyMetric=function(){return null};
var jhc=function(a){a=a.clientConfig_.getUserInfo();var b=new ZM;var c=!!a.getDelegatorId();b=Ll(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Kj(a,6,0)||0);return b};var CJa=function(a){this.internalArray_=m(a)};V(CJa,X);CJa.repeatedFields_=[1,2,3,4];var pN=function(a,b){this.name_=b||"";this.address=a||""},khc=/"/g,lhc=/\\"/g,mhc=/\\/g,nhc=/\\\\/g,ohc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),phc=new RegExp("["+jea({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");pN.prototype.getName=function(){return this.name_};pN.prototype.getAddress=function(){return this.address};pN.prototype.setName=function(a){this.name_=a};pN.prototype.toString=function(){return qhc(this,'()<>@:\\".[],;')};
var qhc=function(a,b){var c=a.getName();c=c.replace(khc,"");a:{for(var d=c,e=0;e<b.length;e++)if(Ga(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(mhc,"\\\\")+'"');return c==""?a.address:a.address==""?c:c+" <"+a.address+">"};pN.prototype.isValid=function(){return ohc.test(this.address)};
var thc=function(a){var b=rhc;a=a.replace(phc,"");for(var c="",d="",e=0;e<a.length;){var f=a;var h=e,k=f.charAt(h),q='"<(['.indexOf(k);if(q==-1||shc(f,h))f=k;else{q='">)]'.charAt(q);for(var t=f.indexOf(q,h+1);t>=0&&shc(f,t);)t=f.indexOf(q,t+1);f=t>=0?f.substring(h,t+1):k}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=VTb(c);c=WTb(c,"'");c=WTb(c,'"');c=c.replace(lhc,'"');c=c.replace(nhc,"\\");d=VTb(d);return new b(d,
c)},shc=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 rhc=function(a,b){pN.call(this,a,b)};gu(rhc,pN);var uhc=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}$");rhc.prototype.isValid=function(){return qN(this.address)};var qN=function(a){return a==null?!1:uhc.test(a)};rhc.prototype.toString=function(){return qhc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var vhc=/[^a-z0-9]+/ig,whc=[9,11,10,12,13,14,15,16,19],xhc=[9,19,11],yhc=[1,6],zhc=[2,7],Ahc=[3,8],Bhc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],EPb=[3,4,5,17,20],mt=function(a,b,c){this.type_=a;this.normalizedValue_=ip(b);this.originalValue_=ip(c===void 0?b:c)};mt.prototype.getType=function(){return this.type_};mt.prototype.getValue=function(){return this.normalizedValue_};mt.prototype.getOriginalValue=function(){return this.originalValue_};
var ft=function(a){return whc.includes(a.getType())},rN=function(a){return xhc.includes(a.getType())},gt=function(a,b){switch(a){case 1:return kt(b);case 6:return new mt(6,ip(b).toLowerCase(),b);case 2:return TPb(b);case 7:return VPb(b);case 3:return BPb(b);case 8:return new mt(8,ip(b).toLowerCase(),b);case 5:return new mt(5,ip(b).toLowerCase(),b);case 4:return CPb(b);case 9:return Chc(b);case 12:return new mt(12,ip(b),b);case 13:return new mt(13,ip(b),b);case 14:return new mt(14,ip(b),b);case 15:return new mt(15,
ip(b),b);case 16:return new mt(16,ip(b),b);case 10:return new mt(10,ip(b),b);case 11:return new mt(11,ip(b),b);case 18:return DPb(b);case 19:return new mt(19,ip(b),b);case 20:return new mt(20,ip(b),b);case 17:return Dhc;default:return new mt(0,b)}},kt=function(a){return new mt(1,ip(a).toLowerCase(),a)},TPb=function(a){var b=ip(a).toLowerCase().replace(vhc,"");return new mt(2,b,a)},BPb=function(a){var b=ip(a).toLowerCase();return b==="me"?Dhc:new mt(3,b,a)},CPb=function(a){return new mt(4,ip(a).toLowerCase(),
a)},VPb=function(a){var b=ip(a).toLowerCase().replace(vhc,"");return new mt(7,b,a)},Chc=function(a){return new mt(9,ip(a).toLowerCase(),a)},DPb=function(a){return new mt(18,ip(a),a)},sN=function(a){var b=a.indexOf(":");return gt(b>0?parseInt(a.substring(0,b),10):0,a.substring(b+1))};mt.prototype.toString=function(){return this.type_+":"+this.normalizedValue_};mt.prototype.serialize=function(){return this.type_+":"+this.originalValue_};
mt.prototype.equals=function(a){return a?this===a?!0:this.type_===a.type_&&this.normalizedValue_===a.normalizedValue_:!1};var Ehc=function(a){switch(a.getType()){case 1:case 6:return qN(a.originalValue_);case 2:case 7:return a=a.originalValue_.replace(vhc,""),a.length>=3&&a[0]>="0"&&a[0]<="9";case 3:case 8:return!!ip(a.originalValue_);default:return!0}},ot=gt(0,""),Dhc=new mt(17,"me");var Fhc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var Ghc=function(a){this.profileId_=a};Ghc.prototype.getProfileId=function(){return this.profileId_};var Hhc=Object.freeze({preferOauth:!1}),tN=Object.freeze({userProfileId:"",apiEnv:4,userEmail:"",clearcut:Hhc});var Ihc=function(){return Ea&&Fa?!Fa.mobile&&(Ha("iPad")||Ha("Android")||Ha("Silk")):Ha("iPad")||Ha("Android")&&!Ha("Mobile")||Ha("Silk")};var AJa=new WeakMap,zJa=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 Jhc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=yba()||Ha("iPod")?4:Ha("iPad")?5:xba()?Ihc()?3:2:(Ea&&Fa?Fa.mobile:!Ihc()&&(Ha("iPod")||Ha("iPhone")||Ha("Android")||Ha("IEMobile")))||Ihc()?0:1},Lhc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()){var d,e;c=b.getLogSource();var f=pJa();var h=Zk(b,7,Ai(Bi));c=Khc(c,f,h,(e=(d=tN.clearcut)==null?void 0:d.preferOauth)!=null?e:!1,b.getClearcutUrl())}return new Jhc(c,a)},uN=function(a){var b=a.logContextFactory_.getLogContext(),
c=new VM;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new WM;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(b.getBaselineCl()),
isFinite(b)&&a.setBaselineCl(b));return a},vN=function(a,b){var c=new hF;G7b(c,b.serialize());a.clearcut_&&nF(a.clearcut_,c)},Khc=jp(DJa);var Mhc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Mhc.prototype.logError=function(a){var b=uN(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&vN(this.clearcut_,a)};var Nhc=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 Ohc=function(){this.logContext_=Kt(new Lt,"ppl.store")};g=Ohc.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 Phc=function(a){this.clearcut_=a},Ys=function(a){a=new Mhc(Lhc(a),a);return new Phc(a)};g=Phc.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=uN(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&vN(c.clearcut_,a);return this};g.status=function(a,b){var c=this.clearcut_,d=uN(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&vN(c.clearcut_,a);return this};g.latency=function(a){var b=this.clearcut_,c=uN(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&vN(b.clearcut_,a);return this};g.error=function(a){this.clearcut_.logError(a);return this};
g.logError=function(){};g.logInfo=function(){return this};var wN=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new Vgc;this.eventHandler_=new ds(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new fN;(a=b)||(a=Ys(new Ohc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};gu(wN,sz);g=wN.prototype;
g.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,jea(Xgc),eu(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 dN(null,"c"))};
g.loadContactRows=function(a,b){var c=this,d=(new hp).setEventType(4).setApiType(2),e=new gN(d);this.metrics.count(e);this.metrics.start(e,"total");return Qhc(this,a,function(f){return f.loadContactRows},function(f,h,k,q,t){Rhc(function(w,y,D,G){var I=y===TM||y instanceof UM?2:1;e.source().setCacheStatus(I);e.source().setAddressBook(D?wgc.get(D)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,Egc(t||0));b&&b(w,y,D,G,t)},f,h,k,q)})};
var Qhc=function(a,b,c,d){var e=new Shc(d,a.metrics),f;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];b.delayMillis>0||b.maxTries>1?f=Thc(a,h,c(h),b,d):f=c(h).call(h,b,d);f&&e.add(f)}else for(var k=0;k<a.addressBooks.length;k++)h=a.addressBooks[k],b.delayMillis>0||b.maxTries>1?f=Thc(a,h,c(h),b,d):f=c(h).call(h,b,d),f&&e.add(f);return e};
wN.prototype.execute=function(a){var b=this,c=(new hp).setEventType(4).setApiType(1),d=new gN(c);this.metrics.count(d);this.metrics.start(d,"total");Uhc(this,a);a.addSuccessOrFailureCallback(function(e){var f=e?Egc(e.getErrorCode()):2;e=(e=e?e.request_:null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?wgc.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 Vhc(b,e,d)}))?
c:Vhc(this,a,d)};
var Uhc=function(a,b){Na(a.queryFilters_,function(){});b.isMutate()&&(b=Kj(b,2,0))&&(b=b.getQueryAfterMutate())&&Uhc(a,b)},Vhc=function(a,b,c){if(b.isMutate()){var d=Kj(b,2,0);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 Shc(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},Thc=function(a,b,c,
d,e){var f=a.scheduler_;b=eu(a.runScheduledQuery_,a,b,c,d,e);f=new Tgc(f,b,d.name);a.scheduler_.schedule(f,d.delayMillis,d.maxTries,d.force);return new Whc(f)};wN.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(f,h,k,q,t){e.isDone(!t)&&d&&d(f,h,k,q,t)})};
var Rhc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),Xhc(b)),a(b||[],c,d,e))},Xhc=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)}};
wN.prototype.disposeInternal=function(){wN.superClass_.disposeInternal.call(this);bi(this.scheduler_);this.scheduler_=null;Na(this.ownedAddressBooks_,bi);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;bi(this.eventHandler_);this.eventHandler_=null;Na(this.queryFilters_,function(a){a!=this.contactNotificationService_&&bi(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(bi(this.contactNotificationService_),this.contactNotificationService_=null)};
var Yhc=function(a){var b=new ihc(a,0);Kt(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(hk(a.getExperiments(),3,!0));return Ys(b)},Shc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};g=Shc.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 Whc=function(a){this.op=a;this.request=null};Whc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
Whc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var Zhc=function(a,b){this.text=a;this.specialRowHandler=b};gu(Zhc,vgc);g=Zhc.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 $hc=function(a,b){wN.call(this,a,b)};V($hc,wN);$hc.prototype.addAddressBook=function(a,b){this.addressBooks.length==1&&(this.combiner_=new aic(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));wN.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};$hc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):wN.prototype.loadContactRows.call(this,a,b)};
var aic=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};aic.prototype.addAddressBook=function(a){this.addrBooks_.push(new bic(this,this.addrBooks_.length,a))};aic.prototype.loadContactRows=function(a,b){a=new cic(a,this.metrics_,b);dic(this,a);return a};
var dic=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,k=0;k<d.length&&f.length<c.maxMatches;k++)if(d[k]){h=f.length;e=!0;var q=d[k],t=c.maxMatches,w=f.length;if(w==0)f=q.length>t?q.slice(0,t):q;else for(var y=0;y<q.length;y++){for(var D=null,G=0;G<w&&!(D=eic(f[G],q[y]));G++);if(D)D===q[y]&&(f[G]=D);else if(f.length==
w?f=f.concat(q[y]):f.push(q[y]),f.length==t)break}h>0&&f.length>h&&(f[h].flags|=1)}e?(Xhc(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},eic=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},fic=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:dic(a,b,c,d)};
aic.prototype.handleSpecialRow=function(){};var bic=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
bic.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,k,q,t){b.matchListener_(a,d,f,t)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&this.lastAsyncLatency_>300&&(c=[gic(this)])}c&&fic(this.combiner_,a,this.id_,c)};
var gic=function(a){var b=a.addrBook_.title_;return new Zhc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
bic.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;fic(this.combiner_,a,this.id_,c)};bic.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var cic=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new gN((new hp).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(f,h,k,q){d.addressBooksToReport_.forEach(function(t,w){var y=d.activeRequests_[w];y=y===TM||y instanceof UM?2:1;e.source().setCacheStatus(y);e.source().setAddressBook(t?wgc.get(t)||1:1);b.stop(e,"total");b.status(e,Egc(d.storedErrorCodes_[w]))});
d.addressBooksToReport_=[];c&&c(f,h,k,q)}};cic.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};cic.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};cic.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var hic={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},et=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=hic[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 xN=function(a,b,c,d,e,f){lp.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=f||iic;this.cache_=new $D(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};gu(xN,lp);xN.prototype.disposeInternal=function(){xN.superClass_.disposeInternal.call(this);this.cache_=null};xN.prototype.clear=function(){this.cache_.clear()};
var iic=function(a){var b=vo(et(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=et(String(c[1])).match(d)!=null)||(d=c[0],d=c[2].match(new RegExp("^"+b,"i"))!=null&&String(d)!="cl");return d}},jic=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},kic=function(a,b,c){a.cache_.set(jic(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_)}},lic=function(a,b,c){c=c?a.cache_.get(b):W6b(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},mic=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=lic(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},nic=function(a,b){if(b.isContactAutoComplete)return null;var c=jic(b,a.cacheByType_),
d=mic(a,c,b.token);return d?d:a.cacheByType_&&c.lastIndexOf("^",0)!=0?(c=jic(b,!1),mic(a,c,b.token)):null};xN.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};xN.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:W6b(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var yN=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};yN.prototype.getMatches=function(a){a&&this.count++;return this.matches_};yN.prototype.isComplete=function(a){return!this.partialResult_||a>=0&&a<=this.matches_.length};gu(np,lp);g=np.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(dq(a.token)&&!c.allowEmptyQueries_)var d=SM;else{d=a.maxMatches;var e=lic(c,jic(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=nic(c,a))&&d.getMatches().length==0?(kic(c,a,new yN(a.token,SM)),d=SM):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=JSb(d,c.rowMatchingFunction_(a),c),kic(c,a,new yN(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,TM,this.getId(),a),TM):this.transport_.loadContactRows(a,this.getId(),eu(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(SM,TM,this.getId(),a,4);return TM};g.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,f){f||kic(this.cache_,e,new yN(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(){np.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;oic(this.transport_,this.id_);this.transport_=null};var qic=function(a,b,c){xN.call(this,100,18E5,432E5,!0,0,c||pic);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};V(qic,xN);var pic=function(a){return function(b){var c=b.getType(),d;if(d=ric(a,c)){d=new RegExp("(^|\\W+)"+vo(et(a.token)),"i");var e=et(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+vo(et(d)),"i")).test(b):!1)&&c!="cl")}return d}},ric=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 zN=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new qic(!0,!1,sic);np.call(this,a,b,"domain")};gu(zN,np);zN.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=tc(a),a.includeGroups=!1);return zN.superClass_.loadContactRows.call(this,a,b)};
var sic=function(a){for(var b=VTb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var f=vo(b[e]),h=new RegExp("^"+f,"i");c.push(new RegExp("(^|\\W+)"+f,"i"));d.push(h)}return function(k){if(ric(a,k.getType())){for(var q=0;q<c.length;q++)if(!k.getName().match(c[q])&&!k.getEmail().match(d[q]))return!1;return!0}return!1}};zN.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var tic=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},vic=function(a){if(!a)return uic;var b=FJa(gp("metadata.identityInfo.sourceIds",a)),c=gp("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 tic(a.personId||"",b)},uic=new tic("",{});var wic=function(a,b){this.isLocal_=a;this.edgeIndex_=b};wic.prototype.toString=function(){return""};var AN=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};AN.prototype.toString=function(){return""};var yic=function(a){return xic(a).some(function(b){return!b.isLocal_})};AN.prototype.getSource=function(a){return xic(this)[a]};AN.prototype.hasSource=function(){return void 0<xic(this).length};var xic=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};AN.prototype.getCause=function(a){return zic(this)[a]};
var zic=function(a){return a.edgeCollection_?Aic(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};AN.prototype.getContainerType=function(){return this.metadata_.containerType};var Bic=new AN({},null);var Cic=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};g=Cic.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new AN(this.email_.metadata,this.edgeCollection_):Bic);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 Dic=new Cic({},null);var Eic=function(a,b){this.emails_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new Cic(c.value,b))};g=Eic.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.emails_[a]||Dic};g.getFieldLength=function(){return this.emails_.length};var Fic=new Eic([],null);var Gic=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};g=Gic.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=new AN(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 Hic=new Gic({},null);var Iic=function(a){this.field_=a};g=Iic.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 Jic=new Iic(Hic);var Kic=["CONTACT","PROFILE","DOMAIN_PROFILE"],Lic=function(a,b){this.names_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new Gic(c.value,b))};g=Lic.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.names_[a]||Hic};g.getFieldLength=function(){return this.names_.length};var Mic=new Lic([],null);var Nic=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};g=Nic.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new AN(this.phone_.metadata,this.edgeCollection_):Bic);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 Oic=new Nic({},null);var Pic=function(a,b){this.phones_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new Nic(c.value,b))};g=Pic.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.phones_[a]||Oic};g.getFieldLength=function(){return this.phones_.length};var Qic=new Pic([],null);var Ric=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};g=Ric.prototype;g.toString=function(){return""};g.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new AN(this.photo_.metadata,this.edgeCollection_):Bic);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 Sic=new Ric({},null);var Tic=function(a,b){this.photos_=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new Ric(c,b))};g=Tic.prototype;g.toString=function(){return""};g.getMetaData=function(){return null};g.hasMetaData=function(){return!!this.getMetaData()};g.getField=function(a){return this.photos_[a]||Sic};g.getFieldLength=function(){return this.photos_.length};var Uic=new Tic([],null);var BN=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};
BN.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_?GJa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};BN.prototype.hasName=function(){return!!this.getName()};
BN.prototype.getName=function(){if(!this.name_){a:{var a=LJa(this);if(a.names_.length){for(var b=l(Kic),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=l(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new Iic(e);break a}}a=new Iic(a.names_[0])}else a=Jic}this.name_=a}return this.name_};
var LJa=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 Lic(b,a.edgeCollection_):Mic}return a.nameRepeated_};g=BN.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:HJa(this.contactLabel_)}]);this.email_=a?new Eic(a,this.edgeCollection_):Fic}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 Pic(a,this.edgeCollection_):Qic}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 Tic(a,this.edgeCollection_):Uic}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 GJa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},Vic=new BN(null,null,null,null);var Wic=function(){this.keyToIndex_=new Map},Xic=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return d!=null})};Wic.prototype.get=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(a+"="+b):null};Wic.prototype.set=function(a,b,c){b==="DOMAIN_PROFILE"&&(b="PROFILE");this.keyToIndex_.set(a+"="+b,c)};Wic.prototype.contains=function(a,b){b==="DOMAIN_PROFILE"&&(b="PROFILE");return this.keyToIndex_.has(a+"="+b)};var JJa=function(a){this.evergreenProfile_=a?new BN(a,null,null,null):Vic};JJa.prototype.toString=function(){return""};var Yic=new JJa(null);var Zic=new wic(!0,null),CN=function(a){this.edgeIndexResolver_=new Wic;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=KJa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};CN.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||Yic};var Aic=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return c!=null}):[]};CN.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
CN.prototype.getSources=function(a,b){if(!a||!b)return[];if(b==="CONTACT")return[Zic];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,Xic(this.edgeIndexResolver_,a,[b]).map(function(d){return new wic(!1,d)}));return this.sourcesCache_.get(c)};var $ic=new CN(null);var DN=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 CN(this.person_);this.emailIndex_=b;this.profile_=new BN(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()};V(DN,vgc);g=DN.prototype;
g.toString=function(){return this.getType()==="cl"?this.getEmail()||"":this.text};g.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=vic(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=FJa(a.sourceIds);a=new tic(a.personId||"",b)}else a=uic;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=gp("id.id",a)||"",a=new tic("",b)):a=uic:a=uic;this.allIds_=a}return this.allIds_};g.getId=function(){return this.getAllIds_().contactId};
g.getName=function(){this.name_===null&&(this.name_=MJa(this.profile_,function(a){return!!a&&!yic(a)}),this.name_===null&&(this.name_=ajc(this,MJa)));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_=NJa(this.profile_,function(a){return!!a&&!yic(a)}),this.photoUrl_===null&&(this.photoUrl_=ajc(this,NJa)));return this.photoUrl_};g.getEncryptionSupport=function(){var a=1,b=bjc(this);if(b){(b=b.extendedData)&&b.smtpServerSupportsTls&&(a=2);b=0;var c=bjc(this);if(c&&(c=c.certificate)){c=l(c);for(var d=c.next();!d.done;d=c.next())if(d=gp("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 bjc=function(a){var b=gp("email",a.person_)||gp("emails",a.googleGroup_);return b?b[a.emailIndex_]||null:null},ajc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<zic(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<xic(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""},cjc=function(a,
b,c){c=c===void 0?!1:c;if(b===void 0?0:b)return a.map(function(q){return new DN(q,void 0,!0)});b=new Set;var d=[];a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=gp("person.email",e)||gp("googleGroup.emails",e)||[];if(c||f&&f.length)for(var h=0;h<f.length;h++){var k=(gp("value",f[h])||"").trim().toLowerCase();if(c){if(b.has(k))continue;b.add(k)}d.push(new DN(e,h))}else d.push(new DN(e))}return d};var djc=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N){I=I===void 0?new QM:I;N=N===void 0?!1:N;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=k;this.timeoutMs=q;this.onAuthError=t?t:function(){};this.autocompletePageSize=w;this.rankedTargetsPageSize=y;this.peopleContainerMask=D.split(/[\s,]+/).filter(function(S){return!!S});this.peopleFieldMask=G;this.experiments=I;this.includeOnlyNames=
N};djc.prototype.setTimeout=function(a){var b=this.timeoutMs;a>0&&(this.timeoutMs=a);return b};var EN=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};V(EN,Error);var FN=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new gN(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=FN.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_=C0b(new Vz),ejc(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&&!qJa()&&(c.params=c.params||{},c.params.key=d);c.headers=sJa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=M0b(F0b([a,V0b(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{ejc(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 Vz)c=1,d=11;else if(a instanceof EN)c=a.code,d=Dgc(c);else if(a&&typeof a==="object"){var e=gp("result.error.code",a)||a.status,f=e;f=Number(f);c=Agc.has(f)?Agc.get(f):f>=200&&f<300?0:f>=400&&f<500?9:f>=500&&f<600?13:2;d=Dgc(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),ejc(this,null,d,b)}};
var ejc=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 fjc=function(a,b,c){var d=(new hp).setEventType(2).setRpcType(1).setToken(b);FN.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};V(fjc,FN);
fjc.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}};
fjc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new EN(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new EN(8,"RequestThrottled");if(b.containsPartialResults)throw new EN(8,"ContainsPartialResults");}return cjc(a.results||[],this.config.includeOnlyNames)};var gjc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new BN(this.person_,null,null,this.edgeCollection_):Vic};g=gjc.prototype;g.toString=function(){return""};g.getAllIds_=function(){this.allIds_||(this.allIds_=vic(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 hjc=new gjc(null,$ic);var ijc=function(a){a=a===void 0?null:a;this.edgeCollection_=new CN(a);this.contact_=a?new gjc(a,this.edgeCollection_):hjc};g=ijc.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 jjc=function(a,b,c){FN.call(this,a,(new hp).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};V(jjc,FN);
jjc.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}};jjc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return b.status=="SUCCESS"}).map(function(b){return new ijc(b.person)})};var GN=function(a,b,c,d){FN.call(this,a,xJa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=kjc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};V(GN,FN);
GN.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}};
GN.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=l(e.personId);for(var f=e.next();!f.done;f=e.next())(f=c[f.value])&&d.push(new ijc(f))});return d};var kjc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var ljc=function(a,b){FN.call(this,a,(new hp).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_=[];hk(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};V(ljc,FN);
ljc.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}};ljc.prototype.processResponse=function(a){return cjc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};g=OJa.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 mjc=new Map([[1,4],[2,2],[3,1],[4,7]]),HN=function(a,b){sz.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 gN((new hp).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?njc(c,d):ojc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);ojc(c,5)})};
V(HN,sz);var njc=function(a,b){b&&b.request?(wJa(),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 pjc(a,d,e)})})):ojc(a,9)};HN.prototype.disposeInternal=function(){for(var a=l(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())oic(this,b.value)};
var ojc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},oic=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(qjc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},rjc=function(a,b,c){a.gapiFailed_?c.cancel():(EJa(a,b).push(c),pjc(a,b,c))},pjc=function(a,b,c){a.gapiClient_&&M0b(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)}})},EJa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},qjc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};HN.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,k){return c(h,f,b,a,k)},f=d?new fjc(this.config_,d,e):new ljc(this.config_,e);rjc(this,b,f);return f};
HN.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new gN((new hp).setEventType(2).setRpcType(4)),12),sjc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(w,y){if(y)a.setResponse(Ggc(y,h));else{w=a.setResponse;y=new OJa(b);var D=new Fgc(h);D.queryResponse_=y;D.errorCode_=y.getError();w.call(a,D)}},e=this.config_.setTimeout(tjc(a));try{var f=b.emailAddresses||[];if(f.length)var h=new GN(this.config_,1,f,d);else{var k=b.contactIds||[];
if(k.length)h=new GN(this.config_,3,k,d);else{var q=b.profileIds||[];if(q.length)h=new jjc(this.config_,q,d);else{var t=b.syntheticIds||[];if(t.length)h=new GN(this.config_,5,t,d);else return this.metrics_.status(new gN((new hp).setEventType(2)),12),sjc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);rjc(this,c,h);return h};var sjc=function(a){var b=new UM(function(){return a.setResponse(Ggc(5,b))});b.setQuery(a);return b};var IN=function(a,b,c,d){np.call(this,a,b,c,d)};V(IN,np);IN.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(eu(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};IN.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new dN([b.mutateResponse_],"c"),this.dispatchEvent(a)}};var ujc=function(a,b,c){b=b||new qic(!0,!0);np.call(this,a,b,"personal",c)};V(ujc,IN);ujc.prototype.configure=function(a,b){IN.prototype.configure.call(this,a,b)};var vjc=function(){throw Error("wd");};var JN={},wjc={},xjc={},yjc={},zjc={},KN=function(){throw Error("yd");};KN.prototype.contentDir=null;KN.prototype.getContent=function(){return this.content};KN.prototype.toString=function(){return this.content};KN.prototype.toSafeHtml=function(){if(this.contentKind!==JN)throw Error("zd");return Kh(this.toString())};var Ajc=function(){KN.call(this)};gu(Ajc,KN);Ajc.prototype.contentKind=JN;var Bjc=function(){KN.call(this)};gu(Bjc,KN);Bjc.prototype.contentKind=wjc;Bjc.prototype.contentDir=1;var Cjc=function(a){if(a!=null)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},xs=function(a){return LN(a,JN)?a:a instanceof zc?vs(Mh(a).toString()):vs(String(String(a)).replace(Djc,Ejc),Cjc(a))},vs=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}}(Ajc),Fjc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return new b(String(c))}}(Bjc),
MN=function(a){return a instanceof KN?!!a.getContent():!!a},ys=function(a){return LN(a,JN)?a:vs(Gjc(a,Hjc),Cjc(a))},Ijc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),Gjc=function(a,b){if(!b)return RJa(String(a),function(){return""}).replace(Jjc,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],d=[];a=RJa(a,function(f,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var k=c.length,q="</",t="";if(f.charAt(1)!=="/"){q="<";for(var w;w=
Kjc.exec(f);)if(w[1]&&w[1].toLowerCase()==="dir"){if(f=w[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")t=' dir="'+f+'"'}break}Kjc.lastIndex=0}c[k]=q+h+">";d[k]=t;return"["+k+"]"}return""});a=String(a).replace(Ljc,Ejc);var e=Mjc(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},PJa=RegExp.prototype.hasOwnProperty("sticky"),QJa=new RegExp((PJa?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",
PJa?"gy":"g"),Njc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},Mjc=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]="":Ijc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},ws=function(a){return LN(a,JN)?String(Gjc(a.getContent())).replace(Ljc,Ejc):String(a).replace(Djc,Ejc)},Ojc=function(a){LN(a,
yjc)&&(a=a.getContent());return(a&&!a.startsWith(" ")?" ":"")+a},ON=function(a){LN(a,wjc)||LN(a,xjc)?a=NN(a):a instanceof uc?a=NN(vc(a)):a instanceof Du?a=NN(Cc(a).toString()):(a=String(a),a=Pjc.test(a)?a.replace(Qjc,Rjc):"about:invalid#zSoyz");return a},Tjc=function(a){LN(a,wjc)||LN(a,xjc)?a=NN(a):a instanceof uc?a=NN(vc(a)):a instanceof Du?a=NN(Cc(a).toString()):(a=String(a),a=Sjc.test(a)?a.replace(Qjc,Rjc):"about:invalid#zSoyz");return a},PN=function(a){LN(a,zjc)?a=Njc(a.getContent()):a==null?
a="":a instanceof NTb?(a instanceof NTb&&a.constructor===NTb?a=a.privateDoNotAccessOrElseSafeStyleWrappedValue_:(zb(a),a="type_error:SafeStyle"),a=Njc(a)):a instanceof OTb?(a instanceof OTb&&a.constructor===OTb?a=a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(zb(a),a="type_error:SafeStyleSheet"),a=Njc(a)):(a=String(a),a=Ujc.test(a)?a:"zSoyz");return a},LN=function(a,b){return a!=null&&a.contentKind===b},Vjc={"\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;"},Ejc=function(a){return Vjc[a]},Wjc={"\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"},Rjc=function(a){return Wjc[a]},Djc=/[\x00\x22\x26\x27\x3c\x3e]/g,Ljc=/[\x00\x22\x27\x3c\x3e]/g,Qjc=/[\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,Ujc=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))|!important)(?:\s*[,\u0020]\s*|$))*$/i,
Pjc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,Sjc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Xjc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,NN=function(a){return String(a).replace(Qjc,Rjc)},Yjc=function(a){a=String(a);return Xjc.test(a)?a:"zSoyz"},Jjc=/</g,Hjc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},Kjc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var SJa={};var QN=function(a,b,c){lp.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;mp(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_={}};gu(QN,lp);g=QN.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_[RN(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":Zjc(this);break;case "dismiss":$jc(this)}};
g.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,eu(this.matchListener_,this)),Zjc(this))};g.getTarget=function(){return this.target_};g.setTarget=function(a){this.target_=a};g.isOpen=function(){return this.renderer_.isVisible()};var akc=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}};
QN.prototype.hiliteId=function(a){var b=RN(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)};
QN.prototype.selectHilited=function(){var a=RN(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=bkc(c,c.getValue(),c.getCursorPosition()),f=ckc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);e==0||dq(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,k=0;k<=e;k++)h+=f[k].length;d.focus();
e=h;f=c.activeElement_;dkc(f)&&(f.selectionStart=e);f=c.activeElement_;dkc(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};
QN.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 $jc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(eu(a.dismiss,a),100))};
QN.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var Zjc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(eu(a.immediatelyCancelDelayedDismiss_,a),10)};QN.prototype.disposeInternal=function(){QN.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
QN.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
QN.prototype.renderRows=function(a,b){var c=zb(b)=="object"&&b;b=(c?c.getPreserveHilited():b)?RN(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_[Xa(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):akc(this));this.dispatchEvent("suggestionsupdate")};var RN=function(a,b){b-=a.firstRowId_;return b<0||b>=a.rows_.length?-1:b};QN.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};QN.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){sc(this.inputToAnchorMap_,Xa(c))},this)};QN.prototype.update=function(a){this.selectionHandler_.update(a)};var ekc=function(a,b){var c=0,d=0;dkc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},dkc=function(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};var hkc=function(a,b,c,d,e,f){if(rs&&e)return fkc(a);if(e&&!d)return!1;if(!iu){typeof b==="number"&&(b=gkc(b));var h=b==17||b==18||rs&&b==91;if((!c||rs)&&h||rs&&b==16&&(d||f))return!1}if(ju&&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 iu?f||e?!1:!(c&&d):!0;case 27:return!ju&&!iu}return iu&&(d||e||f)?!1:fkc(a)},fkc=function(a){if(a>=48&&a<=57||a>=96&&a<=106||a>=65&&a<=90||ju&&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 iu;default:return!1}},gkc=function(a){if(iu)a=ikc(a);else if(rs&&ju)switch(a){case 93:a=91}return a},ikc=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 jkc=function(a,b,c,d){uz.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};gu(jkc,uz);var SN=function(a,b){lp.call(this);a&&this.attach(a,b)};gu(SN,lp);g=SN.prototype;g.element_=null;g.keyPressKey_=null;g.keyDownKey_=null;g.keyUpKey_=null;g.lastKey_=-1;g.keyCode_=-1;g.altKey_=!1;
var kkc={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},lkc={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},mkc=rs&&iu;g=SN.prototype;
g.handleKeyDown_=function(a){ju&&(this.lastKey_==17&&!a.ctrlKey||this.lastKey_==18&&!a.altKey||rs&&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));hkc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=gkc(a.keyCode),mkc&&(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(ju&&a.type=="keypress"){var d=this.keyCode_;var e=b.charCode>=0&&b.charCode<63232&&fkc(d)?b.charCode:0}else a.type=="keypress"?(mkc&&(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),rs&&e==63&&d==224&&(d=191);var f=d=gkc(d);d?d>=63232&&d in kkc?f=kkc[d]:d==25&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in
lkc&&(f=lkc[b.keyIdentifier]);if(!iu||a.type!="keypress"||hkc(f,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=f==this.lastKey_,this.lastKey_=f,b=new jkc(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_=mp(this.element_,"keypress",this,b);this.keyDownKey_=mp(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=mp(this.element_,"keyup",this.handleKeyup_,b,this)};g.detach=function(){this.keyPressKey_&&(Az(this.keyPressKey_),Az(this.keyDownKey_),Az(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
g.disposeInternal=function(){SN.superClass_.disposeInternal.call(this);this.detach()};var TN=function(a,b,c,d){sz.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 Wz(d):null;this.eh_=new ds(this);this.activateHandler_=new ds(this);this.keyHandler_=new SN;this.lastKeyCode_=-1};
gu(TN,sz);g=TN.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 ekc(this.activeElement_,!0)[0]};
g.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Pz(c)&&(XI(c,"combobox"),YI(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_),Pz(c))){var d=Gz(c);try{var e=d&&d.activeElement;var f=e&&e.nodeName?e:null}catch(h){f=null}f==c&&nkc(this,c)}}};
g.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Pz(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(){TN.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();bi(this.timer_)};
var okc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){akc(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()};
TN.prototype.handleKeyUp=function(){return!1};TN.prototype.handleFocus=function(a){nkc(this,a.target||null)};var nkc=function(a,b){a.activateHandler_.removeAll();a.ac_&&Zjc(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=TN.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_&&pkc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&$jc(this.ac_))};g.onTick_=function(){this.update()};g.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};
g.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&okc(this,a)};g.onKeyPress_=function(){this.waitingForIme_&&this.lastKeyCode_!=229&&pkc(this)};g.onKeyUp_=function(a){this.waitingForIme_&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&pkc(this)};g.onMouseDown_=function(){};var pkc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};
TN.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=ckc(this,b)[bkc(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 bkc=function(a,b,c){a=ckc(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},ckc=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 qkc=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},rkc=function(a){return a.classList?a.classList:qkc(a).match(/\S+/g)||[]},skc=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},tkc=function(a,b){return a.classList?a.classList.contains(b):Oa(rkc(a),b)},UN=function(a,b){if(a.classList)a.classList.add(b);else if(!tkc(a,b)){var c=qkc(a);skc(a,c+(c.length>0?" "+b:b))}},VN=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){UN(a,e)});else{var c={};Array.prototype.forEach.call(rkc(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;skc(a,b)}},ukc=function(a,b){a.classList?a.classList.remove(b):tkc(a,b)&&skc(a,Array.prototype.filter.call(rkc(a),function(c){return c!=b}).join(" "))},vkc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){ukc(a,c)}):skc(a,Array.prototype.filter.call(rkc(a),function(c){return!Oa(b,c)}).join(" "))};var wkc=function(a,b){if(b&&a in b)return a;var c=ju?"Webkit":iu?"Moz":Es?"ms":null;return c?(c=c.toLowerCase(),a=c+ni(a),b===void 0||a in b?a:null):null};var WN=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};g=WN.prototype;g.getWidth=function(){return this.right-this.left};g.getHeight=function(){return this.bottom-this.top};g.clone=function(){return new WN(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof WN?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){Wa(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 is?(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 XN=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};XN.prototype.clone=function(){return new XN(this.left,this.top,this.width,this.height)};var rMb=function(a){return new XN(a.left,a.top,a.right-a.left,a.bottom-a.top)};
XN.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 xkc=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 XN(c,e,d-c,a-e)}return null};
g=XN.prototype;g.contains=function(a){return a instanceof is?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 Ez(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 is?(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 YN=function(a,b){var c=Gz(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Eq=function(a,b){return YN(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},ks=function(a,b,c){if(b instanceof is){var d=b.x;b=b.y}else d=b,b=c;a.style.left=ZN(d,!1);a.style.top=ZN(b,!1)},ykc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},CNb=function(a){var b=Gz(a),
c=Eq(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=Eq(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},hs=function(a){for(var b=new WN(0,Infinity,Infinity,0),c=op(a),d=c.document_.body,e=c.document_.documentElement,f=Lz(c.document_);a=CNb(a);)if((!ju||a.clientHeight!=0||a!=d)&&a!=
d&&a!=e&&Eq(a,"overflow")!="visible"){var h=$N(a),k=new is(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.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},DNb=function(a,
b){b=b||Lz(document);var c=b||Lz(document);var d=$N(a),e=$N(c),f=YN(c,"borderLeftWidth");var h=YN(c,"borderRightWidth");var k=YN(c,"borderTopWidth"),q=YN(c,"borderBottomWidth");h=new WN(parseFloat(k),parseFloat(h),parseFloat(q),parseFloat(f));c==Lz(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=zkc(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new is(h,k);b.scrollLeft=
c.x;b.scrollTop=c.y},$N=function(a){var b=Gz(a),c=new is(0,0);if(a==(b?Gz(b):document).documentElement)return c;a=ykc(a);b=Mz(op(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},sMb=function(a,b,c){if(b.document_!=c.document_){b=b.document_.body;c=c.getWindow();var d=new is(0,0),e=Nz(Gz(b));if(NSb(e,"parent")){var f=b;do{if(e==c)var h=$N(f);else h=ykc(f),h=new is(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=uMb(d,$N(b));a.left+=b.x;a.top+=b.y}},
Akc=function(a,b,c){if(b instanceof Ez)c=b.height,b=b.width;else if(c==void 0)throw Error("Cd");a.style.width=ZN(b,!0);a.style.height=ZN(c,!0)},ZN=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a},js=function(a){var b=zkc;if(Eq(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},zkc=function(a){var b=a.offsetWidth,c=a.offsetHeight,
d=ju&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=ykc(a),new Ez(a.right-a.left,a.bottom-a.top)):new Ez(b,c)},gs=function(a){var b=$N(a);a=js(a);return new XN(b.x,b.y,a.width,a.height)},Bkc=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+")")},aO=function(a,b){a.style.display=b?"":"none"},bO=function(a){return"rtl"==Eq(a,"direction")},Ckc=iu?"MozUserSelect":ju||PSb?"WebkitUserSelect":null,
Dkc=function(a){var b=a.getElementsByTagName("*");if(Ckc&&(a.style&&(a.style[Ckc]="none"),b)){a=0;for(var c;c=b[a];a++)c.style&&(c.style[Ckc]="none")}},yMb=function(a,b){a=a.style;iu?a.MozBoxSizing="border-box":ju?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},Ekc=function(a){var b=YN(a,"marginLeft"),c=YN(a,"marginRight"),d=YN(a,"marginTop");a=YN(a,"marginBottom");return new WN(parseFloat(d),parseFloat(c),parseFloat(a),
parseFloat(b))};var Fkc=function(){if(RSb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Da()))?a[1]:"0"}return rs?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Da()))?a[0].replace(/_/g,"."):"10"):TSb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Da()))?a[1]:""):USb||VSb||WSb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Da()))?a[1].replace(/_/g,"."):""):""}();var cO=function(a){return(a=a.exec(Da()))?a[1]:""},Gkc=function(){if(dTb)return cO(/Firefox\/([0-9.]+)/);if(Es||PSb||OSb)return cTb;if(hTb){if(Ka()||zba()){var a=cO(/CriOS\/([0-9.]+)/);if(a)return a}return cO(/Chrome\/([0-9.]+)/)}if(iTb&&!Ka())return cO(/Version\/([0-9.]+)/);if(eTb||fTb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Da()))return a[1]+"."+a[2]}else if(gTb)return(a=cO(/Android\s+([0-9.]+)/))?a:cO(/Version\/([0-9.]+)/);return""}();var qMb=function(a){if(a=a.offsetParent){var b=a.tagName=="HTML"||a.tagName=="BODY";if(!b||Eq(a,"position")!="static"){var c=$N(a);if(!b){b=bO(a);var d;if(d=b){d=iTb&&BSb(Gkc,10)>=0;var e;if(e=XSb)e=BSb(Fkc,10)>=0;var f=hTb&&BSb(Gkc,85)>=0;d=iu||d||e||f}b=d?-a.scrollLeft:b&&Eq(a,"overflowX")!="visible"?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=uMb(c,new is(b,a.scrollTop))}}}return c||new is},vMb=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 k=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,k+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&&(k=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,k+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 XN(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}},tMb=function(a,b){return(b&8&&bO(a)?b^4:b)&-9};var ss=function(){};ss.instance_=void 0;ss.getInstance=function(){return ss.instance_?ss.instance_:ss.instance_=new ss};ss.prototype.nextId_=0;ss.prototype.idPrefix_="";ss.prototype.setIdPrefix=function(a){this.idPrefix_=a};var fs=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var dO=function(a,b,c,d){lp.call(this);this.parent_=a||document.body;this.dom_=op(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};gu(dO,lp);g=dO.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_=[];Hkc(this)};g.dismiss=function(){this.visible_&&(this.visible_=!1,Ikc(this,!1),aO(this.element_,!1))};g.show=function(){this.visible_||(this.visible_=!0,Ikc(this,!0),aO(this.element_,!0))};
var Ikc=function(a,b){a.target_&&(YI(a.target_,"haspopup",b),YI(a.element_,"expanded",b),YI(a.target_,"expanded",b),b?YI(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),ZI(a.target_,null)))};dO.prototype.isVisible=function(){return this.visible_};
var Jkc=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&&vkc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(VN(d,["ac-active","active"]),a.target_&&ZI(a.target_,d),DNb(d,a.element_)))};dO.prototype.hiliteId=function(a){if(a==-1)Jkc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){Jkc(this,b);break}};
var Kkc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;VN(b,mi(a.className).split(" "));XI(b,"listbox");b.id=fs(ss.getInstance());a.dom_.appendChild(a.parent_,b);mp(b,"click",a.handleClick_,!1,a);mp(b,"mousedown",a.handleMouseDown_,!1,a);mp(b,"mouseover",a.handleMouseOver_,!1,a)}},Hkc=function(a){Kkc(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:fs(ss.getInstance())});XI(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):Qz(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,Lkc(this,d,c));UN(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(),Dkc(a.element_))};
dO.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=qMb(c),f=gs(a),h=hs(a);h&&f.intersection(rMb(h));sMb(f,op(a),op(c));a=tMb(a,b);b=f.left;a&4?b+=f.width:a&2&&(b+=f.width/2);a=new is(b,f.top+(a&1?f.height:0));a=uMb(a,e);if(f=hs(c))f.top-=e.y,f.right-=e.x,f.bottom-=e.y,f.left-=e.x;e=a.clone();a=tMb(c,d);d=js(c);b=d.clone();e=vMb(e,b,a,null,f,65);e.status&496||(f=e.rect,ks(c,new is(f.left,
f.top)),b=e.rect.getSize(),xMb(d,b)||yMb(c,b))}};dO.prototype.getTarget=function(){return this.target_||null};dO.prototype.disposeInternal=function(){this.element_&&(zz(this.element_,"click",this.handleClick_,!1,this),zz(this.element_,"mousedown",this.handleMouseDown_,!1,this),zz(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);bi(this.animation_);this.parent_=null;dO.superClass_.disposeInternal.call(this)};
var Lkc=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=Mkc(a,c);if(c.length!=0){var e=b.nodeValue,f=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,k=f.exec(e),q=0;k;)q++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,f.lastIndex)),h=f.lastIndex,k=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&&Lkc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Lkc(a,b,c),b=d},Mkc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!dq(cq(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(vo).join("|"):(c=VTb(b),c=vo(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=b.length>0?vo(b[0]):"":/^\W/.test(b)||(c=vo(b));return c},Nkc=function(a,b){for(;b&&b!=a.element_&&!tkc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};dO.prototype.handleClick_=function(a){var b=Nkc(this,a.target);b>=0&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};dO.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
dO.prototype.handleMouseOver_=function(a){a=Nkc(this,a.target);a>=0&&!(Date.now()-this.startRenderingRows_<300)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var eO=function(a,b,c,d,e,f,h,k,q,t){f=f||new TN(",;",'"');h=new dO(h||null,q||this,t);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;QN.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_=!!k};gu(eO,QN);
var Pkc=function(a,b,c,d,e,f,h){b=new eO(null,b,void 0,f,c,d,e,void 0,void 0,h);YJ(a);eu(Okc,null,b,!0);throw Error("xd");},Qkc=function(a,b,c,d,e,f,h){b=new eO(null,b,void 0,f,c,d,e,void 0,void 0,h);c=Okc;e=a.getClientInfo();d=(f=hk(e,10)||hk(a.getExperiments(),5,!0))?new $hc(void 0,Yhc(a)):new wN(void 0,Yhc(a));h=Ys(new ihc(a,1));var k=a.getUserInfo().getEnvType()||1;var q=mjc.get(k)||4;q=tJa("people-pa",q===void 0?0:q);k=k===4?Zh(a.getClientInfo(),2)||"":Zh(a.getClientInfo(),1)||"";var t=Zh(a.getClientInfo(),
4),w=Zh(a.getClientInfo(),5),y=Zh(a.getClientInfo(),6)||"",D=a.getClientInfo().getAffinityType()||"",G=Tj(a.getUserInfo(),2),I=a.getAuthErrorHandler(),N=Lj(a.getClientInfo(),8,3E4),S=hk(a.getClientInfo(),17,!1);h=new djc(h,q,k,t,w,y,D,G,N,I,Lj(a.getClientInfo(),13,15),Lj(a.getClientInfo(),14,500),Zh(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),Zh(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),a.getExperiments(),
S);a=new HN(h,tgc(a));h=new ujc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);f&&(a=new zN(a,null,!!hk(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},Okc=function(a,b,c){b&&c.loadContactRows(Sgc,function(){});Rkc(a,c)};eO.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&bi(this.contactStore_);eO.superClass_.disposeInternal.call(this)};
var Rkc=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=eO.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:Kgc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};c=eu(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 UM;var d=[];this.filter_&&(d=this.filter_(d,a.token));b.setResponse(fu(c,d,b,null,a))}};g.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};g.renderRows=function(a,b){eO.superClass_.renderRows.call(this,a,b)};g.dismiss=function(){eO.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=vs('<div class="'+ws("goog-contacts-ui-autocomplete-name-nochat")+(MN(b)?" "+ws("goog-contacts-ui-autocomplete-new-section"):"")+'">'+xs(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=TJa(a),UJa(c,a))};g.selectHilited=function(){var a=RN(this,this.hiliteId_);return a!=-1&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):eO.superClass_.selectHilited.call(this)};
g.fireSelectionEvent=function(a){this.dispatchEvent(new Skc(a))};var Skc=function(a){tz.call(this,"g");this.row=a};gu(Skc,tz);kSb("createAutoComplete",function(a,b,c,d,e,f,h,k,q,t){d&&(b=b+d+"/");b=vjc(YJ(b));f&&b.loadContactRows(Sgc,function(){});c=new eO(b,c,void 0,q,e,k,t,!0);c.attachInputs(Hz(document,a));return c});var fO=function(){this.eventHandler_=new ds(this);fO.prototype.addInput=fO.prototype.addInput;fO.prototype.removeInput=fO.prototype.removeInput;fO.prototype.setTarget=fO.prototype.setTarget},Tkc=function(a,b){var c=new fO;c.create(a,b);return c};g=fO.prototype;
g.create=function(a,b){a=Hz(document,a);this.acWidget_=b.contactStoreConfig?Qkc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):Pkc(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(Ba,d.target.getTarget())});
this.addInput(a)};g.dispose=function(){Wqa(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;
Ba._EmailAc_create=Tkc;var Ukc=function(a,b){return new rp("/",a,void 0,void 0,void 0,void 0,b)};rp.prototype.setLocale=function(){};var Vkc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};Vkc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
rp.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Ed");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)Wkc(this,this.acWrappers_[b]);this.focusedElement_&&(a=Xa(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(r(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)zz(a[b],"focus",this.onTargetFocus_,!1,this)};
var Wkc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=eu(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(r(b.pendingInputs.values()));b.emailac=Tkc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};g=rp.prototype;
g.attachAutocomplete=function(a,b,c){a=Hz(document,a);var d=b||{};b=Xa(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new Vkc(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_?Wkc(this,e):mp(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_[Xa(a)];b&&b(a)};g.detachAutocomplete=function(a){a=Hz(document,a);zz(a,"focus",this.onTargetFocus_,!1,this);var b=Xa(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)};kSb("goog.NewContactTools",rp);
kSb("goog.NewContactTools.create",Ukc);rp.prototype.setLocale=rp.prototype.setLocale;rp.prototype.attachAutocompleteTo=rp.prototype.attachAutocompleteTo;rp.prototype.initAutocomplete=rp.prototype.initAutocomplete;rp.prototype.attachAutocomplete=rp.prototype.attachAutocomplete;rp.prototype.detachAutocomplete=rp.prototype.detachAutocomplete;var ZJa=function(a){this.rows_=a||[]};ZJa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(a!="")for(var f=new RegExp("(^|\\W+)"+vo(a),"i"),h=0;h<d.length&&e.length<b;h++){var k=d[h];String(k).match(f)&&e.push(k)}e.length==0&&(e=Xkc(a,b,d));c(a,e)};
var YJa=function(a,b,c){return Xkc(b,c,a.rows_)},Xkc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var f=c[e],h=a.toLowerCase(),k=String(f).toLowerCase(),q=0;if(k.indexOf(h)!=-1)q=parseInt((k.indexOf(h)/4).toString(),10);else for(var t=h.split(""),w=-1,y=10,D=0,G;G=t[D];D++)G=k.indexOf(G),G>w?(w=G-w-1,w>y-5&&(w=y-5),q+=w,w=G):(q+=y,y+=5);q<h.length*6&&d.push({str:f,score:q,index:e})}d.sort(function(I,N){var S=I.score-N.score;return S!=0?S:I.index-N.index});a=[];for(D=0;D<b&&D<d.length;D++)a.push(d[D].str);
return a};var gO=function(a,b,c,d){var e=this;this.activeSession=b;this.firstPartyAuthHelper=d;this.contactTools=null;this.subscription=new Yd;this.acReadyDeferred=Li();window.gapi&&fJa().then(function(f){f.config.update("googleapis.config/auth/useFirstPartyAuth",!0);f.config.update("googleapis.config/auth/useFirstPartyAuthV2",!0);var h=e.activeSession.getEnvironmentType()==="QA";h&&f.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");var k="0",q=/\/u\/(\d+)\//.exec(a.absUrl());
q&&(k=q[1]);f.config.update("googleapis.config/sessionIndex",k);e.acReadyDeferred.resolve(void 0);e.contactTools=c.create(h,function(){ogc(e.firstPartyAuthHelper)});e.contactTools.initAutocomplete()})};gO.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
gO.prototype.attach=function(a,b,c){var d=this,e=function(h,k){return $Ja(h,k,c)},f=new Yd;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};gO.\u0275fac=function(a){return new (a||gO)(n(NM),n(as),n(hO),n(OM))};gO.\u0275prov=Fc({token:gO,factory:gO.\u0275fac,providedIn:"root"});
var hO=function(a,b){this.activeSession=a;this.peopleApiProxy=b};hO.prototype.create=function(a,b){var c=new RM,d=c.getUserInfo();Ol(d,6,a?5:1);a=c.getExperiments();a=Ll(a,5,!0);a=Ll(a,1,!0);a=Ll(a,3,!0);Ll(a,2,!0);c.setAuthErrorHandler(b);ugc(c,jJa(this.peopleApiProxy,this.activeSession));return Ukc("xapi",c)};hO.\u0275fac=function(a){return new (a||hO)(n(as),n(MM))};hO.\u0275prov=Fc({token:hO,factory:hO.\u0275fac,providedIn:"root"});var iO=function(a,b,c){Y.call(this);this.element=a;this.focusContacts=b;this.activeSession=c;this.autocompleteActive=new xF;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};V(iO,Y);
iO.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-"+Gu());if(!this.activeSession.isAnonymous()){if(this.fieldType==="SINGLE")var b=function(){a.$element.value=Ykc(Zkc(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=l(f.value.split(",")),k=h.next();!k.done;k=h.next())d+=k.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(Ykc(d)),d=""):hgc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=Ykc(Zkc(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("Fd`"+
this.fieldType);var c=this.additionalContactsCallback();c=$kc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var alc=function(a){Ie(150).pipe(Df(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)})},$kc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},Zkc=function(a){return a.substr(Math.max(0,a.lastIndexOf("<"))).trim().replace(/[<>]/g,"")},Ykc=function(a){a=a.trim();La(a)===
","&&(a=a.slice(0,-1));a=xo(a);var b=a.split("@");return b.length===2?b[0]+"@"+b[1].toLowerCase():a};iO.\u0275fac=function(a){return new (a||iO)(B(Rd),B(gO),B(as))};
iO.\u0275dir=ed({type:iO,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&O("keydown",function(){return alc(b)},!1,Ud)("mousedown",function(){return alc(b)})},inputs:{fieldType:[0,"bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[Lf]});var jO=function(){};jO.\u0275fac=function(a){return new (a||jO)};jO.\u0275mod=cd({type:jO});jO.\u0275inj=Gc({imports:[RD]});var blc=["textarea"],clc=["hiddenInput"],dlc=["autocompleteUnderlay"],elc=Symbol(),kO=function(a,b,c){Y.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new xF;this.focus=new xF;this.blur=new xF;this.autoResize=new xF;this.manualResize$=new xF;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};V(kO,Y);kO.\u0275dir=Y.\u0275dir;kO.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?sp(a).classList.add("codefont"):sp(a).classList.remove("codefont")}))};kO.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};kO.prototype.setValue=function(a){sp(this).value!==a&&(sp(this).value=a,this.manualResize$.next())};
kO.prototype.getValue=function(){return sp(this).value};var sp=function(a){return a.textareaRef.nativeElement},tp=function(a){var b;return(b=a.hiddenInputRef)==null?void 0:b.nativeElement},aKa=function(a){return a.activeSession.isInternalSession()&&a.audience==="INTERNAL"},flc=function(a){var b;return(b=a.autocompleteUnderlayRef)==null?void 0:b.nativeElement},glc=function(a){var b=sp(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
kO.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 hlc=function(a){return a.key==="ArrowDown"||a.key==="ArrowUp"||a.key==="Enter"||a.key==="Escape"||a.key==="Tab"},ilc=function(a){var b=flc(a);a=sp(a);b&&a&&(b.scrollTop=a.scrollTop)},bKa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},cKa=function(a,b){b=b===void 0?!1:b;var c=sp(a),d=sp(a).value,e,f=(e=tp(a))==null?void 0:e.value;e=f==null?void 0:f.length;glc(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};kO.prototype[elc]=function(){return this.findWord};kO.\u0275fac=function(a){return new (a||kO)(B(gJ),B(as),B($G))};
kO.\u0275cmp=p({type:kO,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(rg(blc,7),rg(clc,5),rg(dlc,5));if(a&2){var c;vg(c=wg())&&(b.textareaRef=c.first);vg(c=wg())&&(b.hiddenInputRef=c.first);vg(c=wg())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&O("click",function(){bKa(b)},!1,Yga)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");d==="Escape"&&c&&(bKa(b),sp(b).focus())},!1,Yga)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[Lf],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","class","autocomplete-hidden-input","tabIndex","-1","aria-hidden","true",3,"value","change","keyup",4,"ngIf"],["class","autocomplete-underlay","contentEditable","true",4,"ngIf"],["type","text","bContactAutocomplete","SINGLE","tabIndex","-1","aria-hidden","true",1,"autocomplete-hidden-input",3,"change","keyup","value"],["contentEditable","true",1,"autocomplete-underlay"]],template:function(a,
b){if(a&1){var c=u();F(0,"div",4,0);O("keydown",function(d){v(c);d.key==="Escape"&&(bKa(b),sp(b).focus());return x()});F(2,"textarea",5,1);O("input",function(){v(c);b.contentChange.emit(b.getValue());return x()})("focus",function(d){v(c);return x(b.focus.emit(d))})("blur",function(d){v(c);return x(b.blur.emit(d))})("onAutoResize",function(d){v(c);return x(b.autoResize.emit(d))})("keydown",function(d){v(c);if(aKa(b)&&hlc(d)&&b.taggingInProgress){d==null||d.preventDefault();var e;(e=tp(b))==null||e.focus();
e=d.code;var f=d.key,h=d.keyCode,k=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:k});var q;(q=tp(b))==null||q.dispatchEvent(d)}return x()})("keyup",function(d){v(c);if(aKa(b)){var e=sp(b),f=e==null?void 0:e.value;b.textAreaLastCursorLocation=e.selectionStart;b.textAreaLastAtSymbolLocation=f.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!hlc(d)){d=d.target;
b.scrollPosition=d.scrollTop;glc(b);var h=b.wordInfo.word;e=h==="@";f=h.startsWith("@");var k=h.slice(h.length-1).match(/[a-z]/i);h=Wra.test(h.slice(1));if(e||f&&k&&!h){d=d.selectionStart;if(!b.taggingInProgress){if(e=flc(b)){e.textContent=b.getValue();f=flc(b);k=sp(b);h="height width font-family margin line-height padding border".split(" ");if(f&&k){k=b.window.getComputedStyle(k);h=l(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=k.getPropertyValue(q);f.style.setProperty(q,t)}}ilc(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 w;(w=tp(b))==null||w.dispatchEvent(new KeyboardEvent("keydown"))}}}return x()})("scroll",function(){v(c);
return x(ilc(b))});H();F(4,"span",6);C(5,dKa,2,1,"input",7);H();C(6,eKa,2,0,"div",8);H()}a&2&&(A(2),E("autoResize",b.manualResize$)("ngClass",b.textareaClass)("disabled",b.disabled),Nf("placeholder",b.placeholder)("id",b.idForAriaLabel),A(2),Vf("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),A(),E("ngIf",b.taggingInProgress),A(),E("ngIf",aKa(b)))},dependencies:[rv,tv,iO,fJ],styles:["textarea.banned-words-warning[_ngcontent-%COMP%]{border-color:#c5221f;border-color:var(--bad-gfx)}textarea.triage-comment-box[_ngcontent-%COMP%]{min-height:36px;height:36px}/*# sourceMappingURL=comment_draft_textarea.css.map */"],
changeDetection:0});var jlc=function(a){return{"draft-markdown":a}},lO=function(a,b,c){Y.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};V(lO,Y);lO.\u0275dir=Y.\u0275dir;lO.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
lO.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};lO.\u0275fac=function(a){return new (a||lO)(B(yF,2),B(Rd),B(iD))};
lO.\u0275cmp=p({type:lO,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&rg(CM,7);if(a&2){var c;vg(c=wg())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Dg([yF]),Lf],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&&(F(0,"mat-tab-group",
0),O("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),F(1,"mat-tab",1),C(2,fKa,1,0,"ng-container",2),H(),F(3,"mat-tab",3),C(4,gKa,1,0,"ng-container",2),H()());a&2&&(E("dynamicHeight",!1)("selectedIndex",b.selectedIndex),A(2),E("ngTemplateOutlet",b.editArea),A(),E("disabled",b.previewDisabled),A(),E("ngTemplateOutlet",b.previewArea))},dependencies:[xv,HM,BM,CM],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var mO=function(a,b,c,d){Y.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL";this.init=new xF;this.contentChange=new xF;this.focus=new xF;this.blur=new xF;this.autoResize=new xF;this.onSubmit=new xF;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(z(function(e){return e===Y2b}))};V(mO,Y);mO.\u0275dir=Y.\u0275dir;
mO.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
mO.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 klc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&sp(a.commentDraftTextarea).focus()})};mO.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};mO.\u0275fac=function(a){return new (a||mO)(B(gJ),B(Me),B(PG),B($I))};
mO.\u0275cmp=p({type:mO,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(rg(kO,5),rg(lO,5));if(a&2){var c;vg(c=wg())&&(b.commentDraftTextarea=c.first);vg(c=wg())&&(b.commentDraftTabGroup=c.first)}},inputs:{content:"content",textareaClass:"textareaClass",disabled:"disabled",placeholder:"placeholder",audience:"audience",idForAriaLabel:"idForAriaLabel"},outputs:{init:"init",contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize",onSubmit:"onSubmit"},features:[Lf,
rd],decls:2,vars:10,consts:[[3,"autoResize","keydown.control.enter","keydown.meta.enter","textareaClass","ngClass","disabled","placeholder","idForAriaLabel","audience"]],template:function(a,b){a&1&&(F(0,"b-comment-draft-textarea",0),T(1,"async"),O("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()}),H());a&2&&E("textareaClass",b.textareaClass)("ngClass",
Hg(8,jlc,U(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[rv,kO,yv],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 iKa=function(){return["triage-comment-box"]},nO=function(a,b,c,d){this.triageService=a;this.issueFridge=b;this.issueCommentApi=c;this.editIssueService=d;this.issueId$=this.triageService.currentIssueId$;this.issue$=this.issueId$.pipe(Cf(this.issueFridge.watch));this.cancelAction=new xF;this.completeAction=new xF;this.commentText=""},hKa=function(a,b){return ge(function(c){if(c.nextAddress==1)return a.commentText===""?c.jumpTo(2):ie(c,a.issueCommentApi.create(b.issueId,a.commentText,"PLAIN"),2);
if(c.nextAddress!=4)return b.snapshot[0].reporterUser&&b.snapshot[0].reporterUser.emailAddress?ie(c,or(a.editIssueService,b.issueId,b.snapshot[0].reporterUser.emailAddress),4):c.jumpTo(4);a.completeAction.emit(b.issueId);me(c)})};nO.\u0275fac=function(a){return new (a||nO)(B(UG),B(EF),B(NH),B(EI))};
nO.\u0275cmp=p({type:nO,selectors:[["needs-more-info"]],outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"margin-top"],[3,"contentChange","content","placeholder","textareaClass"],[1,"flex-kids-x","gap","margin-top"],["mat-flat-button","","matTooltip","This will cause a visible change to the issue",1,"gmat-button",3,"click"],["mat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(C(0,jKa,8,4,"ng-container",0),T(1,"async"));
a&2&&E("ngIf",U(1,1,b.issue$))},dependencies:[tv,kC,Ex,mO,KI,TI,yv],encapsulation:2});var oO=function(){this.admins=[]};oO.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=wi(this.hotlist.adminUsers)};oO.\u0275fac=function(a){return new (a||oO)};
oO.\u0275cmp=p({type:oO,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&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),H()(),F(6,"ul")(7,"li"),Q(8),H(),F(9,"li"),Q(10),H()(),F(11,"div")(12,"p"),Q(13),H()()()()());a&2&&(A(4),E("href",b.url,cf),A(),yg(b.hotlist.name),A(3),R("ID: ",b.hotlist.hotlistId,""),A(2),zg("",b.admins.length===
1?"Admin":"Admins",": ",b.admins.join(", "),""),A(3),yg(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 pO=function(){this.ROUTES=wp;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new xF};pO.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};pO.\u0275fac=function(a){return new (a||pO)};
pO.\u0275cmp=p({type:pO,selectors:[["b-hotlist-chip"]],inputs:{hotlist:"hotlist",removable:"removable",showHovercard:"showHovercard",disabled:"disabled"},outputs:{removeHotlist:"removeHotlist"},decls:1,vars:1,consts:[["card","onedevHovercard"],[4,"ngIf"],[1,"chip",3,"onedevHovercardTrigger","onedevHovercardActive"],[1,"name"],[1,"keep-focus-ring",3,"href"],["mat-icon-button","",3,"invisible","click",4,"ngIf"],[3,"hotlist"],["mat-icon-button","",3,"click"],["svgIcon","close"]],template:function(a,
b){a&1&&C(0,lKa,9,11,"ng-container",1);a&2&&E("ngIf",b.hotlist)},dependencies:[tv,RC,xJ,DJ,oO,kC,Gx],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 qO=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new xf(1);this.removeHotlist=new xF;this.removable=!0;this.hotlist$=this.id$.pipe(Cf(this.hotlists.watch));this.isDisabled$=we([this.id$,this.id$.pipe(Cf(this.hotlists.isSaving$))]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return c==null?!1:d?!0:!1}))};
qO.prototype.ngOnInit=function(){var a=this;this.removable$=this.removable==="check-acl"?this.id$.pipe(Cf(function(b){return KB(a.userAccess,"appender","hotlists/"+b)})):pe(this.removable)};da.Object.defineProperties(qO.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});qO.\u0275fac=function(a){return new (a||qO)(B(rE),B(IB))};
qO.\u0275cmp=p({type:qO,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&&(F(0,"b-hotlist-chip",0),T(1,"async"),T(2,"async"),T(3,"async"),O("removeHotlist",function(){b.idInternal==null?ij("Missing id"):b.removeHotlist.emit()}),H());if(a&2){var c;E("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:[pO,yv],encapsulation:2,changeDetection:0});var rO=function(){},llc=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""}};rO.\u0275fac=function(a){return new (a||rO)};
rO.\u0275cmp=p({type:rO,selectors:[["b-issue-priority-display"]],inputs:{issuePriority:"issuePriority"},decls:2,vars:2,consts:[[1,"p-chip",3,"ngClass"]],template:function(a,b){a&1&&(F(0,"span",0),Q(1),H());a&2&&(E("ngClass",llc(b)),A(),a=b.issuePriority,R(" ",a==null?"--":k2b[a]," "))},dependencies:[rv],styles:["/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var mlc=["button"],sO=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new xF};sO.prototype.onClick=function(a){this.onAction.emit(a)};sO.prototype.focus=function(){this.nativeButton.focus()};sO.\u0275fac=function(a){return new (a||sO)};
sO.\u0275cmp=p({type:sO,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&rg(mlc,5);if(a&2){var c;vg(c=wg())&&(b.nativeButton=c.first)}},inputs:{color:"color",format:"format",disabled:"disabled",size:"size",bAriaLabel:"bAriaLabel",bAriaExpanded:"bAriaExpanded",tooltip:"tooltip"},outputs:{onAction:"onAction"},ngContentSelectors:["*"],decls:8,vars:5,consts:[["buttonContent",""],["button",""],[3,"ngSwitch"],["type","button","mat-stroked-button","",3,"color","disabled","ngClass","matTooltip","click",
4,"ngSwitchCase"],["type","button","mat-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-flat-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-icon-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchCase"],["type","button","mat-stroked-button","",3,"color","disabled","ngClass","matTooltip","click",4,"ngSwitchDefault"],["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&&(ig(),C(0,mKa,1,0,"ng-template",null,0,Mg),K(2,2),C(3,oKa,3,7,"button",3)(4,qKa,3,7,"button",4)(5,sKa,3,7,"button",5)(6,uKa,3,7,"button",6)(7,
xKa,3,7,"button",7),L());a&2&&(A(2),E("ngSwitch",b.format),A(),E("ngSwitchCase","hairline"),A(),E("ngSwitchCase","flat"),A(),E("ngSwitchCase","fill"),A(),E("ngSwitchCase","icon"))},dependencies:[kC,Ex,Gx,KI,TI,rv,xv,uv,vv,wv],encapsulation:2,changeDetection:0});var tO=function(){};tO.\u0275fac=function(a){return new (a||tO)};tO.\u0275mod=cd({type:tO});tO.\u0275inj=Gc({imports:[RH,bM,RD]});var nlc=new ld("GMAT_SLIDE_TOGGLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var uO=function(a){this.options=a};uO.\u0275fac=function(a){return new (a||uO)(B(nlc))};uO.\u0275dir=ed({type:uO,selectors:[["mat-slide-toggle"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-slide-toggle",!b.options.disableGmatStyle)}});var olc=new ld("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,hideIcon:!1}}});var plc=["switch"],qlc={provide:Wx,useExisting:Sc(function(){return vO}),multi:!0},rlc=function(a,b){this.source=a;this.checked=b},slc=0,vO=function(a,b,c,d,e,f){this._elementRef=a;this._focusMonitor=b;this._changeDetectorRef=c;this.defaults=e;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 bv;this.toggleChange=new bv;this.tabIndex=parseInt(d)||0;this.color=e.color||"accent";this._noopAnimations=f==="NoopAnimations";this.id=this._uniqueId="mat-mdc-slide-toggle-"+ ++slc;var h;this.hideIcon=(h=e.hideIcon)!=null?h:!1;this._labelId=this._uniqueId+"-label"};g=vO.prototype;g._createChangeEvent=function(a){return new rlc(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.toggleChange.emit();this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new rlc(this,this.checked)))};g._getAriaLabelledBy=function(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId};
da.Object.defineProperties(vO.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"}}});vO.\u0275fac=function(a){return new (a||vO)(B(Rd),B(Sv),B(Wg),Jd("tabindex"),B(olc),B(Pu,8))};
vO.\u0275cmp=p({type:vO,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&rg(plc,5);if(a&2){var c;vg(c=wg())&&(b._switchElement=c.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(eg("id",b.id),Nf("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Xf(b.color?"mat-"+b.color:""),Wf("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",Tg],color:"color",disabled:[2,"disabled","disabled",Tg],disableRipple:[2,"disableRipple","disableRipple",Tg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Ug(a)}],checked:[2,"checked","checked",Tg],hideIcon:[2,"hideIcon","hideIcon",Tg]},outputs:{change:"change",
toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[Dg([qlc,{provide:Xx,useExisting:vO,multi:!0}]),Mf,rd,Fg],ngContentSelectors:["*"],decls:13,vars:24,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-mdc-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=u();
ig();F(0,"div",1)(1,"button",2,0);O("click",function(){v(c);return x(b._handleClick())});J(3,"div",3);F(4,"div",4)(5,"div",5)(6,"div",6);J(7,"div",7);H();F(8,"div",8);J(9,"div",9);H();C(10,AKa,5,0,"div",10);H()()();F(11,"label",11);O("click",function(d){v(c);return x(d.stopPropagation())});jg(12);H()()}a&2&&(a=M(2),E("labelPosition",b.labelPosition),A(),Wf("mdc-switch--selected",b.checked)("mdc-switch--unselected",!b.checked)("mdc-switch--checked",b.checked)("mdc-switch--disabled",b.disabled),E("tabIndex",
b.disabled?-1:b.tabIndex)("disabled",b.disabled),Nf("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),A(8),E("matRippleTrigger",a)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0),A(),$f(b.hideIcon?-1:10),A(),E("for",b.buttonId),Nf("id",b._labelId))},dependencies:[vx,tx],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)}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height);border-radius:var(--mdc-switch-track-shape)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.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);border-color:var(--mat-switch-track-outline-color)}.cdk-high-contrast-active .mdc-switch__track::before,.cdk-high-contrast-active .mdc-switch__track::after{border-color:currentColor}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.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)}.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);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color)}[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);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.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)}[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);height:var(--mat-switch-unselected-handle-size);margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size);margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}.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}.cdk-high-contrast-active .mdc-switch__handle::before,.cdk-high-contrast-active .mdc-switch__handle::after{border-color:currentColor}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.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)}.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);height:var(--mdc-switch-state-layer-size)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch:disabled .mdc-switch__ripple::after{display:none}.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}.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color);opacity:var(--mdc-switch-unselected-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)}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color);opacity:var(--mdc-switch-selected-pressed-state-layer-opacity);transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.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);height:var(--mdc-switch-unselected-icon-size);fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size);fill:var(--mdc-switch-selected-icon-color)}.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.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{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-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color);font-family:var(--mat-switch-label-text-font);line-height:var(--mat-switch-label-text-line-height);font-size:var(--mat-switch-label-text-size);letter-spacing:var(--mat-switch-label-text-tracking);font-weight:var(--mat-switch-label-text-weight)}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-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 wO=function(){};wO.\u0275fac=function(a){return new (a||wO)};wO.\u0275mod=cd({type:wO});wO.\u0275inj=Gc({imports:[vO,lx,lx]});var xO=function(){};xO.\u0275fac=function(a){return new (a||xO)};xO.\u0275mod=cd({type:xO});xO.\u0275inj=Gc({providers:[{provide:olc,useValue:{color:"primary"}}],imports:[wO]});var tlc=0,yO=function(){this.id="b-slide-toggle-"+ ++tlc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new xF};yO.\u0275fac=function(a){return new (a||yO)};
yO.\u0275cmp=p({type:yO,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&&(F(0,"mat-slide-toggle",0),O("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
Q(1),H());if(a&2){var c;E("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");A();yg(b.label)}},dependencies:[uO,vO,KI,TI],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var zO=function(){};zO.\u0275fac=function(a){return new (a||zO)};zO.\u0275mod=cd({type:zO});zO.\u0275inj=Gc({imports:[xO,bM]});var AO=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};AO.\u0275fac=function(a){return new (a||AO)(B(DF))};AO.\u0275cmp=p({type:AO,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&C(0,BKa,1,2,"ng-template",0);a&2&&E("refreshable",b.refreshMonitor.getObservable())},dependencies:[OK,eM],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var BO=function(){};BO.\u0275fac=function(a){return new (a||BO)};BO.\u0275mod=cd({type:BO});BO.\u0275inj=Gc({imports:[PK,RD,hM]});var ulc=["spanElement"],CO=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};CO.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};CO.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)+"...")};
CO.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};CO.\u0275fac=function(a){return new (a||CO)};
CO.\u0275cmp=p({type:CO,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&rg(ulc,5);if(a&2){var c;vg(c=wg())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[rd],decls:2,vars:2,consts:[["spanElement",""],[3,"matTooltip","innerHtml"]],template:function(a,b){a&1&&J(0,"span",1,0);a&2&&E("matTooltip",b.getTooltip())("innerHtml",b.displayString,bf)},dependencies:[KI,TI],encapsulation:2});var DO=function(){};DO.\u0275fac=function(a){return new (a||DO)};DO.\u0275mod=cd({type:DO});DO.\u0275inj=Gc({imports:[RD,bM]});var EO=function(){};EO.prototype.transform=function(a){if(Ki(a))return a};EO.\u0275fac=function(a){return new (a||EO)};EO.\u0275pipe=fd({name:"omitObfuscatedEmail",type:EO,pure:!0});var FO=function(a){this.internalArray_=m(a)};V(FO,X);FO.prototype.getDisplayName=function(){return Zh(this,1)};FO.prototype.setDisplayName=function(a){return Sj(this,1,a)};FO.prototype.getPhotoUrl=function(){return Zh(this,2)};var GO=function(a){this.internalArray_=m(a,0,GO.messageId)};V(GO,X);GO.messageId="b.UserProfileBatchResponse";var HO=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.memoizingUserProfileMap=new e9b(function(d){return c.batchAdaptedGet(d)},100);this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig)};HO.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};HO.\u0275fac=function(a){return new (a||HO)(n(IO),n(XA))};HO.\u0275prov=Fc({token:HO,factory:HO.\u0275fac,providedIn:"root"});var IO=function(a){this.executor=a};
IO.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(r(a)).join(",")}},responseConstructor:GO}).pipe(lf(function(){return pe(new GO)}))};IO.prototype.split=function(a,b){return(a=gc(b,1,FO,Mb).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:Zh(a,3),displayName:a.getDisplayName()}:void 0};IO.\u0275fac=function(a){return new (a||IO)(n(pA))};IO.\u0275prov=Fc({token:IO,factory:IO.\u0275fac,providedIn:"root"});var JO=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new xf(1);this.showEmail$=new rn(!1);this.isNonObfuscatedEmail=Ki;this.userProfile$=this.email$.pipe(Cf(function(d){return c.userProfiles.get(d)})).pipe(Bf(void 0));this.content$=we([this.email$,this.userProfile$,this.showEmail$]).pipe(z(function(d){var e=l(d);d=e.next().value;var f=e.next().value;e=e.next().value;return(f=f==null?void 0:
f.displayName)?e?d+" ("+f+")":f:d}));this.vars$=we([this.email$,this.content$]).pipe(z(function(d){var e=l(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=ep(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};da.Object.defineProperties(JO.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)}}});
JO.\u0275fac=function(a){return new (a||JO)(B(as),B(HO))};
JO.\u0275cmp=p({type:JO,selectors:[["b-user-display-name"]],inputs:{availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled",email:"email",showEmail:"showEmail"},decls:2,vars:3,consts:[["displayName",""],["card",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["coinonly","",3,"user"],["role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"]],template:function(a,b){a&1&&(C(0,GKa,4,2,"ng-container",
2),T(1,"async"));a&2&&E("ngIf",U(1,1,b.vars$))},dependencies:[tv,xv,AO,yL,xJ,DJ,yv],encapsulation:2,changeDetection:0});var KO=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};KO.prototype.getDisplayString=function(){return vi(this.model)};var vlc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?yra(Ara(b)):yra(b))&&!!a.getEmailAddress()};KO.prototype.getEmailAddress=function(){return yi(this.model)||""};KO.\u0275fac=function(a){return new (a||KO)};
KO.\u0275cmp=p({type:KO,selectors:[["b-user-display"]],inputs:{model:"model",availabilityChipEnabled:"availabilityChipEnabled",hovercardEnabled:"hovercardEnabled",hovercardFocusEnabled:"hovercardFocusEnabled"},decls:3,vars:2,consts:[[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled",4,"ngIf"],[4,"ngIf"],[3,"email","hovercardEnabled","availabilityChipEnabled","hovercardFocusEnabled"]],template:function(a,b){a&1&&(K(0),C(1,HKa,1,4,"b-user-display-name",0)(2,IKa,2,1,"span",
1),L());a&2&&(A(),E("ngIf",vlc(b)),A(),E("ngIf",!vlc(b)))},dependencies:[tv,JO],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 LKa={"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 LO=function(a,b){Y.call(this);this.teamsService=a;this.activeSession=b;this.teamMembers=new Map;this.teamChildren=new Map};V(LO,Y);LO.\u0275dir=Y.\u0275dir;
var ylc=function(a,b,c){return ep(a.activeSession,"enableTeamScope")&&b&&c&&Ki(c)?wlc(a,b).pipe(Cf(function(d){return d.has(c)?pe(!0):xlc(a,b).pipe(Cf(function(e){return e.length===0?pe(!1):Ce(e.map(function(f){return ylc(a,f,c)})).pipe(z(function(f){return f.some(Boolean)}))}))})):pe(!1)},xlc=function(a,b){if(a.teamChildren.has(b))return a.teamChildren.get(b);var c=new xf(1);a.subscriptions.add(a.teamsService.getChildTeams([b]).pipe(z(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},wlc=function(a,b){if(a.teamMembers.has(b))return a.teamMembers.get(b);var c=new xf(1);a.subscriptions.add(a.teamsService.getTeam(b).pipe(z(function(d){var e;return(e=d==null?void 0:d.members)!=null?e:[]}),z(function(d){return d.map(function(e){return yi(e==null?void 0:e.user)}).filter(Gi)}),z(function(d){return new Set(d)})).subscribe(c));a.teamMembers.set(b,c);return c};LO.\u0275fac=function(a){return new (a||LO)(n(EG),n(as))};
LO.\u0275prov=Fc({token:LO,factory:LO.\u0275fac,providedIn:"root"});var MO=function(a,b,c){var d=this;this.userProfiles=a;this.activeSession=b;this.teamMembershipService=c;this.email$=new xf(1);this.isNonObfuscatedEmail=Ki;this.teamId$=new xf(1);this.userProfile$=this.email$.pipe(Cf(function(e){return e?d.userProfiles.get(e).pipe(Bf(void 0)):pe(void 0)}));this.vars$=we([this.email$,this.userProfile$]).pipe(z(function(e){var f=l(e);e=f.next().value;f=f.next().value;if(!f)return{email:e,showImage:!1,src:void 0,srcset:void 0};var h=!f.photoUrl,k=h?void 0:f.photoUrl,
q;h?q=void 0:q=f.highResolutionPhotoUrl?f.highResolutionPhotoUrl+" 2x":f.photoUrl+" 1x";return{email:e,showImage:!h,src:k,srcset:q}}));this.isTeamMember$=we([this.teamId$,this.email$]).pipe(Cf(function(e){var f=l(e);e=f.next().value;f=f.next().value;return ylc(d.teamMembershipService,e,f)}),Bf(!1),lf(function(){return pe(!1)}))},PKa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:LKa[b]!==void 0};
da.Object.defineProperties(MO.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){Ki(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!!ho(this.teamId$)}}});MO.\u0275fac=function(a){return new (a||MO)(B(HO),B(as),B(LO))};
MO.\u0275cmp=p({type:MO,selectors:[["b-user-image"]],hostVars:8,hostBindings:function(a,b){a&2&&Wf("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",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],["class","user-avatar material",3,"team-member","anonymous",4,"ngIf"],["alt","",1,"user-avatar",
"material","robo-avatar",3,"src"],[1,"user-avatar","material"],["alt","",3,"src","srcset",4,"ngIf"],["alt","",3,"src","srcset"]],template:function(a,b){a&1&&(C(0,RKa,4,2,"ng-container",2),T(1,"async"));a&2&&E("ngIf",U(1,1,b.vars$))},dependencies:[tv,xv,yL,xJ,DJ,yv],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 NO=function(a){this.session=a;this.isNonObfuscatedEmail=Ki;this.email="";this.withProfile=!0;this.enableWaldoAvailability=ep(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};NO.\u0275fac=function(a){return new (a||NO)(B(as))};
NO.\u0275cmp=p({type:NO,selectors:[["b-user-email"]],inputs:{email:"email",withProfile:"withProfile",ldapOnly:"ldapOnly"},decls:6,vars:4,consts:[["emailDisplay",""],["card",""],[1,"bv2-email-with-profile-container"],["class","bv2-email-with-profile-avatar",3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","bv2-email-with-profile-waldo",4,"ngIf"],[1,"bv2-email-with-profile-avatar",3,"email"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"bv2-email-with-profile-waldo"],
["coinonly","",3,"user"]],template:function(a,b){a&1&&(F(0,"span",2),C(1,SKa,1,1,"b-user-image",3)(2,UKa,6,3,"ng-container",4)(3,VKa,2,1,"ng-template",null,0,Mg)(5,WKa,2,1,"span",5),H());a&2&&(a=M(4),A(),E("ngIf",b.withProfile),A(),E("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",a),A(3),E("ngIf",b.enableWaldoAvailability))},dependencies:[tv,xv,AO,yL,xJ,DJ,MO],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 zlc=function(a,b){return[a,b]},OO=function(){this.size=this.name=""};OO.prototype.ngOnInit=function(){};OO.\u0275fac=function(a){return new (a||OO)};
OO.\u0275cmp=p({type:OO,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&J(0,"mat-icon",0);a&2&&E("svgIcon",b.name)("ngClass",Ig(2,zlc,b.name,b.size))},dependencies:[rv,RC],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 PO=function(a,b,c){Y.call(this);var d=this;this.teamsService=a;this.session=b;this.principalTypesFridge=c;this.teamId="";this.enableGroupIcon=this.enableSmallChip=!1;this.providedTeamId$=new xf(1);this.providedUser$=new xf(1);this.providedEmail$=new xf(1);this.isNonObfuscatedEmail=Ki;this.isGroup$=this.providedEmail$.pipe(Cf(function(e){return d.principalTypesFridge.watch(e)}),He(Gi),z(function(e){return e.principalType==="GROUP"}));this.fetchedTeam$=this.providedTeamId$.pipe(Cf(function(e){return FG(d.teamsService,
e)}));this.detailedUserType$=this.providedUser$.pipe(z(function(e){e=e?e&&e.getUserGaiaStatus?zi(e,4,Ai(Bi)):e.aliases||[]:[];return e.includes("googlers_unrestricted")?"UNRESTRICTED_GOOGLER":e.includes("google_domain")?"TVC":e.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":e.includes("external_partners")?"EXTERNAL":e.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),Bf("NO_DETAILED_TYPE"));this.isTeamMember$=we([this.providedTeamId$,this.providedEmail$]).pipe(Cf(function(e){var f=
l(e);e=f.next().value;f=f.next().value;return o9b(d.teamsService,e,f)}),Bf(!1),lf(function(){return pe(!1)}));this.teamUser$=this.fetchedTeam$.pipe(z(function(e){return"Member of "+e.name}));this.groupMembershipType$=we([this.detailedUserType$,this.isTeamMember$]).pipe(z(function(e){var f=l(e);e=f.next().value;f=f.next().value;return e==="PUBLIC"?"PUBLIC_USER":e==="EXTERNAL"?"PARTNER_USER":f?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.userTypeClass$=this.groupMembershipType$.pipe(z(function(e){return d.enableSmallChip?
"user-chip-small":e&&e!=="INTERNAL_NON_TEAM_MEMBER"?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(z(function(e){if(e&&e!=="INTERNAL_NON_TEAM_MEMBER"){if(e==="INTERNAL_TEAM_MEMBER")return"team-member-chip";if(e==="PARTNER_USER")return"partner-chip";if(e==="PUBLIC_USER")return"public-chip"}else return"internal-non-team-member-chip";return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(z(function(e){return e&&e!=="INTERNAL_NON_TEAM_MEMBER"}));this.iconName$=
this.groupMembershipType$.pipe(z(function(e){if(e&&e!=="INTERNAL_NON_TEAM_MEMBER"){if(e==="INTERNAL_TEAM_MEMBER")return"people-outline";if(e==="PARTNER_USER")return"enterprise";if(e==="PUBLIC_USER")return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(Ff(this.teamUser$),z(function(e){var f=l(e);e=f.next().value;f=f.next().value;if(e&&e!=="INTERNAL_NON_TEAM_MEMBER"){if(e==="INTERNAL_TEAM_MEMBER")return f;if(e==="PARTNER_USER")return"Partner user";if(e==="PUBLIC_USER")return"Public user"}return""}));
this.enableWaldoAvailability=ep(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};V(PO,Y);PO.\u0275dir=Y.\u0275dir;PO.prototype.ngOnInit=function(){};PO.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)};PO.\u0275fac=function(a){return new (a||PO)(B(EG),B(as),B(mG))};
PO.\u0275cmp=p({type:PO,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip",enableGroupIcon:"enableGroupIcon"},features:[Lf,rd],decls:11,vars:13,consts:[["smallChipContents",""],["userImage",""],["emailDisplay",""],["card",""],[3,"ngClass"],[4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],[3,"svgIcon","matTooltip",4,"ngIf"],["name","group_24px","size","small",4,"ngIf","ngIfElse"],["name",
"group_24px","size","small"],["size","tiny",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],[4,"ngIf","ngIfElse"],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(F(0,"span",4),T(1,"async"),F(2,"span",4),T(3,"async"),C(4,ZKa,5,4,"ng-container",5)(5,$Ka,1,3,"b-user-display-name",6)(6,dLa,3,2,"ng-template",null,
0,Mg)(8,eLa,3,6,"mat-icon",7),T(9,"async"),H()(),C(10,fLa,2,1,"ng-container",5));if(a&2){var c,d;a=M(7);E("ngClass",(c=U(1,7,b.userTypeClass$))!==null&&c!==void 0?c:"");A(2);E("ngClass",(d=U(3,9,b.userChipType$))!==null&&d!==void 0?d:"");A(2);E("ngIf",b.enableSmallChip);A();E("ngIf",!b.enableSmallChip)("ngIfElse",a);A(3);E("ngIf",U(9,11,b.shouldShowIcon$));A(2);E("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[rv,tv,xv,RC,AO,OO,KI,TI,yL,xJ,DJ,MO,JO,yv],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 QO=function(){};QO.\u0275fac=function(a){return new (a||QO)};QO.\u0275mod=cd({type:QO});QO.\u0275inj=Gc({imports:[RD]});var RO=function(){};RO.\u0275fac=function(a){return new (a||RO)};RO.\u0275mod=cd({type:RO});RO.\u0275inj=Gc({imports:[RD,BO,QO,bM,WL,XL,VL]});var Alc=function(a,b,c,d){Yv.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new yf;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};Xv(this)};V(Alc,Yv);var SO=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};SO.prototype.create=function(a){return new Alc(a,this.checker,this.ngZone,this.document)};SO.\u0275fac=function(a){return new (a||SO)(n(Vv),n(Me),n(vh))};
SO.\u0275prov=Fc({token:SO,factory:SO.\u0275fac,providedIn:"root"});var TO=function(){this._inset=this._vertical=!1};da.Object.defineProperties(TO.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=qh(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=qh(a)}}});TO.\u0275fac=function(a){return new (a||TO)};
TO.\u0275cmp=p({type:TO,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(Nf("aria-orientation",b.vertical?"vertical":"horizontal"),Wf("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[Fg],decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.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 Blc=["content"],UO=function(a){Y.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new xF;this.cancelClicked=new xF;this.saveClicked=new xF;this.dateSelectionChange=new xF;this.focusEscaped=new xF};V(UO,Y);UO.\u0275dir=Y.\u0275dir;
UO.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){gLa(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(Df(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(b===0){var c;(c=a.focusEscapeNotifier)==null||VWb(c)}else{var d;(d=a.focusEscapeNotifier)==null||Wv(d)}else a.focusEscaped.emit(b)})};
var gLa=function(a,b){if(b=b instanceof Ri?b:osa(b))a.calendar.activeDate=b};UO.\u0275fac=function(a){return new (a||UO)(B(SO))};
UO.\u0275cmp=p({type:UO,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(rg(Ux,7),rg(Blc,7));if(a&2){var c;vg(c=wg())&&(b.calendar=c.first);vg(c=wg())&&(b.content=c.first)}},inputs:{required:"required",date:"date",trapFocus:"trapFocus",todayButtonEnabled:"todayButtonEnabled",noneButtonEnabled:"noneButtonEnabled",renderPanel:"renderPanel"},outputs:{dateChange:"dateChange",cancelClicked:"cancelClicked",saveClicked:"saveClicked",dateSelectionChange:"dateSelectionChange",focusEscaped:"focusEscaped"},
features:[Lf],ngContentSelectors:["*"],decls:14,vars:9,consts:[["content",""],[1,"b-optional-calendar-button-row"],[3,"selectedChange","selected","startAt"],[1,"actions"],["class","b-optional-calendar-button-row",4,"ngIf"],[1,"b-calendar-button-row"],["mat-button","",1,"cancel",3,"click"],["mat-button","",1,"save",3,"click"],["class","today","mat-button","",3,"click",4,"ngIf"],["class","none","mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"today",3,"click"],["mat-button","",1,"none",3,"click"]],
template:function(a,b){if(a&1){var c=u();ig();F(0,"div",null,0)(2,"div",1);jg(3);H();F(4,"mat-calendar",2);T(5,"toDateTime");T(6,"toDateTime");O("selectedChange",function(d){v(c);b.date=d;b.dateSelectionChange.emit(d);return x()});H();F(7,"div",3);C(8,jLa,4,2,"div",4);F(9,"div",5)(10,"button",6);O("click",function(){v(c);return x(b.cancelClicked.emit())});Q(11,"Cancel");H();F(12,"button",7);O("click",function(){v(c);b.dateChange.emit(b.date);return x(b.saveClicked.emit())});Q(13,"Save");H()()()()}a&
2&&(Wf("container",b.renderPanel),A(4),E("selected",U(5,5,b.date))("startAt",U(6,7,b.date)),A(4),E("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[tv,kC,Ex,Ux,TO,VO]},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}/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var VO=function(){};VO.prototype.transform=function(a){var b;return(b=osa(a))!=null?b:void 0};VO.\u0275fac=function(a){return new (a||VO)};VO.\u0275pipe=fd({name:"toDateTime",type:VO,pure:!0});var Clc=[{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"}],WO=function(a,b,c){Y.call(this);var d=this;this.overlay=a;this.element=b;this.hostEl=c;this.openOnEnter=this.openOnClick=!0;this.required=this.focusTrapHost=!1;this.selectedChange=new xF;this.dateSelectionChange=new xF;this.onClose=
new xF;this.opened=!1;this.destroyed$.subscribe(function(){var e;(e=d.overlayRef)==null||e.dispose()})};V(WO,Y);g=WO.prototype;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.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 Aw(UO),c;this.pickerContent=(c=this.overlayRef)==null?void 0:c.attach(b).instance;var d;(d=this.overlayRef)==null||d.updatePosition();setTimeout(function(){Dlc(a)})};
g.getPositionStrategy=function(){return bx(cx(dx(gx(this.overlay.position(),this.element)),8),Clc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var Dlc=function(a){if(a.pickerContent&&a.overlayRef){var b=Ge(a.overlayRef._detachments,a.destroyed$);a.pickerContent.date=a.selected;a.pickerContent.required=a.required;a.pickerContent.trapFocus=!a.focusTrapHost;a.focusTrapHost&&a.pickerContent.focusEscaped.pipe(Df(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(Df(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(Df(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
Ge(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(He(function(c){return c.code==="Escape"}))).pipe(Df(b)).subscribe(function(){a.close()})}};WO.\u0275fac=function(a){return new (a||WO)(B(hx),B(Rd),B(Rd))};
WO.\u0275dir=ed({type:WO,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(c){b.openOnClick&&b.open();c.preventDefault();c.stopPropagation()})("keydown.enter",function(c){b.openOnEnter&&b.open();c.preventDefault();c.stopPropagation()})("keydown.tab",function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(Wv(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(VWb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&Nf("aria-expanded",b.opened||void 0)},inputs:{openOnClick:"openOnClick",openOnEnter:"openOnEnter",focusTrapHost:[0,"bDateTimePickerToggleFocusTrapHost","focusTrapHost"],required:[0,"bDateTimePickerToggleRequired","required"],selected:[0,"bDateTimePickerToggleSelected","selected"]},outputs:{selectedChange:"bDateTimePickerToggleSelectedChange",dateSelectionChange:"bDateTimePickerToggleDateSelectionChange",
onClose:"bDateTimePickerToggleOnClose"},exportAs:["bDateTimePickerToggle"],features:[Lf]});var Elc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,Flc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,Glc=function(a){this.patternParts_=[];this.dateTimeSymbols_=pv;typeof a=="number"?this.applyStandardPattern_(a):this.applyPattern_(a)};
Glc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(Elc.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};Glc.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)};
Glc.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("Gd`"+f.text.charAt(0));}f=new Hlc;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 k=a;var q=c,t=this.patternParts_[h],w=d;if(t.text.match(Elc)!=null){if(t=q[0],
Ilc(k,q),q[0]>t){k=!0;break a}}else{if(k.indexOf(t.text,q[0])==q[0]){q[0]+=t.text.length;k=!0;break a}if(w&&t.text.indexOf(k.substring(q[0]))==0){q[0]+=k.length-q[0];k=!0;break a}}k=!1}if(k)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;t=c;w=h;var y=t[0],D=0;for(k=w;k<this.patternParts_.length;k++){var G=this.patternParts_[k],I=G.count;if(I===0)break;if(k==w&&(I-=D,D++,I==0)){k=0;break a}var N=k>w&&G.numeric,S=t[0];if(!Jlc(this,q,t,G,I,f,!1)||N&&t[0]-S<I)k=w-1,t[0]=y}k-=w}if(k<=0)return 0;
h+=k-1}else if(!Jlc(this,a,c,this.patternParts_[h],0,f,d))return 0}a:{a=e;if(b==null)throw Error("Hd");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=iWb(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&&(a=b.getTimezoneOffset(),b.setTime(b.getTime()+(f.tzOffset-a)*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 Jlc=function(a,b,c,d,e,f,h){Ilc(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return XO(b,c,[a.dateTimeSymbols_.ERAS],function(k){return f.era=k}),!0;case "M":case "L":return Klc(a,b,c,e,d,f);case "E":return XO(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(k){return f.dayOfWeek=k});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=XO(b,c,a,function(k){return f.dayPeriodIndex=
k},h),f.dayPeriodName=e[f.dayPeriodIndex],h?b:!0;case "a":return b=XO(b,c,[a.dateTimeSymbols_.AMPMS],function(k){return f.ampm=k},h),h?b:!0;case "y":return Llc(a,b,c,d,e,f);case "Q":return XO(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(k){f.month=k*3;f.day=1});case "d":return YO(a,b,c,d,e,function(k){f.day=k}),!0;case "S":return Mlc(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=YO(a,b,c,d,e,function(k){f.hours=d.text.charAt(0)==="h"&&k===12?0:k},h),h?b:!0;
case "m":return b=YO(a,b,c,d,e,function(k){f.minutes=k},h),h?b:!0;case "s":return YO(a,b,c,d,e,function(k){f.seconds=k}),!0;case "z":case "Z":case "v":return Nlc(a,b,c,f);default:return!1}},Llc=function(a,b,c,d,e,f){var h=c[0];e=ZO(a,b,c,e);e===null&&(e=ZO(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},Klc=function(a,b,c,d,e,f){return e.numeric&&YO(a,b,c,
e,d,function(h){f.month=h-1})?!0:XO(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){f.month=h})},Mlc=function(a,b,c,d,e){var f=c[0];a=ZO(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},Nlc=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=ZO(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=ZO(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},YO=function(a,b,c,d,e,f,h){h=h||!1;var k=c[0];a=ZO(a,b,c,e);if(a===null)return!1;if(h&&c[0]-k<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-k))}f(a);return!0},XO=function(a,b,c,d,e){e=e||!1;for(var f,h=0;h<c.length;h++){f=b;for(var k=c[h],q=e,t=0,w=null,y=a.substring(f[0]).toLowerCase(),D=0;D<k.length;D++){var G=k[D].toLowerCase();
if(q&&G.indexOf(y)==0){t=y.length;w=D;break}k[D].length>t&&y.indexOf(G)==0&&(t=k[D].length,w=D)}w!==null&&(f[0]+=t);f=w;if(f!==null)return d(f),!0}return!1},Ilc=function(a,b){(a=a.substring(b[0]).match(Flc))&&(b[0]+=a[0].length)},ZO=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)},Hlc=function(){};Hlc.prototype.ambiguousYear=!1;var AYb=Array(31).fill(0).map(function(a,b){return""+(b+1)}),$O=function(){var a=mx.apply(this,arguments)||this;a.locale=pv;return a};V($O,mx);$O.prototype.setLocale=function(){throw Error("Id");};$O.prototype.getYear=function(a){return a.getYear()};$O.prototype.getMonth=function(a){return a.getMonth()};$O.prototype.getDate=function(a){return a.getDate()};var zYb=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
$O.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};$O.prototype.clone=function(a){return a.clone()};var Qx=function(a,b,c){return new Ri(a,b,c)};$O.prototype.parse=function(a,b){if(a==="")return null;b=new Glc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new Ri(new Date(a));b.parse(a,c);return c};$O.prototype.format=function(a,b){if(!this.isValid(a))throw Error("Jd");return(new zB(b)).format(a)};
var Ox=function(a,b){a=a.clone();a.add(new qv(b));return a},Px=function(a,b){a=a.clone();a.add(new qv(0,b));return a},Nx=function(a,b){a=a.clone();a.add(new qv(0,0,b));return a};$O.prototype.isValid=function(a){return!isNaN(a.getTime())};$O.prototype.invalid=function(){return new Ri(NaN)};$O.prototype.sameDate=function(a,b){return a&&b?(new hi(a)).equals(b):!1};$O.\u0275fac=function(){var a;return function(b){return(a||(a=Od($O)))(b||$O)}}();$O.\u0275prov=Fc({token:$O,factory:$O.\u0275fac});var Olc={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"},aP=Olc;aP=Olc;var bP=pv.DATEFORMATS[3];bP=bP.replace(/yyyy/,"yy").replace(/yy/,"yyyy");bP==="M/d/yyyy"&&(bP="MM/dd/yyyy");var Plc={parse:{dateInput:bP},display:{dateInput:bP,monthYearLabel:aP.YEAR_MONTH_ABBR,dateA11yLabel:aP.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:aP.YEAR_MONTH_FULL}};var cP=function(){};cP.\u0275fac=function(a){return new (a||cP)};cP.\u0275mod=cd({type:cP});cP.\u0275inj=Gc({imports:[lx,lx]});var dP=function(){};dP.\u0275fac=function(a){return new (a||dP)};dP.\u0275mod=cd({type:dP});dP.\u0275inj=Gc({providers:[{provide:mx,useClass:$O},{provide:qx,useValue:Plc}],imports:[RD,RH,Uy,cP,jw]});var Qlc=["popupField"],Rlc=["fieldContent"],Slc=["popupOverlay"],Tlc=["overlayContent"],oLa=function(a){return{q:a}},FLa=function(){return["Priority","Status","Triage phase"]},NLa=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},Ulc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],eP=function(a,b,c,d,e,f,h,k){Y.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=f;this.constants=h;this.appEvents=k;this.googDateValue=
null;this.autocompleteActive=!1;this.readonlyTooltip=this.displayValue=null;this.textBuffer="";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 xF;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.showHotkeyHint=this.truncate=!1;this.enableTeamAnnotations=f.isInternalSession()};
V(eP,Y);eP.\u0275dir=Y.\u0275dir;g=eP.prototype;g.ngOnInit=function(){var a=this;this.enableWaldoAvailability=ep(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,Vlc(a),a.cdr.detectChanges())}));this.subscriptions.add(r$b(this.dateFormatter,function(){Wlc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){Vlc(a)})};
g.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};g.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&Wlc(this)};g.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
g.getPositionStrategy=function(){return bx(cx(dx(gx(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),Ulc)};
var Vlc=function(a){var b;((b=a.overlayRef)==null?0:b.hasAttached())&&a.overlayRef.detach()},$La=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();fMa(a);break;case 27:b.stopPropagation(),up(a,b,!1,!0)}},YLa=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),fMa(a);break;case 27:b.stopPropagation(),up(a,b,!1,!0)}},JLa=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();up(a,
b,!0,!1);break;case 27:b.stopPropagation(),up(a,b,!1,!0)}},up=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,Vlc(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?Pm(c):null),a.type===
"ENUM"&&a.enumMenuTrigger.openMenu(),a.type!=="ENUM"){Xlc(a);var f=a.element.nativeElement;De(document,"click").pipe(He(function(h){return!f.contains(h.target)}),qf(),Df(a.overlayRef._detachments),Df(a.destroyed$)).subscribe(function(){up(a,null,!1,!1)})}b==null||b.stopPropagation();a.cdr.detectChanges()}};eP.prototype.schedule=function(a){var b=Ee.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};eP.prototype.getDisplayValue=function(a){return this.displayValue===null?a:this.displayValue};
var Wlc=function(a){var b=a.value;switch(a.type){case "ENUM":if(a.title==="Type"&&b&&p$b.has(b)){a.displayValue=si(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(Pm(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};eP.prototype.setFieldValue=function(a){this.disabled||this.readonly||(this.type==="DATE"&&a&&(a=Qm(a)),this.type==="NUMERIC"&&a===""&&(a=null),ci(this.value,a)?this.type==="ENUM"&&up(this,null,!1,!0):(up(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var fMa=function(a){if(a.type===void 0)throw Error("Kd");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("Ld");default:Bc(a.type,"FieldType")}};
eP.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);up(this,null,!1,!0)};var Xlc=function(a){Vlc(a);var b=a.overlayRef.attach(new Bw(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()})};
eP.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};eP.prototype.getPriority=function(a){return typeof a==="string"?a.toLowerCase():""};eP.\u0275fac=function(a){return new (a||eP)(B(yF,2),B(Rd),B(hx),B(pg),B(xH),B(as),B(wH),B(iD))};
eP.\u0275cmp=p({type:eP,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(rg(OI,5),rg(Qlc,5),rg(Rlc,5),rg(Slc,5),rg(Tlc,5));if(a&2){var c;vg(c=wg())&&(b.enumMenuTrigger=c.first);vg(c=wg())&&(b.popupField=c.first);vg(c=wg())&&(b.fieldContent=c.first);vg(c=wg())&&(b.popupOverlay=c.first);vg(c=wg())&&(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:[Dg([yF]),Lf,rd],decls:11,vars:5,consts:[["enumMenu","matMenu"],["popupOverlay",""],["popupField","","tooltip","matTooltip"],["field",""],["customFieldTemplate",""],["emptyValue",""],["fieldContent",""],["overlayContent",
""],[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0",3,"class","bv2-disabled","bv2-readonly","matTooltip","click","keydown","keydown.escape",4,"ngIf"],[3,"class","ngClass","matTooltip",4,"ngIf"],[4,"ngIf"],[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",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["class","bv2-editable-value",
3,"matMenuTriggerFor","menuClosed",4,"ngIf","ngIfElse"],[1,"bv2-editable-value",3,"menuClosed","matMenuTriggerFor"],[4,"ngTemplateOutlet"],[1,"overflow-ellipsis"],["class","subtle-link","routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["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"],["routerLink","/issues",1,"subtle-link",3,"queryParams"],[1,"bv2-editable-value"],
[1,"bv2-editable-value",3,"keydown","click"],["class","issue-metadata-field-edit-icon",4,"ngIf"],["class","issue-metadata-field-dropdown-icon",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],["class","bv2-editfield-avatar",3,"email",4,"ngIf"],["class","bv2-metadata-field-value",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],["class","bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled",4,"ngIf"],["class","chippy",3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-edit-button",4,"ngIf"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"chippy",3,"maxWidth",
"modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],[1,"issue-metadata-field-dropdown-icon"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[3,"class","click",4,"ngIf"],[1,"keep-focus-ring",3,"modelChange","disabled","aria-label","model"],[3,"click"],[3,"user",4,"ngIf"],[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled","click",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",
3,"b-menu-item-checked","disabled","matTooltip","hotkey","click","onHotkey",4,"ngFor","ngForOf"],["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"],["class","muted plain-monospace margin-left-auto",4,"ngIf"],[1,"muted","plain-monospace","margin-left-auto"],["role",
"dialog",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",3,"click",4,"ngSwitchDefault"],[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","ngModelChange","keydown",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck","false",3,"ngModelChange","keydown","ngModel"],["step","any","spellcheck","false",3,"ngModelChange","keydown","ngModel"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange",
"keydown","autocompleteActive",4,"ngIf"],["spellcheck","false",3,"ngModelChange","keydown","autocompleteActive","ngModel","bContactAutocomplete"],["step","any","spellcheck","false",3,"ngModelChange","keydown","autocompleteActive","ngModel","bContactAutocomplete"]],template:function(a,b){a&1&&(F(0,"div")(1,"div",8),C(2,LLa,8,15,"div",9)(3,OLa,3,13,"div",10)(4,QLa,2,1,"ng-container",11),J(5,"div",12),H(),F(6,"mat-menu",13,0),C(8,ULa,2,2,"ng-template",14),H(),C(9,hMa,6,7,"ng-template",null,1,Mg),H());
a&2&&(A(),Wf("active",b.isActive&&!b.readonly&&!b.disabled),A(),E("ngIf",b.type!=="BOOL"),A(),E("ngIf",b.type==="BOOL"),A(),E("ngIf",b.isUser))},dependencies:[AO,rv,sv,tv,xv,uv,vv,wv,RC,JD,iO,UO,Bh,dy,ly,cJ,kC,Ex,JI,NI,LI,MI,OI,KI,TI,yO,gL,CO,MO,PO,zv],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 fP={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},gP=function(){};gP.\u0275fac=function(a){return new (a||gP)};gP.\u0275mod=cd({type:gP});gP.\u0275inj=Gc({imports:[BO,tO,RD,jO,dP,zy,dJ,RH,aM,bM,zO,WL,AI,DO,RO]});var hP=function(){};var Ylc=["popOverContent"],iP=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 bv;this.isOpen=!1;this.destroyed$=new xf(1);this.backdropClickSubscription=Yd.EMPTY};iP.prototype.ngOnInit=function(){};iP.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
iP.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(Df(this.destroyed$)).subscribe(function(){lMa(a)}))};iP.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var kMa=function(a){a.closedWithAction.emit(0);a.close()},lMa=function(a){a.closedWithAction.emit(1);a.close()};g=iP.prototype;g.processKeydown=function(a){switch(a.key){case "Escape":lMa(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)kMa(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(kMa(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 Bw(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=AXb(dx(gx(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return bx(a,Zlc)};g.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
iP.\u0275fac=function(a){return new (a||iP)(B(hx),B(pg))};
iP.\u0275cmp=p({type:iP,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&rg(Ylc,7);if(a&2){var c;vg(c=wg())&&(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&&C(0,mMa,8,3,"ng-template",null,0,Mg)},dependencies:[xv,$v,wL],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 Zlc=[{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 eQb=function(a){this.internalArray_=m(a,1)};V(eQb,X);var Us=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=Us.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 Us;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 Nt=function(a){this.internalArray_=m(a)};V(Nt,X);Nt.prototype.getEntryPoint=function(){return Kj(this,5,0)};Nt.prototype.setEntryPoint=function(a){return Ol(this,5,a)};var Qt=function(a){this.internalArray_=m(a)};V(Qt,X);Qt.prototype.getEntryPoint=function(){return Kj(this,1,0)};Qt.prototype.setEntryPoint=function(a){return Ol(this,1,a)};var jP=function(a){this.internalArray_=m(a)};V(jP,X);jP.prototype.getQuery=function(){return Zh(this,1,"")};jP.prototype.setQuery=function(a){return Sj(this,1,a)};jP.prototype.clearQuery=function(){ro(this,1)};jP.prototype.hasQuery=function(){return vl(this,1)};var $lc=function(a,b){Tl(a,3,b)};jP.prototype.getAffinityVersion=function(){return Lj(this,7)};jP.prototype.setAffinityVersion=function(a){Ml(this,7,a)};jP.prototype.getAffinityVersionOrUndefined=function(){return Au(this,7)};
var amc=function(a){var b=ahc();ro(a,8,yb(b))};g=jP.prototype;g.getSources=function(){return Gj(this,Nt,10)};g.getInstanceId=function(){return Zh(this,11,"")};g.setInstanceId=function(a){return Sj(this,11,a)};g.clearInstanceId=function(){ro(this,11)};g.hasInstanceId=function(){return vl(this,11)};g.getInstanceIdOrUndefined=function(){return Jm(this,11)};var Dt=function(a){this.internalArray_=m(a)};V(Dt,X);g=Dt.prototype;g.getPersonLoggingId=function(){return Zh(this,1)};g.setPersonLoggingId=function(a){Sj(this,1,a)};g.getFieldLoggingId=function(){return Zh(this,2)};g.setFieldLoggingId=function(a){Sj(this,2,a)};g.setFieldValue=function(a){return Sj(this,3,a)};g.clearFieldValue=function(){return ro(this,3)};g.getName=function(){return Zh(this,4)};g.setName=function(a){return Sj(this,4,a)};g.hasName=function(){return vl(this,4)};
g.getNameOrUndefined=function(){return Jm(this,4)};g.getContactId=function(){return Zh(this,5)};g.setContactId=function(a){return Sj(this,5,a)};g.getProfileId=function(){return Zh(this,6)};g.getProfileId_legacyNullable=function(){return Tj(this,6)};g.setProfileId=function(a){return Sj(this,6,a)};g.hasProfileId=function(){return vl(this,6)};g.getFieldType=function(){return Kj(this,7,0)};g.getIsPlaceholder=function(){return hk(this,10,!1)};g.setIsPlaceholder=function(a){Ll(this,10,a)};
g.getGroupId=function(){return Zh(this,11)};g.setGroupId=function(a){Sj(this,11,a)};g.hasGroupId=function(){return vl(this,11)};var Ct=function(a){this.internalArray_=m(a)};V(Ct,X);g=Ct.prototype;g.getProvenance=function(){return Kj(this,3,0)};g.setProvenance=function(a){return Ol(this,3,a)};g.getContext=function(){return Kj(this,5,0)};g.getExistingSelectionsCount=function(){return Lj(this,6,0)};g.setExistingSelectionsCount=function(a){Ml(this,6,a)};var Bt=function(a){this.internalArray_=m(a)};V(Bt,X);var Ns=function(a){return Gj(a,Ct,2)};Bt.prototype.getSessionState=function(){return Gj(this,jP,3)};Bt.prototype.setSessionState=function(a){return Pj(this,jP,3,a)};Bt.prototype.hasSessionState=function(){return Ak(this,jP,3)};var At=function(a){this.internalArray_=m(a)};V(At,X);g=At.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return Ol(this,1,a)};g.hasType=function(){return wl(this,1)};g.getValue=function(){return Zh(this,2,"")};g.setValue=function(a){return Sj(this,2,a)};g.hasValue=function(){return vl(this,2)};var bmc=function(a){this.delegate_=a};g=bmc.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 IPb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};g=IPb.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 cmc=function(a,b){this.delegate_=a;this.name_=b};V(cmc,bmc);cmc.prototype.getName=function(){return this.name_};var kP=function(a){this.delegate_=a};g=kP.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.getMatchInfo=function(){return this.delegate_.getMatchInfo()};g.getExtendedData=function(){return this.delegate_.getExtendedData()};var vp=function(a){this.delegate_=a};V(vp,kP);g=vp.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 nMa=function(a,b){this.delegate_=a;this.targets_=b};V(nMa,kP);nMa.prototype.getTargetList=function(){return this.targets_};var lP=function(){};lP.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 vp(new nMa(a,c))};lP.prototype.reset=function(){};var pMa=function(a){this.types_=a};V(pMa,lP);pMa.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};pMa.prototype.reset=function(){};var rMa=function(a){this.sourceIds_=a.filter(function(b){return EPb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return Bhc.includes(b.getType())}).map(String)};V(rMa,lP);rMa.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 tMa=function(a){this.filters_=a};tMa.prototype.filterResult=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};tMa.prototype.reset=function(a){for(var b=l(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var dmc=uMa();var emc=new ld("PeoplekitClientConfig"),fmc=function(a){this.matcher=a};fmc.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};fmc.prototype.reset=function(){};var gmc=function(a){this.internalArray_=m(a)};V(gmc,X);g=gmc.prototype;g.setMaxResults=function(a){return Ml(this,1,a)};g.getQuery=function(){return Zh(this,2,"")};g.setQuery=function(a){return Sj(this,2,a)};g.clearQuery=function(){ro(this,2)};g.hasQuery=function(){return vl(this,2)};var hmc=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var imc=function(a){this.internalArray_=m(a,1)};V(imc,X);var jmc=function(a){this.internalArray_=m(a)};V(jmc,X);g=jmc.prototype;g.getExperimentIdsList=function(a){return Zk(this,1,Ai(a))};g.setExperimentIdsList=function(a){return hc(this,1,a,Eb)};g.getExperimentIds=function(){return yu(this,1)};g.setExperimentIds=function(a){Bu(this,1,a)};g.getProfileId=function(){return Zh(this,2)};g.getProfileId_legacyNullable=function(){return Tj(this,2)};g.setProfileId=function(a){return Sj(this,2,a)};g.hasProfileId=function(){return vl(this,2)};
jmc.repeatedFields_=[1];var kmc=function(){},lmc=function(){return!1},mmc=function(){this.experiments_=(new jmc).setProfileId(tN.userProfileId);this.peopleApiEnv_=tN.apiEnv;this.delegatorId_=this.userEmail_="";this.userKeys_=new Set;this.onAuthError_=kmc;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=lmc;this.customDataConfig_=null;this.requestCorpHeaders_=this.isOrgStateEnabled_=!1;var a=tN.userEmail;this.userEmail_=a||"";a&&this.userKeys_.add(String(kt(a)))};g=mmc.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||kmc};
g.getApiKey=function(){return this.apiKey_};g.setApiKey=function(a){this.apiKey_=a;return this};var mP=function(a,b){b!=null||(b=Xc(Me));var c=new mmc;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 hmc;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 Fhc(c.getPeopleApiEnv(),new Ghc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};mP.\u0275fac=function(a){return new (a||mP)(n(emc),n(Me))};mP.\u0275prov=Fc({token:mP,factory:mP.\u0275fac});var nP=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 bv;this.sessionOptions=(new Us).setFilter(nmc);this.inputSearchDelay=200;this.destroyed$=new xf(1);this.inputChanged$=new xf(1)};nP.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
nP.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);vMa(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=fGa(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});omc(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(pf(this.inputSearchDelay)).subscribe(function(){a.search()})};nP.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
nP.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};nP.\u0275fac=function(a){return new (a||nP)(B(emc),B(vh),B(mP),B(Rd),B(Me),B(Qu))};
nP.\u0275dir=ed({type:nP,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&O("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 nmc=qMa(1);var pmc=["popOver"],qmc=["inputBox"],oP=function(a){this.defaultAutocompleteConfig=a;this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new bv;this.inputValue="";this.sessionOptions=rmc;this.mergedAutocompleteConfig=Object.assign({},smc,this.defaultAutocompleteConfig)};oP.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
oP.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},smc,this.defaultAutocompleteConfig,this.autocompleteConfig))};oP.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;(c=b.inputBox)==null||c.nativeElement.select()})};oP.prototype.onPopOverClose=function(a){this.closed.emit(a===0?this.inputValue:void 0);this.inputValue=""};oP.\u0275fac=function(a){return new (a||oP)(B(tmc,8))};
oP.\u0275cmp=p({type:oP,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(rg(pmc,7),rg(qmc,5));if(a&2){var c;vg(c=wg())&&(b.popOver=c.first);vg(c=wg())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[rd],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=u();F(0,"onedev-pop-over-edit-panel",3,0);O("closedWithAction",function(d){v(c);return x(b.onPopOverClose(d))});H();C(2,wMa,2,3,"ng-template",null,1,Mg)}a&2&&(a=M(3),E("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
a))},dependencies:[Bh,dy,ly,iP,nP],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 tmc=new ld("user-picker-autocomplete-config"),smc={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},rmc=(new Us).setFilter(uMa(qMa(1),new fmc(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 yMa=function(a){return{$implicit:a}},umc=0,pP=function(){this.val="";this.disabled=!1;this.emailChange=new bv;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+umc;this.onChange=function(){};this.onTouched=function(){};umc++};V(pP,hP);g=pP.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};
da.Object.defineProperties(pP.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});pP.\u0275fac=function(a){return new (a||pP)};
pP.\u0275cmp=p({type:pP,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&rg(oP,7);if(a&2){var c;vg(c=wg())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Dg([{provide:hP,useExisting:Sc(function(){return pP}),multi:!0},{provide:Wx,useExisting:Sc(function(){return pP}),multi:!0}]),
Lf],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=u();F(0,"button",2,0);O("focus",function(){v(c);return x(b.active=!0)})("blur",function(){v(c);return x(b.active=!1)})("click",function(){v(c);return x(b.openPopOver())});C(2,zMa,2,4,"ng-container",3)(3,AMa,1,1,"ng-template",null,1,Mg)(5,BMa,2,0,"svg",4);H();F(6,"onedev-user-picker-panel",5);O("closed",function(e){v(c);return x(b.onPopOverClose(e))});H()}if(a&2){a=M(1);var d=M(4);Wf("active",b.isActive());Nf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());
A(2);E("ngIf",b.selectedUserTemplate)("ngIfElse",d);A(3);E("ngIf",!b.disabled);A();E("anchor",a)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[tv,xv,oP],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 vmc=["picker"],qP=function(){this.disabled=!1;this.emailChange=new xF;this.userEmail=""};V(qP,hP);qP.prototype.openPopOver=function(){this.picker.openPopOver()};qP.prototype.isActive=function(){return this.picker.isActive()};da.Object.defineProperties(qP.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=yi(a)||""}}});qP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(qP)))(b||qP)}}();
qP.\u0275cmp=p({type:qP,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&rg(vmc,7);if(a&2){var c;vg(c=wg())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Dg([{provide:hP,useExisting:Sc(function(){return qP}),multi:!0}]),Lf],decls:4,vars:4,consts:[["picker","onedevUserPicker"],["userChip",""],[3,"emailChange","email","disabled","labelledById","selectedUserTemplate"],
[3,"email","teamId","enableSmallChip",4,"ngIf"],[3,"email","teamId","enableSmallChip"]],template:function(a,b){if(a&1){var c=u();F(0,"onedev-user-picker",2,0);O("emailChange",function(d){v(c);return x(b.emailChange.emit(d))});H();C(2,DMa,1,1,"ng-template",null,1,Mg)}a&2&&(a=M(3),E("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",a))},dependencies:[tv,PO,pP],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 rP=function(){this.isReady=!1};rP.\u0275fac=function(a){return new (a||rP)};rP.\u0275cmp=p({type:rP,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&&(ig(),C(0,EMa,1,0,"div",0)(1,FMa,2,0,"ng-container",1));a&2&&(E("ngIf",!b.isReady),A(),E("ngIf",b.isReady))},dependencies:[tv],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 wmc={provide:Vac,deps:[hx],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},xmc=kh({passive:!0}),sP=function(a,b,c,d,e,f,h,k,q,t,w,y){var D=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=f;this._ariaDescriber=h;this._focusMonitor=k;this._dir=t;this._defaultOptions=w;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 yf;this._scrollStrategy=q;this._document=y;w&&(this._showDelay=w.showDelay,this._hideDelay=w.hideDelay,w.position&&(this.position=w.position),w.positionAtOrigin&&(this.positionAtOrigin=w.positionAtOrigin),w.touchGestures&&(this.touchGestures=w.touchGestures));t.change.pipe(Df(this._destroyed)).subscribe(function(){D._overlayRef&&D._updatePosition(D._overlayRef)})};
g=sP.prototype;g.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(Df(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=l(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,xmc)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();mw(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 Aw(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b.afterHidden().pipe(Df(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 Rd)return this._overlayRef;this._detach()}c=qXb(this._scrollDispatcher,this._elementRef);a=yXb(cx(dx(CXb(gx(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(Df(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(Df(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(Df(this._destroyed)).subscribe(function(){var e;
return(e=b._tooltipInstance)==null?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(Df(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&e.keyCode===27&&!oh(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();bx(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(qf(),Df(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,r(b))}};g._addListeners=function(a){var b=this;a.forEach(function(c){var d=l(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,xmc)})};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"}};
da.Object.defineProperties(sP.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=qh(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=qh(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=th(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=th(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;mw(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(){lw(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)}}});sP.\u0275fac=function(){Te()};
sP.\u0275dir=ed({type:sP,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 tP=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new yf;this._animationsDisabled=b==="NoopAnimations"};g=tP.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))};
tP.\u0275fac=function(a){return new (a||tP)(B(Wg),B(Pu,8))};tP.\u0275dir=ed({type:tP});var ymc=["tooltip"],vP=function(a,b,c,d,e,f,h,k,q,t,w,y){sP.call(this,a,b,c,d,e,f,h,k,q,t,w,y);this._tooltipComponent=uP};V(vP,sP);vP.\u0275fac=function(a){return new (a||vP)(B(hx),B(Rd),B(Rw),B(pg),B(Me),B(Nv),B(kw),B(Sv),B(Vac),B(Hw,8),B(Xac,8),B(vh))};vP.\u0275dir=ed({type:vP,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[Lf]});
var uP=function(a,b,c){tP.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)")};V(uP,tP);uP.\u0275dir=tP.\u0275dir;uP.\u0275fac=function(a){return new (a||uP)(B(Wg),B(cw),B(Pu,8))};
uP.\u0275cmp=p({type:uP,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&rg(ymc,7);if(a&2){var c;vg(c=wg())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&1&&O("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&(Nf("mat-id-collision",null),Vf("zoom",b.isVisible()?1:null))},features:[Lf],decls:4,vars:6,consts:[["tooltip",""],[1,"mat-tooltip",3,"animationend","ngClass"]],template:function(a,b){if(a&1){var c=u();F(0,"div",
1,0);T(2,"async");O("animationend",function(e){v(c);return x(b._handleAnimationEnd(e))});Q(3);H()}if(a&2){var d;Wf("mat-tooltip-handset",(d=U(2,4,b._isHandset))==null?null:d.matches);E("ngClass",b.tooltipClass);A(3);yg(b.message)}},dependencies:[rv,yv],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)}.cdk-high-contrast-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 wP=function(){this.warning=""};wP.\u0275fac=function(a){return new (a||wP)};
wP.\u0275cmp=p({type:wP,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("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&&C(0,GMa,2,1,"svg",0);a&2&&
E("ngIf",b.warning)},dependencies:[tv,vP],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 zmc=["*",[["","actions",""]]],Amc=[[["onedev-field-label"]],[["onedev-field-value"]]],Bmc=0,xP=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+Bmc;Bmc++};xP.\u0275fac=function(a){return new (a||xP)};
xP.\u0275cmp=p({type:xP,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&Nf("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&&(ig(),F(0,"onedev-async-data-placeholder",0)(1,"span",1),jg(2),H(),J(3,"onedev-warning-icon",2),H());a&2&&(E("isReady",!b.thinking),A(),E("matTooltip",b.labelTooltip),A(2),E("warning",
b.warning))},dependencies:[rP,vP,wP],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var yP=function(){this.thinking=!1};yP.\u0275fac=function(a){return new (a||yP)};
yP.\u0275cmp=p({type:yP,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(ig(zmc),F(0,"onedev-async-data-placeholder",0),jg(1),jg(2,1),H());a&2&&E("isReady",!b.thinking)},dependencies:[rP],encapsulation:2});var zP=function(){this.labelPosition="left"};zP.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
zP.\u0275fac=function(a){return new (a||zP)};
zP.\u0275cmp=p({type:zP,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(sg(c,hP,5),sg(c,xP,7));if(a&2){var d;vg(d=wg())&&(b.field=d.first);vg(d=wg())&&(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&&(ig(Amc),F(0,"div",0),jg(1),jg(2,1),H());a&2&&Wf("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 Cmc=["traditionalEditorField"],Dmc=["peopleKitUserPicker"],AP=function(a,b,c){this.activeSession=a;this.issuePermissionService=b;this.issueDetailsBrain=c;this.title=this.name="";this.value=null;this.valueChange=new xF;this.emailChange=new xF;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$;this.teamId$=this.issueDetailsBrain.teamId$;this.enablePeoplekitAc=ep(this.activeSession,"enablePeoplekitUserAc");this.FieldType=fP};
AP.prototype.openEditor=function(){if(this.enablePeoplekitAc){var a;(a=this.peopleKitUserPicker)==null||a.openPopOver()}else{var b;(b=this.traditionalEditorField)==null||up(b,null,!0,!1)}};AP.\u0275fac=function(a){return new (a||AP)(B(as),B(kI),B(iI))};
AP.\u0275cmp=p({type:AP,selectors:[["b-single-user-control"]],viewQuery:function(a,b){a&1&&(rg(Cmc,5),rg(Dmc,5));if(a&2){var c;vg(c=wg())&&(b.traditionalEditorField=c.first);vg(c=wg())&&(b.peopleKitUserPicker=c.first)}},inputs:{issueId:"issueId",name:"name",title:"title",value:"value",user:"user",isSaving:"isSaving"},outputs:{valueChange:"valueChange",emailChange:"emailChange"},decls:3,vars:2,consts:[["peoplekitEditorField",""],["traditionalEditorField",""],[4,"ngIf","ngIfElse"],[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&&C(0,HMa,5,14,"ng-container",2)(1,IMa,7,9,"ng-template",null,0,Mg);a&2&&(a=M(2),E("ngIf",!b.enablePeoplekitAc)("ngIfElse",a))},dependencies:[tv,eP,xP,yP,zP,qP,yv],encapsulation:2});var BP=function(a){this.bLocation=a;this.listIssues=wp.listIssues.makeHref;this.createIssue=wp.createIssue.makeHref};BP.prototype.viewSavedSearch=function(a,b){return JMa(wp.viewSavedSearch.routeDeclarationPath,{id:a,params:b})};var Emc=function(a,b){b=b.charAt(0)!=="/"?"/"+b:b;a=a.bLocation.getUrl();a=new qp(a);b=new qp(b);return a.getPath()===b.getPath()&&UJ(a.queryData_.toString())===UJ(b.queryData_.toString())};g=BP.prototype;g.createBookmarkGroup=function(){return wp.createBookmarkGroup.routeDeclarationPath};
g.viewBookmarkGroup=function(a){return JMa(wp.viewBookmarkGroup.routeDeclarationPath,{id:a})};g.editBookmarkGroup=function(a){return yp(wp.editBookmarkGroup.routeDeclarationPath,{id:a})};g.editSavedSearch=function(a){return yp(wp.editSavedSearch.routeDeclarationPath,{id:a})};g.getBaseUrl=function(){var a=this.bLocation.absUrl();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?yp(wp.settingsTab.routeDeclarationPath,{id:a,token:":settingsTab?"}):yp(wp.settings.routeDeclarationPath)};g.home=function(){return yp(wp.home.routeDeclarationPath,{params:void 0})};BP.\u0275fac=function(a){return new (a||BP)(n(NM))};BP.\u0275prov=Fc({token:BP,factory:BP.\u0275fac,providedIn:"root"});var CP=function(a){this.buttonRef=a;this.toRefocus=!1};CP.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}))};CP.\u0275fac=function(a){return new (a||CP)(B(Rd))};
CP.\u0275dir=ed({type:CP,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[rd]});var DP=function(a,b){this.activeSession=a;this.cdr=b;this.disabled=this.starred=!1;this.acceptInput=!0;this.starMessage="Star the issue";this.unStarMessage="Un-star the issue";this.starClicked=new xF;this.isAnonymous=this.activeSession.isAnonymous()};g=DP.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};DP.\u0275fac=function(a){return new (a||DP)(B(as),B(Wg))};
DP.\u0275cmp=p({type:DP,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=u();F(0,"div",1,0)(2,
"button",2);O("keydown.enter",function(d){v(c);return x(b.onEnter(d))})("click",function(d){v(c);return x(b.onClick(d))})("focus",function(){v(c);var d=M(1);return x(d.show())})("blur",function(){v(c);var d=M(1);return x(d.hide())});J(3,"mat-icon",3);H()()}a&2&&(E("matTooltip",b.getLabel()),A(2),Wf("starred",b.starred),E("disabled",b.isDisabled()),Nf("aria-label",b.getAriaLabel())("aria-checked",b.starred),A(),E("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[RC,kC,Gx,KI,TI,CP],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 EP=function(a){this.activeSession=a;this.ROUTES=wp;this.isCompact=!1;this.starClicked=new xF;this.currentUserEmail=this.activeSession.getUserEmail()};EP.prototype.ngOnInit=function(){};EP.prototype.isDirectAdmin=function(a){return a?wi(a.adminUsers).includes(this.currentUserEmail):!1};EP.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};EP.\u0275fac=function(a){return new (a||EP)(B(as))};
EP.\u0275cmp=p({type:EP,selectors:[["hotlist-matlist-option"]],inputs:{hotlist:"hotlist",isCompact:"isCompact",starredHotlists:"starredHotlists",isSavingStar:"isSavingStar"},outputs:{starClicked:"starClicked"},decls:1,vars:1,consts:[["class","hotlist-matlist-option",4,"ngIf"],[1,"hotlist-matlist-option"],[1,"title-line"],[1,"overflow-ellipsis"],[1,"hotlist-link-and-star","flex-kids-x","align-items-center","gap-xs"],["class","valign-middle",3,"starMessage","unStarMessage","acceptInput","starred","starClicked",
4,"ngIf"],["matTooltip","Open hotlist in a new tab","target","_blank",1,"keep-focus-ring",3,"click","keydown.enter","routerLink"],["svgIcon","pop-out",1,"icon-s"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"valign-middle",3,"starClicked","starMessage","unStarMessage","acceptInput","starred"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&C(0,RMa,9,4,"div",0);a&2&&E("ngIf",b.hotlist)},dependencies:[tv,RC,JD,DP,KI,TI,yv],encapsulation:2,changeDetection:0});var Fmc=function(){this.tokens=new Map};Fmc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};Fmc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new Gmc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var Gmc=function(a){this.sortedEntries=a};
Gmc.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};Gmc.prototype.search=function(a){var b=new Set;a=l(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=l(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var Hmc=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(r(a.search(b[d]))).filter(function(f){return c.has(f)});c=new Set(e)}return c};var Imc=function(a){this.hotlists=a;var b=new Fmc,c=new Fmc;a=l(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())?tFa(d.name.toLowerCase()):[];e=l(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())?tFa(d.description.toLowerCase()):[];e=l(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,
k){return[h,k]}))};
Imc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=l(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 k=void 0,q=void 0;(lra(a)&&String(h).includes(a)||((k=f)==null?0:k.includes(a))||((q=e)==null?0:q.includes(a)))&&b.add(d)}a=tFa(a);c=l(Hmc(this.nameTokenMatcher,a));for(d=c.next();!d.done;d=c.next())b.add(d.value);a=l(Hmc(this.descriptionTokenMatcher,a));
for(c=a.next();!c.done;c=a.next())b.add(c.value);return Jmc(this,b)};var Jmc=function(a,b){return[].concat(r(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var FP=function(){this.innerHeight$=Ae(Be(function(){return pe(window.innerHeight)}),De(window,"resize").pipe(z(function(){return window.innerHeight})))};FP.\u0275fac=function(a){return new (a||FP)};FP.\u0275prov=Fc({token:FP,factory:FP.\u0275fac,providedIn:"root"});var Kmc=new ld("GMAT_LIST_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var GP=function(a){this.options=a};GP.\u0275fac=function(a){return new (a||GP)(B(Kmc))};GP.\u0275dir=ed({type:GP,selectors:[["mat-list"],["mat-action-list"],["mat-nav-list"],["mat-selection-list"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-list",!b.options.disableGmatStyle)}});var Lmc=new ld("ListOption");var HP=function(a){this._elementRef=a};HP.\u0275fac=function(a){return new (a||HP)(B(Rd))};HP.\u0275dir=ed({type:HP,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0});var IP=function(a){this._elementRef=a};IP.\u0275fac=function(a){return new (a||IP)(B(Rd))};IP.\u0275dir=ed({type:IP,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0});
var JP=function(a){this._listOption=a};JP.prototype._isAlignedAtStart=function(){var a;return!this._listOption||((a=this._listOption)==null?void 0:a._getTogglePosition())==="after"};JP.\u0275fac=function(a){return new (a||JP)(B(Lmc,8))};JP.\u0275dir=ed({type:JP,hostVars:4,hostBindings:function(a,b){a&2&&Wf("mdc-list-item__start",b._isAlignedAtStart())("mdc-list-item__end",!b._isAlignedAtStart())},standalone:!0});var KP=function(){JP.apply(this,arguments)};V(KP,JP);
KP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(KP)))(b||KP)}}();KP.\u0275dir=ed({type:KP,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[Lf]});var LP=function(){JP.apply(this,arguments)};V(LP,JP);LP.\u0275fac=function(){var a;return function(b){return(a||(a=Od(LP)))(b||LP)}}();LP.\u0275dir=ed({type:LP,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[Lf]});var Mmc=new ld("MAT_LIST_CONFIG");var MP=function(){this._isNonInteractive=!0;this._disabled=this._disableRipple=!1;this._defaultOptions=Xc(Mmc,{optional:!0})};da.Object.defineProperties(MP.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=qh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=qh(a)}}});MP.\u0275fac=function(a){return new (a||MP)};
MP.\u0275dir=ed({type:MP,hostVars:1,hostBindings:function(a,b){a&2&&Nf("aria-disabled",b.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});
var NP=function(a,b,c,d,e,f){this._elementRef=a;this._ngZone=b;this._listBase=c;this._platform=d;this._explicitLines=null;this._disabled=this._disableRipple=!1;this._subscriptions=new Yd;this._rippleRenderer=null;this._hasUnscopedTextContent=!1;this.rippleConfig=e||{};this._hostElement=this._elementRef.nativeElement;this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button";this._noopAnimations=f==="NoopAnimations";c&&!c._isNonInteractive&&this._initInteractiveListItem();this._isButtonElement&&
!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")};g=NP.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 WXb(this,this._ngZone,this._hostElement,this._platform);ZXb(this._rippleRenderer,this._hostElement)};g._monitorProjectedLinesAndTitle=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._subscriptions.add(Ge(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())})};
da.Object.defineProperties(NP.prototype,{lines:{configurable:!0,enumerable:!0,set:function(a){this._explicitLines=th(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=qh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._disabled||!((a=this._listBase)==null||!a.disabled)},
set:function(a){this._disabled=qh(a)}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disableRipple||!!this.rippleConfig.disabled}}});NP.\u0275fac=function(a){return new (a||NP)(B(Rd),B(Me),B(MP,8),B(Nv),B(ux,8),B(Pu,8))};
NP.\u0275dir=ed({type:NP,contentQueries:function(a,b,c){a&1&&(sg(c,KP,4),sg(c,LP,4));if(a&2){var d;vg(d=wg())&&(b._avatars=d);vg(d=wg())&&(b._icons=d)}},hostVars:4,hostBindings:function(a,b){a&2&&(Nf("aria-disabled",b.disabled)("disabled",b._isButtonElement&&b.disabled||null),Wf("mdc-list-item--disabled",b.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0});var Nmc=["unscopedContent"],Omc=[[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["mat-divider"]],[["","matListItemAvatar",""],["","matListItemIcon",""]]],Pmc=new ld("SelectionList"),OP=function(a,b,c,d,e,f,h){NP.call(this,a,b,c,d,f,h);this._selectionList=c;this._changeDetectorRef=e;this.selectedChange=new bv;this.togglePosition="after";this._inputsInitialized=this._selected=!1};V(OP,NP);OP.\u0275dir=NP.\u0275dir;g=OP.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;NP.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};
da.Object.defineProperties(OP.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=qh(a);a!==this._selected&&(this._setSelected(a),(a||this._selectionList.multiple)&&this._selectionList._reportValueChange())}}});OP.\u0275fac=function(a){return new (a||OP)(B(Rd),B(Me),B(Pmc),B(Nv),B(Wg),B(ux,8),B(Pu,8))};
OP.\u0275cmp=p({type:OP,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(sg(c,IP,5),sg(c,HP,5));if(a&2){var d;vg(d=wg())&&(b._lines=d);vg(d=wg())&&(b._titles=d)}},viewQuery:function(a,b){a&1&&rg(Nmc,5);if(a&2){var c;vg(c=wg())&&(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&&O("blur",function(){return b._handleBlur()})("click",function(){return b._toggleOnInteraction()});
a&2&&(Nf("aria-selected",b.selected),Wf("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:[Dg([{provide:NP,useExisting:OP},{provide:Lmc,useExisting:OP}]),Lf,Fg],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-mdc-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=u();ig(Omc);C(0,SMa,1,0,"ng-template",null,0,Mg)(2,TMa,6,4,"ng-template",null,1,Mg)(4,UMa,5,4,"ng-template",null,2,Mg)(6,WMa,2,1,"span",4)(7,YMa,2,1,"span",5)(8,$Ma,1,1,null,6);F(9,"span",7);jg(10);jg(11,1);F(12,"span",8,3);O("cdkObserveContent",function(){v(c);return x(b._updateItemLines(!0))});jg(14,2);H()();C(15,bNa,2,1,"span",9)(16,dNa,2,1,"span",9)(17,fNa,
1,1,null,6);jg(18,3);J(19,"div",10)}a&2&&(A(6),$f(b._hasCheckboxAt("before")?6:b._hasRadioAt("before")?7:-1),A(2),$f(b._hasIconsOrAvatarsAt("before")?8:-1),A(7),$f(b._hasCheckboxAt("after")?15:b._hasRadioAt("after")?16:-1),A(2),$f(b._hasIconsOrAvatarsAt("after")?17:-1))},dependencies:[xv,gw],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}.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);border-color:var(--mdc-checkbox-unselected-icon-color);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);background-color:var(--mdc-checkbox-selected-icon-color)}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.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);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);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);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.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)}.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);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.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)}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.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)}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.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) - 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);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 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);height:var(--mdc-radio-state-layer-size)}.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);opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.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);opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.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)}.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)}.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 .mdc-radio--disabled{cursor:default;pointer-events:none}.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}.cdk-high-contrast-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}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}\n'],
encapsulation:2,changeDetection:0});var Qmc={provide:Wx,useExisting:Sc(function(){return PP}),multi:!0},Rmc=function(a,b){this.source=a;this.options=b},PP=function(a,b){MP.call(this);var c=this;this._element=a;this._ngZone=b;this._initialized=!1;this._destroyed=new yf;this._onChange=function(){};this.selectionChange=new bv;this.color="accent";this.compareWith=function(f,h){return f===h};this._multiple=!0;var d,e;this._hideSingleSelectionIndicator=(e=(d=this._defaultOptions)==null?void 0:d.hideSingleSelectionIndicator)!=null?e:!1;this.selectedOptions=
new Tw(this._multiple);this._onTouched=function(){};this._changeDetectorRef=Xc(Wg);this._selectionListDisabled=!1;this._handleFocusout=function(){setTimeout(function(){c._containsFocus()||c._resetActiveOption()})};this._handleFocusin=function(f){if(!c.disabled){var h=c._items.toArray().findIndex(function(k){return k._elementRef.nativeElement.contains(f.target)});h>-1?c._setActiveOption(h):c._resetActiveOption()}};this._isNonInteractive=!1};V(PP,MP);PP.\u0275dir=MP.\u0275dir;g=PP.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 Rmc(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(Df(this._destroyed)).subscribe(function(b){for(var c=l(b.added),d=c.next();!d.done;d=c.next())d.value.selected=!0;b=l(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()&&oh(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=rw(hXb(uw(new xw(this._items)))).skipPredicate(function(){return a.disabled});this._resetActiveOption();this._keyManager.change.subscribe(function(b){return a._setActiveOption(b)});this._items.changes.pipe(Df(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)});vw(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=mh();return a&&this._element.nativeElement.contains(a)};
da.Object.defineProperties(PP.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=qh(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new Tw(this._multiple,this.selectedOptions.selected))}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=qh(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._selectionListDisabled},
set:function(a){if(this._selectionListDisabled=qh(a)){var b;(b=this._keyManager)==null||b.setActiveItem(-1)}}},options:{configurable:!0,enumerable:!0,get:function(){return this._items}}});PP.\u0275fac=function(a){return new (a||PP)(B(Rd),B(Me))};
PP.\u0275cmp=p({type:PP,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&sg(c,OP,5);if(a&2){var d;vg(d=wg())&&(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&&O("keydown",function(c){return b._handleKeydown(c)});a&2&&Nf("aria-multiselectable",b.multiple)},inputs:{color:"color",compareWith:"compareWith",multiple:"multiple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",
disabled:"disabled"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],standalone:!0,features:[Dg([Qmc,{provide:MP,useExisting:PP},{provide:Pmc,useExisting:PP}]),Lf,rd,Fg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),jg(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);border-radius:var(--mdc-list-list-item-container-shape)}.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)}.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)}.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)}.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;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}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);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);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);height:var(--mdc-list-list-item-leading-avatar-size);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);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.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)}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.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);font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.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);font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-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)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color);opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color);opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.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)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-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)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-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}.cdk-high-contrast-active 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}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-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);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape);--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape)}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color)}\n'],
encapsulation:2,changeDetection:0});var QP=function(a,b,c,d,e,f,h,k,q,t,w,y){Y.call(this);var D=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.currentUserBookmarksFridge=e;this.hotlistApi=f;this.snackBar=h;this.appEvents=k;this.errorHandler=q;this.userApi=t;this.windowHeight=w;this.permissionsFridge=y;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new rn("");this.debouncedQuery$=this.query$.pipe(pf(100),Bf(""));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 iy({name:new ky("",Zx),description:new ky("")});this.starredHotlists=new TG;this.isSavingStar=
new TG;this.userHotlists$=zE(this.currentUserBookmarksFridge);this.issueHotlists$=this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=z(function(G){var I=D.permissionsFridge.watchSet(G.map(function(N){return"hotlists/"+N.hotlistId}));return G.map(function(N,S){return Object.assign({},N,{permissions$:I.pipe(z(function(W){return W[S]}))})})});this.hotlists$=we([this.issueHotlists$,this.userHotlists$]).pipe(z(function(G){var I=l(G);G=I.next().value;
I=I.next().value;return[].concat(r(G),r(I))}),z(fsa(function(G){return G.hotlistId})),z(function(G){return G.filter(Gi)}),z(function(G){return G.sort(wNa)}),z(function(G){return G.sort(function(I,N){var S=D.selectedHotlistIds;I=S.has(I.hotlistId);N=S.has(N.hotlistId);return I&&N?0:I?-1:N?1:0})}),this.combineHotlistsWithPermissions,zf({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(z(function(G){return new Imc(G)}),zf({bufferSize:1,refCount:!0}));this.forceShowOverflow$=
new yf;this.matchedHotlists$=we([this.debouncedQuery$,this.hotlistQuerySearcher$,this.hotlists$]).pipe(z(function(G){var I=l(G);G=I.next().value;var N=I.next().value;I=I.next().value;return G.trim()!==""?N.search(G):I}),zf({bufferSize:1,refCount:!0}));this.visibleHotlists$=we([this.matchedHotlists$,Ge(this.matchedHotlists$.pipe(z(function(){return!1})),this.forceShowOverflow$)]).pipe(z(function(G){var I=l(G);G=I.next().value;I=I.next().value;return G.length>200&&!I?G.slice(0,200):G}),zf({bufferSize:1,
refCount:!0}));this.isOverflowMode$=we([this.matchedHotlists$,this.visibleHotlists$]).pipe(z(function(G){var I=l(G);G=I.next().value;I=I.next().value;return G.length!==I.length}));this.showLoadById$=this.query$.pipe(z(function(G){G=G.trim();return!D.allHotlistIds.has(Number(G))&&lra(G)}));this.showCreateNew$=we([this.query$,this.matchedHotlists$]).pipe(z(function(G){var I=l(G);G=I.next().value;I=I.next().value;return xNa(G,I)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(z(function(G){return Math.max(1,
Math.floor(G*.5/24))}),sf());this.compactNumberOfHotlistsToShow$.pipe(z(function(G){return G*24}));this.subscriptions.add(this.hotlists$.subscribe(function(G){D.hotlists=G;G=l(G);for(var I=G.next();!I.done;I=G.next())D.allHotlistIds.add(I.value.hotlistId)}))};V(QP,Y);QP.\u0275dir=Y.\u0275dir;QP.prototype.ngOnInit=function(){var a=this;Smc(this);this.query$.pipe(Df(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
QP.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=$qa(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=l(yNa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var Ap=function(a){a.dialogRef.close(a.usePreviousSelectedHotlists?a.previousSelectedHotlistIds:a.selectedHotlistIds)},lNa=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("name"))==null?void 0:b.value)?a:""},Tmc=function(a){var b;return(a=(b=a.hotlistUnderEdit.get("description"))==null?void 0:b.value)?a:""},kNa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=lNa(a),c=Tmc(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)})},Smc=function(a){se(yE(a.currentUserBookmarksFridge)).then(function(b){a.starredHotlists.clear();for(var c=l(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=l(b.bookmarkGroups);for(c=b.next();!c.done;c=b.next())for(c=l(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)})};
QP.prototype.toggleStar=function(a){var b=this,c,d,e;return ge(function(f){switch(f.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a};he(f,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),ie(f,b.userApi.removeUserBookmark(d),3);b.starredHotlists.add(a);return ie(f,b.userApi.addUserBookmark(d),3);case 3:je(f);b.isSavingStar.delete(a);ke(f,4);break;case 2:e=le(f);gD(b.errorHandler,e);f.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
Smc(b),me(f)}})};var oNa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);Ap(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};QP.prototype.trackByHotlistId=function(a,b){return b.hotlistId};QP.\u0275fac=function(a){return new (a||QP)(B(cH),B(iH),B(BP),B(rE),B(xE),B(jE),B(ZC),B(iD),B(eD),B(qE),B(FP),B(iG))};
QP.\u0275cmp=p({type:QP,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&O("keydown.meta.enter",function(){return Ap(b)})("keydown.shift.enter",function(){return Ap(b)})("keydown.control.enter",function(){return Ap(b)})},features:[Lf],decls:13,vars:4,consts:[["createNewHotlistBtn",""],["applyHotlistSelectionBtn",""],["updateHotlistSelectionPane",""],["createNewHotlistPane",""],["searchBox",""],["content",""],["tooltip","matTooltip"],[4,"ngIf","ngIfElse"],["mat-button","","mat-dialog-close",
"","tooltip","Dismiss modal","aria-label","Dismiss modal","role","button",3,"click"],[4,"ngTemplateOutlet"],["mat-flat-button","","color","primary","matTooltip","Create new hotlist","aria-label","Create",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","mat-dialog-close","matTooltip","disabled"],["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"],["class","load-from-id-btn",3,"click",4,"ngIf"],["class","create-new-hotlist-btn",3,"click",4,"ngIf"],[4,"ngIf"],[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"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"matTooltip"],["checkboxPosition","before",3,"focus","blur","selected","disabled","value"],[3,"starClicked",
"hotlist","isCompact","starredHotlists","isSavingStar"],[1,"margin-top","kids-x"],[1,"force-show-overflow-btn",3,"click"],["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=u();C(0,hNa,2,1,"ng-container",7);
F(1,"mat-dialog-actions")(2,"button",8);O("click",function(){v(c);b.dialogRef.close();return x()});Q(3," Cancel ");H();C(4,jNa,2,1,"ng-container",7);H();C(5,mNa,2,1,"ng-template",null,0,Mg)(7,nNa,2,5,"ng-template",null,1,Mg)(9,uNa,15,9,"ng-template",null,2,Mg)(11,vNa,14,1,"ng-template",null,3,Mg)}if(a&2){a=M(8);var d=M(10);E("ngIf",b.showCreateNewPane)("ngIfElse",d);A(4);E("ngIf",b.showCreateNewPane)("ngIfElse",a)}},dependencies:[sv,tv,xv,RC,kH,mH,oH,nH,kC,Ex,GP,PP,OP,my,Bh,dy,ey,vy,ry,sy,KI,TI,EP,
yv],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%]     .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 RP=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},Vmc=function(a,b){var c,d,e,f,h,k,q,t;return ge(function(w){switch(w.nextAddress){case 1:return ie(w,se(b),2);case 2:return c=w.yieldResult,(e=(d=c)==null?void 0:d.snapshot[0].hotlistId)&&c?ie(w,Umc(a,e),3):w.return();case 3:f=w.yieldResult;if(f==null)return w.return();h=f.added.map(String);k=f.removed.map(String);q=String(c.issueId);he(w,4,5);return ie(w,p8b(a.issueFridge,q,h,k),5);case 5:je(w);
a.eventsForIssueFridge.poke(q);ke(w,0);break;case 4:t=le(w),gD(a.errorHandler,t),w.jumpTo(5)}})},Umc=function(a,b){var c,d,e,f;return ge(function(h){if(h.nextAddress==1)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(QP,c),ie(h,se(dH(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());f=$qa(new Set(b),new Set(e));return h.return(Promise.resolve(f))})};RP.\u0275fac=function(a){return new (a||RP)(n(jH),n(EF),n(HE),n(eD))};
RP.\u0275prov=Fc({token:RP,factory:RP.\u0275fac,providedIn:"root"});var SP=function(a,b,c,d){this.triageService=a;this.issueFridge=b;this.editIssueService=c;this.hotlistPickerService=d;this.issueId$=this.triageService.currentIssueId$;this.issue$=this.issueId$.pipe(Cf(this.issueFridge.watch));this.cancelAction=new xF;this.completeAction=new xF;this.isSaving=!1;this.priorityChoices=j$b;this.severityChoices=m$b;var e;this.selectedPriority=(e=ho(this.issue$))==null?void 0:e.snapshot[0].priority;var f;this.selectedSeverity=(f=ho(this.issue$))==null?void 0:f.snapshot[0].severity;
var h,k;this.currentAssignee=(h=ho(this.issue$))==null?void 0:(k=h.snapshot[0].assigneeUser)==null?void 0:k.emailAddress};SP.prototype.openHotlistModal=function(){var a=this;return ge(function(b){return ie(b,Vmc(a.hotlistPickerService,a.issue$),0)})};SP.prototype.onHotlistRemoved=function(a,b){var c=this;return ge(function(d){var e=p8b(c.issueFridge,b,[],[String(a)]);return ie(d,e,0)})};
var DNa=function(a,b){var c;return ge(function(d){switch(d.nextAddress){case 1:a.isSaving=!0;if(!a.selectedPriority||a.selectedPriority===b.snapshot[0].priority){d.jumpTo(2);break}return ie(d,Ecb(a.editIssueService,b.issueId,a.selectedPriority),2);case 2:if(!a.selectedSeverity||a.selectedSeverity===b.snapshot[0].severity){d.jumpTo(4);break}return ie(d,fcb(a.editIssueService,b.issueId,a.selectedSeverity),4);case 4:if(a.currentAssignee===((c=b.snapshot[0].assigneeUser)==null?void 0:c.emailAddress)){d.jumpTo(6);
break}return a.currentAssignee===null||a.currentAssignee===void 0?d.return():ie(d,or(a.editIssueService,b.issueId,a.currentAssignee),6);case 6:a.isSaving=!1,a.completeAction.emit(b.issueId),me(d)}})};SP.\u0275fac=function(a){return new (a||SP)(B(UG),B(EF),B(EI),B(RP))};
SP.\u0275cmp=p({type:SP,selectors:[["verify-fields"]],outputs:{cancelAction:"cancelAction",completeAction:"completeAction"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"uppercase","muted","padded-top"],[1,"flex-kids-x","padded-s-top"],[1,"field-name"],["appearance","outline","subscriptSizing","dynamic",1,"severity-select"],[3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],["appearance","outline","subscriptSizing","dynamic",1,"priority-select"],[3,"issuePriority"],["class","flex-1 hotlist-container",
4,"ngIf"],[3,"valueChange","emailChange","issueId","name","title","value","user"],[1,"flex-kids-x","gap","margin-top"],["mat-flat-button","","matTooltip","This may cause a visible change to the issue fields",1,"gmat-button",3,"click","disabled"],["mat-button","",1,"gmat-button",3,"click"],[3,"value"],[1,"flex-1","hotlist-container"],["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","removeHotlist",4,"ngFor","ngForOf"],[3,"removeHotlist","id"]],template:function(a,b){a&1&&(C(0,ENa,35,13,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.issue$))},dependencies:[sv,tv,RC,kC,Ex,KI,TI,mM,Jy,nM,oM,xx,kM,rO,dy,ly,AP,qO,yv],styles:[".field-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;font-family:Google Sans Display,Roboto,Arial,sans-serif;font-weight:500;line-height:16px;width:90px;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.priority-select[_ngcontent-%COMP%], .severity-select[_ngcontent-%COMP%]{width:100px}[_nghost-%COMP%]     .priority-select .mat-mdc-form-field-flex .mat-mdc-form-field-infix, [_nghost-%COMP%]     .severity-select .mat-mdc-form-field-flex .mat-mdc-form-field-infix{min-height:auto;border-top-width:8px;padding:4px}[_nghost-%COMP%]     .bv2-editable-title-assignee label{margin-right:4px}.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-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}"]});var Wmc={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"}}},TP=Wmc;TP=Wmc;var Xmc={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 Ymc={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"},UP=Ymc;UP=Ymc;var VP=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_=UP.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)};
VP.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=Zmc(this,a,b);for(var c=b[0],d=-1,e=0,f=0,h=0,k=-1,q=a.length,t=!0;b[0]<q&&t;b[0]++)switch(a.charAt(b[0])){case "#":f>0?h++:e++;k>=0&&d<0&&k++;break;case "0":if(h>0)throw Error("Vd`"+a);f++;k>=0&&d<0&&k++;break;case ",":k>0&&this.groupingArray_.push(k);k=0;break;case ".":if(d>=0)throw Error("Wd`"+a);d=e+f+h;break;case "E":if(this.useExponentialNotation_)throw Error("Xd`"+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("Yd`"+a);t=!1;break;default:b[0]--,t=!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)||k==0)throw Error("Zd`"+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,k));this.decimalSeparatorAlwaysShown_=d==0||d==h;c=b[0]-c;this.positiveSuffix_=Zmc(this,a,b);b[0]<a.length&&a.charAt(b[0])==";"?(b[0]++,this.multiplier_!=1&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=Zmc(this,a,b),b[0]+=c,
this.negativeSuffix_=Zmc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
VP.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(UP.DECIMAL_PATTERN);break;case 2:this.applyPattern_(UP.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(UP.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=UP.CURRENCY_PATTERN;var c=["0"],d=Xmc[UP.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:$mc(this,1);break;case 6:$mc(this,2);break;default:throw Error("Pd");
}};var $mc=function(a,b){a.compactStyle_=b;a.applyPattern_(UP.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(a.minimumFractionDigits_>0)throw Error("Nd");a.significantDigits_=2};
VP.prototype.parse=function(a,b){b=b||[0];if(this.compactStyle_!==0)throw Error("Qd");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(UP.INFINITY,b[0])==b[0]){b[0]+=UP.INFINITY.length;var e=Infinity}else{e=
a;var f=!1,h=!1,k=!1,q=-1,t=1,w=UP.DECIMAL_SEP,y=UP.GROUP_SEP,D=UP.EXP_SYMBOL;if(this.compactStyle_!=0)throw Error("Rd");y=y.replace(/\u202f/g,"\u00a0");for(var G="";b[0]<e.length;b[0]++){var I=e.charAt(b[0]),N=anc(I);if(N>=0&&N<=9)G+=N,k=!0;else if(I==w.charAt(0)){if(f||h)break;G+=".";f=!0}else if(I==y.charAt(0)&&("\u00a0"!=y.charAt(0)||b[0]+1<e.length&&anc(e.charAt(b[0]+1))>=0)){if(f||h)break}else if(I==D.charAt(0)){if(h)break;G+="E";h=!0;q=b[0]}else if(I=="+"||I=="-"){if(k&&q!=b[0]-1)break;G+=
I}else if(this.multiplier_==1&&I==UP.PERCENT.charAt(0)){if(t!=1)break;t=100;if(k){b[0]++;break}}else if(this.multiplier_==1&&I==UP.PERMILL.charAt(0)){if(t!=1)break;t=1E3;if(k){b[0]++;break}}else break}this.multiplier_!=1&&(t=this.multiplier_);e=parseFloat(G)/t}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};
VP.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Sd");if(isNaN(a))return UP.NAN;var b=[];var c=a;if(this.compactStyle_==0)c=bnc;else{c=Math.abs(c);var d=cnc(this,c<=1?0:dnc(c)).divisorBase;c=cnc(this,d+dnc(enc(this,WP(c,-d)).intValue))}a=WP(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)fnc(this,e,this.minimumIntegerDigits_,b),gnc(this,0,b);else{var f=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=WP(e,-f);var h=this.minimumIntegerDigits_;this.maximumIntegerDigits_>1&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=f%this.maximumIntegerDigits_,h<0&&(h=this.maximumIntegerDigits_+h),e=WP(e,h),f-=h,h=1):this.minimumIntegerDigits_<1?(f++,e=WP(e,-1)):(f-=this.minimumIntegerDigits_-1,e=WP(e,this.minimumIntegerDigits_-
1));fnc(this,e,h,b);gnc(this,f,b)}}else fnc(this,a,this.minimumIntegerDigits_,b);else b.push(UP.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 enc=function(a,b){var c=WP(b,a.maximumFractionDigits_);a.significantDigits_>0&&(c=hnc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(WP(c,-a.maximumFractionDigits_)),a=Math.floor(c-WP(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},fnc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Sd");d||(d=[]);b=enc(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 k="",q=e;q>1E20;)k="0"+k,q=Math.round(WP(q,-1));k=q+k;var t=UP.DECIMAL_SEP;q=UP.ZERO_DIGIT.codePointAt(0);var w=k.length,y=0;if(e>0||c>0){for(e=w;e<c;e++)d.push(String.fromCodePoint(q));if(a.groupingArray_.length>=2)for(c=1;c<a.groupingArray_.length;c++)y+=a.groupingArray_[c];c=w-y;if(c>0){e=a.groupingArray_;y=w=0;for(var D,G=UP.GROUP_SEP,I=k.length,N=0;N<I;N++)if(d.push(String.fromCodePoint(q+Number(k.charAt(N)))),I-N>1)if(D=e[y],N<c){var S=c-N;(D===1||D>0&&
S%D===1)&&d.push(G)}else y<e.length&&(N===c?y+=1:D===N-c-w+1&&(d.push(G),w+=D,y+=1))}else{c=k;k=a.groupingArray_;e=UP.GROUP_SEP;D=c.length;G=[];for(w=k.length-1;w>=0&&D>0;w--){y=k[w];for(I=0;I<y&&D-I-1>=0;I++)G.push(String.fromCodePoint(q+Number(c.charAt(D-I-1))));D-=y;D>0&&G.push(e)}d.push.apply(d,G.reverse())}}else h||d.push(String.fromCodePoint(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(t);f=String(f);h=f.split("e+");h.length==2&&(f=String(hnc(parseFloat(h[0]),a.significantDigits_,1)),f=f.replace(".",
""),f+=XTb("0",parseInt(h[1],10)-f.length+1));a.maximumFractionDigits_+1>f.length&&(f="1"+XTb("0",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))))},gnc=function(a,b,c){c.push(UP.EXP_SYMBOL);b<0?(b=-b,c.push(UP.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(UP.PLUS_SIGN);b=""+b;for(var d=UP.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);a=d.codePointAt(0)-inc;for(d=0;d<b.length;d++)c.push(String.fromCodePoint(a+
b.codePointAt(d)))},anc=function(a){a=a.codePointAt(0);if(48<=a&&a<58)return a-48;var b=UP.ZERO_DIGIT.codePointAt(0);return b<=a&&a<b+10?a-b:-1},inc="0".codePointAt(0),Zmc=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+=UP.DEF_CURRENCY_CODE):(h=UP.DEF_CURRENCY_CODE,
d+=h in Xmc?Xmc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("Td");if(a.negativePercentSignExpected_&&a.multiplier_!=100)throw Error("Ud");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=UP.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&a.multiplier_!=1)throw Error("Td");if(a.negativePercentSignExpected_&&a.multiplier_!=1E3)throw Error("Ud");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=UP.PERMILL;break;default:d+=h}}return d},
bnc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},cnc=function(a,b){a=a.compactStyle_==1?TP.COMPACT_DECIMAL_SHORT_PATTERN:TP.COMPACT_DECIMAL_LONG_PATTERN;a==null&&(a=TP.COMPACT_DECIMAL_SHORT_PATTERN);if(b<3)return bnc;b=Math.min(14,b);var c=a[WP(1,b)];for(--b;!c&&b>=3;)c=a[WP(1,b)],b--;if(!c)return bnc;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]}:bnc:bnc},dnc=function(a){if(!isFinite(a))return a>0?a:0;for(var b=0;(a/=10)>=1;)b++;return b},WP=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))},jnc=function(a,b){return a&&isFinite(a)?WP(Math.round(WP(a,b)),-b):a},hnc=function(a,b,c){if(!a)return a;b=b-dnc(a)-1;return b<-c?jnc(a,-c):jnc(a,b)};var knc=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"},lnc=knc;lnc=knc;var mnc=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"},nnc=mnc;nnc=mnc;var rnc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=UP;var b=TP;if(onc!==a||pnc!==b)onc=a,pnc=b,qnc=new VP(1);this.numberFormatter_=qnc},onc=null,pnc=null,qnc=null,snc=RegExp("'([{}#].*?)'","g"),tnc=RegExp("''","g");rnc.prototype.format=function(a){return this.format_(a,!1)};
rnc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=unc(this,this.pattern_);this.parsedPattern_=vnc(this,c);this.pattern_=null}if(!this.parsedPattern_||this.parsedPattern_.length==0)return"";this.literals_=Ta(this.initialLiterals_);c=[];wnc(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 wnc=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,k=a,q=e,t=c[h];t===void 0?q.push("Undefined parameter - "+h):(k.literals_.push(t),q.push(k.buildPlaceholder_(k.literals_)));break;case 2:h=b[f].value;k=a;q=c;t=d;var w=e,y=h.argumentIndex;q[y]===void 0?w.push("Undefined parameter - "+y):(y=h[q[y]],y===void 0&&(y=h.other),wnc(k,y,q,t,w));break;case 0:h=b[f].value;xnc(a,h,c,nnc,d,e);break;case 1:h=b[f].value,xnc(a,h,c,lnc,
d,e)}},xnc=function(a,b,c,d,e,f){var h=b.argumentIndex,k=b.argumentOffset,q=+c[h];isNaN(q)?f.push("Undefined or invalid parameter - "+h):(k=q-k,h=b[c[h]],h===void 0&&(d=d(Math.abs(k)),h=b[d],h===void 0&&(h=b.other)),b=[],wnc(a,h,c,e,b),c=b.join(""),e?f.push(c):(a=a.numberFormatter_.format(k),f.push(c.replace(/#/g,a))))},unc=function(a,b){var c=a.initialLiterals_,d=eu(a.buildPlaceholder_,a);b=b.replace(tnc,function(){c.push("'");return d(c)});return b=b.replace(snc,function(e,f){c.push(f);return d(c)})},
ync=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},znc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,Anc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,Bnc=/^\s*(\w+)\s*,\s*select\s*,/,vnc=function(a,b){var c=[];b=ync(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(znc.test(f)?0:Anc.test(f)?1:Bnc.test(f)?2:/^\s*\w+\s*/.test(f)?3:5){case 2:e.type=2;e.value=Cnc(a,b[d].value);break;case 0:e.type=0;e.value=Dnc(a,b[d].value);break;case 1:e.type=1;e.value=Enc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},Cnc=function(a,b){var c="";b=b.replace(Bnc,function(k,q){c=q;return""});var d={};d.argumentIndex=c;b=ync(b);for(var e=0;e<
b.length;){var f=b[e].value;e++;var h;1==b[e].type&&(h=vnc(a,b[e].value));d[f.replace(/\s/g,"")]=h;e++}return d},Dnc=function(a,b){var c="",d=0;b=b.replace(znc,function(q,t,w){c=t;w&&(d=parseInt(w,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=ync(b);for(var f=0;f<b.length;){var h=b[f].value;f++;var k;1==b[f].type&&(k=vnc(a,b[f].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=k;f++}return e},Enc=function(a,b){var c="";b=b.replace(Anc,function(k,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=ync(b);for(var e=0;e<b.length;){var f=b[e].value;e++;if(1==b[e].type)var h=vnc(a,b[e].value);d[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};rnc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var Gnc=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=k3b(b),f=k3b(c),h=k3b(d);a=b*(c+d)?" ":"";var k=c*d?" ":"";b=Fnc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=Fnc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,f);d=Fnc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+k+d},Fnc=function(a,b,c){return(new rnc(a)).format({COUNT:b,TEXT:c})};var XP=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new $D(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(z(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(z(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(Cf(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):pe(void 0)}))};
XP.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d===void 0&&(d=new zB(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};XP.prototype.formatUserCalendar=function(a){var b=this;return we([this.userCalendarFormat$,this.userTimeZone$]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
XP.prototype.formatUserTime=function(a){var b=this;return we([this.userTimeFormat$,this.userTimeZone$]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var Hnc=function(a,b){return we([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(z(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},Inc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(z(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):pe(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},Eob=function(a,b){var c=void 0;c=c===void 0?0:c;b=b===void 0?!1:b;var d=new hi;c&&d.setTime(c);c=new hi;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 qv("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new qv(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"};XP.\u0275fac=function(a){return new (a||XP)(n(PG),n(vH))};XP.\u0275prov=Fc({token:XP,factory:XP.\u0275fac,providedIn:"root"});var FNa=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]],GNa={year:"yr",month:"mo",week:"w",day:"d",hour:"h",minute:"m",second:"s"};var Jnc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],Knc=Symbol("$d"),Lnc=Symbol("$d"),YP=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new xf(1);this.timestampIso$=this.timestampMs$.pipe(z(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(z(function(c){if(c!==void 0)return new Date(c)}));this[Knc]=this.timestampDate$.pipe(Cf(function(c){if(c===void 0)return pe("");var d=c.getTime()/
1E3;switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return Hnc(b.dateFormatter,c);case "relativepast":return c=Bp(d),pe(c);case "relativepastshort":var e;return pe((e=Bp(d,!0))!=null?e:"");case "relativepasttiny":var f;return pe((f=Bp(d,!0,1))!=null?f:"");default:return Bc(b.mode)}}));this[Lnc]=this.timestampDate$.pipe(Cf(function(c){return c===void 0?pe(""):we(Jnc.map(function(d){return Inc(b.dateFormatter,
c,d.id).pipe(z(function(e){return{formatted:e,tzName:d.name}}))})).pipe(Mnc)}));this.vars$=we([this[Knc],this[Lnc]]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};YP.prototype.ngOnInit=function(){};
da.Object.defineProperties(YP.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())}}});YP.\u0275fac=function(a){return new (a||YP)(B(XP))};
YP.\u0275cmp=p({type:YP,selectors:[["b-formatted-date-time"]],inputs:{timestamp:"timestamp",date:"date",mode:"mode",paddingLeftPx:"paddingLeftPx"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"title"]],template:function(a,b){a&1&&(C(0,HNa,4,8,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.vars$))},dependencies:[tv,yv],encapsulation:2,changeDetection:0});
var Mnc=be(z(function(a){var b=new Map;a=l(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 aOa=function(a,b){return b.key},ZP=function(a,b,c,d,e,f){Y.call(this);this.issueFridge=a;this.eventsForIssueFridge=b;this.paramsService=c;this.issueExperimentalFieldsFridge=d;this.issuePermissionService=e;this.triageService=f;this.issueId$=this.triageService.currentIssueId$;this.PHASE_TO_ACTIONS=W1b;this.TriagePhase=P1b;this.TriageActionKey=U1b;this.FormattingMode=$z;this.displaySecondaryFooter=!1;this.refreshTable=new xF;this.teamId$=ZH(this.paramsService,"teamId").pipe(sf(),He(Gi));this.issue$=
this.issueId$.pipe(Cf(this.issueFridge.watch));this.issuePhase$=this.issue$.pipe(z(Zsa));this.events$=this.issueId$.pipe(Cf(this.eventsForIssueFridge.watch),z(function(h){return(h==null?void 0:h.events)||[]}));this.comments$=this.events$.pipe(z(function(h){return h.filter(Xi).slice(1).reverse()}));this.firstNote$=this.events$.pipe(z(function(h){if(h&&h.length>0&&h[0].commentNumber&&h[0].commentNumber>0)return{commentNumber:h[0].commentNumber,unlinkifiedComment:h[0].unlinkifiedComment||"",formattedComment:h[0].formattedComment}}),
zf({bufferSize:1,refCount:!0}));this.accessLevel$=this.issue$.pipe(z(function(h){var k;return h==null?void 0:(k=h.accessLimit)==null?void 0:k.accessLevel}));this.hasAclToEdit$=this.issuePermissionService.hasAclToEdit$};V(ZP,Y);ZP.\u0275dir=Y.\u0275dir;g=ZP.prototype;g.isNonemptyCommentEvent=function(a){return Xi(a)&&!!a.unlinkifiedComment};g.isDeleted=function(a){return a.commentDeletionStatus==="DELETED"};g.isRedacted=function(a){return a==null?void 0:a.commentRedacted};g.getEventAsNote=function(a){return a};
g.getUserEmailIfAvailable=function(a){return yi(a.userPerformingActionUser)};g.setNeedsInfo=function(a){var b=this;return ge(function(c){return c.nextAddress==1?ie(c,m7b(b.issueExperimentalFieldsFridge,a,{triage:{phase:"NEW",needsInfo:!0}}),2):c.return(c.yieldResult)})};
var Nnc=function(a,b){return ge(function(c){return c.nextAddress==1?ie(c,m7b(a.issueExperimentalFieldsFridge,b,{triage:{phase:"CONFIRMED",needsInfo:!1}}),2):c.return(c.yieldResult)})},Onc=function(a,b){return ge(function(c){return c.nextAddress==1?ie(c,m7b(a.issueExperimentalFieldsFridge,b,{triage:{phase:"NEW",needsInfo:!1}}),2):c.return(c.yieldResult)})},YNa=function(a,b,c){var d;return ge(function(e){if(e.nextAddress==1)return a.selectedTriageAction=b,b!=="UNCONFIRM"?(a.displaySecondaryFooter=!0,
e.jumpTo(2)):ie(e,Onc(a,c),3);e.nextAddress!=2&&(d=e.yieldResult);Pnc(a,d,c);me(e)})},dOa=function(a,b){var c;return ge(function(d){switch(d.nextAddress){case 1:switch(a.selectedTriageAction){case "SET_NEEDS_INFO":return d.jumpTo(2);case "SET_CONFIRMED":return d.jumpTo(3);case "UNCONFIRM":return d.jumpTo(4)}d.jumpTo(5);break;case 2:return ie(d,a.setNeedsInfo(b),6);case 6:c=d.yieldResult;d.jumpTo(5);break;case 3:return ie(d,Nnc(a,b),7);case 7:c=d.yieldResult;d.jumpTo(5);break;case 4:return ie(d,Onc(a,
b),8);case 8:c=d.yieldResult;d.jumpTo(5);break;case 5:a.displaySecondaryFooter=!1,Pnc(a,c,b),me(d)}})},Pnc=function(a,b,c){b&&(a.issueFridge.poke(c),a.refreshTable.emit())};ZP.prototype.cancelAction=function(){this.selectedTriageAction=void 0;this.displaySecondaryFooter=!1};
ZP.prototype.completeAction=function(a){var b=this,c;return ge(function(d){if(d.nextAddress==1)return a.triage?ie(d,m7b(b.issueExperimentalFieldsFridge,a.id,a),3):(b.issueFridge.poke(a.id),b.refreshTable.emit(),d.jumpTo(2));d.nextAddress!=2&&(c=d.yieldResult,Pnc(b,c,a.id));b.displaySecondaryFooter=!1;me(d)})};ZP.\u0275fac=function(a){return new (a||ZP)(B(EF),B(HE),B(YH),B(YE),B(kI),B(UG))};
ZP.\u0275cmp=p({type:ZP,selectors:[["issue-triage-sidebar"]],outputs:{refreshTable:"refreshTable"},features:[Lf],decls:2,vars:3,consts:[["showTriageActionButtons",""],["setNeedsInfo",""],["setConfirmed",""],["closeIssue",""],["class","container bg-secondary flex-kids-y",4,"ngIf"],[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"],["target","_blank",1,"heading-xs","muted","hover-link",
3,"href"],["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,"actions"],["mat-icon-button","","matTooltip","Close sidebar","aria-label","Close sidebar",1,"gmat-button",3,"click"],["svgIcon","close"],[4,"ngIf"],[1,"content","flex-kids-y"],[1,"title","margin-s"],[1,"heading-m"],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"b-chip","issue-type"],[1,"priority"],[3,"issuePriority"],
[3,"vertical"],["class","flex-1 hotlist-container",4,"ngIf"],["class","issue-details bg-main margin-s",4,"ngIf"],[1,"triage-actions","bg-main","carded","flex-kids-x","align-items-center","margin-s"],[4,"ngIf","ngIfElse"],[1,"flex-1","hotlist-container"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"issue-details","bg-main","margin-s"],["gmat-tabs",""],["label","Description"],[1,"padded-sides","padded-s-y","break-word"],[3,"label",4,"ngIf"],[3,"issueId","note","issueAccessLevel",
"formattingMode",4,"ngIf"],[3,"issueId","note","issueAccessLevel","formattingMode"],[3,"label"],["class","padded-sides padded-s-y break-word",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center","space-between"],[1,"commenter-avatar",3,"size","email","teamId"],[3,"user","email"],["mode","relativepast",3,"timestamp"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button",
3,"disabled"],["mat-button","",1,"gmat-button",3,"click","disabled"],[1,"flex-kids-y"],[1,"footer-heading"],[3,"cancelAction","completeAction"]],template:function(a,b){a&1&&(C(0,iOa,13,8,"div",4),T(1,"async"));a&2&&E("ngIf",U(1,1,b.issueId$))},dependencies:[sv,tv,xv,RC,kC,Ex,Hx,Gx,rO,TO,qO,HM,BM,CM,TL,MO,PO,YP,UI,SP,nO,yv,nI],styles:[".container[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden;position:absolute}.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}.content[_ngcontent-%COMP%]   .issue-details[_ngcontent-%COMP%]{border:1px solid;border-color:#dadce0;border-color:var(--divider);border-radius:4px;padding:8px 16px 16px 0}.footer-heading[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1rem;letter-spacing:.00625em;font-weight:500}"]});var $P=function(){};$P.\u0275fac=function(a){return new (a||$P)};$P.\u0275mod=cd({type:$P});$P.\u0275inj=Gc({imports:[jM,RD,jO,zy,kx,iJ,hM,qM,JM,RH,bM]});var aQ=function(){};aQ.\u0275fac=function(a){return new (a||aQ)};aQ.\u0275mod=cd({type:aQ});aQ.\u0275inj=Gc({imports:[RD]});var bQ=function(){};bQ.\u0275fac=function(a){return new (a||bQ)};bQ.\u0275mod=cd({type:bQ});bQ.\u0275inj=Gc({imports:[RD,VL,aQ,RH]});var cQ=function(){};cQ.\u0275fac=function(a){return new (a||cQ)};cQ.\u0275mod=cd({type:cQ});cQ.\u0275inj=Gc({imports:[RD]});var dQ=function(){};dQ.\u0275fac=function(a){return new (a||dQ)};dQ.\u0275mod=cd({type:dQ});dQ.\u0275inj=Gc({imports:[Gv,jw,kx,Gw,UL]});var eQ=function(){};eQ.\u0275fac=function(a){return new (a||eQ)};eQ.\u0275mod=cd({type:eQ});eQ.\u0275inj=Gc({imports:[Gv]});var fQ=function(){};fQ.\u0275fac=function(a){return new (a||fQ)};fQ.\u0275mod=cd({type:fQ});fQ.\u0275inj=Gc({imports:[Gv,zy,dQ,eQ]});var gQ=function(){};gQ.\u0275fac=function(a){return new (a||gQ)};gQ.\u0275mod=cd({type:gQ});gQ.\u0275inj=Gc({imports:[RD,RO,fQ]});var hQ=function(){};hQ.\u0275fac=function(a){return new (a||hQ)};hQ.\u0275mod=cd({type:hQ});hQ.\u0275inj=Gc({imports:[Gv]});var iQ=function(){};iQ.\u0275fac=function(a){return new (a||iQ)};iQ.\u0275mod=cd({type:iQ});iQ.\u0275inj=Gc({providers:[wmc],imports:[jw,Gv,kx,lx,lx,Ww]});var jQ=function(){};jQ.\u0275fac=function(a){return new (a||jQ)};jQ.\u0275mod=cd({type:jQ});jQ.\u0275inj=Gc({imports:[Gv,iQ]});var kQ=function(){};kQ.\u0275fac=function(a){return new (a||kQ)};kQ.\u0275mod=cd({type:kQ});kQ.\u0275inj=Gc({imports:[hQ,Gv,iQ,jQ]});var lQ=function(){};lQ.\u0275fac=function(a){return new (a||lQ)};lQ.\u0275mod=cd({type:lQ});lQ.\u0275inj=Gc({imports:[BO,RD,jO,gP,kQ,dJ,WL,AI,RO,gQ]});var Qnc=new VP(3);var Rnc=new ld("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Snc=["determinateSpinner"],Tnc=new ld("mat-progress-spinner-default-options",{providedIn:"root",factory:lOa}),mQ=function(a,b,c){this._elementRef=a;this._defaultColor="primary";this._value=0;this._diameter=100;this._noopAnimations=b==="NoopAnimations"&&!!c&&!c._forceAnimations;this.mode=a.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate";c&&(c.color&&(this.color=this._defaultColor=c.color),c.diameter&&(this.diameter=c.diameter),c.strokeWidth&&(this.strokeWidth=
c.strokeWidth))};g=mQ.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};
da.Object.defineProperties(mQ.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}}});mQ.\u0275fac=function(a){return new (a||mQ)(B(Rd),B(Pu,8),B(Tnc))};
mQ.\u0275cmp=p({type:mQ,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&rg(Snc,5);if(a&2){var c;vg(c=wg())&&(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&&(Nf("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",b.mode==="determinate"?b.value:null)("mode",b.mode),Xf("mat-"+b.color),Vf("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),Wf("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate",b.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ug],diameter:[2,"diameter","diameter",Ug],strokeWidth:[2,"strokeWidth","strokeWidth",Ug]},exportAs:["matProgressSpinner"],standalone:!0,features:[Mf,Fg],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&&(C(0,kOa,2,8,"ng-template",null,0,Mg),F(2,"div",2,1),Fd(),F(4,"svg",3),J(5,"circle",4),H()(),zd.currentNamespace=null,F(6,"div",5)(7,"div",6)(8,"div",7),dg(9,8),H(),F(10,"div",9),dg(11,8),H(),F(12,"div",10),dg(13,8),H()()());a&2&&(a=M(1),A(4),Nf("viewBox",b._viewBox()),A(),Vf("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",
b._strokeDashOffset(),"px")("stroke-width",b._circleStrokeWidth(),"%"),Nf("r",b._circleRadius()),A(4),E("ngTemplateOutlet",a),A(2),E("ngTemplateOutlet",a),A(2),E("ngTemplateOutlet",a))},dependencies:[xv],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)}.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}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .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)}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .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 nQ=function(){};nQ.\u0275fac=function(a){return new (a||nQ)};nQ.\u0275mod=cd({type:nQ});nQ.\u0275inj=Gc({imports:[Gv,lx]});var oQ=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new yf;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");jOa(b._elementRef.nativeElement).pipe(Df(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};oQ.prototype.ngOnInit=function(){this.initializeLabelSpan()};
oQ.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};oQ.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())};
oQ.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+Qnc.format(Number(b)/100);this.labelElement.textContent=a};oQ.\u0275fac=function(a){return new (a||oQ)(B(Rnc),B(mQ,10))};oQ.\u0275dir=ed({type:oQ,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(Nf("tabindex",null),Wf("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var pQ=function(){this.ariaLabel="loading"};pQ.\u0275fac=function(a){return new (a||pQ)};
pQ.\u0275cmp=p({type:pQ,selectors:[["b-spinner"]],inputs:{large:"large",ariaLabel:"ariaLabel"},decls:2,vars:2,consts:[["class","large",3,"diameter",4,"ngIf"],["class","small",3,"diameter","strokeWidth",4,"ngIf"],[1,"large",3,"diameter"],[1,"small",3,"diameter","strokeWidth"]],template:function(a,b){a&1&&C(0,mOa,1,2,"mat-spinner",0)(1,nOa,1,3,"mat-spinner",1);a&2&&(E("ngIf",b.large),A(),E("ngIf",!b.large))},dependencies:[tv,oQ,mQ],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 qQ=function(){};qQ.\u0275fac=function(a){return new (a||qQ)};qQ.\u0275mod=cd({type:qQ});qQ.\u0275inj=Gc({imports:[nQ]});var rQ=function(){};rQ.\u0275fac=function(a){return new (a||rQ)};rQ.\u0275mod=cd({type:rQ});rQ.\u0275inj=Gc({imports:[RD,qQ]});var sQ=function(){};sQ.\u0275fac=function(a){return new (a||sQ)};sQ.\u0275mod=cd({type:sQ});sQ.\u0275inj=Gc({imports:[lx,Gv,yx,RI,lx]});var tQ=function(){};tQ.\u0275fac=function(a){return new (a||tQ)};tQ.\u0275mod=cd({type:tQ});tQ.\u0275inj=Gc({imports:[RD,rQ,sQ,aM,RH,$P,bM,qM,cQ,zy,lQ,bQ]});var uQ=function(){};uQ.\u0275fac=function(a){return new (a||uQ)};uQ.\u0275mod=cd({type:uQ});uQ.\u0275inj=Gc({imports:[RD]});var vQ=function(){};vQ.\u0275fac=function(a){return new (a||vQ)};vQ.\u0275mod=cd({type:vQ});vQ.\u0275inj=Gc({imports:[RD,RH,AI,cQ,cP,bQ,JM,KM,RO,uQ,tQ]});var uOa=function(a){return{q:a}},wOa=Date.now(),wQ=function(a){var b=this;this.issueFridge=a;this.ROUTES=wp;this.phaseToUrlSlug=mYa;this.FETCH_SIZE=500;this.teamId$=new xf(1);this.phase$=new rn("NEW");this.heading$=this.phase$.pipe(z(function(c){return c2b.get(c)}));this.searchFilter$=we([this.teamId$,this.phase$]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;return"teamid:"+c+"+ "+d2b[d]}));this.issues$=this.searchFilter$.pipe(Cf(function(c){return b.issueFridge.watchMany({filter:c,
pageSize:500})}),z(function(c){return c.results}));this.daysOld$=this.issues$.pipe(z(function(c){return c.map(function(d){var e,f;return(f=(e=d.aggregatedData)==null?void 0:e.modifiedTimeMicros)!=null?f:0})}),z(function(c){return c.map(xOa)}));this.avgAge$=this.daysOld$.pipe(z(ssa),z(function(c){return Math.round(c*10)/10}));this.countsByDaysOld$=this.daysOld$.pipe(z(function(c){var d=c.map(function(f){return Math.floor(f)});c=[];d=l(d);for(var e=d.next();!e.done;e=d.next())e=e.value,c[e]=~~c[e]+
1;return Array.from(c,function(f){return f!=null?f:0}).reverse()}));this.ratioDaysOld$=this.countsByDaysOld$.pipe(z(function(c){var d=Math.max.apply(Math,r(c));return c.map(function(e){return e/d})}))};da.Object.defineProperties(wQ.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)}}});wQ.\u0275fac=function(a){return new (a||wQ)(B(EF))};
wQ.\u0275cmp=p({type:wQ,selectors:[["phase-card-contents"]],inputs:{teamId:"teamId",phase:"phase"},decls:21,vars:15,consts:[[1,"heading-s"],[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,"subtle-link","type-s","muted",3,"href","title"],[1,"subtle-link",3,"href"],[3,"title","style"],[3,"title"]],template:function(a,b){a&1&&(C(0,oOa,4,4,"p",0),T(1,"async"),F(2,"div",1)(3,"div",2)(4,
"p",3),Q(5,"Total Issues"),H(),F(6,"p",4),C(7,pOa,1,2),T(8,"async"),C(9,qOa,1,0),H()(),F(10,"div",5)(11,"p",3),Q(12,"Avg Last Modified"),H(),F(13,"p",4),Q(14),T(15,"async"),H()()(),F(16,"div",6),C(17,tOa,2,3),T(18,"async"),H(),C(19,vOa,2,4,"a",7),T(20,"async"));if(a&2){var c,d,e,f;$f((c=U(1,5,b.teamId$))?0:-1,c);A(7);$f((d=U(8,7,b.issues$))?7:9,d);A(7);R(" ",U(15,9,b.avgAge$)," days ");A(3);$f((e=U(18,11,b.countsByDaysOld$))?17:-1,e);A(2);$f((f=U(20,13,b.searchFilter$))?19:-1,f)}},dependencies:[yv],
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 Unc=/^\s*hotlistid:(\d+)\s*$/i,Vnc=/(?:\s|^)componentid:(\d+)\s*/i,Wnc=/^\s*savedsearchid:(\d+)\s*$/i,xQ=function(a,b,c,d){Y.call(this);var e=this;this.$log=a;this.activeSession=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new rn({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=Be(function(){var f;return pe((f=e.activeSession.getTracker())==null?void 0:f.trackerId)}).pipe(z(function(f){return f?
[f]:[]}));this.selectedTrackerIds$=new yf;this.trackerScope$=Ge(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new yf;this.subscriptions.add(this.queryState$.pipe(Df(this.destroyed$)).subscribe(function(f){e.currentQuery=f.query;(f=e.currentQuery.match(Vnc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(f[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(f=e.currentQuery.match(Unc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(f[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(Df(this.destroyed$)).subscribe(function(f){e.currentTrackerScope=f}))};V(xQ,Y);xQ.\u0275dir=Y.\u0275dir;xQ.prototype.clear=function(){yQ(this,"")};var yQ=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},Xnc=function(a){return"assignee:"+a+" status:open"},Ync=function(a,b){return a.currentQuery===Xnc("me")||a.currentQuery===Xnc(b===void 0?"":b)};
xQ.prototype.isStarred=function(){return this.currentQuery==="star:true"};var Znc=function(a){return"verifier:"+a+" status:open | status:fixed"},$nc=function(a){return(a=a.currentQuery.match(Unc))?Number(a[1]):0},aoc=function(a){return(a=a.currentQuery.match(Wnc))?Number(a[1]):0},boc=function(a){return(a=a.currentQuery.match(Vnc))?Number(a[1]):0};xQ.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var coc=function(a,b){a.searchHandlerStack.push(b);return function(){Qa(a.searchHandlerStack,b)}};xQ.\u0275fac=function(a){return new (a||xQ)(n(dD),n(as),n(hI),n(CF))};xQ.\u0275prov=Fc({token:xQ,factory:xQ.\u0275fac,providedIn:"root"});var zQ=function(a,b,c){this.activatedRoute=a;this.appSearchState=b;this.teamFridge=c;this.ROUTES=wp;this.TriagePhase=P1b;this.id$=this.activatedRoute.params.pipe(z(function(d){return d.teamId}));this.team$=this.id$.pipe(Cf(this.teamFridge.watchOne));this.query$=this.id$.pipe(z(function(d){return"teamid:"+d+"+"}))};zQ.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};zQ.\u0275fac=function(a){return new (a||zQ)(B(qn),B(xQ),B(JG))};
zQ.\u0275cmp=p({type:zQ,selectors:[["triage-dashboard"]],decls:13,vars:7,consts:[[1,"pos-fill","overflow","overflow-on-print-media"],[1,"border-bottom","padded-sides"],[1,"left","flex-kids-x","align-items-center"],["svgIcon","story-point-24px",1,"screen-logo-icon"],[3,"title"],[1,"muted"],["mat-icon-button","","aria-label","Edit Team",1,"muted",3,"href"],["svgIcon","edit",1,"icon-s"],[1,"main-content","padded","grid"],[1,"carded","bg-off-main",3,"phase","teamId"]],template:function(a,b){a&1&&(F(0,
"div",0)(1,"header",1)(2,"div",2),J(3,"mat-icon",3),F(4,"h2"),Q(5," Triage: "),C(6,BOa,2,2,"span",4),T(7,"async"),C(8,COa,3,3,"code",5),H(),F(9,"a",6),J(10,"mat-icon",7),H()()(),C(11,DOa,6,10,"div",8),T(12,"async"),H());if(a&2){var c,d;A(6);$f((c=U(7,3,b.team$))?6:8,c);A(3);E("href",b.ROUTES.overviewTriage.makeHref(),cf);A(2);$f((d=U(12,5,b.id$))?11:-1,d)}},dependencies:[RC,kC,Hx,wQ,yv],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 AQ=function(a){Y.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new xf(1);this.changelist$=this.providedChangelistId$.pipe(Cf(function(c){return b.changelistApi.getChangelistDetails(c)}),zf({refCount:!0,bufferSize:1}));this.init=new xf(1)};V(AQ,Y);AQ.\u0275dir=Y.\u0275dir;AQ.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(qf(),Df(this.destroyed$)).subscribe(function(){a.init.next()})};AQ.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};
AQ.\u0275fac=function(a){return new (a||AQ)(B(OA))};
AQ.\u0275cmp=p({type:AQ,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[Lf,rd],decls:4,vars:3,consts:[["role","dialog","aria-label","Changelist hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[1,"card"],[3,"href"],["class","author",4,"ngIf"],[1,"description"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[1,"author"],[3,"email","hovercardEnabled"],["mode","datetime",1,"float-right",3,"timestamp"]],template:function(a,b){a&
1&&(F(0,"div",0)(1,"div",1),C(2,OOa,16,6,"ng-container",2),T(3,"async"),H()());a&2&&(A(2),E("ngIf",U(3,1,b.changelist$)))},dependencies:[sv,tv,JO,YP,yv],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 doc=function(){this.id=0};doc.\u0275fac=function(a){return new (a||doc)};
doc.\u0275cmp=p({type:doc,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&&(F(0,"a",2),Q(1),H(),F(2,"onedev-hovercard",null,0),C(4,POa,2,2,"b-changelist-card",3),H());a&2&&(a=M(3),E("href","http://critique.corp.google.com/"+
b.id,cf)("onedevHovercardTrigger",a),A(),R(" cl/",b.id,"\n"))},dependencies:[xJ,yJ,DJ,zJ,AQ],encapsulation:2});var BQ=function(){};BQ.\u0275fac=function(a){return new (a||BQ)};BQ.\u0275mod=cd({type:BQ});BQ.\u0275inj=Gc({imports:[RD,RO,VL,uQ]});var eoc="comment priority status assignee self-assign self-unassign unassign".split(" "),foc=["create"],CQ=function(a,b){this.paths=a;this.issueFridge=b;this.toIssuePriority=ri;this.getResponsibleEmailAddress=IOa;this.getChangelistNumber=EOa;this.getLink=FOa;this.getPreviousDiffValue=JOa;this.getNewDiffValue=HOa;this.shorthandAllDiffs=GOa;this.getClMetadata=Dp;this.isCritiqueComment=dj;this.isGerritComment=ej;this.STATUS_CODE_FROM_DISPLAY_STRING=i2b;this.type="default"};
CQ.prototype.ngOnInit=function(){this.type=KOa(this.event)};CQ.\u0275fac=function(a){return new (a||CQ)(B(BP),B(EF))};
CQ.\u0275cmp=p({type:CQ,selectors:[["recent-event-row"]],inputs:{event:"event"},decls:16,vars:16,consts:[[3,"ldapOnly","email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[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&&(J(0,
"b-user-email",0),K(1,1),C(2,QOa,5,4,"ng-container",2)(3,UOa,6,4,"ng-container",2)(4,VOa,5,4,"ng-container",2)(5,WOa,7,5,"ng-container",2)(6,YOa,5,5,"ng-container",2)(7,$Oa,6,5,"ng-container",2)(8,aPa,7,6,"ng-container",2)(9,bPa,5,4,"ng-container",2)(10,cPa,5,4,"ng-container",2)(11,dPa,7,6,"ng-container",2)(12,ePa,6,4,"ng-container",2)(13,fPa,6,5,"ng-container",3),L(),C(14,hPa,2,1,"ng-container",4)(15,jPa,2,1,"ng-container",4));a&2&&(E("ldapOnly",!0)("email",b.getResponsibleEmailAddress(b.event)),
A(),E("ngSwitch",b.type),A(),E("ngSwitchCase","create"),A(),E("ngSwitchCase","changelist"),A(),E("ngSwitchCase","comment"),A(),E("ngSwitchCase","priority"),A(),E("ngSwitchCase","status"),A(),E("ngSwitchCase","statusUpdate"),A(),E("ngSwitchCase","assignee"),A(),E("ngSwitchCase","self-assign"),A(),E("ngSwitchCase","self-unassign"),A(),E("ngSwitchCase","unassign"),A(),E("ngSwitchCase","component"),A(2),E("ngIf",eoc.includes(b.type)),A(),E("ngIf",foc.includes(b.type)))},dependencies:[tv,uv,vv,wv,NO,YP,
FJ,rO,doc],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 DQ=function(a){Y.call(this);this.recentEventsForIssuesFridge=a;this.quickFilter=new ky("");this.printStats=xPa;this.defaultNumEvents=6;this.numDisplayed$=new rn(this.defaultNumEvents);this.query$=new xf(1);this.renderDelay$=pe(!0).pipe(rf(1E3));this.allEvents$=this.query$.pipe(He(Gi),Df(this.destroyed$),z(function(b){return[b,100].join("___")}),Cf(this.recentEventsForIssuesFridge.watchOne),z(function(b){var c;return(c=b==null?void 0:b.events)!=null?c:[]}));this.events$=we([this.allEvents$,this.quickFilter.valueChanges.pipe(Bf(""))]).pipe(z(function(b){var c=
l(b);b=c.next().value;b=b===void 0?[]:b;c=c.next().value;return b.filter(wPa(c))}));this.bucketedEvents$=we([this.events$,this.numDisplayed$]).pipe(z(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b.slice(0,c)}),z(yPa));this.allBucketedEvents$=this.events$.pipe(z(yPa));this.bucketedEventStats$=this.allBucketedEvents$.pipe(z(function(b){return{"<24h":zPa("<24h",b),"24h-7d":zPa("24h-7d",b),"7d-30d":zPa("7d-30d",b),">30d":zPa(">30d",b)}}))};V(DQ,Y);DQ.\u0275dir=Y.\u0275dir;
da.Object.defineProperties(DQ.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)}}});DQ.\u0275fac=function(a){return new (a||DQ)(B(nG))};
DQ.\u0275cmp=p({type:DQ,selectors:[["recent-events"]],inputs:{numEvents:"numEvents",query:"query"},features:[Lf],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",4,"ngFor","ngForOf"],[3,"event"],[1,"muted","bold","margin-s-bottom","margin-top"],[1,"link-button","margin-s-top",
3,"click"]],template:function(a,b){a&1&&(C(0,vPa,5,4),T(1,"async"));a&2&&$f(U(1,1,b.renderDelay$)?0:-1)},dependencies:[Bh,dy,qy,sv,CQ,yv],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 EQ=function(){};EQ.\u0275fac=function(a){return new (a||EQ)};EQ.\u0275mod=cd({type:EQ});EQ.\u0275inj=Gc({imports:[Ay,zy,RD,RO,uQ,KM,cQ,BQ]});var goc=Gh({opacity:"0"}),hoc=He(function(a){return a}),ioc=be(sf(),hoc,vf()),joc=new ld("xap-bubble UX style"),FQ=function(a){var b=this;this.activity=new yf;this.openedSubject=new rn(!1);this.destroy=new xf;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new bv;this.onOpened=new bv;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Rja(function(){return b.activity.pipe(pf(b.hoverDelayMs))}));a=Df(this.destroy);this.opened.pipe(ioc,
a).subscribe(this.onOpened);this.openedSubject.pipe(hoc,oka(function(){return b.opened.pipe(He(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};FQ.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};FQ.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};FQ.\u0275fac=function(a){return new (a||FQ)(B(joc,8))};
FQ.\u0275cmp=p({type:FQ,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=u();ig();F(0,"span",1,0);O("mouseenter",function(){v(c);return x(b.toggle(!0))})("mouseleave",function(){v(c);return x(b.toggle(!1))})("mousemove",function(){v(c);b.activity.next();return x()});jg(2);H();C(3,BPa,2,3,"ng-template",2);T(4,"async")}a&
2&&(a=M(1),E("ngClass",b.bubbleStyle),A(3),E("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",U(4,5,b.opened)))},dependencies:[rv,xv,jx,ix,yv],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:[Eh("fade",[Jh(":enter",[goc,Fh("225ms")]),Jh(":leave",[Fh("195ms",goc)])])]}});var GQ=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.chipText=this.bubbleText=this.chipClass=""};
GQ.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=""}};GQ.\u0275fac=function(a){return new (a||GQ)(B(as),B(bH))};
GQ.\u0275cmp=p({type:GQ,selectors:[["b-component-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[rd],decls:1,vars:1,consts:[["withBubble",""],["popup",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"chippy","rounded",3,"ngClass"],[3,"panelTemplate"],[1,"chippy","rounded","nowrap",3,"ngClass"],[1,"bubble"],["target","_blank",3,"href"]],template:function(a,b){a&1&&C(0,FPa,4,2,"ng-container",2);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
b.accessLevel==="EXTERNAL_PARTNER"||b.accessLevel==="EXTERNAL_PUBLIC":aB(b.activeSession)?b.accessLevel==="EXTERNAL_PUBLIC":!1;E("ngIf",a)}},dependencies:[rv,tv,FQ],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 koc={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"},HQ=function(){};HQ.prototype.transform=function(a){return koc[a]};HQ.\u0275fac=function(a){return new (a||HQ)};HQ.\u0275pipe=fd({name:"toCustomFieldTypeDisplayValue",type:HQ,pure:!0});var IQ=function(){};IQ.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+"@"};IQ.\u0275fac=function(a){return new (a||IQ)};IQ.\u0275pipe=fd({name:"shortenEmail",type:IQ,pure:!0});var JQ=function(){};JQ.\u0275fac=function(a){return new (a||JQ)};JQ.\u0275mod=cd({type:JQ});JQ.\u0275inj=Gc({imports:[RD]});var KQ=function(){};KQ.\u0275fac=function(a){return new (a||KQ)};KQ.\u0275mod=cd({type:KQ});KQ.\u0275inj=Gc({imports:[Gv,kx]});var LQ=function(){};LQ.\u0275fac=function(a){return new (a||LQ)};LQ.\u0275mod=cd({type:LQ});LQ.\u0275inj=Gc({imports:[RD,JQ,KQ]});var MQ=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new xF};MQ.prototype.ngOnInit=function(){};
MQ.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)}))};MQ.\u0275fac=function(a){return new (a||MQ)(B(as),B(jC),B(CF),B(eD))};MQ.\u0275cmp=p({type:MQ,selectors:[["b-cc-button"]],inputs:{issueId:"issueId",ccState:"ccState"},outputs:{onCc:"onCc"},decls:3,vars:1,consts:[["mat-button","",1,"medium",3,"click"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"button",0),O("click",function(){return b.toggle()}),C(1,GPa,2,0,"ng-container",1),Q(2,"CC me\n"),H());a&2&&(A(),E("ngIf",b.ccState))},dependencies:[tv,kC,Ex],encapsulation:2});var loc=["multiUserInput"],NQ=function(a,b,c,d,e,f){Y.call(this);var h=this;this.element=a;this.principalTypes=b;this.activeSession=c;this.documentationLinks=d;this.appEvents=e;this.usersChange=new xF(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new xF;this.typedText="";this.items=[];this.chipifyFn=function(){moc(h)};this.additionalContactsFn=function(){return noc(h)};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(){h.typedText=""}));this.subscriptions.add(aJ(f,{title:"Manage Component Page",hotkeys:[{keys:[],displayAs:"Right Arrow (>)",description:"Move the Cursor to Input Field",onPress:function(){}}]}))};V(NQ,Y);NQ.\u0275dir=Y.\u0275dir;
NQ.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return ooc(c)},validateInternalAccessLevel:function(b,c){return poc(a,c)},validateExternalAccessLevel:function(b,c){return qoc(a,c)}},this.customValidators)};NQ.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=roc(this,this.users),OQ(this)};
var OQ=function(a){var b=[].concat(r(a.items)),c=soc(b),d=toc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&ci(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
NQ.prototype.validate=function(a,b,c){for(var d=new Set,e=l(Object.entries(this.validators)),f=e.next();!f.done;f=e.next()){var h=l(f.value);f=h.next().value;h=h.next().value;h(a,c)||d.add(f)}a=l(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=l(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return this.violations.size===0};
var JPa=function(a){!a.isWidgetDisabled()&&uoc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},HPa=function(a){Fp(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};NQ.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var uoc=function(a){var b,c;return a.maxUserAllowed<0||((c=(b=a.users)==null?void 0:b.length)!=null?c:0)<a.maxUserAllowed};
NQ.prototype.removeItem=function(a){this.isWidgetDisabled()||!Fp(this,a)||this.items[a].isReadonly||(HPa(this),this.items.splice(a,1),OQ(this))};NQ.prototype.setAccessLevel=function(a){this.accessLevel=a};
var noc=function(a){return voc(a).map(function(b){return{text:tra(b),id:Xo({alias:b})}})},voc=function(a){if(!a.includeAliases||bB(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},moc=function(a){setTimeout(function(){a.typedText&&Ga(a.typedText,",")&&KPa(a,a.typedText.split(",")[0].trim())})},KPa=function(a,b){b&&(b=hgc.test(b)?woc(a,b):xoc(a,b),a.items.push(b));
a.typedText="";OQ(a)},Fp=function(a,b){return b>=0&&b<a.items.length},woc=function(a,b){var c=c===void 0?!1:c;var d=Zo(b);if(d.alias===void 0)throw Error("od`"+b);b=d.alias;d=tra(b);return new PQ("ALIAS",b,d,null,c,a)},yoc=function(a,b){b=xo(b);var c=new PQ("GROUP",b,b,null,!1,a);kG(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;OQ(a)});return c},zoc=function(a,b){var c=c===void 0?!1:c;b=xo(b);var d=new PQ("USER",b,b,null,c,a);kG(a.principalTypes,b,!0).then(function(e){d.detailedUserType=
e.detailedUserType;OQ(a)});return d},xoc=function(a,b){var c=c===void 0?!1:c;b=xo(b);var d=new PQ("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);kG(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;OQ(a)});return d},Aoc=function(a,b,c){return new PQ("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};NQ.prototype.getAccessLevel=function(){return this.accessLevel};NQ.prototype.getAppName=function(){return this.activeSession.getAppName()};
NQ.prototype.onKeyDown=function(a){a.keyCode===8?Fp(this,this.selectedChipIndex)?(Fp(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?Fp(this,this.selectedChipIndex)&&Fp(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):a.keyCode===39&&JPa(this)};
var roc=function(a,b){b=(b||[]).map(function(d){return Boc(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 Aoc(a,d.displayText,d.values.map(function(e){return Boc(a,e)}))});return[].concat(r(c),r(b))}return b},Boc=function(a,b){var c=b.split(":");if(c.length!==2)throw Error("ae`"+b);var d=c[0];if(d!=="USER"&&d!=="GROUP"&&d!=="ALIAS")throw Error("ae`"+b);return d==="ALIAS"?woc(a,b):d===
"USER"?zoc(a,c[1]):yoc(a,c[1])},soc=function(a){return(a||[]).filter(function(b){return b.principalType!=="PRINCIPAL_TYPE_UNSPECIFIED"}).map(function(b){return b.principalType+":"+b.value})},toc=function(a){return(a||[]).filter(function(b){return b.detailedUserType!=="NO_DETAILED_TYPE"}).map(function(b){return b.detailedUserType+":"+b.value})},ooc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},poc=function(a,b){return a.accessLevel!=="INTERNAL"?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
qoc=function(a,b){return a.accessLevel!=="EXTERNAL_PARTNER"?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};NQ.\u0275fac=function(a){return new (a||NQ)(B(Rd),B(jG),B(as),B(bH),B(iD),B($I))};
NQ.\u0275cmp=p({type:NQ,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&rg(loc,5);if(a&2){var c;vg(c=wg())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&O("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"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[Lf,rd],decls:13,vars:12,consts:[["multiUserInput",""],["tabindex","0","role","listbox","aria-describedby","input-description",1,"bv2-multi-user-input","keep-focus-ring",3,"click"],["id","input-description","hidden","",1,"screen-reader-only"],["class","bv2-user-chip","role","listitem",4,"ngFor","ngForOf"],["class","bv2-multi-user-embedded-input","b-adaptive-width-input","","tabindex","0",3,"bContactAutocomplete",
"additionalContactsCallback","ngModel","disabled","autocompleteActive","ngModelChange","focus","blur",4,"ngIf"],["role","alert",1,"bv2-multi-user-errors"],[4,"ngIf"],["role","listitem",1,"bv2-user-chip"],[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,"autocompleteActive","ngModelChange","focus",
"blur","bContactAutocomplete","additionalContactsCallback","ngModel","disabled"],["target","_blank"]],template:function(a,b){a&1&&(F(0,"div",1),O("click",function(){return JPa(b)}),F(1,"div",2),Q(2," Press tab to navigate through users and right arrow to go to input section "),H(),F(3,"div"),C(4,IPa,2,9,"div",3)(5,LPa,2,4,"input",4),H()(),F(6,"div",5),C(7,MPa,4,1,"span",6)(8,NPa,2,0,"span",6)(9,OPa,2,0,"span",6)(10,PPa,2,0,"span",6)(11,QPa,2,0,"span",6)(12,RPa,2,0,"span",6),H());a&2&&(Wf("focused",
b.isFocused),Nf("aria-label",b.idForInputBox),A(4),E("ngForOf",b.items),A(),E("ngIf",uoc(b)),A(),Nf("aria-hidden",b.violations.size===0),A(),E("ngIf",b.violations.has("noRestrictedPlusGroups")),A(),E("ngIf",b.violations.has("validateGaia")),A(),E("ngIf",b.violations.has("validateInternalAccessLevel")),A(),E("ngIf",b.violations.has("validateExternalAccessLevel")),A(),E("ngIf",b.violations.has("sloLeadNotUser")),A(),E("ngIf",b.violations.has("sloLeadNotGoogler")))},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:auto;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 PQ=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=PQ.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("be`"+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 QQ={type:"no_indicator",displayText:""},Coc={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."},VPa={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."},Doc={type:"visible_to_partners",
displayText:"Visible to partners",displayTextCompact:"Partners",explanation:"This issue is visible to partner users."},SPa={type:"visible_to_public",displayText:"Visible to public",displayTextCompact:"Public",explanation:"This issue is visible to the public."},RQ=function(a,b,c){this.issueFridge=a;this.componentAccessPolicyFridge=b;this.activeSession=c},Goc=function(a,b,c){var d=a.issueFridge.watch(b);b=Be(function(){return c?pe(c):d.pipe(z(function(e){return e==null?void 0:e.snapshot[0].componentId}))}).pipe(Cf(function(e){return a.componentAccessPolicyFridge.watch(e)}));
return we([d,b]).pipe(z(function(e){var f=l(e);e=f.next().value;f=f.next().value;var h,k;var q=(k=e==null?void 0:e.snapshot[0].issueAccessLimitLevel)!=null?k:void 0;k=e==null?void 0:(h=e.accessLimit)==null?void 0:h.accessLevel;if(bB(a.activeSession))h=QQ;else if(aB(a.activeSession))h=Eoc(q,k,f);else if(a.activeSession.isInternalSession())h=Foc(q,k,f);else throw Error("ce");return h}))},Eoc=function(a,b,c){switch(b){case "INTERNAL":return QQ;case "EXTERNAL_PARTNER":return QQ;case "EXTERNAL_PUBLIC":return WPa(a,
c);case "ACCESS_LEVEL_UNSPECIFIED":return QQ;default:return QQ}},Foc=function(a,b,c){switch(b){case "INTERNAL":return QQ;case "EXTERNAL_PARTNER":return a&&UPa(a)?Coc:Doc;case "EXTERNAL_PUBLIC":return WPa(a,c);case "ACCESS_LEVEL_UNSPECIFIED":return QQ;default:return QQ}};RQ.\u0275fac=function(a){return new (a||RQ)(n(EF),n(WA),n(as))};RQ.\u0275prov=Fc({token:RQ,factory:RQ.\u0275fac,providedIn:"root"});var SQ=function(a,b,c,d){Y.call(this);var e=this;this.accessIndicatorService=a;this.documentationLinks=b;this.issueFridge=c;this.issueResources=d;this.compactMode=!1;this.issueId$=new xf;this.accessIndicator$=this.issueId$.pipe(Cf(function(f){return Goc(e.accessIndicatorService,f)}));this.chipClass$=this.accessIndicator$.pipe(z(function(f){return f.type}));this.chipText$=this.accessIndicator$.pipe(z(function(f){return e.compactMode?f.displayTextCompact||f.displayText:f.displayText}));this.bubbleText$=
this.accessIndicator$.pipe(z(function(f){return f.explanation}));this.shouldShowIndicator$=this.accessIndicator$.pipe(z(function(f){return f.type!=="no_indicator"}));this.issue$=this.issueId$.pipe(Cf(function(f){return e.issueFridge.watch(f)}));this.viewers$=we([this.issue$,this.accessIndicator$]).pipe(pf(0,jo),Cf(function(f){var h=l(f);f=h.next().value;h=h.next().value;if(!f||!bQa(h.type))return pe([]);var k,q;return e.issueResources.getRetainedAccessPrincipals(f==null?void 0:f.issueId,(q=f==null?
void 0:(k=f.snapshot[0])==null?void 0:k.issueAccessLimitLevel)!=null?q:"LIMIT_NONE",[],[]).pipe(z(function(t){t=[].concat(r(ap(t.writers)),r(ap(t.appenders)),r(ap(t.readers)));return[].concat(r(new Set(t)))}))}),zf({refCount:!0,bufferSize:1}));this.showHovercard$=this.viewers$.pipe(z(function(f){return!!f.length}),He(Boolean),z(function(){}));this.loadTooltip$=new xf(1);this.tooltipText$=this.loadTooltip$.pipe(Cf(function(){return e.viewers$}),z(function(f){return f.length?"Press Alt + Right arrow for more details":
""}));this.loadTooltipOnce=Mi(function(){e.loadTooltip$.next()})};V(SQ,Y);SQ.\u0275dir=Y.\u0275dir;SQ.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.tooltipText$.subscribe(function(b){b&&(a.matTooltip.message=b,a.matTooltip.show())}))};da.Object.defineProperties(SQ.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});SQ.\u0275fac=function(a){return new (a||SQ)(B(RQ),B(bH),B(EF),B(iC))};
SQ.\u0275cmp=p({type:SQ,selectors:[["b-issue-visibility-chip"]],viewQuery:function(a,b){a&1&&rg(TI,5);if(a&2){var c;vg(c=wg())&&(b.matTooltip=c.first)}},inputs:{issueId:"issueId",compactMode:"compactMode"},features:[Lf],decls:2,vars:3,consts:[["tooltip","matTooltip"],["card","onedevHovercard"],[4,"ngIf"],["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",4,"ngIf"],[3,"onedevIsHovercardReady",4,"onedevHovercardLazyBody"],["target","_blank",3,"href"],[3,"onedevIsHovercardReady"],["idForInputBox","Users who can view",3,"users"]],template:function(a,b){a&1&&(C(0,aQa,16,17,"ng-container",2),T(1,"async"));a&2&&E("ngIf",U(1,1,b.shouldShowIndicator$))},dependencies:[rv,tv,NQ,xJ,yJ,DJ,zJ,KI,TI,yv],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.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 TQ=function(a,b){Y.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new xF;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};V(TQ,Y);TQ.\u0275dir=Y.\u0275dir;
TQ.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;n8b(this.issueFridge,String(this.issueId),this.upvoted).pipe(qf(),Df(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};TQ.\u0275fac=function(a){return new (a||TQ)(B(eD),B(EF))};
TQ.\u0275cmp=p({type:TQ,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("no-votes",b.voteCount<=0)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[Lf],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&&(F(0,"button",0),O("click",function(){return b.onClick()}),J(1,"mat-icon",1),F(2,"output",2),Q(3),H()());
a&2&&(E("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),Nf("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),A(2),kg("title","",b.voteCount," votes on this issue"),A(),R(" ",b.voteCount>99999?"99999+":b.voteCount," "))},dependencies:[RC,kC,Ex,KI,TI],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 rQa=function(){return[]},UQ=function(a,b,c,d,e,f){Y.call(this);var h=this;this.cdr=a;this.activeSession=b;this.analytics=c;this.relationshipService=d;this.issueFridge=e;this.butterBar=f;this.STATUS_JS_FULL_TEXT=ti;this.ISSUE_PRIORITY_TEXT_JS=k2b;this.ISSUE_PRIORITY_ENUM=G1b;this.ROUTES=wp;this.providedIssueId$=new xf(1);this.issue$=this.providedIssueId$.pipe(Cf(function(k){return h.issueFridge.watch(k)}),He(Gi));this.FormattingMode=$z;this.enableNewVisibilityChips=ep(this.activeSession,"enableNewVisibilityChips");
this.init=new xf(1)};V(UQ,Y);UQ.\u0275dir=Y.\u0275dir;UQ.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issue$.pipe(Df(this.destroyed$)).subscribe(function(b){a.issue=b;a.firstEvent=b.description&&jya(b.description,b);a.cdr.markForCheck();a.init.next()})};UQ.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
var qQa=function(a,b){return wi(b).includes(a.activeSession.getUserEmail())},lQa=function(a,b){var c;return ge(function(d){if(d.nextAddress==1)return c=a.issueId,AA(a.issueFridge,b,function(e){var f=e.parentIssueIds.indexOf(c);f<0||(e.parentIssueIds.splice(f,1),Object.assign({},e))}),he(d,2,3),ie(d,se(a.relationshipService.delete(c,"CHILD",b)),3);if(d.nextAddress!=2)return je(d),a.issueFridge.poke(b),ke(d,0);le(d);a.butterBar.showWarning("Error removing the parent issue.");return d.jumpTo(3)})};
UQ.\u0275fac=function(a){return new (a||UQ)(B(yF,2),B(as),B(CF),B(VF),B(EF),B(cD))};
UQ.\u0275cmp=p({type:UQ,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Dg([yF]),Lf],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[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"],[3,"ngSwitch",4,"ngIf"],
[1,"issue-card-buttons","margin-y"],[3,"onCc","issueId","ccState"],["class","bv2-issue-card-comment",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[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"],[1,"bv2-issue-card-comment"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,b){a&1&&
(F(0,"div",0),C(1,sQa,24,16,"ng-container",1),H());a&2&&(A(),E("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[rv,tv,uv,vv,wv,GQ,kC,Ex,KI,TI,KO,YP,TL,TQ,SQ,MQ],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 VQ=function(a){this.el=a;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)};VQ.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
VQ.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};VQ.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"};VQ.\u0275fac=function(a){return new (a||VQ)(B(Rd))};
VQ.\u0275dir=ed({type:VQ,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&O("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var WQ=function(){};WQ.\u0275fac=function(a){return new (a||WQ)};WQ.\u0275mod=cd({type:WQ});WQ.\u0275inj=Gc({});var XQ=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};XQ.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!Ki(this.email)};XQ.prototype.getName=function(){return this.email===void 0?"":this.email.split("@")[0]};XQ.\u0275fac=function(a){return new (a||XQ)(B(as))};
XQ.\u0275cmp=p({type:XQ,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[["content",""],["card",""],[4,"ngIf","ngIfElse"],["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"],["class","bv2-group-email-card-links-container",4,"ngIf"],[1,"bv2-group-email-card-links-container"],["target","_blank",1,"bv2-group-email-card-link",3,"href"],[4,"ngIf"]],template:function(a,b){a&1&&(ig(),C(0,yQa,17,5,"ng-container",2)(1,zQa,1,0,"ng-template",null,0,Mg));a&2&&(a=M(2),E("ngIf",!!Ki(b.email))("ngIfElse",a))},dependencies:[tv,xv,RC,xJ,DJ],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 YQ=function(){};YQ.\u0275fac=function(a){return new (a||YQ)};YQ.\u0275mod=cd({type:YQ});YQ.\u0275inj=Gc({imports:[RD,VL]});var $la=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}},ZQ=function(a){Y.call(this);this.activeSession=a;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 xF;this.chipClear=new xF;this.chipRemove=new xF};V(ZQ,Y);ZQ.\u0275dir=Y.\u0275dir;
g=ZQ.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("be`"+this.value);}};
var Hoc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};ZQ.\u0275fac=function(a){return new (a||ZQ)(B(as))};
ZQ.\u0275cmp=p({type:ZQ,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:[Lf],decls:9,vars:15,consts:[[1,"bv2-user-chip-item",3,"focus","blur","ngClass","matTooltip"],[1,"alias-icon"],
[3,"svgIcon",4,"ngIf"],[1,"user-chip-name"],[3,"email",4,"ngIf"],[4,"ngIf"],["role","button","tabindex","0","class","user-chip-x keep-focus-ring",3,"matTooltip","click","keydown.enter",4,"ngIf"],["class","bv2-user-chip-nested-content-container",4,"ngIf"],[3,"svgIcon"],[3,"email"],["role","button","tabindex","0",1,"user-chip-x","keep-focus-ring",3,"click","keydown.enter","matTooltip"],["svgIcon","close"],[1,"bv2-user-chip-nested-content-container"],[1,"bv2-user-chip-nested-content"],[1,"jfk-bubble"],
["class","bv2-user-chip",4,"ngFor","ngForOf"],[1,"jfk-bubble-arrow","jfk-bubble-arrowup"],[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],[1,"bv2-user-chip"],[3,"value","detailedUserType","principalType","accessLevel","displayText"]],template:function(a,b){a&1&&(F(0,"span",0),O("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),F(1,"span",1),C(2,AQa,1,1,"mat-icon",2),H(),F(3,"div",3),C(4,BQa,2,2,"b-person-hovercard",4)(5,CQa,2,2,"b-group-email-card",
4)(6,DQa,2,1,"div",5),H(),C(7,EQa,2,3,"div",6)(8,GQa,7,1,"div",7),H());a&2&&(E("ngClass",ama(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),A(2),E("ngIf",Hoc(b)),A(2),E("ngIf",b.isUserChip()),A(),E("ngIf",b.isGroupChip()),A(),E("ngIf",!b.isUserChip()&&!b.isGroupChip()),A(),E("ngIf",!b.isReadonly&&!b.isWidgetDisabled),A(),E("ngIf",b.isContainerChip()))},dependencies:[rv,
sv,tv,RC,KI,TI,gL,XQ,ZQ],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[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%]{margin-top:10px;position:relative;white-space:normal}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%]{position:absolute;width:600px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%]{z-index:900 !important;padding:10px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .bv2-user-chip[_ngcontent-%COMP%] > span.bv2-user-chip-item[_ngcontent-%COMP%]:active{border-color:#3c4043;border-color:var(--gfx)}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplbefore[_ngcontent-%COMP%]{left:-1px}span.bv2-user-chip-item[_ngcontent-%COMP%]   .bv2-user-chip-nested-content-container[_ngcontent-%COMP%] > .bv2-user-chip-nested-content[_ngcontent-%COMP%] > .jfk-bubble[_ngcontent-%COMP%] > .jfk-bubble-arrow[_ngcontent-%COMP%] > .jfk-bubble-arrowimplafter[_ngcontent-%COMP%]{left:0}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}/*# sourceMappingURL=contact_chip.css.map */"]});var $Q=function(){};$Q.\u0275fac=function(a){return new (a||$Q)};$Q.\u0275mod=cd({type:$Q});$Q.\u0275inj=Gc({imports:[RD,zy,bM,WL,YQ,AI,jO,WQ]});dma(NQ,[sv,tv,Bh,dy,ly,iO,VQ,ZQ],[]);var aR=function(){};aR.\u0275fac=function(a){return new (a||aR)};aR.\u0275mod=cd({type:aR});aR.\u0275inj=Gc({imports:[RD,JQ,$Q,VL,bM]});var bR=function(){};bR.\u0275fac=function(a){return new (a||bR)};bR.\u0275mod=cd({type:bR});bR.\u0275inj=Gc({imports:[RD,RH,bM]});var cR=function(){};cR.\u0275fac=function(a){return new (a||cR)};cR.\u0275mod=cd({type:cR});cR.\u0275inj=Gc({providers:[{provide:Ebc,useValue:UQ}],imports:[RD,LQ,RH,bM,RO,uQ,KM,bR,aR]});var dR=function(a,b){Y.call(this);this.dialogRef=a;this.currentUserBookmarksFridge=b;this.selectedIds=new Set;this.savedSearches$=AE(this.currentUserBookmarksFridge)};V(dR,Y);dR.\u0275dir=Y.\u0275dir;dR.prototype.trackBySearchId=function(a,b){return b.searchId};dR.prototype.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedIds.add(c.value):b.selectedIds.delete(c.value)})};dR.prototype.onSave=function(){var a=[].concat(r(this.selectedIds)).map(String);this.dialogRef.close(a)};
dR.prototype.onCancel=function(){this.dialogRef.close()};dR.\u0275fac=function(a){return new (a||dR)(B(cH),B(xE))};
dR.\u0275cmp=p({type:dR,selectors:[["saved-search-picker-dialog"]],features:[Lf],decls:10,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["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",4,"ngFor","ngForOf","ngForTrackBy"],["checkboxPosition",
"before",3,"selected","value"],[1,"savedsearch-name","type-m","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(F(0,"header",0),Q(1," Add a Saved Search "),H(),F(2,"div",1),C(3,JQa,3,2,"ng-container",2),T(4,"async"),H(),F(5,"div",3)(6,"button",4),O("click",function(){return b.onCancel()}),Q(7," Cancel "),H(),F(8,"button",5),O("click",function(){return b.onSave()}),Q(9),H()());
a&2&&(A(3),E("ngIf",U(4,3,b.savedSearches$)),A(5),E("disabled",b.selectedIds.size===0),A(),R(" Save ",b.selectedIds.size>1?"("+b.selectedIds.size+")":""," "))},dependencies:[sv,tv,kC,Ex,mH,oH,nH,GP,PP,OP,yv],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 Ioc=new ld("GMAT_AUTOCOMPLETE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var eR=function(a,b){a.disableGmatStyle||TH(b,"gmat-mdc-autocomplete")};eR.\u0275fac=function(a){return new (a||eR)(B(Ioc),B(hx))};eR.\u0275dir=ed({type:eR,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],features:[Dg([{provide:hx,useClass:SH}])]});var Joc=Eh("panelAnimation",[Hh("void, hidden",Gh({opacity:0,transform:"scaleY(0.8)"})),Jh(":enter, hidden => visible",[Ipa([Fh("0.03s linear",Gh({opacity:1})),Fh("0.12s cubic-bezier(0, 0, 0.2, 1)",Gh({transform:"scaleY(1)"}))])]),Jh(":leave, visible => hidden",[Fh("0.075s linear",Gh({opacity:0}))])]);var Koc=["panel"],Loc=0,Moc=function(a,b){this.source=a;this.option=b},Noc=new ld("mat-autocomplete-default-options",{providedIn:"root",factory:LQa}),fR=function(a,b,c){this._changeDetectorRef=a;this._elementRef=b;this._defaults=c;this._activeOptionChanges=Yd.EMPTY;this._animationDone=new bv;this._isOpen=this.showPanel=!1;this.displayWith=null;this.optionSelected=new bv;this.opened=new bv;this.closed=new bv;this.optionActivated=new bv;this.id="mat-autocomplete-"+Loc++;this.autoActiveFirstOption=!!c.autoActiveFirstOption;
this.autoSelectActiveOption=!!c.autoSelectActiveOption;this.requireSelection=!!c.requireSelection;var d;this._hideSingleSelectionIndicator=(d=this._defaults.hideSingleSelectionIndicator)!=null?d:!1};g=fR.prototype;g._setColor=function(a){this._color=a;this._changeDetectorRef.markForCheck()};g._syncParentProperties=function(){if(this.options)for(var a=l(this.options),b=a.next();!b.done;b=a.next())b.value._changeDetectorRef.markForCheck()};
g.ngAfterContentInit=function(){var a=this;this._keyManager=rw(new ww(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 Moc(this,a))};g._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};g._skipPredicate=function(){return!1};
da.Object.defineProperties(fR.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()}}});
fR.\u0275fac=function(a){return new (a||fR)(B(Wg),B(Rd),B(Noc),B(Nv))};
fR.\u0275cmp=p({type:fR,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(sg(c,xx,5),sg(c,NXb,5));if(a&2){var d;vg(d=wg())&&(b.options=d);vg(d=wg())&&(b.optionGroups=d)}},viewQuery:function(a,b){a&1&&(rg(og,7),rg(Koc,5));if(a&2){var c;vg(c=wg())&&(b.template=c.first);vg(c=wg())&&(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",Tg],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",Tg],requireSelection:[2,"requireSelection","requireSelection",Tg],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",Tg],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Tg]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},
exportAs:["matAutocomplete"],standalone:!0,features:[Dg([{provide:MXb,useExisting:fR}]),Mf,Fg],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&&(ig(),C(0,KQa,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);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-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:[Joc]},changeDetection:0});var Ooc={provide:Wx,useExisting:Sc(function(){return gR}),multi:!0},Poc=new ld("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:function(){var a=Xc(hx);return function(){return a.scrollStrategies.reposition()}}}),Qoc={provide:Poc,deps:[hx],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},gR=function(a,b,c,d,e,f,h,k,q,t,w){var y=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=
k;this._document=q;this._viewportRuler=t;this._defaults=w;this._manuallyFloatingLabel=this._componentDestroyed=!1;this._viewportSubscription=Yd.EMPTY;this._breakpointObserver=Xc(cw);this._handsetLandscapeSubscription=Yd.EMPTY;this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new yf;this._windowBlurHandler=function(){y._canOpenOnNextFocus=y._document.activeElement!==y._element.nativeElement||y.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute=
"off";this._initialized=new yf;this._injector=Xc(Ne);this._aboveClass="mat-mdc-autocomplete-panel-above";this._overlayAttached=!1;this.optionSelections=Be(function(){var D=y.autocomplete?y.autocomplete.options:null;return D?D.changes.pipe(Bf(D),Cf(function(){return Ge.apply(null,r(D.map(function(G){return G.onSelectionChange})))})):y._initialized.pipe(Cf(function(){return y.optionSelections}))});this._handlePanelKeydown=function(D){if(D.keyCode===27&&!oh(D)||D.keyCode===38&&oh(D,"altKey")){if(y._pendingAutoselectedOption){var G;
y._updateNativeInputValue((G=y._valueBeforeAutoSelection)!=null?G:"");y._pendingAutoselectedOption=null}y._closeKeyEventStream.next();y._resetActiveItem();D.stopPropagation();D.preventDefault()}};this._trackedModal=null;this._scrollStrategy=f};gR.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)})};
gR.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};gR.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 ekb=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&&
uh(a._trackedModal,"aria-owns",a.autocomplete.id))};g=gR.prototype;g.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
g._getOutsideClickStream=function(){var a=this;return Ge(De(this._document,"click"),De(this._document,"auxclick"),De(this._document,"touchend")).pipe(He(function(b){b=nh(b);var c=a._formField?tZb(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=oh(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 ce(function(d){Pe(function(){d.next()},{injector:a._injector})}),c=this.autocomplete.options.changes.pipe(Ef(function(){return xXb(a._positionStrategy)}),rf(0));return Ge(b,c).pipe(Cf(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})}),
qf()).subscribe(function(d){return a._setValueAndClose(d)})};g._emitOpened=function(){this.autocomplete.opened.emit()};g._destroyPanel=function(){this._overlayRef&&(ekb(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(qf()).subscribe(function(){return b._onChange(null)}):
this._onChange(null));ekb(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&&uoa(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 Bw(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?cx(zXb(dx(b._positionStrategy,!0),!0),8):cx(zXb(dx(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 Zw({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=AXb(dx(gx(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(r(b),r(c));bx(a,b)};
g._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?tZb(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=Poa(a,b.options,b.optionGroups);a===0&&c===1?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Qoa(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&&uh(this._trackedModal,"aria-owns",b);uoa(a,"aria-owns",b);this._trackedModal=a}};g._clearFromModal=function(){this._trackedModal&&(uh(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
da.Object.defineProperties(gR.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 Ge(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(He(function(){return a._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(He(function(){return a._overlayAttached})):
pe()).pipe(z(function(b){return b instanceof cYb?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});gR.\u0275fac=function(a){return new (a||gR)(B(Rd),B(hx),B(pg),B(Me),B(Wg),B(Poc),B(Hw,8),B(qZb,9),B(vh,8),B(Vw),B(Noc,8))};
gR.\u0275dir=ed({type:gR,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&O("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&&Nf("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",Tg]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[Dg([Ooc]),Mf,rd]});var hR=function(){};hR.\u0275fac=function(a){return new (a||hR)};hR.\u0275mod=cd({type:hR});hR.\u0275inj=Gc({providers:[Qoc],imports:[kx,Ax,lx,Gv,Ww,Ax,lx]});var iR=function(){};iR.\u0275fac=function(a){return new (a||iR)};iR.\u0275mod=cd({type:iR});iR.\u0275inj=Gc({imports:[hR]});new ld("MatList");new ld("MatNavList");var jR=function(){};jR.\u0275fac=function(a){return new (a||jR)};jR.\u0275mod=cd({type:jR});jR.\u0275inj=Gc({imports:[hw,Gv,lx,yx,zx,cP]});var mR=function(){};mR.\u0275fac=function(a){return new (a||mR)};mR.\u0275mod=cd({type:mR});mR.\u0275inj=Gc({imports:[jR]});var nR=function(){};nR.\u0275fac=function(a){return new (a||nR)};nR.\u0275mod=cd({type:nR});nR.\u0275inj=Gc({imports:[RD,RH,VH,bM,jM,mR,zy,Ay,AI,RH,iR,cR,VL]});var oR=function(a){this.dialog=a};oR.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){dH(b.dialog.open(dR,c)).subscribe(function(e){e=e===void 0?[]:e;a==null||a(e);d(e)})})};oR.\u0275fac=function(a){return new (a||oR)(n(jH))};oR.\u0275prov=Fc({token:oR,factory:oR.\u0275fac,providedIn:"root"});var pR=function(){this.LIMIT_INCREMENT=32;this.limit=8;this.emails=[]};pR.\u0275fac=function(a){return new (a||pR)};
pR.\u0275cmp=p({type:pR,selectors:[["avatar-bunch"]],inputs:{emails:"emails"},decls:3,vars:6,consts:[["size","medium",3,"email",4,"ngFor","ngForOf"],[4,"ngIf"],["size","medium",3,"email"],[1,"link-button","subtle-link",3,"click","title"]],template:function(a,b){a&1&&(C(0,MQa,1,1,"b-user-image",0),T(1,"slice"),C(2,OQa,2,1,"ng-container",1));a&2&&(E("ngForOf",cma(1,2,b.emails,b.limit)),A(2),E("ngIf",b.emails.length-b.limit>0))},dependencies:[sv,tv,MO,Fv],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 RQa=["assigned-to-me","recent-stuff-i-follow"],Roc=["BUGANIZER","CRITIQUE","DRIVE"],Soc=["NON_WTDM","WTDM","CRITIQUE","DRIVE"],Toc={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"}},Uoc;
Uoc={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 XQa=function(){return[]},qR=function(){this.makeCritiqueUrl=PQa;this.submitted=[];this.pending=[]};qR.\u0275fac=function(a){return new (a||qR)};
qR.\u0275cmp=p({type:qR,selectors:[["cl-counts"]],inputs:{submitted:"submitted",pending:"pending"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",4,"ngIf"],[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","class","subtle-link","title",
"Number of pending CLs associated with all of these issues",3,"href",4,"ngIf"],["target","_blank","title","Number of pending CLs associated with all of these issues",1,"subtle-link",3,"href"]],template:function(a,b){a&1&&C(0,ZQa,7,3,"div",0);a&2&&E("ngIf",b.submitted.length+b.pending.length)},dependencies:[tv],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 Voc=function(){this.changes=[]};Voc.\u0275fac=function(a){return new (a||Voc)};Voc.\u0275cmp=p({type:Voc,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&&(F(0,"div",0),J(1,"mat-icon",1),Q(2," \u00a0 "),F(3,"p"),Q(4),H()());a&2&&(A(4),zg("",b.changes.length," ",b.changes.length>1?"Gerrit changes":"Gerrit change",""))},dependencies:[RC],styles:["a[_ngcontent-%COMP%]:hover, a[_ngcontent-%COMP%]:focus {\n      color: var(--text-good);\n    }"]});var Woc=Vt(["https://www.gstatic.com/buganizer/gfx/","/",""]),rR=Vt(["https://www.gstatic.com/buganizer/img/v2/",""]),Xoc=Qh(Woc,"2024-06-25-8c245052","all-icons.svg"),Yoc=Qh(rR,"empty_blocker_light.png"),Zoc=Qh(rR,"empty_blocker_dark.png"),$oc=Qh(rR,"empty_child_light.png"),apc=Qh(rR,"empty_child_dark.png"),bpc=Qh(rR,"robot_sleeping.png"),cpc=Qh(rR,"tea_light.png"),dpc=Qh(rR,"tea_dark.png"),epc=Qh(rR,"space_empty_state.png"),fpc=Qh(rR,"eg_work_area.png"),gpc=Qh(rR,"empty_triage.png");Qh(rR,"gerrit_logo.svg");var sR=function(){this.ICON_URL=Xoc;this.LOGO_LIGHT="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";this.EMPTY_BLOCKER_LIGHT=Yoc;this.EMPTY_BLOCKER_DARK=Zoc;this.EMPTY_CHILD_LIGHT=$oc;this.EMPTY_CHILD_DARK=apc;this.ROBOT_SLEEPING=bpc;this.TEA_LIGHT=cpc;this.TEA_DARK=dpc;this.SPACE_EMPTY_STATE=epc;this.WORK_AREA_EXAMPLE_ILLUSTRATION=fpc;this.EMPTY_TRIAGE=gpc};sR.\u0275fac=function(a){return new (a||sR)};sR.\u0275prov=Fc({token:sR,factory:sR.\u0275fac,providedIn:"root"});var tR=function(a){this.imageUrls=a;this.LOGO_LIGHT=this.imageUrls.LOGO_LIGHT};da.Object.defineProperties(tR.prototype,{ref:{configurable:!0,enumerable:!0,set:function(a){this.searchPageUrl=a?TQa(a):void 0}}});tR.\u0275fac=function(a){return new (a||tR)(B(sR))};
tR.\u0275cmp=p({type:tR,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"],["class","subtle-link",3,"routerLink",4,"ngIf"]],template:function(a,b){a&1&&(F(0,"div",0),J(1,"img",1),Q(2," \u00a0 "),C(3,aRa,1,1,"a",2)(4,bRa,1,1),H());a&2&&(A(),E("src",b.LOGO_LIGHT,cf),A(2),$f(b.searchPageUrl?3:4))},
dependencies:[tv,JD],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 uR=function(){this.JOINING_ARROW="\u2192";this.showIcon=!0};da.Object.defineProperties(uR.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){if(a!=null){var b=Usa(1049928)(a);this.startDate=psa(b==null?void 0:b.dateValue);a=Usa(1049953)(a);this.endDate=psa(a==null?void 0:a.dateValue);this.startDateShortStr=qsa(this.startDate);this.endDateShortStr=qsa(this.endDate)}}}});uR.\u0275fac=function(a){return new (a||uR)};
uR.\u0275cmp=p({type:uR,selectors:[["issue-timeframe"]],inputs:{issue:"issue",showIcon:"showIcon"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",4,"ngIf"],[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"],["class","margin-xs-right date",3,"title",4,"ngIf"],[1,"date",3,"title"],[1,"muted"],[1,"margin-xs-right","date",3,"title"]],template:function(a,b){a&1&&C(0,gRa,5,3,"div",
0);a&2&&E("ngIf",b.startDate||b.endDate)},dependencies:[tv,RC,Bv],styles:["[_nghost-%COMP%] {\n      white-space: nowrap;\n    }\n    .date[_ngcontent-%COMP%] {\n      display: inline-block;\n    }"],changeDetection:0});var vR=function(){this.makePie=QQa;this.total=this.closed=0;this.useXofYLabel=!1};da.Object.defineProperties(vR.prototype,{issue:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.total=a.descendantCount,this.closed=this.total-a.openDescendantCount)}}});vR.\u0275fac=function(a){return new (a||vR)};
vR.\u0275cmp=p({type:vR,selectors:[["progress-pie"]],inputs:{issue:"issue",closed:"closed",total:"total"},decls:1,vars:1,consts:[["class","flex-kids-x align-items-center",3,"title","click",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"click","title"],[1,"pie","margin-s-right"]],template:function(a,b){a&1&&C(0,hRa,7,14,"div",0);a&2&&E("ngIf",b.total>0)},dependencies:[tv,Ev],encapsulation:2,changeDetection:0});var wR=function(){};wR.\u0275fac=function(a){return new (a||wR)};wR.\u0275mod=cd({type:wR});wR.\u0275inj=Gc({imports:[RD,JM,QD,RH,RO]});var hpc=function(){return[]},xR=function(a,b){Y.call(this);var c=this;this.issueFridge=a;this.changelistFridge=b;this.query$=new xf(1);this.issues$=this.query$.pipe(Cf(function(d){return c.issueFridge.watchMany(d)}),z(function(d){return d.results}));this.emails$=this.issues$.pipe(z(function(d){return d.map(zsa).filter(Gi)}),z(nsa));this.submittedClLinks$=this.issues$.pipe(z(function(d){return d.flatMap(function(e){var f,h,k;return(k=(f=e.snapshot)==null?void 0:(h=f[0])==null?void 0:h.changelist)!=
null?k:[]})}));this.pendingCls$=this.issues$.pipe(z(function(d){return d.map(function(e){return e.issueId})}),Cf(function(d){return c.changelistFridge.watchMany({pendingForIssues:d})}),z(function(d){return d.results}))};V(xR,Y);xR.\u0275dir=Y.\u0275dir;xR.prototype.getHotlistId=function(){if(Kp(this.ref)==="hotlist")return Jp(this.ref)};da.Object.defineProperties(xR.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});
xR.\u0275fac=function(a){return new (a||xR)(B(EF),B(QA))};
xR.\u0275cmp=p({type:xR,selectors:[["rollups-list"]],inputs:{ref:"ref",query:"query"},features:[Lf],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",4,"ngIf"],[1,"shrink-0","margin-left-auto"],["mat-stroked-button","","class","small pop-out-link","target","_blank",3,"href",4,"ngIf"],[3,"emails"],["mat-stroked-button","","target","_blank",1,"small","pop-out-link",3,"href"],
["svgIcon","pop-out",1,"icon-xs"]],template:function(a,b){a&1&&(F(0,"section",0)(1,"div",1),J(2,"issue-count",2),T(3,"async"),J(4,"cl-counts",3),T(5,"async"),T(6,"async"),C(7,iRa,1,1,"avatar-bunch",4),T(8,"async"),H(),F(9,"div",5),C(10,jRa,3,1,"a",6),H()());if(a&2){var c,d,e;A(2);E("ref",b.ref)("count",(c=U(3,6,b.issues$))==null?null:c.length);A(2);E("submitted",(d=U(5,8,b.submittedClLinks$))!==null&&d!==void 0?d:Gg(14,hpc))("pending",(e=U(6,10,b.pendingCls$))!==null&&e!==void 0?e:Gg(15,hpc));A(3);
E("ngIf",U(8,12,b.emails$));A(3);var f=f===void 0?km():f;a=b.getHotlistId();E("ngIf",a!=null&&f?"https://taskflow.corp.google.com/hotlists/"+a:void 0)}},dependencies:[tv,RC,kC,Fx,pR,qR,tR,yv],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 lRa=function(){return[]},yR=function(a,b,c,d,e){Y.call(this);var f=this;this.activeSession=a;this.issueRelationshipsFridge=b;this.metadataFridge=c;this.issueFridge=d;this.changelistFridge=e;this.gerritChangesEnabled=ep(this.activeSession,"enableGerritChangesInRollup");this.id$=new xf(1);this.issue$=this.id$.pipe(Cf(this.issueFridge.watchOne));this.metadata$=this.id$.pipe(Cf(this.metadataFridge.watchOne));this.closedAndTotal$=this.metadata$.pipe(z(SBa));this.metadata$.pipe(z(UBa));this.gerritChanges$=
this.metadata$.pipe(z(VBa));this.emails$=this.metadata$.pipe(z(WBa));this.pendingCls$=we([this.id$,this.metadata$]).pipe(Cf(function(h){var k=l(h);h=k.next().value;k=k.next().value;var q;k=(q=k==null?void 0:k.issueIds)!=null?q:[];q=[h].concat(r(k));return f.changelistFridge.watchMany({pendingForIssues:q})}),z(function(h){return h.results}));this.subscriptions.add(Ge(this.issueRelationshipsFridge.memoryWasSet$,this.issueRelationshipsFridge.collectiveMemoryWasSet$,this.issueFridge.memoryWasSet$,this.issueFridge.collectiveMemoryWasSet$).pipe(mf(this.id$),
pf(2E3)).subscribe(function(h){return void f.metadataFridge.poke(h[1])}))};V(yR,Y);yR.\u0275dir=Y.\u0275dir;da.Object.defineProperties(yR.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});yR.\u0275fac=function(a){return new (a||yR)(B(as),B(XF),B(CA),B(EF),B(QA))};
yR.\u0275cmp=p({type:yR,selectors:[["rollups-project"]],inputs:{id:"id"},features:[Lf],decls:10,vars:13,consts:[[1,"flex-kids-x","align-items-center","dividers-between"],[3,"closed","total",4,"ngIf"],[3,"issue"],[3,"submitted","pending",4,"ngIf"],[3,"closed","total"],[3,"submitted","pending"],[3,"changes"],[3,"emails"]],template:function(a,b){a&1&&(F(0,"section",0),C(1,kRa,1,2,"progress-pie",1),T(2,"async"),J(3,"issue-timeframe",2),T(4,"async"),C(5,mRa,2,5,"cl-counts",3),T(6,"async"),C(7,pRa,2,3)(8,
rRa,1,1),T(9,"async"),H());if(a&2){var c;A();E("ngIf",U(2,5,b.closedAndTotal$));A(2);E("issue",U(4,7,b.issue$));A(2);E("ngIf",U(6,9,b.metadata$));A(2);$f(b.gerritChangesEnabled?7:-1);A();$f((c=U(9,11,b.emails$))?8:-1,c)}},dependencies:[tv,pR,qR,vR,uR,Voc,yv],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 ipc=(new zI).transform,zR=function(a){this.kansasPrefsManager=a;this.destroyed$=new xf(1);this.prefs$=this.kansasPrefsManager.preferences$.pipe(z(function(b){var c;return(c=b==null?void 0:b.missionControlPreferences)!=null?c:{}}));this.prefsSubject$=go(this.prefs$.pipe(Df(this.destroyed$)),{});this.myTasksSources$=this.prefs$.pipe(z(function(b){var c,d=(c=b==null?void 0:b.myTasksSources)!=null?c:[];b=b==null?void 0:b.isMyTasksSourcesConfigured;return d.length!==0||b?d.map(tRa):[].concat(r(Soc))}));
this.needsAttentionSources$=this.prefs$.pipe(z(function(b){var c,d=(c=b==null?void 0:b.needsAttentionSources)!=null?c:[];b=b==null?void 0:b.isNeedsAttentionSourcesConfigured;return d.length!==0||b?d.map(tRa):[].concat(r(Roc))}));this.needsAttentionTimeBoundary$=this.prefs$.pipe(z(function(b){var c;return(c=b==null?void 0:b.needsAttentionDaysOld)!=null?c:30}))};zR.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Yp=function(a,b){a.kansasPrefsManager.save({missionControlPreferences:Object.assign({},a.prefs,b)}).subscribe()},RXa=function(a,b,c){switch(b){case "mc-my-tasks":a.prefs.myTasksTab=c;Yp(a,{myTasksTab:c});break;case "work-areas-wrapper-card":a.prefs.workAreaTab=c;Yp(a,{workAreaTab:c});break;default:console.error("unhandled tab key, cannot save preference")}};
zR.prototype.toggleCollapsed=function(a){var b;this.prefs.collapsed=(b=this.prefs.collapsed)!=null?b:{};this.prefs.collapsed[a]=!this.prefs.collapsed[a];Yp(this,{collapsed:this.prefs.collapsed})};zR.prototype.isCollapsed=function(a){var b;return!((b=this.prefs.collapsed)==null||!b[a])};var jpc=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")}};
zR.prototype.getMyTasksSources=function(){var a,b=(a=this.prefs.myTasksSources)!=null?a:[];a=this.prefs.isMyTasksSourcesConfigured;return b.length!==0||a?b.map(tRa):[].concat(r(Soc))};var kpc=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};zR.prototype.addHotlist=function(a){AR(this,Hp(a))};zR.prototype.hasHotlist=function(a){return a==null?!1:lpc(this,Hp(a))};
zR.prototype.hasSavedSearch=function(a){return a==null?!1:lpc(this,Ip(a))};
var lpc=function(a,b){var c;return((c=a.prefs.workAreaUrls)!=null?c:[]).indexOf(b)>=0},AR=function(a,b){typeof b==="string"&&(b=[b]);if(b!=null&&b.length!==0){var c,d=(c=a.prefs.workAreaUrls)!=null?c:[];d=jsa(b,d);Yp(a,{workAreaUrls:d})}},NXa=function(a,b,c){var d,e=((d=a.prefs.workAreaUrls)!=null?d:[]).slice();ipc(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,Yp(a,{workAreaUrls:e}))};
da.Object.defineProperties(zR.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.prefsSubject$.value}}});zR.\u0275fac=function(a){return new (a||zR)(n(PG))};zR.\u0275prov=Fc({token:zR,factory:zR.\u0275fac,providedIn:"root"});var BR=function(a){this.issueFridge=a;this.candidateIssues$=this.issueFridge.watchMany(Uoc);this.suggestions$=this.candidateIssues$.pipe(z(WQa))};BR.\u0275fac=function(a){return new (a||BR)(n(EF))};BR.\u0275prov=Fc({token:BR,factory:BR.\u0275fac,providedIn:"root"});var mpc=jm().user.email,Lp={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===mpc&&aj(a):!1},queryFragment:"assignee:me status:open",tooltip:"Open issues with me as the assignee"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return aj(a)},queryFragment:"status:open",tooltip:'Issues that match "status:open"'},FIXED:{key:"FIXED",displayAs:"Fixed",check:function(a){return Fsa(a,"FIXED")},
queryFragment:"status:fixed"},BROAD_IN_PROGRESS:{key:"BROAD_IN_PROGRESS",displayAs:"Assigned",check:function(a){return Fsa(a,"ASSIGNED")||Fsa(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)&&aj(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&&aj(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(Osa(a))&&aj(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 Ysa(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 CR=function(a){var b=this;this.prefsService=a;this.isNumeric=Cp;this.isActive=function(){return npc(b,b.prefsService.prefs,b.filter.key)};this.active$=this.prefsService.prefs$.pipe(z(function(c){var d;return npc(b,c,(d=b.filter)==null?void 0:d.key)}))};
CR.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];Yp(b,{workAreaQuickFilters:b.prefs.workAreaQuickFilters})}};CR.prototype.isDisabled=function(){return String(this.countDisplay)==="0"&&!this.isActive()};
var npc=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};
da.Object.defineProperties(CR.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=l(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=$i[c.status])==null?0:e.open)b+=d.length}}this.countDisplay=b}else if(this.filter.key==="BROAD_IN_PROGRESS")b=TBa(a,"ASSIGNED"),a=TBa(a,"ACCEPTED"),this.countDisplay=b+a;else throw Error("de`"+
this.filter.key);},get:function(){return this.metadataInternal}},key:{configurable:!0,enumerable:!0,set:function(a){this.filter=Lp[a]}},computeCountFor:{configurable:!0,enumerable:!0,set:function(a){if(a==null)this.countDisplay="-";else{var b,c,d=(c=Lp[(b=this.filter)==null?void 0:b.key])==null?void 0:c.check;this.countDisplay=a.filter(d).length}}}});CR.\u0275fac=function(a){return new (a||CR)(B(zR))};
CR.\u0275cmp=p({type:CR,selectors:[["qif-stat"]],hostBindings:function(a,b){a&1&&O("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"],[4,"ngIf"],[1,"big-number"]],template:function(a,b){a&1&&(F(0,"button",0),T(1,"async"),F(2,"label"),Q(3),H(),C(4,wRa,3,3,"ng-container",1),H());if(a&2){var c;E("title",(c=b.filter.tooltip)!==null&&c!==void 0?c:"");Nf("aria-pressed",
U(1,5,b.active$))("disabled",b.isDisabled()?"true":null);A(3);yg(b.filter.displayAs);A();E("ngIf",b.metadata||b.countDisplay!==void 0)}},dependencies:[tv,yv],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 DR=function(){};DR.\u0275fac=function(a){return new (a||DR)};DR.\u0275mod=cd({type:DR});DR.\u0275inj=Gc({imports:[RD,JM,QD,RH]});var ER=function(a){var b=this;this.issueFridge=a;this.query$=new xf(1);this.issues$=this.query$.pipe(Cf(function(c){return b.issueFridge.watchMany(c)}),z(function(c){return c.results}))};da.Object.defineProperties(ER.prototype,{query:{configurable:!0,enumerable:!0,set:function(a){a!=null&&this.query$.next(a)}}});ER.\u0275fac=function(a){return new (a||ER)(B(EF))};
ER.\u0275cmp=p({type:ER,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&&(F(0,"div",0),J(1,"qif-stat",1),T(2,"async"),J(3,"qif-stat",2),T(4,"async"),J(5,"qif-stat",3),T(6,"async"),J(7,"qif-stat",4),T(8,"async"),J(9,"qif-stat",5),T(10,"async"),J(11,"qif-stat",6),T(12,"async"),J(13,"qif-stat",7),T(14,"async"),J(15,"qif-stat",8),T(16,"async"),H());a&2&&(A(),E("prefKey",b.prefKey)("computeCountFor",U(2,16,b.issues$)),A(2),E("prefKey",b.prefKey)("computeCountFor",U(4,18,b.issues$)),A(2),E("prefKey",
b.prefKey)("computeCountFor",U(6,20,b.issues$)),A(2),E("prefKey",b.prefKey)("computeCountFor",U(8,22,b.issues$)),A(2),E("prefKey",b.prefKey)("computeCountFor",U(10,24,b.issues$)),A(2),E("prefKey",b.prefKey)("computeCountFor",U(12,26,b.issues$)),A(2),E("prefKey",b.prefKey)("computeCountFor",U(14,28,b.issues$)),A(2),E("prefKey",b.prefKey)("computeCountFor",U(16,30,b.issues$)))},dependencies:[CR,yv],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_list.css.map */"],
changeDetection:0});var FR=function(a){this.metadataFridge=a;this.id$=new xf(1);this.metadata$=this.id$.pipe(Cf(this.metadataFridge.watchOne));this.hasDescendants$=this.metadata$.pipe(z(function(b){var c;return((c=b==null?void 0:b.descendantCount)!=null?c:0)>0}))};da.Object.defineProperties(FR.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a);this.idInternal=a},get:function(){return this.idInternal}}});FR.\u0275fac=function(a){return new (a||FR)(B(CA))};
FR.\u0275cmp=p({type:FR,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&&(C(0,xRa,5,8,"div",0),T(1,"async"));a&2&&$f(U(1,1,b.hasDescendants$)?0:-1)},dependencies:[CR,yv],styles:["[_nghost-%COMP%]{display:block;padding-left:1px}\n/*# sourceMappingURL=stat_cards_project.css.map */"],changeDetection:0});var GR=function(){};GR.\u0275fac=function(a){return new (a||GR)};GR.\u0275mod=cd({type:GR});GR.\u0275inj=Gc({imports:[RD,JM,QD,RH,wR,DR]});var opc={FOCUS_SYNC:"FOCUS_SYNC",REMAIN_ACTIVE:"REMAIN_ACTIVE"},ppc={DISABLED:"DISABLED",INTERNAL_SORT:"INTERNAL_SORT",EXTERNAL_SORT:"EXTERNAL_SORT"},qpc={ALL:"ALL",NONE:"NONE"},rpc="active-indicator title type team id assignee status menu".split(" "),spc="active-indicator drag-handle title type id assignee status menu".split(" "),tpc="priority title assignee status id modifiedTime".split(" "),upc="priority title assignee progress id modifiedTime".split(" "),vpc="active-indicator drag-handle title assignee status id menu".split(" "),
wpc={modes:{assignee:"avatar-if-open",modifiedTime:"relativepast"},rowLimit:15},xpc={modes:{assignee:"avatar-if-open"},hideColumnHeaders:!0};var HR=function(a){this.activeSession=a},ypc=function(a){var b;if((a=(b=a.activeSession.getTracker())==null?void 0:b.trackerId)&&a!=="0")return[a]},IR=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:zpc(a,b,!0,c.trackerId,d)):a=zpc(a,b,!1,"",d);return a},zpc=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},Gr=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}};HR.\u0275fac=function(a){return new (a||HR)(n(as))};HR.\u0275prov=Fc({token:HR,factory:HR.\u0275fac,providedIn:"root"});var JR=function(a,b,c,d){this.activeSession=a;this.documentationLinks=b;this.trackerHelpers=c;this.imageUrls=d;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
JR.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=IR(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}};JR.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:""};JR.\u0275fac=function(a){return new (a||JR)(B(as),B(bH),B(HR),B(sR))};
JR.\u0275cmp=p({type:JR,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[rd],decls:1,vars:1,consts:[["card","onedevHovercard"],[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],["class","name",4,"ngIf"],[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"],["mat-button","","class","primary","target","_blank",3,"href",4,"ngIf"],[1,"name"]],template:function(a,b){a&1&&C(0,BRa,16,12,"ng-container",1);a&2&&E("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[tv,xJ,DJ,kC,Fx],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 KR=function(a,b){var c=this;this.activeSession=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new rn(void 0);this.tracker$=this.trackerId$.pipe(Cf(function(d){return d?c.trackerFridge.watch(d).pipe(lf(function(){return pe(void 0)})):pe(void 0)}));this.isCurrentTracker$=this.trackerId$.pipe(z(function(d){var e,f=(e=c.activeSession.getTracker())==null?void 0:e.trackerId;return f?f===d:!d}))};KR.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId)};
da.Object.defineProperties(KR.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return!this.trackerId$.value}}});KR.\u0275fac=function(a){return new (a||KR)(B(as),B(NG))};
KR.\u0275cmp=p({type:KR,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[rd],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(C(0,CRa,2,6,"b-tracker-chip",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.isCurrentTracker$)===!1)},dependencies:[tv,JR,yv],encapsulation:2,changeDetection:0});var LR=function(){};LR.\u0275fac=function(a){return new (a||LR)};LR.\u0275cmp=p({type:LR,selectors:[["b-async-data-placeholder"]],inputs:{isReady:"isReady"},ngContentSelectors:["*"],decls:2,vars:2,consts:[["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(ig(),C(0,DRa,1,0,"div",0)(1,ERa,2,0,"ng-container",1));a&2&&(E("ngIf",!b.isReady),A(),E("ngIf",b.isReady))},dependencies:[tv],encapsulation:2});var MR=function(a){this.appEvents=a;this.issue=null;this.enableHovercard=this.useButtonToNavigate=!1;this.title="";this.isDataLoaded=!1;this.link=""};MR.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:"")};MR.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):wp.viewIssue.makeHref(a)};
var FRa=function(a){var b,c=(b=a.issue)==null?void 0:b.issueId;c!=null&&a.appEvents.didShowIssueHovercard.next(c)};MR.\u0275fac=function(a){return new (a||MR)(B(iD))};
MR.\u0275cmp=p({type:MR,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:[rd],decls:9,vars:7,consts:[["useLinkToNavigate",""],["issueHovercard","onedevHovercard"],[1,"title","title-location",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["class","b-chip s margin-s-left",
3,"class","matTooltip",4,"ngIf"],[3,"issueId",4,"ngIf"],[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",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"],[3,"issueId"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",2),J(1,"b-tracker-chip-smart",3),C(2,IRa,5,4,"ng-container",4)(3,JRa,2,5,"ng-template",null,0,Mg)(5,KRa,2,7,"span",5),H(),F(6,"onedev-hovercard",null,1),C(8,LRa,1,1,"b-issue-card",6),H());a&2&&(a=M(4),E("isReady",b.isDataLoaded),A(),E("trackerId",
b.issue==null?null:b.issue.trackerId)("compactMode",!0),A(),E("ngIf",b.useButtonToNavigate)("ngIfElse",a),A(3),E("ngIf",b.trailingChip),A(3),E("ngIf",b.enableHovercard&&b.issue))},dependencies:[LR,tv,RC,JD,kC,Hx,KI,TI,KR,UQ,xJ,DJ],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 NR=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new xF;this.title=""};NR.prototype.ngOnChanges=function(){var a,b;this.title=((a=this.issue)==null?void 0:(b=a.snapshot[0])==null?void 0:b.title)||""};NR.\u0275fac=function(a){return new (a||NR)};
NR.\u0275cmp=p({type:NR,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[rd],decls:4,vars:5,consts:[[1,"flex-kids-x","align-items-center"],["mat-icon-button","","class","medium expander",3,"collapsed","click",4,"ngIf"],["class","leaf",4,"ngIf"],[3,"issue"],["mat-icon-button","",1,"medium","expander",3,"click"],["name","arrow-dropdown","size","small"],[1,"leaf"]],template:function(a,
b){a&1&&(F(0,"div",0),C(1,MRa,2,3,"button",1)(2,NRa,1,0,"div",2),J(3,"b-issue-title-cell",3),H());a&2&&(Vf("margin-left",b.level*24,"px"),A(),E("ngIf",b.expandable),A(),E("ngIf",!b.expandable),A(),E("issue",b.issue))},dependencies:[tv,OO,kC,Gx,MR],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 OR=function(){this.issue=null;this.isDataLoaded=!1};OR.prototype.ngOnChanges=function(){var a;this.assignee=oFa(yi((a=this.issue)==null?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=this.issue!==null};OR.\u0275fac=function(a){return new (a||OR)};
OR.\u0275cmp=p({type:OR,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[rd],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],[3,"email"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,ORa,2,2,"b-person-hovercard",2)(2,PRa,1,0,"ng-template",null,0,Mg),H());a&2&&(a=M(3),E("isReady",b.isDataLoaded),A(),E("ngIf",b.assignee)("ngIfElse",a))},dependencies:[LR,tv,gL],encapsulation:2,changeDetection:0});var PR=function(){this.relayOnly=!1;this.keydown$=new yf};PR.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};da.Object.defineProperties(PR.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});PR.\u0275fac=function(a){return new (a||PR)};
PR.\u0275dir=ed({type:PR,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b.onKeydown(c)});a&2&&Nf("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var Apc=0,QR=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+Apc;this.closePanel$=new xf(1);Apc++};QR.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;(b==="Escape"||a.altKey&&b==="ArrowUp")&&this.closePanel$.next()};QR.\u0275fac=function(a){return new (a||QR)(B(PR,8))};
QR.\u0275cmp=p({type:QR,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&rg(og,7);if(a&2){var c;vg(c=wg())&&(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&&(ig(),C(0,QRa,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 RR=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 bv;this.closed=new bv;this.isOpen=!1;this.destroyed$=new xf(1);this.closingActionsSubscription=Yd.EMPTY};RR.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
RR.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new Bw(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=Bpc(this).pipe(Df(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
RR.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()}};
RR.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 Bpc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?Ge(b,c,d):Ge(c,d)};
RR.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
RR.prototype.getPositionStrategy=function(){return bx(cx(dx(gx(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"}])};RR.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
da.Object.defineProperties(RR.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});RR.\u0275fac=function(a){return new (a||RR)(B(hx),B(Rd),B(pg),B(pw),B(Wg))};
RR.\u0275dir=ed({type:RR,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&Nf("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 SR=function(a,b,c,d){Y.call(this);this.activeSession=a;this.trackerHelpers=b;this.clipboard=c;this.butterBar=d;this.componentId=0;this.issueTitle=this.issueId="";this.disabled=this.isExternalIssue=!1;this.showCopyOptions=this.enableHotkeys=!0;this.isOpen=!1;this.HOTKEYS=mr};V(SR,Y);SR.\u0275dir=Y.\u0275dir;SR.prototype.copyIssueId=function(){this.clipboard.copy(this.issueId);Xp(this.butterBar,"Issue ID copied",2E3)};var Mp=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};
SR.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};SR.prototype.getAppBaseUrl=function(a){return IR(this.trackerHelpers,this.issueId,void 0,a===void 0?!1:a)};SR.\u0275fac=function(a){return new (a||SR)(B(as),B(HR),B(mJ),B(cD))};
SR.\u0275cmp=p({type:SR,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&rg(RR,5);if(a&2){var c;vg(c=wg())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[Lf],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","class","icon-xs invisible",4,"ngIf"],[4,"ngIf"],["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"],["class","issue-id-picker-popup","cdkTrapFocus","",3,"cdkTrapFocusAutoCapture",4,"ngIf"],["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"],["class","muted shortcut",4,"ngIf"],["mat-icon-button",
"","tabindex","-1","aria-label","Copy ID","matTooltip","Copy ID",1,"copy",3,"onHotkey","click","hotkey","hotkeyEnabled"],["svgIcon","copy",1,"icon-s"],["class","id-details-row",4,"ngIf"],["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"],[1,"muted","shortcut"],["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&&(F(0,"button",8),O("click",function(){return b.copyIssueId()}),Q(1),C(2,RRa,1,0,"mat-icon",9),H(),C(3,bSa,7,5,"ng-container",10));a&2&&(Wf("square-right",b.showCopyOptions),Nf("aria-label","Copy issue number "+b.issueId),A(),R(" ",b.issueId," "),A(),E("ngIf",!b.showCopyOptions),A(),E("ngIf",b.showCopyOptions))},dependencies:[$v,tv,RC,cJ,kC,
Gx,KI,TI,QR,RR],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 TR=function(){};TR.prototype.ngOnInit=function(){};TR.prototype.onClick=function(a){a.stopPropagation()};TR.\u0275fac=function(a){return new (a||TR)};
TR.\u0275cmp=p({type:TR,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&O("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions",4,"ngIf"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",0),C(1,cSa,1,2,"b-issue-id-picker",1),H());a&2&&(E("isReady",!!b.id),A(),E("ngIf",b.id))},dependencies:[LR,tv,SR],encapsulation:2,changeDetection:0});var UR=function(a){this.changelistFridge=a;this.IssueStatus=N1b;this.STATUS_JS_FULL_TEXT=ti;this.STATUS_JS_TERSE=h2b;this.issue=null;this.isDataLoaded=!1};UR.prototype.ngOnChanges=function(){if(this.showPendingFix&&this.issue){var a=this.changelistFridge.peekAllRecords(),b;this.pendingFixCl=hSa(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};
UR.\u0275fac=function(a){return new (a||UR)(B(QA))};
UR.\u0275cmp=p({type:UR,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue",showPendingFix:"showPendingFix"},features:[rd],decls:5,vars:2,consts:[["noData",""],[3,"isReady"],["target","_blank",3,"class","href","matTooltip"],[3,"class","title"],["target","_blank",3,"href","matTooltip"],[3,"class","title",4,"ngIf","ngIfElse"],[3,"title"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,dSa,2,8,"a",2)(2,fSa,1,2,"div",3)(3,gSa,1,0,"ng-template",null,0,Mg),H());if(a&2){var c;E("isReady",
b.isDataLoaded);A();$f((c=b.pendingFixCl)?1:2,c)}},dependencies:[LR,tv,KI,TI],encapsulation:2,changeDetection:0});var Cpc=0,VR=function(a,b){Y.call(this);var c=this;this.teamsService=b;this.ROUTES=wp;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new xF;this.linkBlurred=new xF;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new xf(1);this.teamLinkId="b-team-link-content-"+Cpc;this.fetchedTeam$=this.providedTeamId$.pipe(sf(),He(function(d){return d!=="0"}),Cf(function(d){return FG(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(z(function(){return!0}),
Bf(!1));this.fetchedTeam$.pipe(Df(this.destroyed$)).subscribe(function(d){c.teamName=d.name;c.teamDescription=d.description;c.teamLogoUrl="https://moma-teams-photos.corp.google.com/logo/"+d.teamId});Cpc++};V(VR,Y);VR.\u0275dir=Y.\u0275dir;VR.prototype.ngOnInit=function(){};VR.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};VR.prototype.trackClick=function(a){Jn("teamCard","click",a,1)};
VR.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};VR.\u0275fac=function(a){return new (a||VR)(B(as),B(EG))};
VR.\u0275cmp=p({type:VR,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[Lf,rd],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","click",4,"ngIf"],["aria-label","View team association on component",3,"click","href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2),J(3,"img",3),F(4,"div",4)(5,"div",5),J(6,"mat-icon",6),Q(7),H(),F(8,"div",7),Q(9),H()()(),F(10,"p",8),Q(11),H(),F(12,"div",9)(13,"a",10),O("click",function(){return b.trackClick("viewTeamSettingsPage")}),F(14,"button",11),Q(15,"View team settings"),H()(),F(16,"a",12),O("click",function(){return b.trackClick("viewTeamInMoma")}),F(17,"button",
13),Q(18,"View team in Moma "),J(19,"mat-icon",14),H()(),C(20,iSa,3,1,"a",15),H()()());a&2&&(A(3),Nf("src",b.teamLogoUrl,cf),A(4),R(" Team: ",b.teamName," "),A(2),R("Team ID: ",b.teamId,""),A(2),yg(b.teamDescription),A(2),kg("routerLink","/teams/",b.teamId,"/edit"),A(3),kg("href","https://moma.corp.google.com/team/",b.teamId,"",cf),A(4),E("ngIf",b.componentId))},dependencies:[tv,RC,JD,kC,Ex],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 Dpc=0,WR=function(a){Y.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new xf(1);this.teamLinkId="b-team-link-content-"+Dpc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(sf(),He(function(c){return c!=="0"}),Cf(function(c){return FG(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(z(function(){return!0}),Bf(!1));this.fetchedTeam$.pipe(Df(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});Dpc++};V(WR,Y);WR.\u0275dir=Y.\u0275dir;WR.prototype.ngOnInit=function(){};WR.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};WR.prototype.trackClick=function(a){Jn("teamCard","click",a,1)};WR.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};WR.\u0275fac=function(a){return new (a||WR)(B(EG))};
WR.\u0275cmp=p({type:WR,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[Lf,rd],decls:8,vars:6,consts:[["card","onedevHovercard"],["loading",""],[4,"ngIf","ngIfElse"],[3,"componentId","teamId"],["target","_blank","class","card-anchor keep-focus-ring",3,"href","onedevHovercardTrigger","click",4,"ngIf"],[3,"onedevHovercardTrigger",4,"ngIf"],["target",
"_blank",1,"card-anchor","keep-focus-ring",3,"click","href","onedevHovercardTrigger"],["svgIcon","pop-out",1,"icon-xs"],[3,"onedevHovercardTrigger"],["class","animated-loading-bar",4,"ngIf"],[4,"ngIf"],[1,"animated-loading-bar"]],template:function(a,b){a&1&&(C(0,lSa,3,2,"ng-container",2),T(1,"async"),F(2,"onedev-hovercard",null,0),K(4),J(5,"b-team-card",3),L(),H(),C(6,oSa,2,2,"ng-template",null,1,Mg));a&2&&(a=M(7),E("ngIf",b.teamId!="0"&&U(1,4,b.isTeamFetched$))("ngIfElse",a),A(5),E("componentId",
b.componentId==null?null:b.componentId.toString())("teamId",b.teamId.toString()))},dependencies:[tv,RC,xJ,DJ,VR,yv]});var YR=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};YR.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};YR.\u0275fac=function(a){return new (a||YR)};
YR.\u0275cmp=p({type:YR,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[rd],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled",4,"ngIf","ngIfElse"],["teamNotAssignedMessage","--",3,"teamId","componentId","anchorLinkEnabled"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,pSa,1,3,"b-team-display",2)(2,qSa,1,0,"ng-template",null,0,Mg),H());a&2&&(a=M(3),E("isReady",b.isDataLoaded),A(),
E("ngIf",b.teamId)("ngIfElse",a))},dependencies:[LR,tv,WR],encapsulation:2,changeDetection:0});var ZR=function(){this.type=this.issue=null;this.isDataLoaded=!1};ZR.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};ZR.\u0275fac=function(a){return new (a||ZR)};
ZR.\u0275cmp=p({type:ZR,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[rd],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,rSa,3,3,"ng-container",2)(2,sSa,1,0,"ng-template",null,0,Mg),H());a&2&&(a=M(3),E("isReady",b.isDataLoaded),A(),E("ngIf",b.type)("ngIfElse",a))},dependencies:[LR,tv,nI],encapsulation:2,changeDetection:0});var Epc=["theInput"],$R=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new xF;this.commit=new xF};$R.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};$R.\u0275fac=function(a){return new (a||$R)};
$R.\u0275cmp=p({type:$R,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&rg(Epc,5);if(a&2){var c;vg(c=wg())&&(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=u();F(0,"input",1,0);O("keydown.enter",function(d){v(c);
b.readonly||b.commit.emit(d);return x()})("ngModelChange",function(d){v(c);return x(b.valueChange.emit(d))});H()}a&2&&(Wf("readonly",b.readonly)("override",b.readonly),E("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[Bh,dy,ly],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 Fpc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},Gpc=function(a,b){this.data=a;this.paths=b;this.descendantIssuesUrl=this.paths.listIssues({q:"parentId:"+this.data.issueId+"+"});this.numberOfDescendants=this.data.numberOfDescendants;this.ActionType=Fpc};Gpc.\u0275fac=function(a){return new (a||Gpc)(B(iH),B(BP))};
Gpc.\u0275cmp=p({type:Gpc,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&&(F(0,"h1",0),Q(1,"Archive with all descendant issues?"),H(),F(2,"div",1),Q(3),J(4,"br")(5,
"br"),F(6,"a",2),Q(7,"View all descendant issues"),H(),J(8,"br"),F(9,"a",3),Q(10,"Learn more"),H()(),F(11,"div",4)(12,"button",5),Q(13,"Cancel"),H(),F(14,"button",5),Q(15," Just this one "),H(),F(16,"button",6),Q(17," Archive all "),H()());a&2&&(A(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? "),A(3),lg("href",b.descendantIssuesUrl,cf),A(6),E("matDialogClose",
b.ActionType.CANCEL),A(2),E("matDialogClose",b.ActionType.ARCHIVE_ONE),A(2),E("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[kC,Ex,kH,mH,oH,nH],encapsulation:2});var aS=function(a,b,c,d,e,f,h,k,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=f;this.paths=h;this.butterBar=k;this.editIssueService=q};
aS.prototype.submitArchivalState=function(a,b){var c=this;return ge(function(d){if(d.nextAddress==1)return b?ie(d,c.archive(a),5):ie(d,c.editIssueService.unarchive(a),0);c.issueFridge.poke(a);c.eventsForIssueFridge.poke(a);me(d)})};
aS.prototype.archive=function(a){var b=this,c,d,e,f,h,k,q,t,w,y;return ge(function(D){if(D.nextAddress==1)return ie(D,Promise.all([b.getDescendants(a),se(b.issueFridge.watch(a))]),2);c=D.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;q=h;t=q.childToParents;w=q.completeResult;y=[].concat(r(t.keys()));t.set(a,k.parentIssueIds||[]);return y.length===0?D.return(Hpc(b,a,t)):w?D.return(Ipc(b,a,y,t)):D.return(Jpc(b,a,t))})};
var Ipc=function(a,b,c,d){var e,f,h;return ge(function(k){if(k.nextAddress==1)return e={numberOfDescendants:c.length,issueId:b},f={data:e,width:"500px"},ie(k,se(dH(a.dialog.open(Gpc,f))),2);h=k.yieldResult;switch(h){case "ARCHIVE_ALL":return k.return(Kpc(a,[b].concat(r(c)),d));case "ARCHIVE_ONE":return k.return(Hpc(a,b,d));case "CANCEL":return k.return();default:return k.return(Bc(h))}})},Kpc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];Lpc(a,c);Xp(a.butterBar,
"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){Xp(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){a.butterBar.showWarning(e);Mpc(a,c)})},Hpc=function(a,b,c){Lpc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){Xp(a.butterBar,"Archived successfully.")}).catch(function(d){a.butterBar.showWarning(d);Mpc(a,c)})},Jpc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues?",
content:Nh([Lh("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."),Oh("br",{}),Oh("br",{}),Oh("a",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),Oh("br",{}),Oh("a",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")]),cancelButtonText:"Cancel",confirmButtonText:"Just this one",
onConfirm:function(){Hpc(a,b,c).then(d)},onDismiss:d})})},Lpc=function(a,b){b=l(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;d=l(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},Mpc=function(a,b){b=[].concat(r(b.values())).flat();b=l(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
aS.prototype.getDescendants=function(a){var b=this,c,d,e,f,h,k,q,t,w,y,D,G;return ge(function(I){if(I.nextAddress==1)return ie(I,se(D8b(b.issueRelationshipsFridge,a)),2);c=I.yieldResult;d=c.results;e=!0;f=new Map;h=l(d);for(k=h.next();!k.done;k=h.next()){q=k.value;t=l(q.relatedChildren);for(w=t.next();!w.done;w=t.next())y=w.value,D=void 0,G=(D=f.get(y.targetIssueId))!=null?D:[],G.push(q.issueId),f.set(y.targetIssueId,G);q.totalChildCount===q.relatedChildren.length||(e=!1)}return I.return({childToParents:f,
completeResult:e})})};aS.\u0275fac=function(a){return new (a||aS)(n(jC),n(jH),n(rH),n(XF),n(EF),n(HE),n(BP),n(cD),n(EI))};aS.\u0275prov=Fc({token:aS,factory:aS.\u0275fac,providedIn:"root"});var bS=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)};bS.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler);window.removeEventListener("unload",this.onUnload)};var cS=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new Yd(function(){a.checks=a.checks.filter(function(e){return e!==d})})};
bS.prototype.canDeactivate=function(a,b,c,d){a:{a=YJ(c.url).getPath()===YJ(d.url).getPath();b=l(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?Npc(this)?(this.checks=[],!0):!1:!0};var Npc=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};
bS.\u0275fac=function(a){return new (a||bS)};bS.\u0275prov=Fc({token:bS,factory:bS.\u0275fac,providedIn:"root"});var dS=function(a){this.pathToAncestor=a},Tp=function(a){return new dS(a.split(">"))},Opc=function(a,b){return new dS([].concat(r(a.pathToAncestor),[b]))};dS.prototype.hash=function(){return this.pathToAncestor.join(">")};dS.prototype.equals=function(a){return!!a&&ci(this.pathToAncestor,a.pathToAncestor)};var Ppc=function(a,b){a=l(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=l(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
dS.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};dS.prototype.some=function(a){return this.pathToAncestor.some(a)};dS.prototype.toString=function(){return this.hash()};
da.Object.defineProperties(dS.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 dS(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var Qpc=Ui(function(a){var b,c;return(c=a==null?void 0:(b=a.aggregatedData)==null?void 0:b.voteCount)!=null?c:0},Vi),Rpc=new Set([Qp]),eS=function(a,b,c){this.issueFridge=a;this.similarIssuesApi=b;this.analytics=c;this.recentlyViewedIds$=this.issueFridge.watchMany({custom:"viewed",pageSize:50}).pipe(z(function(d){return d.results.map(function(e){return e.issueId})}));this.componentIdToRecentCanonicals=new Map},Spc=function(a,b,c){c=c===void 0?Rpc:c;var d=E9b(a.similarIssuesApi,b,void 0,c),e=pe([]).pipe(rf(5E3));
e=Nha(e,a.recentlyViewedIds$).pipe(Cf(function(f){return F9b(a.similarIssuesApi,b,f,c)}));return we([d,e]).pipe(z(function(f){var h=l(f);f=h.next().value;h=h.next().value;return WDa(f,h).similarIssues.slice(0,7)}),lf(function(f){ij("IssuePickerSearchService::searchSimilarIssuesById() error: ",f);var h,k,q=(k=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?k:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-id",q);return pe([])}))},Upc=function(a,b,c,d,e){c=c===
void 0?Rpc:c;return b.trim()?d==="canonical"?E9b(a.similarIssuesApi,e==null?void 0:e.id,b,c).pipe(z(function(f){return f.similarIssues}),lf(function(f){ij("IssuePickerSearchService::searchSimilarIssues() error: ",f);var h,k,q=(k=f==null?void 0:(h=f.error)==null?void 0:h.status)!=null?k:f==null?void 0:f.status;a.analytics.trackEvent("issue-picker-svc","error","by-text",q);return pe([])})):Tpc(a,b):pe(void 0)};
eS.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return pe(void 0);if(b==="canonical"){b=Vpc(this,a,d);d=Wpc(this,d).pipe(Cf(function(h){return e.issueFridge.watchMany({filter:lo(a,ko("-id",c==null?void 0:c.id),ko("status","open"),ko("componentid",h)),pageSize:10})}),z(function(h){return h==null?void 0:h.results}));var f=this.issueFridge.watchMany({filter:lo(a,ko("-id",c==null?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(z(function(h){return h==null?void 0:h.results}),Bf([]));
return we([b,d,f]).pipe(z(function(h){return Ni(h.flat(),function(k){return k.issueId})}),z(function(h){return h.slice(0,10)}),z(function(h){return Qpc(h,"DESCENDING")}))}return Tpc(this,a)};
var Tpc=function(a,b){return a.issueFridge.watchMany({filter:b,pageSize:10}).pipe(z(function(c){return c==null?void 0:c.results}))},Vpc=function(a,b,c){return c?Xpc(a,c).pipe(Cf(function(d){return d.length===0?pe([]):a.issueFridge.watchMany({filter:lo(b,ko("id",d),ko("status","open")),pageSize:10}).pipe(z(function(e){return e==null?void 0:e.results}))})):pe([])},Xpc=function(a,b){if(!b)return pe([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:lo(ko("componentid",
b,!0),ko("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(z(function(d){return d==null?void 0:d.results}),z(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),z(function(d){return Oi(d.filter(Gi))}),zf({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},Wpc=function(a,b){return b?Xpc(a,b).pipe(Cf(function(c){return a.issueFridge.watchSet(c)}),z(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),z(function(c){return[b].concat(r(c.filter(Gi)))}),
z(Oi),zf({bufferSize:1,refCount:!0})):pe([])};eS.\u0275fac=function(a){return new (a||eS)(n(EF),n(WG),n(CF))};eS.\u0275prov=Fc({token:eS,factory:eS.\u0275fac,providedIn:"root"});var fS=function(){this.mode="datetime";this.isDataLoaded=!1};fS.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};fS.\u0275fac=function(a){return new (a||fS)};
fS.\u0275cmp=p({type:fS,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[rd],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[3,"mode","timestamp","paddingLeftPx",4,"ngIf","ngIfElse"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,tSa,1,3,"b-formatted-date-time",2),H(),C(2,uSa,1,0,"ng-template",null,0,Mg));a&2&&(a=M(3),E("isReady",b.isDataLoaded),A(),E("ngIf",b.createdTime)("ngIfElse",a))},
dependencies:[LR,tv,YP],encapsulation:2,changeDetection:0});var gS=function(){this.priority=this.issue=null;this.isDataLoaded=!1};gS.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};gS.\u0275fac=function(a){return new (a||gS)};
gS.\u0275cmp=p({type:gS,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[rd],decls:4,vars:3,consts:[["noData",""],[1,"nowrap",3,"isReady"],[4,"ngIf","ngIfElse"],[3,"issuePriority"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,vSa,2,1,"ng-container",2)(2,wSa,1,0,"ng-template",null,0,Mg),H());a&2&&(a=M(3),E("isReady",b.isDataLoaded),A(),E("ngIf",b.priority)("ngIfElse",a))},dependencies:[LR,tv,rO],encapsulation:2,changeDetection:0});new Promise(function(){});var Ypc=function(a,b){return[a,b]},Zpc=[[["b-callout-body"]],[["b-callout-actions"]]],hS=function(){this.messageType="info";this.format="default"};hS.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"}};hS.\u0275fac=function(a){return new (a||hS)};
hS.\u0275cmp=p({type:hS,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&Xf(Ig(2,Ypc,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&&(ig(Zpc),F(0,"div",0)(1,"div",1),J(2,"mat-icon",2),jg(3),H(),F(4,"div",3),jg(5,1),H()());a&2&&(A(2),
E("svgIcon",b.getIconName()))},dependencies:[RC],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 iS=function(){};iS.\u0275fac=function(a){return new (a||iS)};iS.\u0275dir=ed({type:iS,selectors:[["b-callout-body"],["b-callout-actions"]]});var jS=function(a,b){this.checker=a;this.document=b};jS.prototype.focusFirstFocusableElement=function(a){(a=$pc(this,a,!0))&&a.focus()};var $pc=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?$pc(a,b[c]):null;if(d)return d}return null};jS.\u0275fac=function(a){return new (a||jS)(n(Vv),n(vh))};jS.\u0275prov=Fc({token:jS,factory:jS.\u0275fac,providedIn:"root"});var kS=function(a,b){this.elementRef=a;this.interactivityHelper=b};kS.prototype.ngOnInit=function(){};kS.prototype.focus=function(){this.element.contains(document.activeElement)||this.interactivityHelper.focusFirstFocusableElement(this.element)};da.Object.defineProperties(kS.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});kS.\u0275fac=function(a){return new (a||kS)(B(Rd),B(jS))};
kS.\u0275dir=ed({type:kS,selectors:[["tr","row",""]],inputs:{row:"row"},exportAs:["tableRowDirective"]});var lS=function(){};lS.\u0275fac=function(a){return new (a||lS)};lS.\u0275mod=cd({type:lS});lS.\u0275inj=Gc({});var aqc=function(a,b){xw.call(this,a);this.directives=a;this.isEqual=b};V(aqc,xw);var Rp=function(a,b){var c;return ge(function(d){if(d.nextAddress==1)return ie(d,se(a.directives.changes.pipe(Bf(a.directives.toArray()),z(function(e){return e.find(function(f){return a.isEqual(f.row,b)})}),He(Boolean),Je(3E3))),2);c=d.yieldResult;a.setActiveItem(c);me(d)})};var bqc=new ld("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var mS=function(a){this.options=a};mS.\u0275fac=function(a){return new (a||mS)(B(bqc))};
mS.\u0275dir=ed({type:mS,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&&Wf("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 cqc=new ld("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var nS=function(a){this.options=a};nS.\u0275fac=function(a){return new (a||nS)(B(cqc))};nS.\u0275dir=ed({type:nS,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-table",!b.options.disableGmatStyle)}});var dqc=new ld("mat-chips-default-options",{providedIn:"root",factory:function(){return{separatorKeyCodes:[13]}}}),eqc=new ld("MatChipAvatar"),fqc=new ld("MatChipTrailingIcon"),gqc=new ld("MatChipRemove"),hqc=new ld("MatChip");var oS=function(a,b){this._elementRef=a;this._parentChip=b;this._isPrimary=this.isInteractive=!0;this._disabled=!1;this.tabIndex=-1;this._allowFocusWhenDisabled=!1;a.nativeElement.nodeName==="BUTTON"&&a.nativeElement.setAttribute("type","button")};g=oS.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())};
da.Object.defineProperties(oS.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=a}}});oS.\u0275fac=function(a){return new (a||oS)(B(Rd),B(hqc))};
oS.\u0275dir=ed({type:oS,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&O("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Nf("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),Wf("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",Tg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?-1:Ug(a)}],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[Mf]});var pS=function(){oS.apply(this,arguments);this._isPrimary=this.isInteractive=!1};V(pS,oS);pS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(pS)))(b||pS)}}();pS.\u0275dir=ed({type:pS,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:[Dg([{provide:fqc,useExisting:pS}]),Lf]});var iqc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],jqc=0,qS=function(a,b,c,d,e,f,h,k){this._changeDetectorRef=a;this._elementRef=b;this._ngZone=c;this._focusMonitor=d;this._globalRippleOptions=h;this._onFocus=new yf;this._onBlur=new yf;this.role=null;this._hasFocusInternal=!1;this.id="mat-mdc-chip-"+jqc++;this.ariaDescription=this.ariaLabel=null;this._ariaDescriptionId=this.id+"-aria-description";this.removable=
!0;this.disabled=this.disableRipple=this.highlighted=!1;this.tabIndex=-1;this.removed=new bv;this.destroyed=new bv;this.basicChipAttrName="mat-basic-chip";this._rippleLoader=Xc(Bx);this._injector=Xc(Ne);this._document=e;this._animationsDisabled=f==="NoopAnimations";if(k!=null){var q;this.tabIndex=(q=parseInt(k))!=null?q:-1}this._monitorFocus();var t;(t=this._rippleLoader)==null||gYb(t,this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})};g=qS.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=Ge(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||fYb(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._getTabIndex=function(){return this.role?this.disabled?-1:this.tabIndex:null};
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}):Pe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})},{injector:a._injector}))})};
da.Object.defineProperties(qS.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}},ripple:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this._rippleLoader)==null?void 0:hYb(a,this._elementRef.nativeElement)},set:function(a){var b;(b=this._rippleLoader)==null||iYb(b,this._elementRef.nativeElement,a)}}});
qS.\u0275fac=function(a){return new (a||qS)(B(Wg),B(Rd),B(Me),B(Sv),B(vh),B(Pu,8),B(ux,8),Jd("tabindex"))};
qS.\u0275cmp=p({type:qS,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(sg(c,eqc,5),sg(c,fqc,5),sg(c,gqc,5),sg(c,eqc,5),sg(c,fqc,5),sg(c,gqc,5));if(a&2){var d;vg(d=wg())&&(b.leadingIcon=d.first);vg(d=wg())&&(b.trailingIcon=d.first);vg(d=wg())&&(b.removeIcon=d.first);vg(d=wg())&&(b._allLeadingIcons=d);vg(d=wg())&&(b._allTrailingIcons=d);vg(d=wg())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&rg(oS,5);if(a&2){var c;
vg(c=wg())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:32,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b._handleKeydown(c)});a&2&&(eg("id",b.id),Nf("role",b.role)("tabindex",b._getTabIndex())("aria-label",b.ariaLabel),Xf("mat-"+(b.color||"primary")),Wf("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",Tg],highlighted:[2,"highlighted","highlighted",Tg],disableRipple:[2,"disableRipple","disableRipple",Tg],disabled:[2,"disabled","disabled",Tg],tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?void 0:Ug(a)}]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[Dg([{provide:hqc,useExisting:qS}]),Mf,Fg],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-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(ig(iqc),J(0,"span",0),F(1,"span",1)(2,"span",2),C(3,
xSa,2,0,"span",3),F(4,"span",4),jg(5),J(6,"span",5),H()()(),C(7,ySa,2,0,"span",6));a&2&&(A(2),E("isInteractive",!1),A(),$f(b.leadingIcon?3:-1),A(4),$f(b._hasTrailingIcon()?7:-1))},dependencies:[oS],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);border-radius:var(--mdc-chip-container-shape-radius);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)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.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);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.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)}.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)}.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);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.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}.cdk-high-contrast-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)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-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);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.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)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-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)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.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)}.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)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-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)}.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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-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}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var kqc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],rS=function(){qS.apply(this,arguments);this._defaultOptions=Xc(dqc,{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 bv};V(rS,qS);g=rS.prototype;g.ngOnInit=function(){qS.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())};
da.Object.defineProperties(rS.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}}});
rS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(rS)))(b||rS)}}();
rS.\u0275cmp=p({type:rS,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&&(eg("id",b.id),Nf("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),Wf("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",Tg],selected:[2,"selected","selected",Tg]},outputs:{selectionChange:"selectionChange"},standalone:!0,features:[Dg([{provide:qS,useExisting:rS},{provide:hqc,useExisting:rS}]),Mf,Lf,Fg],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell",
"mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_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-mdc-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&&(ig(kqc),J(0,"span",0),F(1,"span",1)(2,"button",2),C(3,zSa,5,0,"span",3),F(4,"span",4),jg(5),J(6,"span",5),H()()(),C(7,ASa,2,0,"span",6),F(8,"span",7),Q(9),H());a&2&&(A(2),E("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),Nf("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),
A(),$f(b._hasLeadingGraphic()?3:-1),A(4),$f(b._hasTrailingIcon()?7:-1),A(),E("id",b._ariaDescriptionId),A(),yg(b.ariaDescription))},dependencies:[oS],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);border-radius:var(--mdc-chip-container-shape-radius);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)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.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);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.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)}.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)}.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);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.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}.cdk-high-contrast-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)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-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);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.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)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color);--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color);--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color);--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color)}.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)}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-hover-state-layer-opacity)}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-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);opacity:var(--mdc-chip-selected-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)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.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)}.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)}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color)}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity)}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-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)}.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-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-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}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var sS=function(a,b,c){this._elementRef=a;this._changeDetectorRef=b;this._dir=c;this._lastDestroyedFocusedChipIndex=null;this._destroyed=new yf;this._defaultRole="presentation";this._disabled=!1;this.tabIndex=0;this._explicitRole=null;this._chipActions=new qg};g=sS.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;this._chips&&this._chips.forEach(function(b){b.disabled=a._disabled;b._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;if(this.tabIndex!==-1){var b=this.tabIndex;this.tabIndex=-1;this._changeDetectorRef.markForCheck();setTimeout(function(){a.tabIndex=b;a._changeDetectorRef.markForCheck()})}};g._getChipStream=function(a){var b=this;return this._chips.changes.pipe(Bf(null),Cf(function(){return Ge.apply(null,r(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(Bf(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);ug(a._chipActions)});this._keyManager=uw(tw(sw(new xw(this._chipActions)),this._dir?this._dir.value:"ltr")).skipPredicate(function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(Df(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
vw(a._keyManager,c)});var b;(b=this._dir)==null||b.change.pipe(Df(this._destroyed)).subscribe(function(c){return tw(a._keyManager,c)})};g._skipPredicate=function(a){return!a.isInteractive||a.disabled};g._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(Bf(null),Df(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
g._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(Df(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}};
da.Object.defineProperties(sS.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()}}});sS.\u0275fac=function(a){return new (a||sS)(B(Rd),B(Wg),B(Hw,8))};
sS.\u0275cmp=p({type:sS,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&sg(c,qS,5);if(a&2){var d;vg(d=wg())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b._handleKeydown(c)});a&2&&Nf("role",b.role)},inputs:{disabled:[2,"disabled","disabled",Tg],role:"role",tabIndex:[2,"tabIndex","tabIndex",function(a){return a==null?0:Ug(a)}]},standalone:!0,features:[Mf,Fg],ngContentSelectors:["*"],
decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(ig(),F(0,"div",0),jg(1),H())},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 lqc=function(a,b){this.source=a;this.value=b},mqc={provide:Wx,useExisting:Sc(function(){return tS}),multi:!0},tS=function(){sS.apply(this,arguments);this._onTouched=function(){};this._onChange=function(){};this._defaultRole="listbox";this._defaultOptions=Xc(dqc,{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 bv;this._chips=void 0};V(tS,sS);g=tS.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(Bf(null),Df(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(Df(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(Df(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&&sS.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 lqc(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};
da.Object.defineProperties(tS.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}}});tS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(tS)))(b||tS)}}();
tS.\u0275cmp=p({type:tS,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&sg(c,rS,5);if(a&2){var d;vg(d=wg())&&(b._chips=d)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&O("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(eg("tabIndex",b.disabled||b.empty?-1:b.tabIndex),Nf("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),Wf("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{multiple:[2,"multiple","multiple",Tg],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",Tg],compareWith:"compareWith",required:[2,"required","required",Tg],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",
Tg],value:"value"},outputs:{change:"change"},standalone:!0,features:[Dg([mqc]),Mf,Lf,Fg],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(ig(),F(0,"div",0),jg(1),H())},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 uS=new ld("CDK_TABLE");new ld("text-column-options");var vS=function(a){this.template=a};vS.\u0275fac=function(a){return new (a||vS)(B(og))};vS.\u0275dir=ed({type:vS,selectors:[["","cdkCellDef",""]],standalone:!0});var wS=function(a){this.template=a};wS.\u0275fac=function(a){return new (a||wS)(B(og))};wS.\u0275dir=ed({type:wS,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});var xS=function(a){this.template=a};xS.\u0275fac=function(a){return new (a||xS)(B(og))};xS.\u0275dir=ed({type:xS,selectors:[["","cdkFooterCellDef",""]],standalone:!0});
var yS=function(a){this._table=a;this._stickyEnd=this._sticky=this._hasStickyChanged=!1};yS.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};yS.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};yS.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};yS.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
da.Object.defineProperties(yS.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)}}});
yS.\u0275fac=function(a){return new (a||yS)(B(uS,8))};yS.\u0275dir=ed({type:yS,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(sg(c,vS,5),sg(c,wS,5),sg(c,xS,5));if(a&2){var d;vg(d=wg())&&(b.cell=d.first);vg(d=wg())&&(b.headerCell=d.first);vg(d=wg())&&(b.footerCell=d.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",Tg],stickyEnd:[2,"stickyEnd","stickyEnd",Tg]},standalone:!0,features:[Dg([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:yS}]),Mf]});
var zS=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,r(a._columnCssClassName))},AS=function(a,b){zS.call(this,a,b)};V(AS,zS);AS.\u0275fac=function(a){return new (a||AS)(B(yS),B(Rd))};AS.\u0275dir=ed({type:AS,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[Lf]});
var BS=function(a,b){zS.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};V(BS,zS);BS.\u0275fac=function(a){return new (a||BS)(B(yS),B(Rd))};BS.\u0275dir=ed({type:BS,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[Lf]});var CS=function(a,b){zS.call(this,a,b);var c;(a=(c=a._table)==null?void 0:c._getCellRole())&&b.nativeElement.setAttribute("role",a)};V(CS,zS);
CS.\u0275fac=function(a){return new (a||CS)(B(yS),B(Rd))};CS.\u0275dir=ed({type:CS,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[Lf]});var nqc=function(){this.tasks=[];this.endTasks=[]},oqc=new ld("_COALESCED_STYLE_SCHEDULER"),DS=function(){this._currentSchedule=null;this._ngZone=Xc(Me)};DS.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};
DS.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new nqc,this._ngZone.runOutsideAngular(function(){return queueMicrotask(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new nqc;for(var c=l(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=l(b.endTasks);for(c=b.next();!c.done;c=b.next())c=c.value,c()}a._currentSchedule=null})}))};
DS.\u0275fac=function(a){return new (a||DS)(n(Me))};DS.\u0275prov=Fc({token:DS,factory:DS.\u0275fac});var ES=function(a,b){this.template=a;this._differs=b};ES.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};ES.\u0275fac=function(a){return new (a||ES)(B(og),B(kv))};ES.\u0275dir=ed({type:ES,features:[rd]});var FS=function(a,b,c){ES.call(this,a,b);this._table=c;this._sticky=this._hasStickyChanged=!1};V(FS,ES);
FS.prototype.ngOnChanges=function(a){ES.prototype.ngOnChanges.call(this,a)};FS.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};FS.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};da.Object.defineProperties(FS.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});
FS.\u0275fac=function(a){return new (a||FS)(B(og),B(kv),B(uS,8))};FS.\u0275dir=ed({type:FS,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",Tg]},standalone:!0,features:[Mf,Lf,rd]});var GS=function(a,b,c){ES.call(this,a,b);this._table=c;this._sticky=this._hasStickyChanged=!1};V(GS,ES);GS.prototype.ngOnChanges=function(a){ES.prototype.ngOnChanges.call(this,a)};
GS.prototype.hasStickyChanged=function(){var a=this._hasStickyChanged;this.resetStickyChanged();return a};GS.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};da.Object.defineProperties(GS.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(a){a!==this._sticky&&(this._sticky=a,this._hasStickyChanged=!0)}}});GS.\u0275fac=function(a){return new (a||GS)(B(og),B(kv),B(uS,8))};
GS.\u0275dir=ed({type:GS,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",Tg]},standalone:!0,features:[Mf,Lf,rd]});var HS=function(a,b,c){ES.call(this,a,b);this._table=c};V(HS,ES);HS.\u0275fac=function(a){return new (a||HS)(B(og),B(kv),B(uS,8))};HS.\u0275dir=ed({type:HS,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[Lf]});
var IS=function(a){this._viewContainer=a;pqc=this};IS.prototype.ngOnDestroy=function(){pqc===this&&(pqc=null)};var pqc=null;IS.\u0275fac=function(a){return new (a||IS)(B(pg))};IS.\u0275dir=ed({type:IS,selectors:[["","cdkCellOutlet",""]],standalone:!0});var JS=function(){};JS.\u0275fac=function(a){return new (a||JS)};
JS.\u0275cmp=p({type:JS,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[Fg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&dg(0,0)},dependencies:[IS],encapsulation:2});var KS=function(){};KS.\u0275fac=function(a){return new (a||KS)};
KS.\u0275cmp=p({type:KS,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[Fg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&dg(0,0)},dependencies:[IS],encapsulation:2});var LS=function(){};LS.\u0275fac=function(a){return new (a||LS)};
LS.\u0275cmp=p({type:LS,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[Fg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&dg(0,0)},dependencies:[IS],encapsulation:2});var MS=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};MS.\u0275fac=function(a){return new (a||MS)(B(og))};MS.\u0275dir=ed({type:MS,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});var qqc=new ld("CDK_SPL");var rqc=["top","bottom","left","right"],sqc=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"}},tqc=function(a,b,c){var d=[];b=l(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=l(d),k=h.next();!k.done;k=h.next())a._removeStickyStyle(k.value,c)})},uqc=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 k=a._getStickyStartColumnPositions(f,
c),q=a._getStickyEndColumnPositions(f,d),t=c.lastIndexOf(!0),w=d.indexOf(!0),y=a.direction==="rtl",D=y?"right":"left";y=y?"left":"right";for(var G=l(b),I=G.next();!I.done;I=G.next()){I=I.value;for(var N=0;N<h;N++){var S=I.children[N];c[N]&&a._addStickyStyle(S,D,k[N],N===t);d[N]&&a._addStickyStyle(S,y,q[N],N===w)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:t===-1?[]:f.slice(0,t+1).map(function(W,Z){return c[Z]?W:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:w===
-1?[]:f.slice(w).map(function(W,Z){return d[Z+w]?W:null}).reverse()}))}):a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},vqc=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=[],k=[],q=[],t=0,w=0;t<e.length;t++)if(f[t]){h[t]=w;var y=e[t];q[t]=a._isNativeHtmlTable?Array.from(y.children):[y];y=y.getBoundingClientRect().height;
w+=y;k[t]=y}t=f.lastIndexOf(!0);for(w=0;w<e.length;w++)if(f[w]){y=h[w];for(var D=w===t,G=l(q[w]),I=G.next();!I.done;I=G.next())a._addStickyStyle(I.value,d,y,D)}if(d==="top"){var N;(N=a._positionListener)==null||N.stickyHeaderRowsUpdated({sizes:k,offsets:h,elements:q})}else{var S;(S=a._positionListener)==null||S.stickyFooterRowsUpdated({sizes:k,offsets:h,elements:q})}})},wqc=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=sqc.prototype;g._removeStickyStyle=function(a,b){for(var c=l(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);rqc.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=l(rqc),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 xqc=[[["caption"]],[["colgroup"],["col"]],"*"],NS=function(a,b){this.viewContainer=a;this.elementRef=b;a=Xc(uS);a._rowOutlet=this;a._outletAssigned()};NS.\u0275fac=function(a){return new (a||NS)(B(pg),B(Rd))};NS.\u0275dir=ed({type:NS,selectors:[["","rowOutlet",""]],standalone:!0});var OS=function(a,b){this.viewContainer=a;this.elementRef=b;a=Xc(uS);a._headerRowOutlet=this;a._outletAssigned()};OS.\u0275fac=function(a){return new (a||OS)(B(pg),B(Rd))};
OS.\u0275dir=ed({type:OS,selectors:[["","headerRowOutlet",""]],standalone:!0});var PS=function(a,b){this.viewContainer=a;this.elementRef=b;a=Xc(uS);a._footerRowOutlet=this;a._outletAssigned()};PS.\u0275fac=function(a){return new (a||PS)(B(pg),B(Rd))};PS.\u0275dir=ed({type:PS,selectors:[["","footerRowOutlet",""]],standalone:!0});var QS=function(a,b){this.viewContainer=a;this.elementRef=b;a=Xc(uS);a._noDataRowOutlet=this;a._outletAssigned()};QS.\u0275fac=function(a){return new (a||QS)(B(pg),B(Rd))};
QS.\u0275dir=ed({type:QS,selectors:[["","noDataRowOutlet",""]],standalone:!0});
var RS=function(a,b,c,d,e,f,h,k,q,t,w){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=k;this._coalescedStyleScheduler=q;this._viewportRuler=t;this._stickyPositioningListener=w;this._onDestroy=new yf;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 bv;this._injector=Xc(Ne);d||c.nativeElement.setAttribute("role","table");this._document=f;this._isServer=!h.isBrowser;this._isNativeHtmlTable=c.nativeElement.nodeName==="TABLE"};g=RS.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(Df(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();
Doa(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();QVb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();
Pe(function(){yqc(a)},{injector:this._injector})}else this._updateNoDataRow();this.contentChanged.next()};
var zqc=function(a){var b=a._getRenderedRows(a._headerRowOutlet);if(a._isNativeHtmlTable){var c=FSa(a._headerRowOutlet,"thead");c&&(c.style.display=b.length?"":"none")}c=a._headerRowDefs.map(function(d){return d.sticky});tqc(a._stickyStyler,b,["top"]);vqc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},Aqc=function(a){var b=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable){var c=FSa(a._footerRowOutlet,"tfoot");c&&(c.style.display=b.length?
"":"none")}c=a._footerRowDefs.map(function(d){return d.sticky});tqc(a._stickyStyler,b,["bottom"]);vqc(a._stickyStyler,b,c,"bottom");wqc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},yqc=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)tqc(a._stickyStyler,[].concat(r(b),r(c),
r(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=RS.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&&yqc(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();ESa(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=ESa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=ESa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=ESa(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=[];Doa(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;Doa(this.dataSource)?b=this.dataSource.connect(this):Uha(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=pe(this.dataSource));this._renderChangeSubscription=b.pipe(Df(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)});zqc(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)});Aqc(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});uqc(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=l(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,pqc&&pqc._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 FS?c.headerCell.template:a instanceof GS?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)&&zqc(this);this._footerRowDefs.reduce(a,!1)&&Aqc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,yqc(this))};
g._setupStickyStyler=function(){var a=this;this._stickyStyler=new sqc(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener);(this._dir?this._dir.change:pe()).pipe(Df(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;yqc(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()}}};
da.Object.defineProperties(RS.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(),yqc(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=a;this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});RS.\u0275fac=function(a){return new (a||RS)(B(kv),B(Wg),B(Rd),Jd("role"),B(Hw,8),B(vh),B(Nv),B(rXb),B(oqc),B(Vw),B(qqc,12),B(Me,8))};
RS.\u0275cmp=p({type:RS,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(sg(c,MS,5),sg(c,yS,5),sg(c,HS,5),sg(c,FS,5),sg(c,GS,5));if(a&2){var d;vg(d=wg())&&(b._noDataRow=d.first);vg(d=wg())&&(b._contentColumnDefs=d);vg(d=wg())&&(b._contentRowDefs=d);vg(d=wg())&&(b._contentHeaderRowDefs=d);vg(d=wg())&&(b._contentFooterRowDefs=d)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",
dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",Tg],fixedLayout:[2,"fixedLayout","fixedLayout",Tg]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Dg([{provide:uS,useExisting:RS},{provide:rXb,useClass:sXb},{provide:oqc,useClass:DS},{provide:qqc,useValue:null}]),Mf,Fg],ngContentSelectors:["caption","colgroup, col","*"],decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a,b){a&1&&(ig(xqc),jg(0),jg(1,1),C(2,BSa,1,0)(3,CSa,7,0)(4,DSa,4,0));a&2&&(A(2),$f(b._isServer?2:-1),A(),$f(b._isNativeHtmlTable?3:4))},dependencies:[OS,NS,QS,PS],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var SS=function(){};SS.\u0275fac=function(a){return new (a||SS)};SS.\u0275mod=cd({type:SS});SS.\u0275inj=Gc({imports:[Xw]});var TS=function(){vS.apply(this,arguments)};V(TS,vS);TS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(TS)))(b||TS)}}();TS.\u0275dir=ed({type:TS,selectors:[["","matCellDef",""]],standalone:!0,features:[Dg([{provide:vS,useExisting:TS}]),Lf]});var US=function(){wS.apply(this,arguments)};V(US,wS);US.\u0275fac=function(){var a;return function(b){return(a||(a=Od(US)))(b||US)}}();
US.\u0275dir=ed({type:US,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Dg([{provide:wS,useExisting:US}]),Lf]});var VS=function(){xS.apply(this,arguments)};V(VS,xS);VS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(VS)))(b||VS)}}();VS.\u0275dir=ed({type:VS,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[Dg([{provide:xS,useExisting:VS}]),Lf]});var WS=function(){yS.apply(this,arguments)};V(WS,yS);
WS.prototype._updateColumnCssClassName=function(){yS.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};da.Object.defineProperties(WS.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});WS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(WS)))(b||WS)}}();
WS.\u0275dir=ed({type:WS,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[Dg([{provide:yS,useExisting:WS},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:WS}]),Lf]});var XS=function(){AS.apply(this,arguments)};V(XS,AS);XS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(XS)))(b||XS)}}();
XS.\u0275dir=ed({type:XS,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[Lf]});var YS=function(){BS.apply(this,arguments)};V(YS,BS);YS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(YS)))(b||YS)}}();YS.\u0275dir=ed({type:YS,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[Lf]});
var ZS=function(){CS.apply(this,arguments)};V(ZS,CS);ZS.\u0275fac=function(){var a;return function(b){return(a||(a=Od(ZS)))(b||ZS)}}();ZS.\u0275dir=ed({type:ZS,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[Lf]});var $S=function(){FS.apply(this,arguments)};V($S,FS);$S.\u0275fac=function(){var a;return function(b){return(a||(a=Od($S)))(b||$S)}}();$S.\u0275dir=ed({type:$S,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",Tg]},standalone:!0,features:[Dg([{provide:FS,useExisting:$S}]),Mf,Lf]});var aT=function(){GS.apply(this,arguments)};V(aT,GS);aT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(aT)))(b||aT)}}();
aT.\u0275dir=ed({type:aT,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",Tg]},standalone:!0,features:[Dg([{provide:GS,useExisting:aT}]),Mf,Lf]});var bT=function(){HS.apply(this,arguments)};V(bT,HS);bT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(bT)))(b||bT)}}();
bT.\u0275dir=ed({type:bT,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[Dg([{provide:HS,useExisting:bT}]),Lf]});var cT=function(){};V(cT,JS);cT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(cT)))(b||cT)}}();
cT.\u0275cmp=p({type:cT,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:[Dg([{provide:JS,useExisting:cT}]),Lf,Fg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&dg(0,0)},dependencies:[IS],encapsulation:2});var dT=function(){};V(dT,KS);dT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(dT)))(b||dT)}}();
dT.\u0275cmp=p({type:dT,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:[Dg([{provide:KS,useExisting:dT}]),Lf,Fg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&dg(0,0)},dependencies:[IS],encapsulation:2});var eT=function(){};V(eT,LS);eT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(eT)))(b||eT)}}();
eT.\u0275cmp=p({type:eT,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Dg([{provide:LS,useExisting:eT}]),Lf,Fg],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&dg(0,0)},dependencies:[IS],encapsulation:2});var fT=function(){MS.apply(this,arguments);this._contentClassName="mat-mdc-no-data-row"};V(fT,MS);
fT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(fT)))(b||fT)}}();fT.\u0275dir=ed({type:fT,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[Dg([{provide:MS,useExisting:fT}]),Lf]});var Bqc=[[["caption"]],[["colgroup"],["col"]],"*"],Cqc=function(){};Cqc.\u0275fac=function(a){return new (a||Cqc)};Cqc.\u0275dir=ed({type:Cqc,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],standalone:!0,features:[Dg([{provide:rXb,useClass:tXb}])]});var gT=function(){RS.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};V(gT,RS);gT.\u0275fac=function(){var a;return function(b){return(a||(a=Od(gT)))(b||gT)}}();
gT.\u0275cmp=p({type:gT,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Dg([{provide:RS,useExisting:gT},{provide:uS,useExisting:gT},{provide:oqc,useClass:DS},{provide:rXb,useClass:sXb},{provide:qqc,useValue:null}]),Lf,Fg],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&&(ig(Bqc),jg(0),jg(1,1),C(2,GSa,1,0)(3,HSa,7,0)(4,ISa,4,0));a&2&&(A(2),$f(b._isServer?2:-1),A(),$f(b._isNativeHtmlTable?3:4))},dependencies:[OS,NS,QS,PS],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)}.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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, 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, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, 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);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, 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);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)}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 Dqc=["searchInput"],Eqc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},Fqc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",SEMANTIC_SEARCH_RESULTS:"Semantic search results",ISSUE_IDS:"Issue IDs"},Gqc={},Hqc=(Gqc["Similar issues"]="similar",Gqc["Search results"]="exact",Gqc["Semantic search results"]="semantic",Gqc["Issue IDs"]="id",Gqc),Iqc={SEMANTIC_SEARCH:"Smart search",EXACT_MATCH:"Exact match"},hT=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.dialogRef=
a;this.initialData=b;this.issueFridge=c;this.issuePickerSearchService=d;this.analytics=e;this.activeSession=f;this.componentFridge=h;this.teamFridge=k;this.domSafe=q;this.isSimilarIssuesUiEnabled=this.activeSession.isInternalSession()||ep(this.activeSession,"enableSimilarIssueExternal");this.isInternalSession=this.activeSession.isInternalSession();this.data=Object.assign({},Eqc,this.initialData);var w;this.currentComponentId=(w=this.data.componentId)!=null?w:void 0;this.currentIssueId$=Be(function(){var y;
return((y=t.data.currentResource)==null?void 0:y.type)==="issue"?pe(t.data.currentResource.id):Yu});this.currentIssue$=this.currentIssueId$.pipe(Cf(this.issueFridge.watch),zf({bufferSize:1,refCount:!0}));this.team$=this.currentIssue$.pipe(He(function(y){return!!(y&&y.aggregatedData&&y.aggregatedData.teamId)}),Cf(function(y){return t.teamFridge.watch(y.aggregatedData.teamId)}),zf({bufferSize:1,refCount:!0}));this.component$=this.componentFridge.watch(this.currentComponentId);this.selectedIssues=new TG;
this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=wp.viewIssue.makeHref;this.trackByIssueId=function(y,D){return D.issueId};this.searchText$=new rn("");this.searchTextTrimmed$=this.searchText$.pipe(z(function(y){return y.trim()}),sf());this.idsInSearchText$=this.searchTextTrimmed$.pipe(z(xFa),z(Oi),sf(ci));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(Cf(function(y){return t.issueFridge.watchSet(y)}),Ef(function(){t.isLoading=
!1}));this.openFilter=Qp;this.teamFilter=this.componentFilter=void 0;this.includeDescendants=!1;this.selectedFilters$=new TG([this.openFilter]);this.similarIssues$=we([this.currentIssueId$,this.selectedFilters$.value$,this.searchTextTrimmed$]).pipe(pf(0,jo),He(function(){return t.isSimilarIssuesUiEnabled}),He(function(y){y=l(y);y.next();y.next();return y.next().value===""}),Ef(function(){t.isLoading=!0}),Cf(function(y){var D=l(y);y=D.next().value;D=D.next().value;return Spc(t.issuePickerSearchService,
y,D)}),Ef(function(){t.isLoading=!1}),zf({bufferSize:1,refCount:!0}));this.SearchSource=Iqc;this.selectedSearchSource$=new rn(this.isSimilarIssuesUiEnabled?"Smart search":"Exact match");this.searchResults$=we([this.searchTextTrimmed$.pipe(Ef(function(){t.isLoading=!0}),pf(200)),this.selectedFilters$.value$.pipe(Ef(function(){t.isLoading=!0})),this.selectedSearchSource$]).pipe(Cf(function(y){var D=l(y);y=D.next().value;var G=D.next().value;return D.next().value==="Smart search"?(t.analytics.trackEvent("assistive-issue-picker",
"semantic-search-"+t.data.edgeType),Upc(t.issuePickerSearchService,y,G,t.data.edgeType,t.data.currentResource)):t.issuePickerSearchService.search(y,t.data.edgeType,t.data.currentResource,t.currentComponentId)}),Ef(function(){t.isLoading=!1}),zf({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(z(function(y){return y.length!==1||y[0].issueId.length<4?[]:[y[0].issueId]}),sf(ci),Ef(function(y){y.length===0&&(t.isPasteResultInSuggestion=!1);var D,G=(D=ho(t.similarIssues$))!=
null?D:[];t.isPasteResultInSuggestion=G.map(function(I){return I.issueId}).includes(y[0])}));this.TableDataSource=Fqc;this.tableDataSource="Search results";this.issues$=we([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(Bf([])),this.selectedSearchSource$]).pipe(Cf(function(y){var D=l(y);y=D.next().value;var G=D.next().value;var I=D.next().value;D=D.next().value;return G.length?(t.tableDataSource="Issue IDs",t.issuesWithIdMatches$):y?(t.tableDataSource=D==="Smart search"?"Semantic search results":
"Search results",t.searchResults$):I?(I.length>0&&(t.tableDataSource="Similar issues"),t.similarIssues$):pe(void 0)}),sf());this.correctedDisplayedRows=new qg;this.isPasteResultInSuggestion=this.isLoading=!1};V(hT,Y);hT.\u0275dir=Y.\u0275dir;
hT.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.idsToAutoSelect$.subscribe(function(b){a.selectedIssues.reset(b)}));this.subscriptions.add(this.component$.pipe(qf()).subscribe(function(b){b&&(a.componentFilter=UDa(b,!1),a.selectedScopeFilter=a.componentFilter,a.selectedFilters$.add(a.componentFilter))}));this.subscriptions.add(this.team$.pipe(qf()).subscribe(function(b){b&&(a.teamFilter=TDa(b,!1))}));this.data.edgeType==="canonical"&&this.subscriptions.add(Xpc(this.issuePickerSearchService,
this.currentComponentId).subscribe())};hT.prototype.ngAfterViewInit=function(){this.focusManager=uw(new aqc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};
var PSa=function(a,b){if(a.componentFilter&&a.teamFilter&&a.selectedScopeFilter!==b){a.selectedScopeFilter=b;var c=new Set(ho(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)}},tTa=function(a,b){var c,d;return ge(function(e){if(e.nextAddress==1)return ie(e,Pp(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(Gi);
a.correctedDisplayedRows.reset(d);ug(a.correctedDisplayedRows);me(e)})};hT.prototype.onPressConfirm=function(){var a=this,b,c;return ge(function(d){if(!a.selectedIssues.size)return d.return();b=[].concat(r(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);Jqc(a,b[0]);return ie(d,Kqc(a,b[0]),0)})};hT.prototype.onPressCancel=function(){this.dialogRef.close()};hT.prototype.selectIssue=function(a){this.selectedIssues.reset([a])};
hT.prototype.onRowKeydown=function(a,b,c){if(a===0&&c.key==="ArrowUp")this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var Kqc=function(a,b){var c,d;return ge(function(e){if(e.nextAddress==1)return ie(e,Lqc(a,b),2);c=e.yieldResult;d=Hqc[a.tableDataSource];a.analytics.trackEvent("assistive-issue-picker","picked-c-"+a.data.edgeType,c?d+"-hit":d+"-miss",c?1:0);me(e)})},Jqc=function(a,b){if(a.isSimilarIssuesUiEnabled){var c,d=(c=ho(a.similarIssues$))!=null?c:[],e=d.map(function(f){return f.issueId});c=Hqc[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)}},Lqc=function(a,b){var c,d;return ge(function(e){if(e.nextAddress==1){if(a.data.edgeType!=="canonical")return e.return(!1);c=Set;return ie(e,se(Xpc(a.issuePickerSearchService,a.currentComponentId)),2)}d=new c(e.yieldResult);return e.return(d.has(b))})};hT.prototype.openLearnMore=function(){this.domSafe.openInNewTab("http://go/b-mark-as-duplicate")};
hT.\u0275fac=function(a){return new (a||hT)(B(cH),B(iH),B(EF),B(eS),B(CF),B(as),B(gB),B(JG),B(jJ))};
hT.\u0275cmp=p({type:hT,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(rg(Dqc,5),rg(kS,5));if(a&2){var c;vg(c=wg())&&(b.inputEl=c.first);vg(c=wg())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&O("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})},features:[Lf],decls:23,vars:17,consts:[["searchInput",""],["teamComponentMenu","matMenu"],["menuTrigger","matMenuTrigger"],["mat-dialog-title",
""],["class","heading flex-kids-y gap-s border-bottom padded-bottom margin-s-bottom",4,"ngIf"],[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"],["placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input","keydown.enter"],["class","padded-s",3,"value","selectionChange",4,"ngIf"],[4,"ngIf"],["class","center-text padded margined pos-rel",
4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"medium","confirm",3,"click","disabled"],[1,"heading","flex-kids-y","gap-s","border-bottom","padded-bottom","margin-s-bottom"],[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",4,"ngIf"],["xPosition","before"],
["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","click",4,"ngIf"],["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",3,"click",4,"ngIf"],["aria-label","Scope search to component or team",3,"selectable"],["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"],[1,"center-text","padded","margined","pos-rel"],["text","Finding similar issues...",3,"large"],
["text","Searching..."],["ariaLabel","Loading results",1,"margined","inline-block"],["mat-dialog-content",""],["messageType","info","iconOverride","lightbulb_24px",4,"ngIf"],[1,"heading-xs"],["mat-table","","class","full-width",3,"dataSource","trackBy","contentChanged",4,"ngIf"],["class","center-text padded",4,"ngIf"],["messageType","info","iconOverride","lightbulb_24px"],["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,"center-text","padded"],[1,"margined","inline-block"]],template:function(a,
b){if(a&1){var c=u();F(0,"div",3);C(1,JSa,5,1,"div",4);T(2,"async");F(3,"div",5);J(4,"mat-icon",6);F(5,"span");Q(6,"Close as duplicate of:");H()();F(7,"header",7);C(8,MSa,2,1);T(9,"async");F(10,"input",8,0);O("keydown.arrowdown",function(){v(c);return x(b.focusManager.setActiveItem(0))})("input",function(){v(c);var e=M(11);return x(b.searchText$.next(e.value))})("keydown.enter",function(){v(c);return x(b.onPressConfirm())});H();C(12,NSa,6,7,"mat-select",9);H();C(13,VSa,3,3,"ng-container",10);H();
C(14,ZSa,5,3,"div",11)(15,wTa,6,4,"ng-container",10);T(16,"async");F(17,"div",12)(18,"button",13);O("click",function(){v(c);return x(b.onPressCancel())});Q(19," Cancel ");H();F(20,"button",14);T(21,"async");O("click",function(){v(c);return x(b.onPressConfirm())});Q(22," Close as duplicate ");H()()}if(a&2){var d;A();E("ngIf",U(2,9,b.currentIssue$));A(7);$f((d=U(9,11,b.selectedSearchSource$))?8:-1,d);A(2);Wf("additional-padding-right",b.isSimilarIssuesUiEnabled);A(2);E("ngIf",b.isSimilarIssuesUiEnabled);
A();E("ngIf",b.isSimilarIssuesUiEnabled);A();E("ngIf",b.isLoading);A();E("ngIf",U(16,13,b.issues$));A(5);E("disabled",!U(21,15,b.selectedIssues.size$))}},dependencies:[tv,RC,mS,tS,rS,pS,fS,TR,gS,UR,MR,kC,Ex,Gx,mH,oH,nH,JI,NI,LI,OI,QI,RI,mM,nM,xx,nS,gT,US,$S,WS,TS,bT,XS,ZS,cT,eT,KI,TI,II,pQ,kS,hS,iS,yv],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 iT=function(){this.isDataLoaded=!1;this.indicators=[];this.fullWidth=this.inlineBlock=this.alignRight=!0};iT.prototype.ngOnInit=function(){};iT.\u0275fac=function(a){return new (a||iT)};
iT.\u0275cmp=p({type:iT,selectors:[["b-issue-indicators-cell"]],hostVars:6,hostBindings:function(a,b){a&2&&Wf("text-align-right",b.alignRight)("inline-block",b.inlineBlock)("full-width",b.fullWidth)},inputs:{issue:"issue",indicators:"indicators"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"matTooltip",4,"ngIf"],[3,"matTooltip"]],template:function(a,b){a&1&&C(0,yTa,2,1,"ng-container",0);a&2&&E("ngForOf",b.indicators)},dependencies:[sv,tv,KI,TI],encapsulation:2,changeDetection:0});var jT=function(){};jT.\u0275fac=function(a){return new (a||jT)};jT.\u0275mod=cd({type:jT});jT.\u0275inj=Gc({imports:[Gv,kx,Gw,UL,iQ,jw,wJ]});var kT=function(){};kT.\u0275fac=function(a){return new (a||kT)};kT.\u0275mod=cd({type:kT});kT.\u0275inj=Gc({imports:[jw,RD,dJ,RH,bM,jT]});var lT=function(){this.issue=null;this.isDataLoaded=!1};lT.prototype.ngOnChanges=function(){var a;this.reporter=oFa(yi((a=this.issue)==null?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=this.issue!==null};lT.\u0275fac=function(a){return new (a||lT)};
lT.\u0275cmp=p({type:lT,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[rd],decls:4,vars:3,consts:[["noData",""],[3,"isReady"],[3,"email",4,"ngIf","ngIfElse"],[3,"email"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,zTa,2,2,"b-person-hovercard",2)(2,ATa,1,0,"ng-template",null,0,Mg),H());a&2&&(a=M(3),E("isReady",b.isDataLoaded),A(),E("ngIf",b.reporter)("ngIfElse",a))},dependencies:[LR,tv,gL],encapsulation:2,changeDetection:0});var mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=cd({type:mT});mT.\u0275inj=Gc({imports:[RD,RH]});var nT=function(){};nT.\u0275fac=function(a){return new (a||nT)};nT.\u0275mod=cd({type:nT});nT.\u0275inj=Gc({imports:[RD,VL,mT]});var oT=function(){};oT.\u0275fac=function(a){return new (a||oT)};oT.\u0275mod=cd({type:oT});oT.\u0275inj=Gc({imports:[RD,VL,RH]});var pT=function(){};pT.\u0275fac=function(a){return new (a||pT)};pT.\u0275mod=cd({type:pT});pT.\u0275inj=Gc({imports:[RD]});var qT=function(){};qT.\u0275fac=function(a){return new (a||qT)};qT.\u0275mod=cd({type:qT});qT.\u0275inj=Gc({imports:[pT,AI,RD,uQ,zy,QO,kT,cQ,RH,bM,WL,nT,oT,cR,VL]});var rT=function(){};rT.\u0275fac=function(a){return new (a||rT)};rT.\u0275mod=cd({type:rT});rT.\u0275inj=Gc({imports:[RD]});var sT=function(){};sT.\u0275fac=function(a){return new (a||sT)};sT.\u0275mod=cd({type:sT});sT.\u0275inj=Gc({providers:[rx,{provide:dqc,useValue:{separatorKeyCodes:[13]}}],imports:[lx,yx,lx]});var tT=function(){};tT.\u0275fac=function(a){return new (a||tT)};tT.\u0275mod=cd({type:tT});tT.\u0275inj=Gc({imports:[sT]});var uT=function(){};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275mod=cd({type:uT});uT.\u0275inj=Gc({imports:[lx,SS,lx]});var vT=function(){};vT.\u0275fac=function(a){return new (a||vT)};vT.\u0275mod=cd({type:vT});vT.\u0275inj=Gc({imports:[uT]});var wT=function(){};wT.\u0275fac=function(a){return new (a||wT)};wT.\u0275mod=cd({type:wT});wT.\u0275inj=Gc({imports:[RD,tT,JM,qT,RH,VH,aM,sQ,qM,vT,bM,rQ,lS,rT]});var xT=function(a){this.issuesApi=a};xT.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})};xT.\u0275fac=function(a){return new (a||xT)(n(jC))};xT.\u0275prov=Fc({token:xT,factory:xT.\u0275fac,providedIn:"root"});var yT=function(a,b,c,d,e,f,h){Y.call(this);var k=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=f;this.activeSession=h;this.STATUS_ICON=m2b;this.entrySelect=new xF;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new xF;this.getTextToPutInInputOnSelect=function(){return k.query}};V(yT,Y);yT.\u0275dir=Y.\u0275dir;
yT.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(pf(250),Df(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};yT.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(r(this.defaultChoices),r(this.asyncChoices)))};yT.prototype.selectIssue=function(a){Mqc(this,[a])};
var Oqc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(Nqc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return Cp(b)?[b]:[]},Nqc=function(a){return!a.some(function(b){return!Cp(b)})};yT.prototype.search=function(a){typeof a==="string"&&(this.query=a)};
yT.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(a==="")Pqc(this);else{var b=Oqc(a);b.length===1||b.length>1&&this.allowMultipleIds?(this.lastSearchType="id",Qqc(this,b,a)):(this.lastSearchType="query",Rqc(this,a))}};
var Pqc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Mqc(a,[])},Mqc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;(c=a.autocomplete)==null||ekb(c)},Qqc=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,Pqc(a)):(a.choices=Sqc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(qf(),Df(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var f=e.reduce(function(h,k){var q=La(k.snapshot);return h.set(k.issueId,{resourceId:k.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Hba(b);e=b.map(function(h){return f.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(r(a.choices),r(a.asyncChoices));Mqc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))},Rqc=function(a,b){a.choices=Tqc(a,b);a.hasLoadedResults=
!1;if(dq(b))a.hasLoadedResults=!0;else{var c=Uqc(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:Di((f=a.currentResource)==null?void 0:f.id),nonParallelRequest:!0}).then(function(h){a.currentQuery===b&&(h=h.issueDigests.map(function(k){return{resourceId:k.issueId,displayText:k.title,status:k.status,relations:[]}}),a.choices=[].concat(r(a.choices),r(h)),a.cdr.detectChanges())},
function(h){a.errorHandler.errorHandler(null,h)}).finally(function(){a.hasLoadedResults=!0})}},Sqc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Tqc=function(a,b){return dq(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};yT.prototype.getIssueLink=function(a){return xp(a.resourceId)};
var GTa=function(a){return a.relations.map(function(b){return Vqc.get(b)}).filter(function(b){return!!b}).join("/")},Uqc=function(a,b){if(b.length===0)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};yT.prototype.onEnter=function(a){var b;((b=this.autocomplete)==null?0:b.panelOpen)&&a.stopPropagation()};da.Object.defineProperties(yT.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
yT.\u0275fac=function(a){return new (a||yT)(B(yF,2),B(BP),B(EF),B(xT),B(eD),B(jJ),B(as))};
yT.\u0275cmp=p({type:yT,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&rg(gR,5);if(a&2){var c;vg(c=wg())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Dg([xT,yF]),Lf,rd],decls:9,vars:8,consts:[["auto","matAutocomplete"],["issueHovercard","onedevHovercard"],["cardBody",""],[1,"bv2-issue-picker"],[4,"ngIf"],[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","",4,"ngIf"],["disabled","","class","bv2-resource-picker-message",4,
"ngIf"],["class","bv2-resource-picker-item bv2-issue-picker-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-issue-picker-message"],["disabled",""],[1,"spinner-container"],[3,"large"],["disabled","",1,"bv2-resource-picker-message"],[1,"bv2-resource-picker-item","bv2-issue-picker-item",3,"value"],["role","region","tabindex","0"],["class","icon-s margin-none",3,"svgIcon",4,"ngIf"],[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"],[1,"icon-s","margin-none",3,"svgIcon"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){if(a&1){var c=u();F(0,"div",3);C(1,BTa,3,0,"div",4);F(2,"div",5)(3,"input",6);O("ngModelChange",function(d){v(c);
return x(b.search(d))})("keydown.enter",function(d){v(c);return x(b.onEnter(d))})("keydown.alt.arrowright",function(){v(c);b.activeChoice&&b.domSafe.openInNewTab(b.getIssueLink(b.activeChoice));return x()});H();F(4,"mat-autocomplete",7,0);O("optionActivated",function(d){v(c);b.activeChoice=d.option==null?null:d.option.value;return x()})("optionSelected",function(d){v(c);return x(b.selectIssue(d.option.value))});C(6,CTa,3,1,"mat-option",8)(7,DTa,2,0,"mat-option",9)(8,HTa,14,13,"mat-option",10);H()()()}a&
2&&(a=M(5),A(),E("ngIf",b.searchingForSelf),A(2),E("ngModel",b.query)("matAutocomplete",a),Nf("aria-label",b.selectedIssues.length>0?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue"),A(),E("displayWith",b.getTextToPutInInputOnSelect),A(2),E("ngIf",b.query!==""&&!b.hasLoadedResults),A(),E("ngIf",b.query!==""&&!!b.hasLoadedResults&&b.choices.length===0),A(),E("ngForOf",b.choices))},dependencies:[sv,tv,RC,Bh,dy,ly,xJ,yJ,DJ,zJ,UQ,eR,fR,xx,gR,kC,Hx,pQ,pI],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 Vqc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"]]);var zT=function(a,b,c){this.dialogRef=a;this.params=c;this.DEFAULTS={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1};this.isQueryRestricted=!1;this.selectedIssues=[];this.data=Object.assign({},this.DEFAULTS,b);this.queryRestriction=this.data.componentId?"componentid:"+this.data.componentId+"+":""},LTa=function(a){if(a.queryRestriction!==""&&a.issuePicker!=null){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(vo(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};g=zT.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()};
zT.\u0275fac=function(a){return new (a||zT)(B(cH),B(iH),B(YH))};
zT.\u0275cmp=p({type:zT,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&rg(yT,5);if(a&2){var c;vg(c=wg())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&O("keydown.escape",function(){return b.onEscape()})},decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],["class","bv2-rel-issue-preview-link",4,"ngIf"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],["class","bv2-rel-issue-narrow-to-component",4,"ngIf"],[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"],[1,"bv2-rel-issue-preview-link"],["target","_blank","class","bv2-rel-issue-id-link",3,"href",4,"ngFor","ngForOf"],["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"],[1,"bv2-rel-issue-narrow-to-component"],["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&&(F(0,"h2",0),Q(1),H(),F(2,"div",1)(3,"div",2),C(4,JTa,2,1,"div",3)(5,KTa,6,3,"div",3),H(),F(6,"div",4)(7,"div",5),C(8,MTa,2,2,"div",6),F(9,"b-simple-issue-picker",7),O("keydown.enter",function(){return b.onEnter()})("entrySelect",
function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),H()()()(),F(10,"div",8)(11,"button",9),O("click",function(){return b.onPressCancel()}),Q(12," Cancel "),H(),F(13,"button",10),O("click",function(){return b.onPressConfirm()}),Q(14," Confirm "),H()());a&2&&(A(),R(" ",b.data.title,"\n"),A(3),E("ngIf",b.selectedIssues.length>1),A(),E("ngIf",b.selectedIssues.length===1),A(3),E("ngIf",!!b.queryRestriction),A(),Wf("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),
E("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),A(4),E("disabled",!b.selectedIssues.length))},dependencies:[sv,tv,RC,kC,Ex,mH,oH,nH,KI,TI,yT],encapsulation:2});var AT=function(){};AT.\u0275fac=function(a){return new (a||AT)};AT.\u0275mod=cd({type:AT});AT.\u0275inj=Gc({imports:[AI,RD,zy,VL,cR,iR,RH,VH,bM,rQ]});var Wqc=new ld("XapHatsSurveyApiKey"),Xqc=new ld("XapHatsSurveyLocale"),Yqc=new ld("XapHatsSurveyWindow"),Zqc=new ld("XapHatsSurveyListnrProductId");var $qc=new Map([[0,1],[1,2]]),arc={anchor:1,verticalMargin:0,horizontalMargin:0},BT=function(a,b,c,d,e){var f=function(){var h={apiKey:a,locale:c!=null?c:"en-US",window:d};h=i1b(o1b,"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 n1b(h)};this.helpService=e?e.runOutsideAngular(f):f()},brc=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 ce(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(Cf(function(f){return new ce(function(h){var k;a.helpService.presentSurvey({surveyData:f,colorScheme:d.theme?$qc.get(d.theme):1,authuser:e,customZIndex:(k=d.zIndex)!=null?k:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()},surveyPositioning:function(){return Object.assign({},
arc,d.placement)}}});h.next(f.surveyMetadata)})}))};BT.\u0275fac=function(a){return new (a||BT)(n(Wqc),n(Zqc),n(Xqc,8),n(Yqc,8),n(Me,8))};BT.\u0275prov=Fc({token:BT,factory:BT.\u0275fac,providedIn:"root"});var CT=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
CT.prototype.open=function(a,b){var c=this,d=crc(a),e=d.dialog,f=d.config;return new Promise(function(h){dH(c.dialog.open(e,f)).subscribe(function(k){var q,t=(q=k==null?void 0:k.selectedIssueIds)!=null?q:[],w;k=(w=k==null?void 0:k.lastSearchType)!=null?w:"";w=[a.originIsBulk?"bulk":void 0,t.length>1?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent("issuePicker",w,k);b==null||b(t);h(t);c.activeSession.isInternalSession()&&k==="id"&&brc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(qf()).subscribe()})})};
var crc=function(a){var b={panelClass:"no-jitter",data:a};return a.edgeType==="canonical"?(b.width="60vw",b.minWidth="800px",{dialog:hT,config:b}):{dialog:zT,config:b}};CT.\u0275fac=function(a){return new (a||CT)(n(jH),n(CF),n(BT),n(as))};CT.\u0275prov=Fc({token:CT,factory:CT.\u0275fac,providedIn:"root"});var DT=function(){};DT.\u0275fac=function(a){return new (a||DT)};DT.\u0275mod=cd({type:DT});DT.\u0275inj=Gc({imports:[AT,wT]});var ET=function(){var a=this;this.draftRows=new Map;this.changed$=new yf;this.counter=0;this.createId=function(){return String(a.counter++)}};ET.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:Opc(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};
ET.prototype.get=function(a){var b;return(b=this.draftRows.get(a.hash()))!=null?b:[]};ET.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=l(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 drc=function(a,b){return ge(function(c){return c.return(se(a.changed$.pipe(Bf(a.draftRows),z(function(d){return![].concat(r(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),He(Boolean),z(function(){}))))})};ET.prototype.isSaving=function(){return[].concat(r(this.draftRows.values())).flat().some(function(a){return a.saving})};ET.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(r(c),[b]));this.changed$.next(this.draftRows)};var erc={defaultExpandedChildren:10,defaultExpansionLevel:3,maxExpansion:500},frc=function(a){var b=void 0;b=b===void 0?erc:b;a=a===void 0?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new xf(1)},grc=function(a,b){b=b.hash();return a.expansionState[b]},hrc=function(a,b,c){b=b.hash();c===void 0?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},irc=function(a,b,c){var d=!1;c=l(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f=Opc(b,
e.nodeId);e.size<=a.config.defaultExpansionLevel&&grc(a,e)===void 0&&(a.expansionState[f.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=l(Object.entries(a.expansionState)),k=h.next();!k.done;k=h.next()){k=l(k.value);var q=k.next().value;k=k.next().value;q=Tp(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),f.pathToAncestor.join(",")).split(","),d=new dS(d),delete a.expansionState[q.hash()],a.expansionState[d.hash()]=k,d=!0)}}if(!grc(a,b)){var t;a.expansionState[b.hash()]=
(t=a.config.defaultExpandedChildren)!=null?t:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)};var FT=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=Ci(this.activeSession.getUserEmail())},krc=function(a,b){var c,d,e;return ge(function(f){if(f.nextAddress==1)return ie(f,jrc(a,b),2);c=f.yieldResult;d=c.component;e=c.defaultTemplate;return f.return(XBa(d,e))})},mrc=function(a,b){return lrc(a,b).pipe(z(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}}))},nrc=function(a,b,c){var d;return ge(function(e){if(e.nextAddress==1)return ie(e,se(lrc(a,b)),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
FT.prototype.create=function(a){var b=this,c,d;return ge(function(e){return e.nextAddress==1?ie(e,b.issueApi.createIssue({snapshot:a}),2):e.nextAddress!=3?(c=e.yieldResult,d=c.issueId,ie(e,b.issueFridge.poke(String(d)),3)):e.return({issueId:String(d)})})};
var lrc=function(a,b){return a.issueFridge.watch(b).pipe(He(Gi),Cf(function(c){var d,e;return ge(function(f){if(f.nextAddress==1)return ie(f,jrc(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=z8b[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,orc(d.defaultTemplate),prc(d.component,d.defaultTemplate));e.assigneeUser&&(e.status="ASSIGNED");return f.return(e)})}))},orc=function(a){if(!a)return{};a=qc(a.snapshot,function(b){return b==null||typeof b==="string"&&dq(b)?!1:!0});delete a.componentId;return a},prc=function(a,b){var c=[],d,e;a=l((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,k=void 0,q=(k=(f=b)==null?void 0:(h=f.snapshot.customField)==null?void 0:h.find(function(t){return function(w){return w.customFieldId===t.customField$jscomp$12.customFieldId}}(d)))!=null?k:e;q&&c.push(Object.assign({},q))}return c.length===0?{}:{customField:c}},
jrc=function(a,b){var c,d,e,f,h,k;return ge(function(q){if(q.nextAddress==1)return ie(q,Promise.all([se(a.componentTemplatesFridge.defaultTemplate$(b)),se(a.componentFridge.watch(b).pipe(He(Gi)))]),2);c=q.yieldResult;d=l(c);e=d.next().value;f=d.next().value;h=e;k=f;return q.return({component:k,defaultTemplate:h})})};FT.\u0275fac=function(a){return new (a||FT)(n(jC),n(as),n(EF),n(gB),n(SD))};FT.\u0275prov=Fc({token:FT,factory:FT.\u0275fac,providedIn:"root"});var GT=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G){c=c===void 0?1:c;Y.call(this);var I=this;this.rootIssueId=a;this.quickFilters=b;this.defaultExpansionLevel=c;this.saveExpansionAtKey=d;this.analytics=e;this.butterBar=f;this.issueFridge=h;this.issuePicker=k;this.issueRelationshipsFridge=q;this.paths=t;this.router=w;this.issueCreationService=y;this.clearcut=D;this.refreshMonitor=G;this.defaultApiRequestDepth=this.defaultExpansionLevel+2;this.defaultExpandedChildren=10;this.saveExpansion=this.saveExpansionAtKey?
fm(this.saveExpansionAtKey):function(){};this.expansion=new frc(qrc(this));this.draftRows=new ET;this.refetchingAll$=new rn(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(Cf(function(){I.refetchingAll$.next(!0);var N=ho(I.rows$),S=[];if(!N)return Promise.resolve();S.push(E8b(I.issueRelationshipsFridge,I.rootIssueId,I.defaultApiRequestDepth));N=l(N);for(var W=N.next();!W.done;W=N.next())W=W.value,W.type==="data"&&S.push(I.issueFridge.poke(W.id)),W.level>I.defaultExpansionLevel&&
S.push(I.issueRelationshipsFridge.poke(W.id));return Promise.all(S).then(function(){I.refetchingAll$.next(!1)})}));this.rows$=Ge(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,lha(pe({}),jo)).pipe(Cf(function(){return D8b(I.issueRelationshipsFridge,I.rootIssueId,I.defaultApiRequestDepth)}),Cf(function(){for(var N=new Map,S=l(Object.entries(I.expansion.expansionState)),W=S.next();!W.done;W=S.next()){W=l(W.value);var Z=W.next().value;W=W.next().value;Z=Tp(Z).nodeId;var fa=
void 0;W=Math.max(W,(fa=N.get(Z))!=null?fa:0);N.set(Z,W)}return rrc(I,N)}),mf(this.quickFilters.value$),Cf(function(N){N=l(N);var S=N.next().value;var W=N.next().value;return W.size===0?(I.hiddenRowCount$.next(0),pe(S)):src(I,S).pipe(z(function(Z){return trc(I,S,W,Z)}))}),z(function(N){return urc(I,N)}),zf({refCount:!0,bufferSize:1}));this.hiddenRowCount$=new rn(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(He(Gi));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new dS([this.rootIssueId]),
expandedCount:500,issue$:Yu,hasChildren$:Yu};this.supportsOneLineCreation=se(this.rootIssue$).then(function(N){return wo(N.snapshot[0].componentId)}).then(function(N){return krc(I.issueCreationService,N)});this.isOneLineCreationSupported=function(){return I.supportsOneLineCreation};this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(pf(100)).subscribe(this.saveExpansion))};V(GT,Y);GT.\u0275dir=Y.\u0275dir;GT.\u0275fac=Y.\u0275fac;
var qrc=function(a){a=a.saveExpansionAtKey;if(a!=null){a=nxa(a)();a:if(typeof a!=="object"||Object.getPrototypeOf(a)!==Object.prototype)var b=!1;else{b=l(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}},vrc=function(a,b,c){b=b===void 0?a.ROOT_ROW.ancestorChain:b;var d,e,f,h,k,q,t;ge(function(w){switch(w.nextAddress){case 1:return d=b.nodeId,ie(w,se(a.issueFridge.watch(d)),2);case 2:return(e=w.yieldResult)?
ie(w,a.supportsOneLineCreation,3):w.return();case 3:if(f=w.yieldResult)return h=mrc(a.issueCreationService,d),w.return(a.draftRows.create(b,h,c));k=e.snapshot[0].componentId;t={};return ie(w,Or(a.router,a.paths.createIssue((t.component=k?String(k):void 0,t.parentIssueId=e.issueId,t.redirectUrl=wp.issueDependencies.makeHref(a.rootIssueId),t.afterIssueId=(q=c)==null?void 0:q.afterIssueId,t))),4);case 4:return w.return()}})};
GT.prototype.addExistingChild=function(a){var b=this,c,d,e,f;ge(function(h){if(h.nextAddress==1)return ie(h,se((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 ie(h,b.issuePicker.open({title:"Add Children of b/"+f,allowMultipleIds:!0,edgeType:"child"},function(k){return ge(function(q){if(q.nextAddress==1){if(k.length===0)return q.return();b.assignParentToIssues(f,k);b.analytics.trackEvent("editIssue","add","existing-child-issue");
return ie(q,Pp(0),2)}a&&hrc(b.expansion,a.ancestorChain,500);me(q)})}),0)})};GT.prototype.saveDraft=function(a){var b=this,c;return ge(function(d){if(d.nextAddress==1){if(a.saving||!a.title)return d.return();a.saving=!0;return ie(d,wrc(b,a),2)}return(c=d.yieldResult)?d.return(xrc(b,a,c)):d.return()})};
var wrc=function(a,b){var c,d,e,f;return ge(function(h){switch(h.nextAddress){case 1:return c=b.ancestorChain.parentNodeId,he(h,2),ie(h,nrc(a.issueCreationService,c,b.title),4);case 4:e=h.yieldResult;d=e.issueId;Zt(h,3);break;case 2:return f=le(h),a.butterBar.showWarning("Could not create issue. Error: "+JSON.stringify(f)),a.draftRows.remove(b),h.return();case 3:var k=(new Date).getTime()-b.draftStartedAt.getTime();if(k>0){var q=Math.min(k,108E5);i8b("createIssue",q,"from-tree");a.analytics.trackEvent("createIssue",
"createIssue","time-to-create-from-tree",q);rF(a.clearcut,k,"createIssue-fromTree")}hrc(a.expansion,b.ancestorChain.parentChain,500);k=a.draftRows;q=d;b.issueId=q;for(var t=l(k.draftRows.values()),w=t.next();!w.done;w=t.next()){w=l(w.value);for(var y=w.next();!y.done;y=w.next())y=y.value,y.afterDraftId===b.id&&(y.afterIssueId=q)}k.changed$.next(k.draftRows);return h.return(d)}})},xrc=function(a,b,c){var d,e,f,h,k,q;return ge(function(t){if(t.nextAddress==1)return d=b.ancestorChain.parentNodeId,f=
(e=b.afterIssueId)!=null?e:b.afterDraftId,f===void 0||f==="-1"?t.jumpTo(2):ie(t,drc(a.draftRows,f),2);if(t.nextAddress!=4)return ie(t,a.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:c,afterIssueId:b.afterIssueId}]),4);h=t.yieldResult;k=h.errors;((q=k)==null?0:q.length)&&a.butterBar.showWarning("Could not create issue relationship. Error: "+JSON.stringify(k));a.draftRows.remove(b);me(t)})},rrc=function(a,b,c){c=c===void 0?0:c;return we([a.rootIssueId].concat(r(b.keys())).map(function(d){return a.refetchingAll$.pipe(He(function(e){return!e}),
Cf(function(){return C8b(a.issueRelationshipsFridge,d)}))})).pipe(Cf(function(d){var e=new Map;d=l(d);for(var f=d.next();!f.done;f=d.next())(f=f.value)&&e.set(f.issueId,f);if(c===a.defaultExpansionLevel)return pe(e);d=yrc(a,e,c);d=new Map(d.map(function(h){return[h,a.defaultExpandedChildren]}));return rrc(a,d,c+1).pipe(z(function(h){var k=new Map(e);h=l(h.entries());for(var q=h.next();!q.done;q=h.next()){var t=l(q.value);q=t.next().value;t=t.next().value;k.set(q,t)}return k}))}))},yrc=function(a,
b,c){var d=[];a=[{id:a.rootIssueId,level:-1}];for(var e={};a.length>0;e={current$jscomp$31:void 0})if(e.current$jscomp$31=a.pop(),e.current$jscomp$31.level===c&&d.push(e.current$jscomp$31.id),!(e.current$jscomp$31.level>c)){var f=void 0,h=void 0,k=(h=(f=b.get(e.current$jscomp$31.id))==null?void 0:f.relatedChildren)!=null?h:[];a.push.apply(a,r(k.map(function(q){return function(t){return{id:t.targetIssueId,level:q.current$jscomp$31.level+1}}}(e))))}return d},urc=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,k=(h=(f=b.get(e.parentRow$jscomp$1.id))==null?void 0:f.relatedChildren)!=null?h:[];f=k.slice(0,e.parentRow$jscomp$1.expandedCount);e.childrenLevel=e.parentRow$jscomp$1.level+1;e.parentRow$jscomp$1.expandedCount&&
f.length<k.length&&(h=Opc(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:k.length-f.length}));k=f.map(function(q){return function(t){var w=Opc(q.parentRow$jscomp$1.ancestorChain,t.targetIssueId),y=t.targetIssueId,D=q.childrenLevel,G=a.issueRelationshipsFridge.watch(t.targetIssueId).pipe(z(TCa));var I=q.childrenLevel;var N=w.nodeId,S=grc(a.expansion,
w);if(S!==void 0)I=S;else if(I<a.defaultExpansionLevel){var W,Z;I=Math.min(a.defaultExpandedChildren,(Z=(W=b.get(N))==null?void 0:W.relatedChildren.length)!=null?Z:0)}else I=0;return{type:"data",id:y,level:D,hasChildren$:G,ancestorChain:w,expandedCount:I,issue$:a.issueFridge.watch(t.targetIssueId)}}}(e));d.push.apply(d,r(zrc(a,k,e.parentRow$jscomp$1.ancestorChain).reverse()))}return c},zrc=function(a,b,c){var d=[].concat(r(b));a=a.draftRows.get(c);a=l(a);var e=a.next();for(c={};!e.done;c={draft$jscomp$5:void 0},
e=a.next())c.draft$jscomp$5=e.value,b.some(function(f){return function(h){return h.id===f.draft$jscomp$5.issueId}}(c))||(e=d.findIndex(function(f){return function(h){return h.id===f.draft$jscomp$5.afterDraftId||h.id===f.draft$jscomp$5.afterIssueId}}(c)),d.splice(e===-1?d.length:e+1,0,c.draft$jscomp$5));return d};
GT.prototype.assignParentToIssues=function(a,b){var c=this,d,e,f,h;return ge(function(k){if(k.nextAddress==1)return b.length===0?k.return():ie(k,c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=k.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 Zm(q)}))),k.return();me(k)})};
var src=function(a,b){for(var c=new Set,d=l(b.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);b=l(b.values());for(d=b.next();!d.done;d=b.next())for(d=d.value.relatedChildren.map(function(f){return f.targetIssueId}),d=l(d),e=d.next();!e.done;e=d.next())c.add(e.value);return we([].concat(r(c)).map(function(f){return a.issueFridge.watch(f)})).pipe(z(function(f){return f.filter(Gi)}))},trc=function(a,b,c,d){function e(q){if(!q)return!1;var t=f.get(q),w=h.get(q);if(!t||t.relatedChildren.length===
0)return w;var y=t.relatedChildren.filter(function(D){return e(D.targetIssueId)});k+=t.relatedChildren.length-y.length;f.set(q,Object.assign({},t,{relatedChildren:y}));return y.length!==0||w}var f=new Map(b.entries()),h=new Map(d.map(function(q,t,w){return[q.issueId,uRa(c,t,w)]})),k=0;e(a.rootIssueId);a.hiddenRowCount$.next(k);return f},HT=function(a,b,c,d,e,f,h,k,q,t){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=f;this.router=
h;this.issueCreationService=k;this.clearcut=q;this.refreshMonitor=t};HT.prototype.create=function(a,b,c,d){b=b===void 0?new TG:b;return new GT(a,b,c,d,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};HT.\u0275fac=function(a){return new (a||HT)(n(CF),n(cD),n(EF),n(CT),n(XF),n(BP),n(HD),n(FT),n(qF),n(DF))};HT.\u0275prov=Fc({token:HT,factory:HT.\u0275fac,providedIn:"root"});var IT=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new yf;this.onRowsMoved$=new yf;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=W_b(function(f,h){if(e.activeDrag){var k=f||0,q=h.getBoundingClientRect();f=q.height;k-=q.top;f=PTa(k<=f*.25?
"top":k>=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 t=(k=(t=f.querySelector(".title-location"))==null?void 0:t.getBoundingClientRect().left)?k-f.getBoundingClientRect().left:0;t=f.offsetLeft+t;k=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=t+"px";e.insertionBar.style.top=k-1+"px";e.insertionBar.style.width=q-t+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:f,position:h};Arc(e,f,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(f){var h,k=(h=f.target)==null?void 0:h.closest("tr");
if(k&&(e.onDragOver(f.clientY,k),k.classList.contains("dragging")||k.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(){Brc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,Crc(e.rowSelectionModel),"mouse",4);Brc(e)})})};
IT.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(QTa(c));Drc(this.rowSelectionModel);Erc(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=l(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var Frc=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)},Grc=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=l(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)}};
IT.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)}};
IT.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"?Frc(this,a):(b=c&&b.row.level<OTa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
IT.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=(b=a.target)==null?void 0:b.closest("tr");if(c){var d=QTa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":Frc(this,b);break;case "ArrowRight":Grc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
IT.prototype.reorder=function(a,b,c,d){var e=this;if(a){var f=QTa(a.rowElement),h=void 0,k=f;switch(a.position){case "current":k=f;h={parentId:f.nodeId};break;case "before":case "after":k=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:k,origin:c,actionMessage:NTa(d)})})}};
var Brc=function(a){for(var b=l(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=l(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},Arc=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 QTa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},Erc=function(a){var b;
(b=a.updatingNoDropRows)==null||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(Bf(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(f){return f.nodeId}));c=l(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 JT=function(a){Y.call(this);var b=this;this.analytics=a;this.dragStarted$=new yf;this.onRowsMoved$=new yf;Ge(this.dragStarted$,this.onRowsMoved$).pipe(SDa(),Df(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=Oi(c.map(function(e){return e.event.origin}));c=c.length===1?c[0]:"mixed";b.analytics.trackEvent("editIssue","reorderChildren",c);i8b("reorderChildren",d,c)})};V(JT,Y);JT.\u0275dir=Y.\u0275dir;JT.\u0275fac=function(a){return new (a||JT)(n(CF))};
JT.\u0275prov=Fc({token:JT,factory:JT.\u0275fac,providedIn:"root"});var KT=function(){this.changed$=new yf;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};KT.prototype.init=function(a){this.visibleRows=a};KT.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var UUa=function(a,b){var c=b.hash(),d,e=(d=a.isSelectedObservableMap.get(c))!=null?d:a.changed$.pipe(Bf(a.selectedRowHashes),z(function(f){return f.has(b.hash())}),sf(),zf({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
KT.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};KT.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var Drc=function(a){for(var b=a.visibleRows.toArray().map(function(k){return k.row.ancestorChain}),c=!1,d=l(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=Tp(e.value);for(var f=l(b),h=f.next();!h.done;h=f.next())h=h.value,Ppc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},Crc=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(r(a.selectedRowHashes.values())).map(function(f){return Tp(f)}).map(function(f){return f.nodeId})),d=[];a=l(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};
da.Object.defineProperties(KT.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(r(this.selectedRowHashes)).map(function(a){return Tp(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var Hrc=["actionsMenuIconButton"],LT=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};LT.prototype.trackByIndex=function(a){return a};LT.prototype.onAction=function(a,b){return ge(function(c){if(a.type==="mouseup"&&a instanceof MouseEvent&&a.button!==1)return c.return();b.type!=="action"&&b.type!=="select"||b.action(a);me(c)})};LT.prototype.ngOnInit=function(){};LT.\u0275fac=function(a){return new (a||LT)};
LT.\u0275cmp=p({type:LT,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&rg(Hrc,5);if(a&2){var c;vg(c=wg())&&(b.actionsMenuIconButton=c.first)}},inputs:{menuItems:"menuItems",buttonLabel:"buttonLabel",buttonIcon:"buttonIcon",header:"header"},decls:6,vars:4,consts:[["menu","matMenu"],["actionsMenuIconButton",""],["submenu","matMenu"],["mat-icon-button","","class","medium","aria-haspopup","true",3,"matTooltip","matMenuTriggerFor",4,"ngIf"],[1,"b-actions-menu-panel"],["class","bv2-menu-header",
4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-icon-button","","aria-haspopup","true",1,"medium",3,"matTooltip","matMenuTriggerFor"],[1,"icon-s",3,"svgIcon"],[1,"bv2-menu-header"],[4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["class","icon-s",3,"svgIcon",4,"ngIf"],["class","hint",4,"ngIf"],[1,"hint"],["mat-menu-item","",3,"disabled","ngClass","click","mouseup",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","ngClass","click","mouseup",4,"ngIf"],
["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&&(C(0,RTa,3,4,"button",3),F(1,"mat-menu",null,0)(3,"div",4),C(4,STa,2,1,"div",5)(5,fUa,3,2,"ng-container",6),H()());a&2&&(E("ngIf",b.menuItems.length>0),A(4),E("ngIf",b.header),A(),E("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[JI,NI,LI,OI,
rv,sv,tv,RC,kC,Gx,KI,TI],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 Irc={type:"action",label:"Report illegal content"},Jrc={type:"submenu",label:"View as"},Krc={type:"action",label:"Restriction settings..."},Lrc={type:"action",label:"Show editing history"};var Mrc=function(){return["active-indicator","load-more-children"]},Nrc=wp.listIssues.makeHref,Orc={type:"data",id:"",issue$:Yu,hasChildren$:Yu,ancestorChain:new dS([]),level:0,expandedCount:0},MT=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I){Y.call(this);var N=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=f;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=t;this.cdr=w;this.relationsTableModelFactory=y;this.liveAnnouncer=
D;this.clearcut=G;this.paths=I;this.defaultExpansionLevel=1;this.internalFilters=new TG;this.isClosed=Esa;this.tableColumns=[].concat(r(spc));this.options={};this.trackBy=function(S,W){return W.ancestorChain.hash()+W.type};this.isLoadMoreRow=function(S,W){return W.type==="load-more-children"};this.isDataRow=function(S,W){return W.type==="data"};this.isDraftRow=function(S,W){return W.type==="draft-issue"};this.selectionModel=new KT;this.hasLogged=!1;this.correctedDisplayedRows=new qg;this.TITLE_FIXED_OFFSET_PX=
42;this.rowDirectiveMap=new Map;this.getRowIndex=function(S){var W;return((W=ho(N.rows$))!=null?W:[]).findIndex(function(Z){return Sp(Z,S)})};this.showError=function(S){return function(W){N.butterBar.showWarning(S+". "+(Ym(W)?Zm(W):W))}};this.subscriptions.add(cS(k,function(){return N.tableModel.draftRows.isSaving()||N.issueRelationshipsFridge.isSaving()},!1))};V(MT,Y);MT.\u0275dir=Y.\u0275dir;
MT.prototype.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters,this.defaultExpansionLevel,this.saveExpansionAtKey);this.rows$=lha([this.tableModel.rows$,pe([Orc])],Ee).pipe(ze(1),zf({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(Cf(function(c){return we(c.filter(function(d){return d.type==="data"}).map(function(d){return d.issue$}))}),pf(0,jo));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();Prc(a,c)}));
this.rowReorderingModel=new IT(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"?OUa(a,d):d.type==="data"&&(c=a.tableModel.expansion,d=d.ancestorChain,grc(c,d)||hrc(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return ge(function(e){if(e.nextAddress==1)return I8b(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")),irc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),ie(e,se(a.correctedDisplayedRows.changes.pipe(z(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})}),
He(Boolean),Je(6E4))),2);d=e.yieldResult;d.focus();me(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
var Prc=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;V7b(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",V7b(a.clearcut,"view-relations-"+c),a.analytics.trackEvent("editIssue","view-relations","ratio-estimated",b),a.analytics.trackEvent("editIssue","view-relations",c))}};
MT.prototype.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);we([this.rows$,this.displayedRows.changes]).pipe(Df(this.destroyed$)).subscribe(function(b){b=l(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);ug(a.correctedDisplayedRows)});this.focusManager=uw(new aqc(this.correctedDisplayedRows,
Sp))};MT.prototype.toggleExpansion=function(a){hrc(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};MT.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=wp.viewIssue.makeHref(b.id),Yk(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Eo(this.domSafe,b):Or(this.router,b))};
var OUa=function(a,b){var c;return ge(function(d){if(d.nextAddress==1)return c=a.getRowIndex(b),hrc(a.tableModel.expansion,b.ancestorChain.parentChain,500),ie(d,Pp(0),2);a.focusManager.setActiveItem(c);me(d)})},KUa=function(a,b){return[{type:"action",label:"Continue on the create issue page",action:function(c){return Qrc(a,c,b)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
MT.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:!ho(a.hasChildren$),action:function(){var c=Nrc({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 ge(function(c){if(c.nextAddress==1)return ie(c,
Pp(0),2);uXa(b,a);me(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 ge(function(c){if(c.nextAddress==1)return ie(c,Pp(0),2);Rrc(b,a);me(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(){Grc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},{type:"action",label:"Unindent",action:function(){Frc(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(){Src(b,a)},title:"Archive issue",icon:"archive_24px"}]};
MT.prototype.saveDraft=function(a){var b=this,c,d;return ge(function(e){if(e.nextAddress==1){if(!a.title)return e.return();b.tableModel.saveDraft(a);b.focusManager.setActiveItem(b.getRowIndex(a));return ie(e,se(b.displayedRows.changes.pipe(z(function(f){return f.find(function(h){return h.row.type==="data"&&h.row.id===a.issueId})}),He(Boolean),Je(6E4))),2)}c=e.yieldResult;Sp((d=b.focusManager.activeItem)==null?void 0:d.row,a)&&b.focusManager.setActiveItem(c);me(e)})};
var Up=function(a,b){if(!b.saving){a.tableModel.draftRows.remove(b);var c;Sp((c=a.focusManager.activeItem)==null?void 0:c.row,b)&&a.focusManager.setPreviousItemActive()}},uXa=function(a,b){vrc(a.tableModel,b==null?void 0:b.ancestorChain,{afterIssueId:"-1"})},Rrc=function(a,b){b.type==="data"?vrc(a.tableModel,b.ancestorChain.parentChain,{afterIssueId:b.id}):vrc(a.tableModel,b.ancestorChain.parentChain,{afterDraftId:b.id})};MT.prototype.addExistingChild=function(a){this.tableModel.addExistingChild(a)};
var Trc=function(a){return a.tableColumns.map(function(b){return b==="title"?"editable-title":b==="menu"?"save":b==="id"?"empty-id":b})};MT.prototype.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
MT.prototype.onRowKeydown=function(a,b){var c=this,d;return ge(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"&&(OUa(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?ie(e,c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();
a.type==="data"&&(b.shiftKey?uXa(c,a):Rrc(c,a));a.type==="draft-issue"&&a.saving&&Rrc(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);me(e)}})};
var Qrc=function(a,b,c){var d,e,f,h,k,q,t,w;return ge(function(y){if(y.nextAddress==1)return b.defaultPrevented||b.type==="mouseup"&&b instanceof MouseEvent&&b.button!==1?y.return():ie(y,se(c.issue$),2);d=y.yieldResult;t={};w=a.paths.createIssue((t.component=String((e=d)==null?void 0:e.snapshot[0].componentId),t.parentIssueId=c.ancestorChain.parentChain.nodeId,t.redirectUrl=wp.issueDependencies.makeHref(a.rootIssueId),t.afterIssueId=c.afterIssueId,t.title=c.title,t.priority=(k=(f=d)==null?void 0:
f.snapshot[0].priority)!=null?k:void 0,t.type=(q=(h=d)==null?void 0:h.snapshot[0].type)!=null?q:void 0,t));if(Yk(b))return Up(a,c),a.domSafe.openInNewTab(w),y.return();if(b&&b.shiftKey)return Up(a,c),Eo(a.domSafe,w),y.return();Or(a.router,w);me(y)})},Src=function(a,b){var c,d;ge(function(e){if(e.nextAddress==1)return a.analytics.trackEvent("editIssue","update","archive-child-issue"),c=a.getRowIndex(b),a.issueArchiveService.archive(b.id),ie(e,se(a.rows$.pipe(z(function(f){return!f.find(function(h){return h.type===
"data"&&h.id===b.id})}),He(Boolean),Je(6E4))),2);Sp((d=a.focusManager.activeItem)==null?void 0:d.row,b)&&a.focusManager.setActiveItem(c);me(e)})};
MT.prototype.unlinkFromParent=function(a){var b=this,c,d;return ge(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent("editIssue","update","unlink-child-issue");return ie(e,b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){Xp(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};MT.prototype.isOpen=function(a){return aj(a)};
MT.prototype.getAssigneeString=function(a){var b,c;return oFa(yi(a==null?void 0:(b=a.snapshot)==null?void 0:(c=b[0])==null?void 0:c.assigneeUser)||void 0)};da.Object.defineProperties(MT.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$}}});
MT.\u0275fac=function(a){return new (a||MT)(B(XF),B(HD),B(cD),B(CF),B(aS),B(Me),B(Rd),B(bS),B(jJ),B(JT),B(yF),B(HT),B(iw),B(qF),B(BP))};
MT.\u0275cmp=p({type:MT,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&rg(kS,5);if(a&2){var c;vg(c=wg())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",defaultExpansionLevel:"defaultExpansionLevel",saveExpansionAtKey:"saveExpansionAtKey",filters:"filters",tableColumns:"tableColumns",options:"options"},features:[Dg([yF]),Lf],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"],[4,"ngIf"],["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"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],
[3,"issue",4,"ngSwitchDefault"],["size","medium",3,"email",4,"ngIf"],["size","medium",3,"email"],[3,"issue","showPendingFix"],["buttonLabel","More options",3,"click","menuItems"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],[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-header-row",""],["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&&(F(0,"table",3),K(1,4),C(2,iUa,1,0,"th",5)(3,jUa,2,0,"td",6),L(),K(4,7),C(5,kUa,1,0,"th",5)(6,lUa,3,0,"td",8),L(),K(7,9),C(8,mUa,2,0,"th",5)(9,nUa,2,1,"td",10),L(),K(10,11),C(11,oUa,2,0,"th",5)(12,pUa,2,0,"td",10),L(),K(13,12),C(14,qUa,2,0,"th",5)(15,rUa,4,8,"td",10),L(),K(16,13),C(17,sUa,2,0,"th",5)(18,tUa,3,3,"td",10),L(),K(19,14),C(20,wUa,4,2,"th",5)(21,CUa,4,2,"td",10),L(),K(22,15),C(23,DUa,2,0,"th",5)(24,EUa,3,4,"td",10),L(),K(25,
16),C(26,FUa,2,0,"th",5)(27,GUa,3,3,"td",10),L(),K(28,17),C(29,HUa,1,0,"th",5)(30,IUa,2,1,"td",10),L(),K(31,18),C(32,JUa,1,0,"th",5)(33,NUa,4,2,"td",19),L(),K(34,20),C(35,PUa,6,7,"td",21),L(),K(36,22),C(37,QUa,2,0,"th",5)(38,RUa,7,6,"td",21),L(),C(39,TUa,2,1,"ng-container",23)(40,VUa,3,12,"tr",24)(41,WUa,1,4,"tr",25)(42,XUa,1,2,"tr",26),H(),J(43,"div",27)(44,"div",28)(45,"div",29));a&2&&(E("dataSource",b.rows$)("trackBy",b.trackBy),A(39),E("ngIf",!b.options.hideColumnHeaders),A(),E("matRowDefColumns",
b.tableColumns)("matRowDefWhen",b.isDataRow),A(),E("matRowDefColumns",Gg(9,Mrc))("matRowDefWhen",b.isLoadMoreRow),A(),E("matRowDefColumns",Trc(b))("matRowDefWhen",b.isDraftRow))},dependencies:[$v,tv,uv,vv,wv,RC,nS,gT,US,$S,WS,TS,bT,XS,ZS,cT,eT,KI,TI,LT,LR,sO,NR,OR,TR,UR,YR,ZR,$R,gM,pQ,kS,MO,yv],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 $Ua=function(a){this.internalArray_=m(a)};V($Ua,X);g=$Ua.prototype;g.getFilename=function(){return Zh(this,1)};g.setFilename=function(a){Sj(this,1,a)};g.getLineNumber=function(a){return yu(this,2,a)};g.getChangeNumber_asLegacyNumberOrString=function(){return Jj(this,3)};g.setChangeNumber=function(a){return Tl(this,3,a)};$Ua.repeatedFields_=[2];var bVa=function(a){this.internalArray_=m(a)};V(bVa,X);bVa.repeatedFields_=[2];var Urc=function(a){this.internalArray_=m(a,0,Urc.messageId)};V(Urc,X);Urc.repeatedFields_=[3];Urc.messageId="b.MentionSearchResult";var NT=function(a){this.executor=a};NT.\u0275fac=function(a){return new (a||NT)(n(qA))};NT.\u0275prov=Fc({token:NT,factory:NT.\u0275fac,providedIn:"root"});var OT=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},Vrc=function(a,b){var c=a.getLink(b);a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=l8b(a.refreshMonitor,Be(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:Urc}).then(cVa).then(function(d){return{mentions:d,link:c}}).catch(function(){return{link:c}})}).pipe(Bf({link:c}))).pipe(zf({refCount:!0,bufferSize:1})));return a.cachedEntry};
OT.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"};OT.prototype.getLink=function(a){return"https://todo.corp.google.com/?issue="+a};OT.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};OT.\u0275fac=function(a){return new (a||OT)(n(NT),n(DF),n(CF))};
OT.\u0275prov=Fc({token:OT,factory:OT.\u0275fac,providedIn:"root"});var QT=function(a,b,c,d,e,f){var h=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.eventsForIssue=e;this.activeSession=f;this.id$=this.paramsService.issueId$.pipe(rf(1E3));this.issue$=this.id$.pipe(Cf(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(Cf(this.eventsForIssue.watch),z(function(k){var q;return(q=k==null?void 0:k.events)!=null?q:[]}));this.blockerIssueIds$=this.issue$.pipe(z(function(k){var q;return(q=k==null?void 0:k.snapshot[0].blockedByIssueId)!=
null?q:[]}),sf(ci));this.blockedIssueIds$=this.issue$.pipe(z(function(k){var q;return(q=k==null?void 0:k.snapshot[0].blockingIssueId)!=null?q:[]}),sf(ci));this.parentIds$=this.issue$.pipe(z(function(k){var q;return(q=k==null?void 0:k.parentIssueIds)!=null?q:[]}),sf(ci));this.childrenIds$=this.id$.pipe(Cf(this.issueRelationshipsFridge.watch),z(function(k){var q;return(q=k==null?void 0:k.relatedChildren.map(function(t){return t.targetIssueId}))!=null?q:[]}));this.duplicateIssueIds$=this.issue$.pipe(z(function(k){var q;
return(q=k==null?void 0:k.snapshot[0].duplicateIssueId)!=null?q:[]}),sf(ci));this.blockersDualCount$=we([this.id$,this.blockerIssueIds$]).pipe(Cf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return PT(h,k,q,["BLOCKED_BY"])}),zf({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(z(Vp),zf({bufferSize:1,refCount:!0}));this.blockedDualCount$=we([this.id$,this.blockedIssueIds$]).pipe(Cf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return PT(h,k,
q,["BLOCKING"])}),zf({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(z(Vp),zf({bufferSize:1,refCount:!0}));this.childrenDualCount$=we([this.id$,this.childrenIds$]).pipe(Cf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return PT(h,k,q,["CHILDREN"])}),zf({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(z(Vp),zf({bufferSize:1,refCount:!0}));this.parentsDualCount$=we([this.id$,this.parentIds$]).pipe(Cf(function(k){var q=
l(k);k=q.next().value;q=q.next().value;return PT(h,k,q,["PARENT"])}),zf({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(z(Vp),zf({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=we([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(Cf(function(k){var q=l(k);k=q.next().value;var t=q.next().value;q=q.next().value;return PT(h,k,[].concat(r(q),r(t)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(z(Vp),zf({bufferSize:1,
refCount:!0}));this.duplicatesDualCount$=we([this.id$,this.duplicateIssueIds$]).pipe(Cf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return PT(h,k,q,["DUPLICATE"])}),zf({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(z(function(k){return k.total}),z(eVa),zf({bufferSize:1,refCount:!0}));this.countResourcesDisplay$=this.issue$.pipe(z(function(k){var q;return(q=k==null?void 0:k.relatedLinks)!=null?q:[]}),z(function(k){return h.activeSession.isInternalSession()?
k:k.filter(function(q){return!iIa(q)})}),z(function(k){return Wp(k.length)}),z(eVa),zf({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(He(Gi),Cf(function(k){return Vrc(h.codeMentions,k)}),z(function(k){var q,t;return Wp((t=(q=k.mentions)==null?void 0:q.totalMentions)!=null?t:0)}),z(eVa),zf({bufferSize:1,refCount:!0}));this.countCommentsDisplay$=this.issueEvents$.pipe(z(function(k){return Wp(k.filter(Xi).length)}),z(eVa),zf({bufferSize:1,refCount:!0}))},PT=function(a,b,c,d){d=d===
void 0?[]:d;c=Oi(c);if(!b||c.length===0)return pe({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return fVa(b,e)}).filter(Gi).map(function(e){return"("+e+")"}).join(" OR ");return c.length>99&&d?a.issueFridge.watchMany({filter:d,pageSize:100}).pipe(z(function(e){e=e.results.filter(aj).filter(bj).length;return{open:Wp(e),total:Wp(c.length)}})):we(c.map(function(e){return a.issueFridge.watch(e)})).pipe(z(function(e){return{open:Wp(e.filter(Gi).filter(aj).filter(bj).length),
total:Wp(e.filter(function(f){return!f||bj(f)}).length)}}))};QT.\u0275fac=function(a){return new (a||QT)(n(YH),n(XF),n(EF),n(OT),n(HE),n(as))};QT.\u0275prov=Fc({token:QT,factory:QT.\u0275fac,providedIn:"root"});var Wrc=Eh("indicator",[Hh("active-asc, asc",Gh({transform:"translateY(0px)"})),Hh("active-desc, desc",Gh({transform:"translateY(10px)"})),Jh("active-asc <=> active-desc",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Xrc=Eh("leftPointer",[Hh("active-asc, asc",Gh({transform:"rotate(-45deg)"})),Hh("active-desc, desc",Gh({transform:"rotate(45deg)"})),Jh("active-asc <=> active-desc",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Yrc=Eh("rightPointer",[Hh("active-asc, asc",Gh({transform:"rotate(45deg)"})),Hh("active-desc, desc",
Gh({transform:"rotate(-45deg)"})),Jh("active-asc <=> active-desc",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Zrc=Eh("arrowOpacity",[Hh("desc-to-active, asc-to-active, active",Gh({opacity:1})),Hh("desc-to-hint, asc-to-hint, hint",Gh({opacity:.54})),Hh("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Gh({opacity:0})),Jh("* => asc, * => desc, * => active, * => hint, * => void",Fh("0ms")),Jh("* <=> *",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),$rc=Eh("arrowPosition",[Jh("* => desc-to-hint, * => desc-to-active",
Fh("225ms cubic-bezier(0.4,0.0,0.2,1)",Ih([Gh({transform:"translateY(-25%)"}),Gh({transform:"translateY(0)"})]))),Jh("* => hint-to-desc, * => active-to-desc",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)",Ih([Gh({transform:"translateY(0)"}),Gh({transform:"translateY(25%)"})]))),Jh("* => asc-to-hint, * => asc-to-active",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)",Ih([Gh({transform:"translateY(25%)"}),Gh({transform:"translateY(0)"})]))),Jh("* => hint-to-asc, * => active-to-asc",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)",
Ih([Gh({transform:"translateY(0)"}),Gh({transform:"translateY(-25%)"})]))),Hh("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Gh({transform:"translateY(0)"})),Hh("hint-to-desc, active-to-desc, desc",Gh({transform:"translateY(-25%)"})),Hh("hint-to-asc, active-to-asc, asc",Gh({transform:"translateY(25%)"}))]),asc=Eh("allowChildren",[Jh("* <=> *",[Jpa()])]);var RT=function(){this.changes=new yf};RT.\u0275fac=function(a){return new (a||RT)};RT.\u0275prov=Fc({token:RT,factory:RT.\u0275fac,providedIn:"root"});var bsc={provide:RT,deps:[[new Lu,new Mu,RT]],useFactory:function(a){return a||new RT}};var csc=new ld("MAT_SORT_DEFAULT_OPTIONS"),ST=function(a){this._defaultOptions=a;this._initializedStream=new xf(1);this.sortables=new Map;this._stateChanges=new yf;this.start="asc";this._direction="";this.disabled=!1;this.sortChange=new bv;this.initialized=this._initializedStream};g=ST.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()};da.Object.defineProperties(ST.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}}});ST.\u0275fac=function(a){return new (a||ST)(B(csc,8))};
ST.\u0275dir=ed({type:ST,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",Tg],disabled:[2,"matSortDisabled","disabled",Tg]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[Mf,rd]});var TT=function(a,b,c,d,e,f,h,k){this._intl=a;this._changeDetectorRef=b;this._sort=c;this._columnDef=d;this._focusMonitor=e;this._elementRef=f;this._ariaDescriber=h;this._showIndicatorHint=!1;this._viewState={};this._arrowDirection="";this._disableViewStateAnimation=!1;this.arrowPosition="after";this.disabled=!1;this._sortActionDescription="Sort";if(k==null?0:k.arrowPosition)this.arrowPosition=k==null?void 0:k.arrowPosition;this._handleStateChanges()};g=TT.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||mw(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||mw(b,this._sortButton,this._sortActionDescription);var c;(c=this._ariaDescriber)==null||lw(c,this._sortButton,a)}this._sortActionDescription=a};
g._handleStateChanges=function(){var a=this;this._rerenderSubscription=Ge(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()})};da.Object.defineProperties(TT.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}}});TT.\u0275fac=function(a){return new (a||TT)(B(RT),B(Wg),B(ST,8),B("MAT_SORT_HEADER_COLUMN_DEF",8),B(Sv),B(Rd),B(kw,8),B(csc,8))};
TT.\u0275cmp=p({type:TT,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&O("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&&(Nf("aria-sort",b._getAriaSortAttribute()),Wf("mat-sort-header-disabled",b._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",
start:"start",disabled:[2,"disabled","disabled",Tg],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",Tg]},exportAs:["matSortHeader"],standalone:!0,features:[Mf,Fg],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&&(ig(),F(0,"div",0)(1,"div",1),jg(2),H(),C(3,gVa,6,6,"div",2),H());a&2&&(Wf("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before",b.arrowPosition==="before"),Nf("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),A(3),$f(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);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}.cdk-high-contrast-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)}.cdk-high-contrast-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}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .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:[Wrc,Xrc,Yrc,Zrc,$rc,asc]},changeDetection:0});var dsc={menu:{includeGoToIssueItem:!0},sortMode:"INTERNAL_SORT",activeRowMode:"FOCUS_SYNC"},UT=function(a,b,c){Y.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.isOpen=function(e){return aj(e)};this.isClosed=Esa;this.isUnread=Gsa;this.getAssigneeString=function(e){var f,h;e=yi(e==null?void 0:(f=e.snapshot)==null?void 0:(h=f[0])==null?void 0:h.assigneeUser);return Ki(e)?e:void 0};this.getPriority=yWa;this.getModifiedTimeMicros=zWa;this.userToString=yi;this.toMatSortDirection=
vsa;this.ClickTargetsForNavigation=qpc;this.SortMode=ppc;this.ActiveRowMode=opc;this.issueIds$=new rn([]);this.menuItemFactory=function(){return[]};this.showReadStatus=!1;this.indicators=[];this.optionsInternal=dsc;this.activeIssueChange=new xF;this.rowClick=new xF;this.sortChange=new xF;this.rowLimit$=new rn(this.options.rowLimit);this.DEFAULT_DATETIME_MODE="datetime";this.DEFAULT_MENU_OPTIONS={buttonIcon:"more-settings-vertical",buttonLabel:"More options"};this.internalFilters=new TG;this.goToIssueItemFactory=
function(e){return{type:"action",label:"Go to issue",action:function(f){d.navigateToIssue(f,e)},title:"Go to issue",icon:"arrow-forward"}};this.tableColumns=[].concat(r(rpc));this.activeSort$=new rn(void 0);this.allRows$=this.issueIds$.pipe(io(),z(function(e){return e.map(function(f){return{id:f,issue$:Ge(d.issueFridge.watch(f),d.issueFridge.watchOneError(f).pipe(z(function(){})))}})}),zf({refCount:!0,bufferSize:1}));this.allIssuesAreLoaded$=this.allRows$.pipe(Cf(function(e){return we(e.map(function(f){return f.issue$.pipe(Bf(null))}))}),
z(function(e){return e.every(function(f){return f!==null})}));this.unarchivedRows$=this.allRows$.pipe(mf(this.allIssuesAreLoaded$),z(function(e){var f=l(e);e=f.next().value;return f.next().value?e.filter(function(h){var k;return!((k=cj(h))==null?0:k.isArchived)}):e}));this.unarchivedRows$.pipe(z(function(e){return e.length}));this.sortRows=be(mf(this.activeSort$,this.allIssuesAreLoaded$),z(function(e){var f=l(e);e=f.next().value;var h=f.next().value;return f.next().value&&d.options.sortMode==="INTERNAL_SORT"?
AWa(e,h):e}));this.filterRows=be(mf(this.internalFilters.value$),Cf(function(e){e=l(e);var f=e.next().value;var h=e.next().value;return h.size===0?pe(f):we(f.map(function(k){return k.issue$})).pipe(z(function(k){return f.filter(function(q,t){return k[t]?uRa(h,t,k):!0})}))}));this.limitRows=be(mf(this.rowLimit$),z(function(e){var f=l(e);e=f.next().value;return(f=f.next().value)?e.slice(0,f):e}));this.filteredRows$=this.unarchivedRows$.pipe(this.filterRows);this.trendingChipsById$=go(this.unarchivedRows$.pipe(mf(this.allIssuesAreLoaded$.pipe(sf())),
z(function(e){var f=l(e);e=f.next().value;if(f.next().value){f=e.map(cj).map(function(w){return w==null?void 0:w.userActivityStats});var h=f.map(function(w){var y;return(y=w==null?void 0:w.oneDayViewCount)!=null?y:0}),k=f.map(function(w){var y;return(y=w==null?void 0:w.sevenDayViewCount)!=null?y:0}),q=f.map(function(w){var y;return(y=w==null?void 0:w.thirtyDayViewCount)!=null?y:0}),t={};e.forEach(function(w,y){w=w.id;w!=null&&(y=Ti(h[y],h)?{title:"Trending 24h",tooltip:h[y]+" Views in 24 hours",cssClass:"cyan"}:
Ti(k[y],k)?{title:"Trending 7d",tooltip:k[y]+" Views in 7 days",cssClass:"purple"}:Ti(q[y],q)?{title:"Trending 30d",tooltip:q[y]+" Views in the last 30 days",cssClass:"blue"}:void 0,y&&(t[w]=y))});return t}})));this.rows$=this.filteredRows$.pipe(this.limitRows,this.sortRows);this.rowCountAfterFilters$=this.unarchivedRows$.pipe(this.filterRows,z(function(e){return e.length}));this.hiddenRowCount$=we([this.unarchivedRows$,this.rows$]).pipe(z(function(e){var f=l(e);e=f.next().value;f=f.next().value;
return e.length-f.length}),sf());this.trackBy=function(e,f){return f.id};this.correctedDisplayedRows=new qg};V(UT,Y);UT.\u0275dir=Y.\u0275dir;UT.prototype.getMenuItems=function(a){var b=[],c;((c=this.options.menu)==null?0:c.includeGoToIssueItem)&&b.push(this.goToIssueItemFactory(a));b.push.apply(b,r(this.menuItemFactory(a)));return b};UT.prototype.ngOnInit=function(){this.initialSort&&this.activeSort$.next(this.initialSort)};
UT.prototype.ngAfterViewInit=function(){var a=this;we([this.rows$,this.displayedRows.changes.pipe(Bf(void 0))]).pipe(Df(this.destroyed$)).subscribe(function(b){b=l(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));b=b.map(function(d){return c.get(d.id)}).filter(Boolean);a.correctedDisplayedRows.reset(b);ug(a.correctedDisplayedRows)});this.focusManager=uw(new aqc(this.correctedDisplayedRows,xWa));this.focusManager.change.pipe(Df(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 oWa=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:Bc(d)}};
UT.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)||Yk(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Eo(this.domSafe,b):Or(this.router,b)}};UT.prototype.onRowKeydown=function(a,b){var c;(c=this.focusManager)==null||c.onKeydown(b)};
UT.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)};UT.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):wp.viewIssue.makeHref(a)};
da.Object.defineProperties(UT.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({},dsc,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:[])}}});UT.\u0275fac=function(a){return new (a||UT)(B(EF),B(HD),B(jJ))};
UT.\u0275cmp=p({type:UT,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&rg(kS,5);if(a&2){var c;vg(c=wg())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",teamId:"teamId",showReadStatus:"showReadStatus",indicators:"indicators",options:"options",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},outputs:{activeIssueChange:"activeIssueChange",rowClick:"rowClick",sortChange:"sortChange"},features:[Lf],
decls:63,vars:14,consts:[["noModifiedTimeData",""],["noLastActionData",""],["directive","tableRowDirective"],["noLimit",""],["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","lastAction"],["mat-header-cell","","mat-sort-header","lastAction","start","desc","class","nowrap",4,"matHeaderCellDef"],["mat-cell","","class","nowrap",
4,"matCellDef"],["matColumnDef","indicators"],["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"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","closed","active","click",
"mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],["class","muted margin-s-top flex-kids-x align-items-center",4,"ngIf"],["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"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],["size",
"medium",3,"email",4,"ngIf"],["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(" "),[4,"ngIf","ngIfElse"],[3,"timestamp","mode","paddingLeftPx"],["mat-header-cell","",
"mat-sort-header","lastAction","start","desc",1,"nowrap"],["mat-cell","",1,"nowrap"],["size","medium",3,"email","teamId",4,"ngIf"],["size","medium",3,"email","teamId"],[3,"indicators","issue",4,"ngIf"],[3,"indicators","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,"muted","margin-s-top","flex-kids-x","align-items-center"],[1,"link-button",3,"click"]],template:function(a,b){a&1&&(F(0,"table",4),T(1,"async"),T(2,"async"),O("matSortChange",function(e){return b.onSortChange(e)}),K(3,5),C(4,hVa,1,0,"th",6)(5,iVa,1,0,"td",7),L(),K(6,8),C(7,jVa,2,0,"th",6)(8,kVa,2,1,"td",9),L(),K(9,10),C(10,lVa,2,0,"th",6)(11,mVa,4,12,"td",9),L(),K(12,11),C(13,nVa,2,0,"th",
12)(14,oVa,3,3,"td",9),L(),K(15,13),C(16,rVa,4,2,"th",14)(17,xVa,4,2,"td",9),L(),K(18,15),C(19,yVa,2,0,"th",16)(20,zVa,3,3,"td",9),L(),K(21,17),C(22,AVa,2,0,"th",18)(23,BVa,2,1,"td",9),L(),K(24,19),C(25,CVa,2,0,"th",20)(26,DVa,3,3,"td",9),L(),K(27,21),C(28,EVa,2,0,"th",6)(29,FVa,3,3,"td",9),L(),K(30,22),C(31,GVa,2,0,"th",6)(32,JVa,3,3,"td",9),L(),K(33,23),C(34,KVa,2,0,"th",6)(35,NVa,3,3,"td",9),L(),K(36,24),C(37,OVa,2,0,"th",6)(38,RVa,3,3,"td",9),L(),K(39,25),C(40,SVa,2,0,"th",26)(41,TVa,3,4,"td",
9),L(),K(42,27),C(43,UVa,2,0,"th",28)(44,XVa,4,2,"td",9),L(),K(45,29),C(46,YVa,2,0,"th",30)(47,cWa,4,2,"td",31),L(),K(48,32),C(49,dWa,1,0,"th",6)(50,gWa,3,3,"td",31),L(),K(51,33),C(52,hWa,2,0,"th",34)(53,iWa,3,4,"td",9),L(),K(54,35),C(55,jWa,2,0,"th",36)(56,kWa,3,3,"td",9),L(),K(57,37),C(58,lWa,1,0,"th",6)(59,mWa,2,3,"td",9),L(),C(60,nWa,1,0,"tr",38)(61,pWa,3,7,"tr",39),H(),C(62,wWa,3,3,"div",40));if(a&2){var c,d;Wf("hide-header",b.options.hideColumnHeaders);E("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));A(60);E("matHeaderRowDef",b.tableColumns);A();E("matRowDefColumns",b.tableColumns);A();E("ngIf",b.options.rowLimit)}},dependencies:[tv,uv,vv,wv,ST,TT,nS,gT,Cqc,US,$S,WS,TS,bT,XS,ZS,cT,eT,vR,uR,LT,OR,fS,TR,iT,lT,UR,YR,MR,ZR,gM,kS,MO,rO,YP,yv],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 VT=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.contextSensitiveRegistry=e;this.issuePermissionService=f;this.issuePicker=h;this.errorHandler=k;this.counts=q;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Cf(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new xF;this.tableColumns=[].concat(r(rpc));this.initialSort={column:"status",direction:"ASCENDING"};
this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.blockerIds$=this.issue$.pipe(z(function(w){return w==null?void 0:w.snapshot[0]}),z(function(w){var y,D;return(D=w==null?void 0:(y=w.blockedByIssueId)==null?void 0:y.map(String))!=null?D:[]}));this.blockersCount$=this.blockerIds$.pipe(Cf(function(w){return w.length===0?pe(0):t.counts.blockersDualCount$.pipe(z(function(y){return y.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(z(function(w){return w>0}),Bf(!0));this.tableOptions=
{menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(w){return[{type:"action",label:"Remove blocker",action:function(){esc(t,w)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var w=ho(t.blockerIds$);if(w!=null){w=l(w);for(var y=w.next();!y.done;y=w.next())t.issueFridge.poke(y.value)}}))};V(VT,Y);VT.\u0275dir=Y.\u0275dir;
var IWa=function(a){var b;return ge(function(c){b=ho(a.issueId$);if(b==null)return c.return();a.analytics.trackEvent("editIssue","update","add-blocker");return ie(c,a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){fsc(a,b,d)}),0)})},fsc=function(a,b,c){ge(function(d){return c.length===0?d.return():ie(d,a.issueFridge.addBlockedBy(b,c).catch(function(e){gD(a.errorHandler,e)}),0)})},esc=function(a,b){var c,d;ge(function(e){if(e.nextAddress==1){c=ho(a.issueId$);
if(c==null)return e.return();a.analytics.trackEvent("editIssue","update","remove-blocker");he(e,2);return ie(e,a.issueFridge.removeBlockedBy(c,[b]),4)}if(e.nextAddress!=2)return Zt(e,0);d=le(e);a.butterBar.showWarning("Could not remove blocker "+b+". "+(Ym(d)?Zm(d):d));me(e)})};VT.\u0275fac=function(a){return new (a||VT)(B(EF),B(cD),B(CF),B(DF),B(hI),B(kI),B(CT),B(eD),B(QT))};
VT.\u0275cmp=p({type:VT,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&rg(UT,5);if(a&2){var c;vg(c=wg())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[Lf],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&&(F(0,"div",1)(1,"h4",2)(2,"div",3),J(3,"mat-icon",4),H(),Q(4),T(5,"async"),H(),C(6,CWa,1,1,"ng-container"),
T(7,"async"),H(),C(8,EWa,2,3),T(9,"async"),C(10,GWa,6,1,"div")(11,HWa,4,2,"p",5),T(12,"async"),C(13,JWa,3,3,"ng-template",null,0,Mg));if(a&2){var c;A(4);R(" Blockers ",U(5,4,b.counts.countBlockersDisplay$)," ");A(2);$f(U(7,6,b.showBlockersTable$)?6:-1);A(2);$f(U(9,8,b.showBlockersTable$)?8:10);A(3);$f((c=U(12,10,b.issuesTable==null?null:b.issuesTable.hiddenRowCount$))?11:-1,c)}},dependencies:[xv,RC,KI,TI,sO,UT,yv],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],
changeDetection:0});var WT=function(a,b){Y.call(this);var c=this;this.routerEvents=a;this.documentVisibility=b;this.validNavigations=0;this.ignoringNextNav=!1;this.mostRecentlyMeasured="";this.tabWasHidden=!1;this.onNavStart=function(){c.ignoringNextNav||(n7b("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};V(WT,Y);WT.\u0275dir=Y.\u0275dir;
WT.prototype.install=function(){var a=this;Hn()&&(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(He(function(b){return b!=="visible"}),qf()).subscribe(function(){a.tabWasHidden=!0})))};
var gsc=function(a,b){n7b(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)&&Hn())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)}}};WT.\u0275fac=function(a){return new (a||WT)(n(BF),n(XT))};
WT.\u0275prov=Fc({token:WT,factory:WT.\u0275fac,providedIn:"root"});var XT=function(a){var b=this;this.window=a;this.visibilityState$=De(this.window.document,"visibilityChange").pipe(Bf(void 0),z(function(){return b.currentVisibility}))};da.Object.defineProperties(XT.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});XT.\u0275fac=function(a){return new (a||XT)(n($G))};XT.\u0275prov=Fc({token:XT,factory:XT.\u0275fac,providedIn:"root"});var hsc=function(a){this.imageUrls=a;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};hsc.\u0275fac=function(a){return new (a||hsc)(B(sR))};
hsc.\u0275cmp=p({type:hsc,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&&(F(0,"h1",0),Q(1,"About Dependencies"),H(),F(2,"div",1)(3,"div",2),J(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),H(),F(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. "),F(11,"a",6),Q(12,"Learn more"),H()()()(),F(13,"div",7)(14,"button",8),Q(15,"Ok"),
H()());a&2&&(A(4),E("src",b.EMPTY_CHILD_LIGHT,cf),A(),E("src",b.EMPTY_BLOCKER_LIGHT,cf),A(),E("src",b.EMPTY_CHILD_DARK,cf),A(),E("src",b.EMPTY_BLOCKER_DARK,cf))},dependencies:[kC,Ex,kH,mH,oH,nH],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 YT=function(a,b,c,d,e){Y.call(this);var f=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.ROUTES=wp;this.parentIssueIds$=new rn([]);this.filters=[];this.tableColumns=[].concat(r(rpc));this.tableOptions={menu:{includeGoToIssueItem:!0},deEmphasizeClosedIssues:!0};this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return isc(f,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(k){f.butterBar.showWarning(h+
". "+(Ym(k)?Zm(k):k))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=l(f.parentIssueIds$.value),k=h.next();!k.done;k=h.next())f.issueFridge.poke(k.value)}))};V(YT,Y);YT.\u0275dir=Y.\u0275dir;YT.prototype.ngOnInit=function(){};
var isc=function(a,b){var c;return ge(function(d){a.analytics.trackEvent("editIssue","update","remove-parent");c=a.issueId;return ie(d,a.issueRelationshipsFridge.unlinkFromParent(c,b).catch(a.showError("Failed to unlink child "+c+" from parent "+b)),0)})};da.Object.defineProperties(YT.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$}}});
YT.\u0275fac=function(a){return new (a||YT)(B(EF),B(cD),B(CF),B(DF),B(XF))};
YT.\u0275cmp=p({type:YT,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&rg(UT,5);if(a&2){var c;vg(c=wg())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[Lf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","options","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(C(0,KWa,2,6,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.parentIssueIds$))},dependencies:[tv,UT,yv],encapsulation:2,
changeDetection:0});var ZT=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 xF;this.onConfirm=new xF;this.onCancel=new xF;this.internalSelectedOptions=new TG};ZT.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};ZT.prototype.cancel=function(a){this.onCancel.emit();a.close()};
da.Object.defineProperties(ZT.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});ZT.\u0275fac=function(a){return new (a||ZT)};
ZT.\u0275cmp=p({type:ZT,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:11,vars:15,consts:[["trigger",
"onedevPopupPanelTrigger"],["optionsPanel","onedevPopupPanel"],["mat-icon-button","","onedevPopupPanelTrigger","","aria-haspopup","true",3,"click","onedevPopupPanelTriggerFor","color","matTooltip"],[3,"svgIcon"],[4,"ngIf"],["role","region","className","select-menu-popup"],[1,"padded-s","flex-kids-y"],["class","title margin-s-x padded-s",4,"ngIf"],["class","flex-kids-x",4,"ngFor","ngForOf"],["class","badge",3,"title",4,"ngIf"],[1,"badge",3,"title"],[1,"title","margin-s-x","padded-s"],[1,"flex-kids-x"],
[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=u();F(0,"button",2,0);T(2,"async");O("click",function(){v(c);var d=M(1),e;(e=d.isOpen)!=null&&e?d.close():d.open();return x()});J(3,"mat-icon",3);C(4,MWa,3,3,"ng-container",4);H();F(5,"onedev-popup-panel",
5,1)(7,"div",6);C(8,NWa,2,1,"h1",7)(9,QWa,7,5,"div",8)(10,RWa,7,2,"ng-container",4);H()()}a&2&&(a=M(6),Wf("large",b.buttonSize==="large")("small",b.buttonSize==="small"),E("onedevPopupPanelTriggerFor",a)("color",b.showActiveState&&U(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip),Nf("aria-label",b.buttonAriaLabel),A(3),E("svgIcon",b.buttonSvgIcon),A(),E("ngIf",b.showActiveState),A(4),E("ngIf",b.overlayTitle),A(),E("ngForOf",b.options),A(),E("ngIf",b.showActionButtons))},
dependencies:[sv,tv,RC,kC,Ex,Gx,oJ,pJ,TO,KI,TI,QR,RR,yv],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 jsc=function(){return[]},XWa=function(a){return{filteredCount:a}},$T=function(a,b,c,d,e,f,h,k,q,t,w,y,D){Y.call(this);var G=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=f;this.element=h;this.analytics=k;this.issuePermissionService=q;this.activeSession=t;this.counts=w;this.matDialog=y;this.butterBar=D;this.makeIlpUrlForParentIssue=UQa;this.recallFilters=nxa("deps-filters");this.saveFilters=fm("deps-filters");this.isThinking$=
we([this.issueFridge.saving$,this.issueRelationshipsFridge.saving$]).pipe(z(function(I){return I.some(Boolean)}));this.issueId$=this.brain.id$.pipe(He(Gi),z(wo));this.issue$=this.brain.issueJs$.pipe(He(Gi));this.parentIds$=this.issue$.pipe(z(function(I){var N;return(N=I==null?void 0:I.parentIssueIds)!=null?N:[]}));this.parentIssues$=this.parentIds$.pipe(Cf(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(z(function(I){return I.filter(bj).length}));this.childrenIds$=this.issueId$.pipe(Cf(this.issueRelationshipsFridge.watch),
z(function(I){var N;return(N=I==null?void 0:I.relatedChildren.map(function(S){return S.targetIssueId}))!=null?N:[]}));this.totalDaysOpen$=this.issue$.pipe(z(function(I){var N,S;return((N=Zi(I))==null?void 0:(S=N.effort)==null?void 0:S.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(z(function(I){var N,S;return((N=Zi(I))==null?void 0:(S=N.effort)==null?void 0:S.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(z(function(I){return I.length}));this.isTotalEstimatesEnabled=
ep(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.isInternalSession=this.activeSession.isInternalSession();this.enableRollupStatsUi=ep(this.activeSession,"enableRollupStatsUi");this.totalDaysCount$=we([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(z(function(I){var N=l(I);I=N.next().value;N=N.next().value;return I+N}));this.totalDaysDisplayPercent$=rXa(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=
we([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(z(function(I){var N=l(I);I=N.next().value;var S=N.next().value;N=N.next().value;return sXa(Math.round(I*100)/100)+" completed | "+sXa(Math.round(S*100)/100)+" open | "+N+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new yf;this.issueFilters=new TG;this.ISSUE_FILTER_OPTIONS=[{key:Lp.OPEN.key,title:Lp.OPEN.displayAs,description:"Hides closed issues"},{key:Lp.ASSIGNED_TO_ME.key,
title:Lp.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];se(Hva("b-issue-relations-table tr .mat-column-title a",this.element.nativeElement).pipe(Df(Ge(this.destroyed$,this.rowCreated$)))).then(function(){var I=function(){gsc(G.routePerformance,"issue-details-w-tree")};requestAnimationFrame(I);setTimeout(I)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(vRa))}catch(I){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(I){G.saveFilters([].concat(r(I)))}))};
V($T,Y);$T.\u0275dir=Y.\u0275dir;
var nXa=function(a){var b,c;return ge(function(d){if(d.nextAddress==1)return a.analytics.trackEvent("editIssue","update","add-parent"),ie(d,se(a.issue$),2);b=d.yieldResult;c=b.issueId;return ie(d,a.issuePicker.open({title:"Add Parent to b/"+c,allowMultipleIds:!1,edgeType:"parent"},function(e){ksc(a,c,e)}),0)})},ksc=function(a,b,c){var d=l(c).next().value;var e,f,h,k;ge(function(q){if(q.nextAddress==1)return(e=d)?ie(q,a.issueRelationshipsFridge.assignParentToOneIssue(e,b),2):q.return();f=q.yieldResult;
h=f.errors;return((k=h)==null?0:k.length)?(a.butterBar.showWarning("Could not add parent"),q.return()):ie(q,a.issueFridge.poke(b),0)})};$T.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};$T.prototype.addChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||a.addExistingChild()};$T.prototype.createChild=function(){this.rowCreated$.next();var a;(a=this.relationsTable)==null||uXa(a)};
$T.prototype.openLearnMore=function(){this.matDialog.open(hsc,{maxWidth:"1300px",width:"90%"})};$T.\u0275fac=function(a){return new (a||$T)(B(iI),B(CT),B(XF),B(EF),B(HD),B(WT),B(Rd),B(CF),B(kI),B(as),B(QT),B(jH),B(cD))};
$T.\u0275cmp=p({type:$T,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(rg(MT,5),rg(VT,5),rg(YT,5));if(a&2){var c;vg(c=wg())&&(b.relationsTable=c.first);vg(c=wg())&&(b.blockersTable=c.first);vg(c=wg())&&(b.parentsTable=c.first)}},features:[Lf],decls:15,vars:13,consts:[["filterInfo",""],["addParent",""],["addChildren",""],["noParentsState",""],["progressHovercard","onedevHovercard"],["effortHovercard","onedevHovercard"],[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],
[4,"ngIf"],["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"],["class","pos-rel carded margined-s bg-main flex-kids-y gap-l",4,"ngIf"],[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",4,"ngIf","ngIfElse"],[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"],["class","progress-header",4,"ngIf"],["class","margin-s-bottom",3,"id",4,"ngIf"],[3,"rootIssueId","filters","saveExpansionAtKey"],[4,"ngTemplateOutlet"],[3,"issueId","parentIds","filters"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"muted"],[1,"progress-header"],[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-bottom",3,"id"],[1,"margin-s-top"],["title","View the search results page for this issue and all descendants",3,"href"],["class","muted",4,"ngIf"],[1,"subtle-link","unstyled",3,"click"],["size","small","title","Add a parent of the current issue",1,"add",3,"onAction","disabled"],["class","add","size","small","title","Create an issue as a child",3,"disabled","onAction",4,"ngIf"],["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=u();F(0,"div",6);C(1,SWa,1,0,"b-spinner",7);T(2,"async");F(3,"select-menu",8);T(4,"async");O("onChange",function(e){v(c);return x(b.issueFilters.reset(e))});H();F(5,"button",9);O("click",function(){v(c);return x(b.openLearnMore())});J(6,"mat-icon",10);H()();C(7,kXa,41,48,"div",11);T(8,"async");C(9,mXa,1,1,"ng-template",null,0,Mg)(11,oXa,3,3,"ng-template",
null,1,Mg)(13,qXa,4,4,"ng-template",null,2,Mg)}if(a&2){var d;A();E("ngIf",U(2,6,b.isThinking$));A(2);E("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",(d=U(4,8,b.issueFilters.value$))!==null&&d!==void 0?d:Gg(12,jsc))("showActionButtons",!1)("showActiveState",!0);A(4);E("ngIf",U(8,10,b.issueId$))}},dependencies:[tv,xv,RC,xJ,DJ,kC,Gx,KI,TI,sO,ZT,pQ,yR,VT,MT,YT,yv,Ev],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 aU=function(){};aU.\u0275fac=function(a){return new (a||aU)};aU.\u0275mod=cd({type:aU});aU.\u0275inj=Gc({imports:[aM,RD,RH,bM]});var bU=function(){};bU.\u0275fac=function(a){return new (a||bU)};bU.\u0275mod=cd({type:bU});bU.\u0275inj=Gc({providers:[bsc],imports:[lx]});var cU=function(){};cU.\u0275fac=function(a){return new (a||cU)};cU.\u0275mod=cd({type:cU});cU.\u0275inj=Gc({imports:[jw,vL,PC,RD,zy,RH,bU,vT,JM,bM,wR,Ay,aU,pT,tO,qT,hM,rQ,lS,RO,cQ,uQ]});var dU=function(){};dU.\u0275fac=function(a){return new (a||dU)};dU.\u0275mod=cd({type:dU});dU.\u0275inj=Gc({imports:[RD,RH,jM,cP,bM,jT]});var eU=function(){};eU.\u0275fac=function(a){return new (a||eU)};eU.\u0275mod=cd({type:eU});eU.\u0275inj=Gc({imports:[jw,vL,PC,RD,zy,VL,RH,VH,bU,vT,JM,bM,Ay,aU,pT,tO,cR,cU,qT,dU,hM,rQ,GR,lS,RO]});var fU=function(a,b,c,d){Y.call(this);var e=this;this.prefsService=a;this.issueFridge=b;this.savedSearchFridge=c;this.analytics=d;this.TREE_COLUMNS=[].concat(r(vpc));this.TREE_OPTIONS=Object.assign({},xpc);this.refreshWorkArea=new yf;this.hideRecentActivity=!1;this.typeAndId$=new rn([void 0,void 0]);this.typeAndId$.pipe(Cf(function(f){var h=l(f);f=h.next().value;h=h.next().value;return f==="savedsearch"?e.savedSearchFridge.watchOne(h):pe(void 0)}));this.issue$=this.typeAndId$.pipe(Cf(function(f){var h=
l(f);f=h.next().value;h=h.next().value;return f==="issue"?e.issueFridge.watchOne(h):pe(void 0)}));this.issueFilter$=this.typeAndId$.pipe(z(function(f){var h=l(f);f=h.next().value;h=h.next().value;if(f==="issue")return"parentid:"+h+"+ | id:"+h;if(f==="savedsearch")return"savedsearchid:"+h;if(f==="hotlist")return"hotlistid:"+h}))};V(fU,Y);fU.\u0275dir=Y.\u0275dir;
fU.prototype.ngOnInit=function(){var a=this;this.refreshWorkArea.pipe(Df(this.destroyed$)).subscribe(function(){a.typeAndId$.next([a.entityType,a.referencedId])})};fU.prototype.getFilters=function(){return kpc(this.prefsService,this.entityReference)};fU.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};
da.Object.defineProperties(fU.prototype,{reference:{configurable:!0,enumerable:!0,set:function(a){this.entityReference=a;this.referencedId=Jp(a);this.entityType=Kp(a);this.analytics.trackEvent("missionControl","view","work-area-"+this.entityType);this.typeAndId$.next([this.entityType,this.referencedId])}}});fU.\u0275fac=function(a){return new (a||fU)(B(zR),B(EF),B(wE),B(CF))};
fU.\u0275cmp=p({type:fU,selectors:[["one-work-area"]],viewQuery:function(a,b){a&1&&rg(MT,5);if(a&2){var c;vg(c=wg())&&(b.relationsTable=c.first)}},inputs:{reference:"reference",refreshWorkArea:"refreshWorkArea",hideRecentActivity:"hideRecentActivity",numRecentActivityEvents:"numRecentActivityEvents",onlyShowTableWhenFiltered:"onlyShowTableWhenFiltered"},features:[Lf],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&&C(0,BXa,4,2);if(a&2){var c;
$f((c=b.referencedId)?0:-1,c)}},styles:["[_nghost-%COMP%] { display: block; }"]});var lsc=Object.assign({},wpc,{showTrending:!0}),msc={column:"modifiedTime",direction:"DESCENDING"},gU=function(a,b){var c=this;this.prefsService=a;this.issueFridge=b;this.DEFAULT_COLUMNS=[].concat(r(tpc));this.PROGRESS_COLUMNS=[].concat(r(upc));this.TABLE_OPTIONS=Object.assign({},lsc);this.INITIAL_SORT=msc;this.searchString$=new rn(void 0);this.issueQuery$=this.searchString$.pipe(z(CXa));this.issueIds$=this.issueQuery$.pipe(Cf(function(d){return c.issueFridge.watchMany(d)}),z(function(d){return d.results.map(function(e){return e.issueId})}))};
gU.prototype.getFilters=function(){return this.prefKey==null?[]:kpc(this.prefsService,this.prefKey)};gU.prototype.showTable=function(){return this.onlyShowTableWhenFiltered?this.getFilters().length>0:!0};da.Object.defineProperties(gU.prototype,{searchString:{configurable:!0,enumerable:!0,set:function(a){this.searchString$.next(a!=null?a:void 0)}}});gU.\u0275fac=function(a){return new (a||gU)(B(zR),B(EF))};
gU.\u0275cmp=p({type:gU,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&&(J(0,"rollups-list",0),T(1,"async"),J(2,"stat-cards-list",1),T(3,"async"),C(4,DXa,2,7,"b-issues-table",2));a&2&&(E("ref",
b.reference)("query",U(1,5,b.issueQuery$)),A(2),E("prefKey",b.prefKey)("query",U(3,7,b.issueQuery$)),A(2),$f(b.showTable()?4:-1))},dependencies:[xR,ER,UT,yv],styles:["[_nghost-%COMP%] { display: block; }"]});var hU=function(a,b,c,d,e,f,h,k,q,t,w,y){Y.call(this);var D=this;this.prefsService=a;this.issueFridge=b;this.hotlistFridge=c;this.savedSearchFridge=d;this.hotlistPicker=e;this.issuePicker=f;this.savedSearchPicker=h;this.analytics=k;this.clipboard=q;this.butterBar=t;this.parentIssueSuggestions=w;this.imageUrls=y;this.refreshData=new yf;this.SECTION_SLUG="work-areas-wrapper-card";this.EMPTY_STATE_IMG=this.imageUrls.WORK_AREA_EXAMPLE_ILLUSTRATION;this.inferEntityType=Kp;this.makeBuganizerUrl=TQa;this.makeIlpUrlForParentIssue=
UQa;this.getEntityTypeName=SQa;this.extractLastDigits=Jp;this.suggestions=[];this.titles={};this.INITIAL_TAB_INDEX=jpc(this.prefsService,"work-areas-wrapper-card");this.workAreaReferences$=this.prefsService.prefs$.pipe(z(function(I){var N;return(N=I==null?void 0:I.workAreaUrls)!=null?N:[]}));this.issues$=this.workAreaReferences$.pipe(z(function(I){return I.filter(function(N){return Kp(N)==="issue"})}),z(function(I){return I.map(Jp)}),sf(ci),z(function(I){return I.filter(Gi)}),Cf(this.issueFridge.watchSet));
this.hotlists$=this.workAreaReferences$.pipe(z(function(I){return I.filter(function(N){return Kp(N)==="hotlist"})}),z(function(I){return I.map(Jp)}),sf(ci),z(function(I){return I.filter(Gi)}),Cf(this.hotlistFridge.watchSet));this.savedSearches$=this.workAreaReferences$.pipe(z(function(I){return I.filter(function(N){return Kp(N)==="savedsearch"})}),z(function(I){return I.map(Jp)}),sf(ci),z(function(I){return I.filter(Gi)}),Cf(this.savedSearchFridge.watchSet));this.issues$.pipe(Df(this.destroyed$)).subscribe(this.updateTitlesForIssues.bind(this));
this.hotlists$.pipe(Df(this.destroyed$)).subscribe(this.updateTitlesForHotlists.bind(this));this.savedSearches$.pipe(Df(this.destroyed$)).subscribe(this.updateTitlesForSavedSearches.bind(this));a=this.workAreaReferences.length;this.analytics.trackEvent("missionControl","display","num-work-areas-"+a,a);var G;a=Object.values((G=this.prefsService.prefs.workAreaQuickFilters)!=null?G:{}).flat();a.length>0&&this.analytics.trackEvent("missionControl","view","workAreas-filters-"+a.join(","));Ie(2E3).pipe(Cf(function(){return D.parentIssueSuggestions.suggestions$}),
Df(this.destroyed$),qf()).subscribe(function(I){var N=3;N=N===void 0?3:N;if(I.length!==0){var S=I.slice(0,N*2),W=[].concat(r(S));if(!(S.length<=1))for(S=W.length-1;S>0;--S){var Z=Math.floor(Math.random()*(S+1)),fa=W[S];W[S]=W[Z];W[Z]=fa}N=W.slice(0,N);I=I[0];N.includes(I)||(N.pop(),N.unshift(I));I=N}D.suggestions=I;D.workAreaReferences.length===0&&(I=I.length,D.analytics.trackEvent("missionControl","suggestions-shown",String(I),I))})};V(hU,Y);hU.\u0275dir=Y.\u0275dir;
hU.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("work-areas-wrapper-card")};hU.prototype.updateTitlesForIssues=function(a){a=l(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}};hU.prototype.updateTitlesForHotlists=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[Hp(b.hotlistId)]=b.name};
hU.prototype.updateTitlesForSavedSearches=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.titles[Ip(b.searchId)]=b.name};
var nsc=function(a){var b,c,d,e,f,h,k,q,t;return ge(function(w){if(w.nextAddress==1)return b=a.workAreaReferences.filter(function(y){return Kp(y)==="hotlist"}).map(Jp).map(Number),ie(w,Umc(a.hotlistPicker,b),2);c=w.yieldResult;f=((e=(d=c)==null?void 0:d.added)!=null?e:[]).map(Hp);q=((k=(h=c)==null?void 0:h.removed)!=null?k:[]).map(Hp);t=a.workAreaReferences.slice();t=hsa(q,t);t=jsa(f,t);Yp(a.prefsService,{workAreaUrls:t});me(w)})},osc=function(a){var b;return ge(function(c){if(c.nextAddress==1)return ie(c,
a.issuePicker.open({title:"Choose a parent issue",allowMultipleIds:!0}),2);b=c.yieldResult;b!=null&&AR(a.prefsService,b);me(c)})},GXa=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&&AR(a.prefsService,b)},psc=function(a){var b,c,d,e;return ge(function(f){if(f.nextAddress==1)return ie(f,a.savedSearchPicker.open(),2);b=f.yieldResult;d=(c=b)!=null?c:[];if(d.length===0)return f.return();e=d.map(Ip);
AR(a.prefsService,e);me(f)})};da.Object.defineProperties(hU.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")}}});
hU.\u0275fac=function(a){return new (a||hU)(B(zR),B(EF),B(rE),B(wE),B(RP),B(CT),B(oR),B(CF),B(mJ),B(cD),B(BR),B(sR))};
hU.\u0275cmp=p({type:hU,selectors:[["work-areas-wrapper-card"]],hostVars:4,hostBindings:function(a,b){a&2&&Wf("is-empty",b.isEmpty)("collapsed",b.isCollapsed)},inputs:{refreshData:"refreshData"},features:[Lf],decls:19,vars:3,consts:[["addMenu","matMenu"],["emptyState",""],["issueHovercard","onedevHovercard"],["editMenu","matMenu"],[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","","class","small add-work-area margin-s-left","title","Add a work area",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],["gmat-tabs","","class","main-content margin-s-top",3,"selectedIndex",
"selectedIndexChange",4,"ngIf","ngIfElse"],["mat-stroked-button","","title","Add a work area",1,"small","add-work-area","margin-s-left",3,"matMenuTriggerFor"],["svgIcon","add",1,"icon-s"],[1,"flex-kids-y","align-items-center","text-align-center","empty-state","main-content"],[1,"inline-block","pos-rel"],["aria-hidden","true","alt","",3,"src"],[4,"ngIf"],[1,"type-l","muted","margin-y","match-image-width"],["mat-flat-button","","color","primary","title","Add a work area",3,"matMenuTriggerFor"],["svgIcon",
"add"],[1,"pos-abs","work-area-suggestions"],[1,"unstyled"],["class","elevated rounded padded-s margined-s slide-in","tabindex","0",3,"title","click",4,"ngFor","ngForOf"],["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",4,"ngIf"],[3,"issueId"],["gmat-tabs","",1,"main-content","margin-s-top",3,"selectedIndexChange","selectedIndex"],[4,"ngFor","ngForOf"],["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","",3,"click",4,"ngIf"],["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"]],template:function(a,b){if(a&1){var c=u();F(0,"div",4)(1,"header",5)(2,"h3",6);Q(3," Work areas ");H();J(4,"mat-icon",7);F(5,"button",8);O("click",function(){v(c);return x(b.toggleCollapsed())});
J(6,"mat-icon",9);H();C(7,EXa,3,1,"button",10);F(8,"mat-menu",null,0)(10,"button",11);O("click",function(){v(c);return x(osc(b))});Q(11,"Issue (parent/child project)");H();F(12,"button",11);O("click",function(){v(c);return x(nsc(b))});Q(13,"Hotlist");H();F(14,"button",11);O("click",function(){v(c);return x(psc(b))});Q(15,"Saved Search");H()()();C(16,JXa,9,3,"ng-template",null,1,Mg)(18,SXa,2,2,"mat-tab-group",12);H()}a&2&&(a=M(17),A(7),E("ngIf",b.workAreaReferences.length>0),A(11),E("ngIf",b.workAreaReferences.length>
0)("ngIfElse",a))},dependencies:[sv,tv,RC,JD,JI,NI,LI,OI,kC,Ex,Gx,TO,HM,uM,AM,BM,CM,KI,TI,UQ,xJ,DJ,fU],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 iU=function(){};iU.\u0275fac=function(a){return new (a||iU)};iU.\u0275mod=cd({type:iU});iU.\u0275inj=Gc({imports:[RD,aM,QD,RH,cP,JM,bM,GR,cU,nR,eU,EQ,cR,VL]});dma(fU,[kC,Ex,yR,FR,MT,DQ,gU],[yv]);var qsc=Eh("transform",[Hh("open, open-instant",Gh({transform:"none",visibility:"visible"})),Hh("void",Gh({"box-shadow":"none",visibility:"hidden"})),Jh("void => open-instant",Fh("0ms")),Jh("void <=> open, open-instant => void",Fh("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))]);var rsc=["*"],ssc=["content"],tsc=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],usc=new ld("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:VXa}),vsc=new ld("MAT_DRAWER_CONTAINER"),jU=function(a,b,c,d,e){Sw.call(this,c,d,e);this._changeDetectorRef=a;this._container=b};V(jU,Sw);jU.\u0275dir=Sw.\u0275dir;jU.prototype.ngAfterContentInit=function(){var a=this;this._container._contentMarginChanges.subscribe(function(){a._changeDetectorRef.markForCheck()})};
jU.\u0275fac=function(a){return new (a||jU)(B(Wg),B(Sc(function(){return kU})),B(Rd),B(Rw),B(Me))};
jU.\u0275cmp=p({type:jU,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,b){a&2&&Vf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[Dg([{provide:Sw,useExisting:jU}]),Lf,Fg],ngContentSelectors:rsc,decls:1,vars:0,template:function(a){a&1&&(ig(),jg(0))},encapsulation:2,changeDetection:0});
var lU=function(a,b,c,d,e,f,h,k){var q=this;this._elementRef=a;this._focusTrapFactory=b;this._focusMonitor=c;this._platform=d;this._ngZone=e;this._interactivityChecker=f;this._doc=h;this._container=k;this._elementFocusedBeforeDrawerWasOpened=this._focusTrap=null;this._enableAnimations=!1;this._position="start";this._mode="over";this._opened=this._disableClose=!1;this._animationStarted=new yf;this._animationEnd=new yf;this._animationState="void";this.openedChange=new bv(!0);this._openedStream=this.openedChange.pipe(He(function(t){return t}),
z(function(){}));this.openedStart=this._animationStarted.pipe(He(function(t){return t.fromState!==t.toState&&t.toState.indexOf("open")===0}),vf());this._closedStream=this.openedChange.pipe(He(function(t){return!t}),z(function(){}));this.closedStart=this._animationStarted.pipe(He(function(t){return t.fromState!==t.toState&&t.toState==="void"}),vf());this._destroyed=new yf;this.onPositionChanged=new bv;this._modeChanged=new yf;this._injector=Xc(Ne);this._changeDetectorRef=Xc(Wg);this.openedChange.pipe(Df(this._destroyed)).subscribe(function(t){t?
(q._doc&&(q._elementFocusedBeforeDrawerWasOpened=q._doc.activeElement),q._takeFocus()):q._isFocusWithinDrawer()&&q._restoreFocus(q._openedVia||"program")});this._ngZone.runOutsideAngular(function(){De(q._elementRef.nativeElement,"keydown").pipe(He(function(t){return t.keyCode===27&&!q.disableClose&&!oh(t)}),Df(q._destroyed)).subscribe(function(t){return q._ngZone.run(function(){q.close();t.stopPropagation();t.preventDefault()})})});this._animationEnd.pipe(sf(function(t,w){return t.fromState===w.fromState&&
t.toState===w.toState})).subscribe(function(t){var w=t.fromState;t=t.toState;(t.indexOf("open")===0&&w==="void"||t==="void"&&w.indexOf("open")===0)&&q.openedChange.emit(q._opened)})};g=lU.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":Pe(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?Tv(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(qf()).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)}};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)}};
da.Object.defineProperties(lU.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=qh(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=qh(a);this._autoFocus=a}},opened:{configurable:!0,enumerable:!0,get:function(){return this._opened},set:function(a){this.toggle(qh(a))}}});lU.\u0275fac=function(a){return new (a||lU)(B(Rd),B(Zv),B(Sv),B(Nv),B(Me),B(Vv),B(vh,8),B(vsc,8))};
lU.\u0275cmp=p({type:lU,selectors:[["mat-drawer"]],viewQuery:function(a,b){a&1&&rg(ssc,5);if(a&2){var c;vg(c=wg())&&(b._content=c.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(a,b){a&1&&hg("@transform.start",function(c){return b._animationStarted.next(c)})("@transform.done",function(c){return b._animationEnd.next(c)});a&2&&(fg("@transform",b._animationState),Nf("align",null),Wf("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:[Fg],ngContentSelectors:rsc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],
template:function(a){a&1&&(ig(),F(0,"div",1,0),jg(2),H())},dependencies:[Sw],encapsulation:2,data:{animation:[qsc]},changeDetection:0});
var kU=function(a,b,c,d,e,f,h){var k=this;f=f===void 0?!1:f;this._dir=a;this._element=b;this._ngZone=c;this._changeDetectorRef=d;this._animationMode=h;this._drawers=new qg;this.backdropClick=new bv;this._destroyed=new yf;this._doCheckSubject=new yf;this._contentMargins={left:null,right:null};this._contentMarginChanges=new yf;this._injector=Xc(Ne);a&&a.change.pipe(Df(this._destroyed)).subscribe(function(){k._validateDrawers();mU(k)});e.change().pipe(Df(this._destroyed)).subscribe(function(){return mU(k)});
this._autosize=f};
kU.prototype.ngAfterContentInit=function(){var a=this;this._allDrawers.changes.pipe(Bf(this._allDrawers),Df(this._destroyed)).subscribe(function(b){a._drawers.reset(b.filter(function(c){return!c._container||c._container===a}));ug(a._drawers)});this._drawers.changes.pipe(Bf(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))&&mU(a);
a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._doCheckSubject.pipe(pf(10),Df(a._destroyed)).subscribe(function(){return mU(a)})})};kU.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete();this._doCheckSubject.complete();this._drawers.destroy();this._destroyed.next();this._destroyed.complete()};kU.prototype.open=function(){this._drawers.forEach(function(a){return a.open()})};kU.prototype.close=function(){this._drawers.forEach(function(a){return a.close()})};
var mU=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=kU.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(He(function(c){return c.fromState!==c.toState}),Df(this._drawers.changes)).subscribe(function(c){c.toState!=="open-instant"&&b._animationMode!=="NoopAnimations"&&b._element.nativeElement.classList.add("mat-drawer-transition");mU(b);b._changeDetectorRef.markForCheck()});a.mode!=="side"&&a.openedChange.pipe(Df(this._drawers.changes)).subscribe(function(){return b._setContainerClass(a.opened)})};
g._watchDrawerPosition=function(a){var b=this;a&&a.onPositionChanged.pipe(Df(this._drawers.changes)).subscribe(function(){Pe(function(){b._validateDrawers()},{injector:b._injector,phase:3})})};g._watchDrawerMode=function(a){var b=this;a&&a._modeChanged.pipe(Df(Ge(this._drawers.changes,this._destroyed))).subscribe(function(){mU(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};
da.Object.defineProperties(kU.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=qh(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:qh(a)}},scrollable:{configurable:!0,
enumerable:!0,get:function(){return this._userContent||this._content}}});kU.\u0275fac=function(a){return new (a||kU)(B(Hw,8),B(Rd),B(Me),B(Wg),B(Vw),B(usc),B(Pu,8))};
kU.\u0275cmp=p({type:kU,selectors:[["mat-drawer-container"]],contentQueries:function(a,b,c){a&1&&(sg(c,jU,5),sg(c,lU,5));if(a&2){var d;vg(d=wg())&&(b._content=d.first);vg(d=wg())&&(b._allDrawers=d)}},viewQuery:function(a,b){a&1&&rg(jU,5);if(a&2){var c;vg(c=wg())&&(b._userContent=c.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},
exportAs:["matDrawerContainer"],standalone:!0,features:[Dg([{provide:vsc,useExisting:kU}]),Fg],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&&(ig(tsc),C(0,TXa,1,2,"div",0),jg(1),jg(2,1),C(3,UXa,2,0,"mat-drawer-content"));a&2&&($f(b.hasBackdrop?0:-1),A(3),$f(b._content?-1:3))},dependencies:[jU],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);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)}.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}.cdk-high-contrast-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);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);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)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .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);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);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);border-bottom-right-radius:var(--mat-sidenav-container-shape);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);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);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);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);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 wsc=["*"],xsc=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],nU=function(a,b,c,d,e){jU.call(this,a,b,c,d,e)};V(nU,jU);nU.\u0275dir=jU.\u0275dir;nU.\u0275fac=function(a){return new (a||nU)(B(Wg),B(Sc(function(){return oU})),B(Rd),B(Rw),B(Me))};
nU.\u0275cmp=p({type:nU,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,b){a&2&&Vf("margin-left",b._container._contentMargins.left,"px")("margin-right",b._container._contentMargins.right,"px")},standalone:!0,features:[Dg([{provide:Sw,useExisting:nU}]),Lf,Fg],ngContentSelectors:wsc,decls:1,vars:0,template:function(a){a&1&&(ig(),jg(0))},encapsulation:2,changeDetection:0});
var pU=function(){lU.apply(this,arguments);this._fixedInViewport=!1;this._fixedBottomGap=this._fixedTopGap=0};V(pU,lU);
da.Object.defineProperties(pU.prototype,{fixedInViewport:{configurable:!0,enumerable:!0,get:function(){return this._fixedInViewport},set:function(a){this._fixedInViewport=qh(a)}},fixedTopGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedTopGap},set:function(a){this._fixedTopGap=th(a)}},fixedBottomGap:{configurable:!0,enumerable:!0,get:function(){return this._fixedBottomGap},set:function(a){this._fixedBottomGap=th(a)}}});
pU.\u0275fac=function(){var a;return function(b){return(a||(a=Od(pU)))(b||pU)}}();
pU.\u0275cmp=p({type:pU,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,b){a&2&&(Nf("align",null),Vf("top",b.fixedInViewport?b.fixedTopGap:null,"px")("bottom",b.fixedInViewport?b.fixedBottomGap:null,"px"),Wf("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:[Lf,Fg],ngContentSelectors:wsc,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(a){a&1&&(ig(),F(0,"div",1,0),jg(2),H())},dependencies:[Sw],encapsulation:2,data:{animation:[qsc]},changeDetection:0});var oU=function(){kU.apply(this,arguments);this._content=this._allDrawers=void 0};V(oU,kU);
oU.\u0275fac=function(){var a;return function(b){return(a||(a=Od(oU)))(b||oU)}}();
oU.\u0275cmp=p({type:oU,selectors:[["mat-sidenav-container"]],contentQueries:function(a,b,c){a&1&&(sg(c,nU,5),sg(c,pU,5));if(a&2){var d;vg(d=wg())&&(b._content=d.first);vg(d=wg())&&(b._allDrawers=d)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("mat-drawer-container-explicit-backdrop",b._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[Dg([{provide:vsc,useExisting:oU}]),Lf,Fg],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&&(ig(xsc),C(0,WXa,1,2,"div",0),jg(1),jg(2,1),C(3,XXa,2,0,"mat-sidenav-content"));a&2&&($f(b.hasBackdrop?0:-1),A(3),$f(b._content?-1:3))},dependencies:[nU],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);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)}.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}.cdk-high-contrast-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);box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);width:var(--mat-sidenav-container-width);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)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .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);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);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);border-bottom-right-radius:var(--mat-sidenav-container-shape);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);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);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);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);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 qU=function(){};qU.\u0275fac=function(a){return new (a||qU)};qU.\u0275mod=cd({type:qU});qU.\u0275inj=Gc({imports:[lx,Ww,Ww,lx]});var rU=function(){};rU.\u0275fac=function(a){return new (a||rU)};rU.\u0275mod=cd({type:rU});rU.\u0275inj=Gc({imports:[RD,zy,sM,JM,bM,RH,qU,Ay,EQ,rQ,iU]});var ysc={key:"PENDING_TRIAGE",displayAs:"\ud83c\udf31 Pending triage",emoji:"\ud83c\udf31",tooltip:"Fresh issue pending triage",check:function(a){var b,c,d;return(((b=a.experimentalFields)==null?void 0:b.triage.phase)==="NEW"||((c=a.experimentalFields)==null?void 0:c.triage.phase)==="UNSPECIFIED")&&!((d=a.experimentalFields)==null?0:d.triage.needsInfo)}},zsc={key:"USER_RESPONDED",displayAs:"\u21a9\ufe0f User responded",emoji:"\u21a9\ufe0f",tooltip:"Reporter responded with more info",check:function(a){var b,
c,d,e,f,h;return!!(((b=a.experimentalFields)==null?0:b.triage.needsInfo)&&((c=a.aggregatedData)==null?0:(d=c.lastModifier)==null?0:d.emailAddress)&&((e=a.snapshot[0].reporterUser)==null?0:e.emailAddress)&&((f=a.aggregatedData)==null?0:f.modifiedTimeMicros)&&((h=a.aggregatedData)==null?0:h.createdTimeMicros)&&a.snapshot[0].reporterUser.emailAddress===a.aggregatedData.lastModifier.emailAddress&&(a.aggregatedData.modifiedTimeMicros-a.aggregatedData.createdTimeMicros)/1E3>6E4)}},Asc={key:"NEEDS_MORE_INFO",
displayAs:"\u2139\ufe0f Needs more info",emoji:"\u2139\ufe0f",check:function(a){var b;return!((b=a.experimentalFields)==null||!b.triage.needsInfo)&&!zsc.check(a)},tooltip:"Waiting for more information from the reporter."},Bsc={key:"OUT_OF_SLO",displayAs:"\u2757\ufe0f Out of SLO",emoji:"\u2757\ufe0f",tooltip:"Out of SLO",check:function(a){return rsa(a.snapshot[0].sloEndTime)&&(!a.snapshot[0].sloStartTime||rsa(a.snapshot[0].sloStartTime))}},Csc={key:"INACTIVE_2W",displayAs:"\ud83d\udc0c Inactive",emoji:"\ud83d\udc0c",
check:function(a){return Date.now()-a.aggregatedData.modifiedTimeMicros/1E3>12096E5},tooltip:"Not modified in 2 weeks"},Dsc={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"},Esc={key:"PENDING_PRIORITIZATION",displayAs:"\ud83e\udda6 Pending prioritization",emoji:"\ud83e\udda6",check:function(a){var b,c;return!((b=a.snapshot[0].customField)==
null?0:(c=b.find(function(d){return e2b.has(d.customFieldId)}))==null?0:c.dateValue)},tooltip:"Doesn't have a planned start date custom field value."},Fsc={key:"PAST_DEADLINE",displayAs:"\u231b\ufe0f Past deadline",emoji:"\u231b\ufe0f",check:function(a){var b,c;a=psa((b=a.snapshot[0].customField)==null?void 0:(c=b.find(function(d){return f2b.has(d.customFieldId)}))==null?void 0:c.dateValue);return!!a&&a<new Date},tooltip:"End date custom field is in the past."},sU={key:"REOPENED",displayAs:"\u26a0\ufe0f Reopened",
emoji:"\u26a0\ufe0f",check:function(a){var b,c;return aj(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."},tU={key:"TRENDING",displayAs:"\ud83d\udd25 Trending",emoji:"\ud83d\udd25",check:function(a){return!!z9b.has(a.issueId)},queryFragment:'(no server query available for "is trending")',tooltip:"Unusually high view activity"},
Gsc=new Map([["NEW",[ysc,zsc,Asc]],["CONFIRMED",[Esc,tU,Dsc]],["IN_PROGRESS",[Bsc,Fsc]],["FIXED",[sU]],["WONT_FIX",[sU]]]),Hsc=new Map([["NEW",[ysc,zsc,Bsc,Asc,Csc,tU]],["CONFIRMED",[Esc,Dsc,tU]],["IN_PROGRESS",[Bsc,tU,Fsc]],["FIXED",[sU,tU]],["WONT_FIX",[sU,tU]]]),Isc={INACTIVE_1Y:Dsc,INACTIVE_2W:Csc,NEEDS_MORE_INFO:Asc,OUT_OF_SLO:Bsc,PAST_DEADLINE:Fsc,PENDING_PRIORITIZATION:Esc,PENDING_TRIAGE:ysc,REOPENED:sU,TRENDING:tU,USER_RESPONDED:zsc};var uU=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 xF;this.prevPage=new xF;this.pageSizeChange=new xF};uU.prototype.ngOnInit=function(){};uU.\u0275fac=function(a){return new (a||uU)};
uU.\u0275cmp=p({type:uU,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"],[4,"ngIf"],
[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","click",4,"ngFor","ngForOf"],["mat-menu-item","","role","menuitemcheckbox",3,"click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"]],template:function(a,
b){a&1&&(C(0,$Xa,8,2,"ng-container",1),F(1,"span",2)(2,"strong"),Q(3),H(),C(4,aYa,4,1,"span",1),F(5,"span"),Q(6," of "),F(7,"strong"),Q(8),H()(),F(9,"button",3),O("click",function(){return b.prevPage.emit()}),J(10,"mat-icon",4),H(),F(11,"button",3),O("click",function(){return b.nextPage.emit()}),J(12,"mat-icon",5),H()());a&2&&(E("ngIf",b.showPageSizeSelector),A(3),yg(b.startIndex),A(),E("ngIf",b.endIndex!=null),A(4),yg(b.totalNumber),A(),E("matTooltip",b.previousPageLabel)("disabled",!b.hasPreviousPage),
A(2),E("matTooltip",b.nextPageLabel)("disabled",!b.hasNextPage))},dependencies:[sv,tv,RC,kC,Gx,JI,NI,LI,OI,KI,TI],styles:["[_nghost-%COMP%] {\n      display: flex;\n      align-items: center;\n    }\n    .page-number[_ngcontent-%COMP%] {\n      white-space: nowrap;\n    }"]});var Jsc=new ld("GMAT_PROGRESS_BAR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Ksc=new ld("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");new ld("mat-progress-bar-location",{providedIn:"root",factory:cYa});
var vU=function(a,b,c,d,e){var f=this;this._elementRef=a;this._ngZone=b;this._changeDetectorRef=c;this._animationMode=d;this._isNoopAnimation=!1;this._defaultColor="primary";this._bufferValue=this._value=0;this.animationEnd=new bv;this._mode="determinate";this._transitionendHandler=function(h){f.animationEnd.observers.length!==0&&h.target&&h.target.classList.contains("mdc-linear-progress__primary-bar")&&(f.mode!=="determinate"&&f.mode!=="buffer"||f._ngZone.run(function(){return f.animationEnd.next({value:f.value})}))};
this._isNoopAnimation=d==="NoopAnimations";e&&(e.color&&(this.color=this._defaultColor=e.color),this.mode=e.mode||this.mode)};g=vU.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"};
da.Object.defineProperties(vU.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()}}});vU.\u0275fac=function(a){return new (a||vU)(B(Rd),B(Me),B(Wg),B(Pu,8),B(Ksc,8))};
vU.\u0275cmp=p({type:vU,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&&(Nf("aria-valuenow",b._isIndeterminate()?null:b.value)("mode",b.mode),Xf("mat-"+b.color),Wf("_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",Ug],bufferValue:[2,"bufferValue","bufferValue",Ug],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[Mf,Fg],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&&(F(0,"div",0),J(1,"div",1),C(2,bYa,1,0,"div",2),H(),F(3,"div",3),J(4,"span",4),H(),F(5,"div",5),J(6,"span",4),H());a&2&&(A(),Vf("flex-basis",b._getBufferBarFlexBasis()),A(),$f(b.mode==="buffer"?2:-1),A(),Vf("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),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-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)}.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);border-top-width:var(--mdc-linear-progress-active-indicator-height)}.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);border-radius:var(--mdc-linear-progress-track-shape)}.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)}.cdk-high-contrast-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)}.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) * -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 wU=function(){};wU.\u0275fac=function(a){return new (a||wU)};wU.\u0275mod=cd({type:wU});wU.\u0275inj=Gc({imports:[lx]});var xU=function(a,b){var c=this;this.options=a;this.progressbar=b;this.destroyed=new yf;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-bar-accessible-label");jOa(b._elementRef.nativeElement).pipe(Df(this.destroyed)).subscribe(function(d){c.writeLabelSpan(d[0],d[1])})};xU.prototype.ngOnInit=function(){this.initializeLabelSpan()};
xU.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};xU.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())};
xU.prototype.writeLabelSpan=function(a,b){a=b==="indeterminate"?a:a+" "+Qnc.format(Number(b)/100);this.labelElement.textContent=a};xU.\u0275fac=function(a){return new (a||xU)(B(Jsc),B(vU,10))};xU.\u0275dir=ed({type:xU,selectors:[["mat-progress-bar"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(Nf("tabindex",null),Wf("gmat-mdc-progress-bar",!b.options.disableGmatStyle))}});var jYa=function(){return[]},Lsc=new Map([["NEW",[ysc,zsc]],["CONFIRMED",[Esc,tU,Dsc]],["IN_PROGRESS",[Bsc,Fsc]],["FIXED",[sU]],["WONT_FIX",[sU]]]),yU=function(a,b,c,d,e,f,h,k){Y.call(this);var q=this;this.paramsService=a;this.appSearchState=b;this.teamFridge=c;this.issueFridge=d;this.bLocation=e;this.userPreferencesManager=f;this.imageUrls=h;this.triageService=k;this.ROUTES=wp;this.EMPTY_STATE_IMG=this.imageUrls.EMPTY_TRIAGE;this.HOTKEYS=mr;this.RIGHT_SIDEBAR_MIN_WIDTH=430;this.RIGHT_SIDEBAR_MAX_WIDTH=
800;this.isLoading$=new rn(!1);this.setLoading=function(w){return function(){q.isLoading$.next(w)}};this.PHASES=["NEW","CONFIRMED","IN_PROGRESS","FIXED","WONT_FIX"];this.selectedFilterKeys=new TG;this.teamId$=ZH(this.paramsService,"teamId").pipe(He(Gi),sf());this.phase$=ZH(this.paramsService,"phase").pipe(z(function(w){var y;return(y=X1b.get(w))!=null?y:"NEW"}),sf());this.team$=this.teamId$.pipe(Ef(this.setLoading(!0)),Cf(function(w){return q.teamFridge.watchOne(w)}),Ef(this.setLoading(!1)),He(Gi),
zf({refCount:!0,bufferSize:1}));this.query$=this.team$.pipe(z(function(w){var y,D;return(D=(y=w.experimentalFields)==null?void 0:y.triage.scope)!=null?D:"teamid:"+w.teamId+"+"}),z(function(w){return lo(w,"modified:365d")}),sf());this.fetchResponse$=this.query$.pipe(z(function(w){return{filter:w,pageSize:250,sort:"created_time:desc"}}),Ef(this.setLoading(!0)),Cf(function(w){return q.issueFridge.watchMany(w)}),Ef(this.setLoading(!1)),zf({refCount:!0,bufferSize:1}));this.pageSize$=this.userPreferencesManager.resultsPerPage$;
this.pageNumber$=new rn(1);this.activeSort$=new rn(void 0);this.allIssuesForTeam$=this.fetchResponse$.pipe(z(function(w){return w.results}),sf(ci),zf({refCount:!0,bufferSize:1}));this.allIssuesInPhase$=we([this.allIssuesForTeam$,this.phase$]).pipe(z(function(w){var y=l(w);w=y.next().value;y=y.next().value;return sYa(w,y)}),zf({refCount:!0,bufferSize:1}));this.selectedFilters$=this.selectedFilterKeys.value$.pipe(z(function(w){return[].concat(r(w)).map(function(y){return Isc[y]})}));this.filteredIssuesInPhase$=
we([this.allIssuesInPhase$,this.selectedFilters$]).pipe(z(function(w){var y=l(w);w=y.next().value;y=y.next().value;return YXa(w,y)}));this.filteredTotalCount$=this.filteredIssuesInPhase$.pipe(z(function(w){return w.length}),zf({refCount:!0,bufferSize:1}));this.startIndex$=we([this.pageSize$,this.pageNumber$]).pipe(z(function(w){var y=l(w);w=y.next().value;return(y.next().value-1)*w+1}),zf({refCount:!0,bufferSize:1}));this.endIndex$=we([this.pageSize$,this.startIndex$,this.filteredTotalCount$]).pipe(z(function(w){var y=
l(w);w=y.next().value;var D=y.next().value;y=y.next().value;return Math.min(D+w-1,y)}),zf({refCount:!0,bufferSize:1}));this.sortedFilteredIssuesInPhase$=we([this.filteredIssuesInPhase$,this.activeSort$]).pipe(z(function(w){var y=l(w);w=y.next().value;y=y.next().value;return rYa(w,y)}),zf({refCount:!0,bufferSize:1}));this.issueIdsToRender$=we([this.sortedFilteredIssuesInPhase$,this.startIndex$,this.endIndex$]).pipe(z(function(w){var y=l(w);w=y.next().value;var D=y.next().value;y=y.next().value;return w.map(function(G){return G.issueId}).slice(D-
1,y)}),sf(ci),zf({refCount:!0,bufferSize:1}));this.counts$=this.allIssuesForTeam$.pipe(z(function(w){return new Map(q.PHASES.map(function(y){var D,G=(D=Lsc.get(y))!=null?D:[];return[y,YXa(sYa(w,y),G).length]}))}));this.tabDisplayText$=this.counts$.pipe(z(function(w){return qi(w,function(y,D){return c2b.get(D)+" ("+y+")"})}),Bf(new Map(this.PHASES.map(function(w){return[w,c2b.get(w)]}))));this.availableFiltersInCurrentPhase$=we([this.phase$,this.allIssuesInPhase$]).pipe(z(function(w){var y=l(w);w=
y.next().value;var D=y.next().value;var G;return((G=Gsc.get(w))!=null?G:[]).map(function(I){return Object.assign({},I,{count:D.filter(I.check).length})})}),z(function(w){return w.filter(function(y){return y.count||q.selectedFilterKeys.has(y.key)})}));this.issueIndicatorsForCurrentPhase$=this.phase$.pipe(z(function(w){return Hsc.get(w)}));this.tableOptions={modes:{createdTime:"relativepastshort"},navigationOptions:{clickTargets:"NONE",alwaysOpenNewTab:!0},sortMode:"EXTERNAL_SORT",activeRowMode:"REMAIN_ACTIVE"};
this.tableColumns="active-indicator priority indicators title lastAction id".split(" ");this.selectedTabIndex$=this.phase$.pipe(z(function(w){return q.PHASES.indexOf(w)}));var t;this.sidebarWidthPreference$=new rn(Math.max(this.RIGHT_SIDEBAR_MIN_WIDTH,(t=a3b("triage-sidebar-width")())!=null?t:0));this.sidebarWidth$=we([this.triageService.isSidebarOpen$,this.sidebarWidthPreference$]).pipe(z(function(w){var y=l(w);w=y.next().value;y=y.next().value;return w?y:0}));this.subscriptions.add(this.phase$.subscribe(function(w){var y,
D;q.selectedFilterKeys.reset((D=(y=Lsc.get(w))==null?void 0:y.map(function(G){return G.key}))!=null?D:[])}));this.subscriptions.add(this.allIssuesForTeam$.subscribe(function(w){for(var y=l(w.entries()),D=y.next();!D.done;D=y.next()){var G=l(D.value);D=G.next().value;G=G.next().value;Ysa(D,w)&&z9b.add(G.issueId)}}))};V(yU,Y);yU.\u0275dir=Y.\u0275dir;yU.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};
var nYa=function(a,b){return ge(function(c){if(c.nextAddress==1)return ie(c,se(a.userPreferencesManager.saveResultsPerPage(b)),2);a.pageNumber$.next(1);me(c)})};yU.prototype.onSortChange=function(a){this.activeSort$.next(a)};
yU.prototype.refreshTable=function(){var a=this,b;return ge(function(c){if(c.nextAddress==1)return a.setLoading(!0)(),ie(c,a.issueFridge.pokeMany({filter:ho(a.query$),pageSize:250,sort:"created_time:desc"}),2);if(c.nextAddress!=3)return b=c.yieldResult,ie(c,Promise.all(b.results.map(function(d){return a.issueFridge.poke(d.issueId)})),3);a.setLoading(!1)();me(c)})};yU.\u0275fac=function(a){return new (a||yU)(B(YH),B(xQ),B(JG),B(EF),B(NM),B(PG),B(sR),B(UG))};
yU.\u0275cmp=p({type:yU,selectors:[["b-triage-phase"]],features:[Lf],decls:4,vars:3,consts:[["emptyState",""],[1,"pos-fill","flex-kids-y"],[1,"border-bottom","padded-sides","flex-kids-x","align-items-center","gap-s"],["mat-icon-button","","aria-label","Back to Triage Dashboard",1,"medium",3,"href"],["color","primary","svgIcon","arrow-backward",1,"icon-m","back-btn"],["mat-icon-button","","matTooltip","Refresh","aria-label","Refresh",1,"medium",3,"onHotkey","click","hotkey"],["color","primary","svgIcon",
"refresh",1,"icon-m"],[1,"margin-none","nowrap"],[3,"title"],["gmat-tabs","",1,"flex-kids-x","grow-1","align-items-center","align-self-flex-end",3,"selectedIndexChange","selectedIndex"],[3,"label",4,"ngFor","ngForOf"],[3,"pageSizeChange","prevPage","nextPage","showPageSizeSelector","startIndex","endIndex","totalNumber","hasPreviousPage","hasNextPage","pageSize"],["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",4,"ngIf"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],[1,"flex-1","pos-rel","overflow","overflow-on-print-media"],[3,"issueIds","tableColumns","options","teamId","showReadStatus","indicators"],["direction","rtl",3,"widthChanged","disableToggleBtn","hideToggleBtnOnOpen","minWidth","maxWidth","size"],[3,"refreshTable"],[3,"label"],["mode","indeterminate"],["aria-label","Select filter",1,"padded-s-sides",
3,"multiple"],["aria-label","Select filter",1,"padded-s-sides",3,"change","multiple"],[4,"ngFor","ngForOf"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"],[3,"issueIds","tableColumns","options","teamId","showReadStatus","indicators","activeIssueChange","rowClick","sortChange",4,"ngIf","ngIfElse"],[3,"activeIssueChange","rowClick","sortChange","issueIds","tableColumns","options","teamId","showReadStatus","indicators"],[1,"full-height","flex-kids-y","align-items-center","justify-content-center",
"gap"],["aria-hidden","true","alt","","height","232","width","321",3,"src"]],template:function(a,b){a&1&&(C(0,pYa,35,50,"div",1),T(1,"async"),C(2,qYa,3,1,"ng-template",null,0,Mg));if(a&2){var c;$f((c=U(1,1,b.team$))?0:-1,c)}},dependencies:[sv,tv,RC,kC,Hx,Gx,mS,tS,rS,xU,vU,HM,BM,CM,KI,TI,cJ,UT,ZP,uU,fM,yv],styles:["[_nghost-%COMP%]     .mat-mdc-tab-header{border-bottom:none}.back-btn[_ngcontent-%COMP%]{padding-top:6px}.settings-btn[_ngcontent-%COMP%]{line-height:38px}.left[_ngcontent-%COMP%]{height:100;overflow:hidden auto}[_nghost-%COMP%]     .mat-column-title{width:100%}\n/*# sourceMappingURL=triage_phase.css.map */"],
changeDetection:0});var zU=function(){};zU.\u0275fac=function(a){return new (a||zU)};zU.\u0275mod=cd({type:zU});zU.\u0275inj=Gc({imports:[RD,RH,aM,bM]});var AU=function(){};AU.\u0275fac=function(a){return new (a||AU)};AU.\u0275mod=cd({type:AU});AU.\u0275inj=Gc({imports:[wU]});var BU=function(){};BU.\u0275fac=function(a){return new (a||BU)};BU.\u0275mod=cd({type:BU});BU.\u0275inj=Gc({imports:[RD,zy,RH,tT,AU,sM,JM,bM,dJ,cU,vQ,zU,Ay,EQ,hM,rQ]});var wYa=function(a,b){return b.teamId},CU=function(a,b,c,d){Y.call(this);var e=this;this.appSearchState=a;this.issueFridge=b;this.teamFridge=c;this.starredTeamsService=d;this.ROUTES=wp;this.INITIAL_TEAMS=this.starredTeamsService.starredTeamIds.join(", ");this.teamIdInput=new ky(this.INITIAL_TEAMS);this.teamIdInput.valueChanges.pipe(Bf(this.INITIAL_TEAMS),pf(200),z(function(f){return f!=null?f:""}),z(function(f){return f.trim()}),sf());this.userScopeInput=new ky("me");this.userScopeInput$=this.userScopeInput.valueChanges.pipe(Bf("me"),
pf(200),z(function(f){return f!=null?f:""}),z(function(f){return f.trim()}),sf());this.recentIssues$=this.userScopeInput$.pipe(Cf(function(f){f=f===void 0?"me":f;return e.issueFridge.watchMany({filter:"modified:60d (modifier:"+f+" | assignee:"+f+")",pageSize:500})}));this.recentTeamIds$=this.recentIssues$.pipe(z(function(f){return f.results}),z(function(f){return f.map(function(h){var k;return(k=h.aggregatedData)==null?void 0:k.teamId}).filter(Gi).filter(Boolean)}));this.teamsById$=this.recentTeamIds$.pipe(z(Oi),
Cf(this.teamFridge.watchSet),z(function(f){var h={};f=l(f);for(var k=f.next();!k.done;k=f.next())k=k.value,h[k.teamId]=k;return h}));this.teamCounts$=this.recentTeamIds$.pipe(z(zYa));this.suggestedTeams$=we([this.teamsById$,this.teamCounts$,this.starredTeamsService.starredTeamIds$]).pipe(z(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;var q=[];k=Object.entries(k).sort(function(y,D){return D[1]-y[1]});k=l(k);for(var t=k.next();!t.done;t=k.next()){var w=l(t.value);t=
w.next().value;w=w.next().value;h.includes(t)||w<2||((w=f[t])?q.push(w):q.push({teamId:t,name:"["+t+"]"}))}return q}))};V(CU,Y);CU.\u0275dir=Y.\u0275dir;CU.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()})};CU.prototype.onClickRemove=function(a){a=hsa([a],this.starredTeamsService.starredTeamIds);this.starredTeamsService.save(a);this.teamIdInput.setValue(a.join(", "))};
CU.prototype.onClickAdd=function(a){a=[].concat(r(this.starredTeamsService.starredTeamIds),[a]);this.starredTeamsService.save(a);this.teamIdInput.setValue(a.join(", "))};var Msc=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)};CU.\u0275fac=function(a){return new (a||CU)(B(xQ),B(EF),B(JG),B(SG))};
CU.\u0275cmp=p({type:CU,selectors:[["ng-component"]],features:[Lf],decls:32,vars:8,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,"muted"],["for","userScopeInput",1,"muted"],["mat-input","","id","userScopeInput","type","text","placeholder","User LDAP",3,"formControl"],["class","border-bottom",4,"ngFor","ngForOf"],[1,"border-bottom"],[1,"team-name"],[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&&(F(0,"div",0)(1,"header",1)(2,"h2"),Q(3," Settings Screen - Triage "),H()(),F(4,"div",2)(5,"div",3)(6,"h4"),Q(7," Starred Team(s) "),H(),C(8,uYa,2,1,"ol",4),T(9,"async"),F(10,"div",5)(11,"form",6),O("submit",function(){Msc(b,b.teamIdInput.value)}),F(12,"label",7),Q(13," Edit Teams: "),H(),J(14,"br")(15,"input",8),F(16,"button",9),Q(17,"Save"),H()()()(),J(18,"br")(19,"br")(20,"br"),F(21,"h4"),Q(22," Suggested Teams "),H(),F(23,"ol",10),C(24,xYa,3,2),T(25,"async"),
C(26,yYa,2,0,"p",11),H(),F(27,"div")(28,"label",12),Q(29," Show suggestions for: "),H(),J(30,"br")(31,"input",13),H()()());if(a&2){var c,d;A(8);$f((c=U(9,4,b.starredTeamsService.starredTeams$))?8:-1,c);A(7);E("formControl",b.teamIdInput);A(9);$f((d=U(25,6,b.teamCounts$))?24:26,d);A(7);E("formControl",b.userScopeInput)}},dependencies:[sv,RC,my,Bh,dy,ey,jy,kC,Ex,Hx,Gx,qy,yv],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 DU=function(){};DU.\u0275fac=function(a){return new (a||DU)};DU.\u0275mod=cd({type:DU});DU.\u0275inj=Gc({imports:[RD,zy,sM,bM,RH,Ay,rQ]});var EU=function(){};EU.\u0275fac=function(a){return new (a||EU)};EU.\u0275mod=cd({type:EU});EU.\u0275inj=Gc({imports:[RD,rU,BU,DU]});var FU=function(){this.roundCorners=this.showDividers=!1};FU.\u0275fac=function(a){return new (a||FU)};
FU.\u0275cmp=p({type:FU,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Wf("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),jg(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 GU=function(a,b){this.constants=a;this.activeSession=b;this.ISSUE_TYPES=l$b;this.STATUS_JS_FULL_TEXT=ti;this.STATUSES=k$b;this.SEVERITIES_VALUES=m$b;this.PRIORITIES_VALUES=j$b;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new xF;this.onQuickBulkEdit=new xF;this.onBulkEditIssueRelation=new xF;this.onBulkMarkIssueRead=new xF;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};GU.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
GU.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};GU.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:b===void 0?!0:b})};GU.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};var Nsc=function(a){return a.ISSUE_TYPES.filter(function(b){return b!=="VULNERABILITY"})};GU.\u0275fac=function(a){return new (a||GU)(B(wH),B(as))};
GU.\u0275cmp=p({type:GU,selectors:[["b-app-bar-bulk-edit-menus"]],inputs:{readStatePrompt:"readStatePrompt",enableBulkEstimatedEffortOption:"enableBulkEstimatedEffortOption"},outputs:{onBulkEdit:"onBulkEdit",onQuickBulkEdit:"onQuickBulkEdit",onBulkEditIssueRelation:"onBulkEditIssueRelation",onBulkMarkIssueRead:"onBulkMarkIssueRead"},decls:92,vars:16,consts:[["editMenu","matMenu"],["prioritySubmenu","matMenu"],["severitySubmenu","matMenu"],["statusSubmenu","matMenu"],["typeSubmenu","matMenu"],["ArchiveSubmenu",
"matMenu"],["inProdSubmenu","matMenu"],["linkMenu","matMenu"],["ccMenu","matMenu"],["mat-button","","class","medium",3,"disabled","matMenuTriggerFor",4,"ngIf"],["mat-button","",1,"medium",3,"click","disabled"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click",4,"ngFor","ngForOf"],["mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],
["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click","matTooltip"]],template:function(a,b){if(a&1){var c=u();F(0,"b-button-group");C(1,AYa,4,2,"button",9);F(2,"button",10);O("click",function(){v(c);return x(b.bulkMarkIssueRead())});Q(3);H();C(4,BYa,4,2,"button",9)(5,CYa,4,2,"button",9);H();F(6,"mat-menu",null,0)(8,"button",11);O("click",function(){v(c);return x(b.bulkEdit("ASSIGNEE"))});Q(9,"Assignee");H();F(10,"button",11);O("click",function(){v(c);return x(b.bulkEdit("COMPONENT"))});
Q(11,"Component");H();F(12,"button",12);Q(13,"Priority");H();F(14,"button",12);Q(15,"Severity");H();F(16,"button",12);Q(17,"Status");H();F(18,"button",12);Q(19,"Type");H();F(20,"button",11);O("click",function(){v(c);return x(b.bulkEdit("VERIFIER"))});Q(21,"Verifier");H();F(22,"button",11);O("click",function(){v(c);return x(b.bulkEdit("REPORTER"))});Q(23,"Reporter");H();F(24,"button",11);O("click",function(){v(c);return x(b.bulkEdit("CHANGELIST"))});Q(25,"Changelist");H();F(26,"button",11);O("click",
function(){v(c);return x(b.bulkEdit("CUSTOM_FIELDS"))});Q(27,"Custom Fields");H();F(28,"button",12);Q(29," Archival state ");H();F(30,"button",11);O("click",function(){v(c);return x(b.bulkEdit("FOUND_IN"))});Q(31,"Found In");H();F(32,"button",11);O("click",function(){v(c);return x(b.bulkEdit("SLO_START_TIME"))});Q(33,"SLO Start Time");H();C(34,DYa,2,0,"button",13);F(35,"button",11);O("click",function(){v(c);return x(b.bulkEdit("VERIFIED_IN"))});Q(36,"Verified In");H();F(37,"button",11);O("click",
function(){v(c);return x(b.bulkEdit("TARGETED_TO"))});Q(38,"Targeted To");H();F(39,"button",12);Q(40,"In Prod");H();J(41,"mat-divider");F(42,"button",11);O("click",function(){v(c);return x(b.bulkEdit("COMMENT"))});Q(43,"Add Comment");H()();F(44,"mat-menu",null,1);C(46,EYa,2,1,"button",14);H();F(47,"mat-menu",null,2);C(49,FYa,2,1,"button",14);H();F(50,"mat-menu",null,3);C(52,GYa,2,1,"button",14);H();F(53,"mat-menu",null,4);C(55,HYa,2,2,"button",15);H();F(56,"mat-menu",null,5)(58,"button",11);O("click",
function(){v(c);return x(b.quickBulkEdit("IS_ARCHIVED",!0))});Q(59,"Archive");H();F(60,"button",11);O("click",function(){v(c);return x(b.quickBulkEdit("IS_ARCHIVED",!1))});Q(61,"Unarchive");H()();F(62,"mat-menu",null,6)(64,"button",11);O("click",function(){v(c);return x(b.quickBulkEdit("IN_PROD",!0))});Q(65,"In Prod");H();F(66,"button",11);O("click",function(){v(c);return x(b.quickBulkEdit("IN_PROD",!1))});Q(67,"Not in Prod");H()();F(68,"mat-menu",null,7)(70,"button",11);O("click",function(){v(c);
return x(b.bulkEditIssueRelation("BLOCKED_BY",!0))});Q(71,"Mark as Blocked By");H();F(72,"button",11);O("click",function(){v(c);return x(b.bulkEditIssueRelation("BLOCKING",!0))});Q(73,"Mark as Blocking");H();F(74,"button",11);O("click",function(){v(c);return x(b.bulkEditIssueRelation("PARENT",!0))});Q(75,"Add Parent");H();F(76,"button",11);O("click",function(){v(c);return x(b.bulkEditIssueRelation("DUPLICATE"))});Q(77,"Duplicate");H();F(78,"button",11);O("click",function(){v(c);return x(b.bulkEditIssueRelation("BLOCKED_BY",
!1))});Q(79,"Unmark as Blocked By");H();F(80,"button",11);O("click",function(){v(c);return x(b.bulkEditIssueRelation("BLOCKING",!1))});Q(81,"Unmark as Blocking");H();F(82,"button",11);O("click",function(){v(c);return x(b.bulkEditIssueRelation("PARENT",!1))});Q(83,"Remove Parent");H()();F(84,"mat-menu",null,8)(86,"button",11);O("click",function(){v(c);return x(b.quickBulkEdit("CC",!0))});Q(87,"CC me");H();F(88,"button",11);O("click",function(){v(c);return x(b.quickBulkEdit("CC",!1))});Q(89,"Un-CC me");
H();F(90,"button",11);O("click",function(){v(c);return x(b.bulkEdit("CC"))});Q(91,"Edit CC");H()()}if(a&2){a=M(45);var d=M(48),e=M(51),f=M(54),h=M(57),k=M(63);A();E("ngIf",b.enableBulkEditUi);A();E("disabled",b.isAnonymous);A();R(" ",b.readStatePrompt," ");A();E("ngIf",b.enableBulkEditUi);A();E("ngIf",b.enableBulkEditUi);A(7);E("matMenuTriggerFor",a);A(2);E("matMenuTriggerFor",d);A(2);E("matMenuTriggerFor",e);A(2);E("matMenuTriggerFor",f);A(10);E("matMenuTriggerFor",h);A(6);E("ngIf",b.enableBulkEstimatedEffortOption);
A(5);E("matMenuTriggerFor",k);A(7);E("ngForOf",b.PRIORITIES_VALUES);A(3);E("ngForOf",b.SEVERITIES_VALUES);A(3);E("ngForOf",b.STATUSES);A(3);E("ngForOf",Nsc(b))}},dependencies:[JI,NI,LI,OI,sv,tv,OO,FU,kC,Ex,TO,KI,TI],encapsulation:2,changeDetection:0});var HU=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new xF;this.flagAsSpamClicked=new xF;this.isAnonymous=this.activeSession.isAnonymous()};HU.\u0275fac=function(a){return new (a||HU)(B(as))};
HU.\u0275cmp=p({type:HU,selectors:[["b-app-bar-more-menu"]],inputs:{showExportCsv:"showExportCsv",showFlagIssuesAsSpam:"showFlagIssuesAsSpam"},outputs:{exportCsvClicked:"exportCsvClicked",flagAsSpamClicked:"flagAsSpamClicked"},decls:1,vars:1,consts:[["moreMenu","matMenu"],[4,"ngIf"],["mat-button","",1,"medium",3,"disabled","matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){a&1&&C(0,KYa,9,4,"ng-container",
1);a&2&&E("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[JI,NI,LI,OI,tv,OO,kC,Ex],encapsulation:2,changeDetection:0});var IU=function(){};IU.\u0275fac=function(a){return new (a||IU)};IU.\u0275mod=cd({type:IU});IU.\u0275inj=Gc({imports:[RD]});var JU=function(){};JU.\u0275fac=function(a){return new (a||JU)};JU.\u0275mod=cd({type:JU});JU.\u0275inj=Gc({imports:[aM,RD,QO,IU,RH,cP,bM]});var Osc=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 Psc=function(){};Psc.prototype.cachedOptions_=null;Psc.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var Qsc,Rsc=function(){};gu(Rsc,Psc);Rsc.prototype.createInstance=function(){return new XMLHttpRequest};Rsc.prototype.internalGetOptions=function(){return{}};Qsc=new Rsc;var Wq=function(a){lp.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};gu(Wq,lp);
var Ssc=/^https?$/i,Tsc=["POST","PUT"],Usc=[],W1a=function(a,b,c,d,e,f,h){var k=new Wq;Usc.push(k);b&&k.listen("complete",b);k.listenOnce("ready",k.cleanupSend_);f&&(k.timeoutInterval_=Math.max(0,f));h&&(k.withCredentials_=h);k.send(a,c,d,e);return k};g=Wq.prototype;g.cleanupSend_=function(){this.dispose();Qa(Usc,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("ee`"+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():Qsc.getOptions();this.xhr_.onreadystatechange=eu(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=l(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("fe`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=Ba.FormData&&a instanceof Ba.FormData;!Oa(Tsc,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=l(c);for(d=b.next();!d.done;d=b.next())c=
l(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{Vsc(this),
this.timeoutInterval_>0&&(this.timeoutId_=Xq(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():Qsc.createInstance()};g.timeout_=function(){typeof dSb!="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;Wsc(this);Xsc(this)};var Wsc=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Wq.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"),Xsc(this))};
Wq.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),Xsc(this,!0));Wq.superClass_.disposeInternal.call(this)};Wq.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)Ysc(this);else this.onReadyStateChangeEntryPoint_()};Wq.prototype.onReadyStateChangeEntryPoint_=function(){Ysc(this)};
var Ysc=function(a){if(a.active_&&typeof dSb!="undefined"&&(!a.xhrOptions_[1]||a.getReadyState()!=4||a.getStatus()!=2))if(a.inSend_&&a.getReadyState()==4)Xq(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()+"]";Wsc(a)}}finally{Xsc(a)}}},Xsc=function(a,
b){if(a.xhr_){Vsc(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){}}},Vsc=function(a){a.timeoutId_&&(Yq(a.timeoutId_),a.timeoutId_=null)};g=Wq.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(ncc)[1]||null,!a&&Ba.self&&Ba.self.location&&(a=Ba.self.location.protocol.slice(0,-1)),a=!Ssc.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(Ba.JSON)try{var c=Ba.JSON.parse(a);break a}catch(d){}c=Mgc(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(!dq(b[c])){var d=ZTb(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 hea(a,function(h){return h.join(", ")})};var Mq=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};Wq.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
Wq.prototype.getLastError=function(){return typeof this.lastError_==="string"?this.lastError_:String(this.lastError_)};B_b(function(a){Wq.prototype.onReadyStateChangeEntryPoint_=a(Wq.prototype.onReadyStateChangeEntryPoint_)});var KU=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new ce(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var f=d.watchForRestoredConnection$.subscribe(e);d.watchForRestoredConnection$.subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){f.unsubscribe()}});this.watchForRestoredConnection$=De(window,"focus").pipe(Cf(function(){return d.connectionChecker.ok$}),
He(function(e){return e}),qf(),z(function(){}),kka())};KU.prototype.intercept=function(a,b){return ep(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?Zsc(this,b,a):b.handle(a)};
var Zsc=function(a,b,c){return new ce(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){$sc(a,b,c,h).pipe(Df(f)).subscribe(d)}}),f=new xf(1);return function(){f.next();e.unsubscribe()}})},$sc=function(a,b,c,d){return d.status===403||d.status===404||d.status===429?qe(function(){return d}):a.connectionChecker.ok$.pipe(Cf(function(e){return e?qe(function(){return d}):a.notifyUserAndWaitForGoodConnection$.pipe(Cf(function(){return b.handle(c)}))}))};
KU.\u0275fac=function(a){return new (a||KU)(n(as),n(LU),n(MU))};KU.\u0275prov=Fc({token:KU,factory:KU.\u0275fac,providedIn:"root"});var MU=function(){this.showRefreshSso$=new rn(!1)};MU.\u0275fac=function(a){return new (a||MU)};MU.\u0275prov=Fc({token:MU,factory:MU.\u0275fac,providedIn:"root"});
var LU=function(a){var b=this;this.ngZone=a;this.ok$=new ce(function(c){var d=W1a("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next(d.getResponseText()==="yes"):c.next(!1);c.complete()})});return function(){d.dispose()}})};LU.\u0275fac=function(a){return new (a||LU)(n(Me))};LU.\u0275prov=Fc({token:LU,factory:LU.\u0275fac,providedIn:"root"});var atc={provide:HC,useClass:KU,multi:!0};var btc=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};btc.\u0275fac=function(a){return new (a||btc)(B(as),B(MU))};
btc.\u0275cmp=p({type:btc,selectors:[["b-sso-expired-callout-outlet"]],decls:2,vars:3,consts:[["signedInMessage",""],["format","app",3,"messageType",4,"ngIf"],["format","app",3,"messageType"],[4,"ngIf","ngIfElse"],["mat-flat-button","",3,"click",4,"ngIf"],["mat-flat-button","",3,"click"]],template:function(a,b){a&1&&(C(0,QYa,7,4,"b-callout",1),T(1,"async"));a&2&&E("ngIf",U(1,1,b.showRefreshSsoMessage$))},dependencies:[tv,hS,iS,kC,Ex,yv],encapsulation:2,changeDetection:0});var ctc=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;ep(this.session,"weAreHiring")&&kG(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner=e.detailedUserType==="UNRESTRICTED_GOOGLER";d.cdr.detectChanges()}).catch(function(){})};ctc.\u0275fac=function(a){return new (a||ctc)(B(as),B(jG),B(yF,2))};
ctc.\u0275cmp=p({type:ctc,selectors:[["b-hiring-banner"]],features:[Dg([yF])],decls:1,vars:1,consts:[["class","hiring-banner","title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",4,"ngIf"],["title","See jobs related to Buganizer","href","http://goto.google.com/buganizer-hiring","target","_blank",1,"hiring-banner"]],template:function(a,b){a&1&&C(0,RYa,2,0,"a",0);a&2&&E("ngIf",b.showHiringBanner)},dependencies:[tv],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 NU=function(){};NU.\u0275fac=function(a){return new (a||NU)};NU.\u0275mod=cd({type:NU});NU.\u0275inj=Gc({imports:[RD]});var OU=function(a){this.hotkeys=a};OU.prototype.ngOnInit=function(){this.hotkeys.pause()};OU.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};OU.\u0275fac=function(a){return new (a||OU)(B($I))};
OU.\u0275cmp=p({type:OU,selectors:[["b-hotkeys-dialog"]],decls:8,vars:1,consts:[["mat-dialog-title",""],[4,"ngFor","ngForOf"],["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&&(F(0,"h1",0),Q(1,"Keyboard shortcuts"),H(),F(2,"mat-dialog-content")(3,"table"),C(4,TYa,6,2,"thead",1),H()(),F(5,"mat-dialog-actions")(6,"button",2),Q(7,"Close"),H()());a&2&&(A(4),E("ngForOf",
lbc(b.hotkeys)))},dependencies:[sv,kC,Ex,kH,mH,oH,nH],encapsulation:2});var PU=function(){};PU.\u0275fac=function(a){return new (a||PU)};PU.\u0275mod=cd({type:PU});PU.\u0275inj=Gc({imports:[RD,RH,VH]});var aq=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};aq.prototype.isCustomField=function(){return this.type==="CUSTOM_FIELD"};aq.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};aq.prototype.toString=function(){return this.toApiUrlParam()};var eq=function(a,b){this.fieldId=a;this.direction=b};eq.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+(this.direction==="ASCENDING"?"asc":"desc")};eq.prototype.toString=function(){return this.toApiUrlParam()};var WYa=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 QU=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 rn(this)},dtc=function(a,
b){var c=b.positionMap||{},d=b.issues.map(function(e){var f=YYa(e,null);c&&c[e.issueId]&&(f.position=c[e.issueId]);return f});return new QU(d,a,b)};QU.prototype.hasPreviousPage=function(){return this.params.page>1};QU.prototype.hasNextPage=function(){return!!this.responseMetadata.nextPageToken};
var RU=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return c!==-1?c+a.startIndex:-1},etc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=RU(a,c.issueId);e!==-1&&(e-=a.startIndex,XYa(a.issues[e],c,d))}a.changed$.next(a)},ftc=function(a,b,c,d){b=RU(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)};QU.prototype.clone=function(){var a=new QU(this.internalIssues,this.params,this.responseMetadata);a.changed$.next(a);return a};da.Object.defineProperties(QU.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var SU=function(a,b,c){this.issueApi=a;this.hotlistApi=b;this.paths=c};SU.prototype.create=function(a){return new gtc(this.issueApi,this.hotlistApi,this.paths,a)};SU.\u0275fac=function(a){return new (a||SU)(n(jC),n(jE),n(BP))};SU.\u0275prov=Fc({token:SU,factory:SU.\u0275fac,providedIn:"root"});
var gtc=function(a,b,c,d){this.issueApi=a;this.hotlistApi=b;this.paths=c;this.params=d;this.resultPromise=this.searchResultsPage=null},TU=function(a){if(a.params.page<1)return Promise.reject(Error("he"));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=KMa(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=dtc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})},htc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var UU=function(a,b){this.$window=a;this.searchResultsPageFetcherFactory=b;this.previousResultsFetcher=this.nextResultsFetcher=this.currentResultsFetcher=null;this.focusedIssueIndex=-1},ktc=function(a,b){var c=Li();itc(b.page)?(jtc(a,b),TU(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},mtc=function(a){var b=Li(),c=null;a.currentResultsFetcher?c=a.currentResultsFetcher.params:c=ltc(a);
c?(jtc(a,c),TU(a.currentResultsFetcher).then(function(d){b.resolve(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},ntc=function(a){a.currentResultsFetcher=null;a.nextResultsFetcher=null;a.previousResultsFetcher=null;a.focusedIssueIndex=-1},otc=function(a,b){var c=Li();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=di(a.currentResultsFetcher.params);e.page=d;jtc(a,e);TU(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};UU.prototype.getFocusedIssue=function(){return this.focusedIssueIndex};
var ptc=function(a){a.currentResultsFetcher?TU(a.currentResultsFetcher).then(function(b){a.focusedIssueIndex=b.endIndex>=b.startIndex?b.startIndex:-1}).catch(function(b){ij("unexpected error fetching:",b)}):a.focusedIssueIndex=-1},ltc=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 eq(new aq(b.fieldId),b.direction)}));return a}return null},
qtc=function(a,b,c){b=di(b);b.page=c;return a.searchResultsPageFetcherFactory.create(b)},rtc=function(a,b){a.currentResultsFetcher||(a.currentResultsFetcher=qtc(a,b,b.page),TU(a.currentResultsFetcher).catch(function(c){ij("unexpected error fetching:",c)}));!a.previousResultsFetcher&&b.page>1&&(a.previousResultsFetcher=qtc(a,b,b.page-1),Pp(2E3).then(function(){var c;return(c=a.previousResultsFetcher)==null?void 0:TU(c)}).catch(function(c){ij("unexpected error fetching:",c)}));!a.nextResultsFetcher&&
htc(a.currentResultsFetcher)&&(a.nextResultsFetcher=qtc(a,b,b.page+1),Pp(2E3).then(function(){var c;return(c=a.nextResultsFetcher)==null?void 0:TU(c)}).catch(function(c){ij("unexpected error fetching:",c)}))},jtc=function(a,b){b.page=ii(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("ie");a.previousResultsFetcher&&b.page===a.previousResultsFetcher.params.page?(a.nextResultsFetcher=a.currentResultsFetcher,a.currentResultsFetcher=a.previousResultsFetcher,a.previousResultsFetcher=
null):a.nextResultsFetcher&&b.page===a.nextResultsFetcher.params.page&&(a.previousResultsFetcher=a.currentResultsFetcher,a.currentResultsFetcher=a.nextResultsFetcher,a.nextResultsFetcher=null);if(a.currentResultsFetcher){var c=a.currentResultsFetcher.params;b.page===c.page&&b.query===c.query&&ci(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&ci(b.trackerIds,c.trackerIds)?a.currentResultsFetcher.params.returnUrl=b.returnUrl:ntc(a)}rtc(a,b);b=JSON.stringify(a.currentResultsFetcher.params);
a.$window.sessionStorage.setItem("buganizer.searchParams",b)},itc=function(a){var b=ii(""+a);return isNaN(b)||b!=Number(a)||b<1||b>2147483647?!1:!0};UU.\u0275fac=function(a){return new (a||UU)(n($G),n(SU))};UU.\u0275prov=Fc({token:UU,factory:UU.\u0275fac,providedIn:"root"});var VU=function(a,b){this.$window=a;this.activeSession=b};VU.prototype.setTitle=function(a){a=fq(a,this.activeSession.session);this.$window.document.title=a};VU.\u0275fac=function(a){return new (a||VU)(n($G),n(as))};VU.\u0275prov=Fc({token:VU,factory:VU.\u0275fac,providedIn:"root"});var WU=function(a,b,c,d){Y.call(this);var e=this;this.paramsService=a;this.issueFridge=b;this.pageTitle=c;this.accessIndicatorService=d;this.newTitle$=this.paramsService.routeParams$.pipe(sf(ci),Cf(function(f){return e.onRouteParamsChanged(f)}));this.init=function(){e.subscriptions.add(e.newTitle$.subscribe(function(f){e.pageTitle.setTitle(f)}))};this.initOnce=Mi(this.init)};V(WU,Y);WU.\u0275dir=Y.\u0275dir;WU.prototype.onRouteParamsChanged=function(a){return a.issueId?stc(this,a.issueId):pe()};
var stc=function(a,b){return we([a.issueFridge.watch(b),Goc(a.accessIndicatorService,b).pipe(Bf(void 0),lf(function(){return pe(void 0)}))]).pipe(Bf([void 0,void 0]),z(function(c){c=l(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}))};WU.\u0275fac=function(a){return new (a||WU)(n(YH),n(EF),n(VU),n(RQ))};WU.\u0275prov=Fc({token:WU,factory:WU.\u0275fac,providedIn:"root"});var wtc=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(ttc(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(),
utc(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);ttc(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();utc(this);vtc(this)};wtc.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
wtc.prototype.stop=function(){this.state=2;utc(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 vtc=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)}};
wtc.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 utc=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"},ttc=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};wtc.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var xtc=function(a){this.element=a;this.bugs=[]};xtc.prototype.start=function(){for(var a=this,b=0;b<3;b++)ytc(this);this.intervalSubscription=Jha(1E4).subscribe(function(){ytc(a);a.bugs.length>=10&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};xtc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=l(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};var ytc=function(a){var b=new wtc(a.element);b.start();a.bugs.push(b)};var XU=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new xf(1);this.active$=new rn(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new xtc(d.nativeElement);this.active$.pipe(Df(this.destroyed$),sf()).subscribe(function(f){f?ztc(e):Atc(e)})};XU.prototype.ngOnInit=function(){document.visibilityState==="visible"&&Btc(this)};XU.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var Btc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};XU.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),Btc(this))};XU.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var Atc=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()})},ztc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
XU.\u0275fac=function(a){return new (a||XU)(B(Me),B(PG),B(ZC),B(Rd))};
XU.\u0275cmp=p({type:XU,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&O("click",function(){return b.onUserEvent()},!1,Ud)("keydown",function(){return b.onUserEvent()},!1,Ud)("mousemove",function(){return b.onUserEvent()},!1,Ud)("wheel",function(){return b.onUserEvent()},!1,Ud)("touchstart",function(){return b.onUserEvent()},!1,Ud)("focus",function(){return b.onUserEvent()},!1,Ud)("visibilitychange",function(){return b.onVisibilityChange()},!1,Yga)},decls:0,vars:0,template:function(){},
encapsulation:2});var Ctc=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(z(function(d){return(d.enableBugScreensaver||!1)&&c}))};Ctc.\u0275fac=function(a){return new (a||Ctc)(B(PG),B(as))};Ctc.\u0275cmp=p({type:Ctc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(C(0,ZYa,1,0,"bug-screensaver",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.isEnabled$))},dependencies:[tv,XU,yv],encapsulation:2});var YU=function(){};YU.\u0275fac=function(a){return new (a||YU)};YU.\u0275mod=cd({type:YU});YU.\u0275inj=Gc({imports:[RD,sM,tO,rT]});var Dtc=function(a){this.activeSession=a;this.currentTracker=this.activeSession.getTracker();var b,c;this.trackerName=(c=(b=this.currentTracker)==null?void 0:b.name)!=null?c:"";var d,e,f;this.trackerLogo=(f=(d=this.currentTracker)==null?void 0:(e=d.branding)==null?void 0:e.logoUrl)!=null?f:"";var h,k,q;this.trackerCoc=(q=(h=this.currentTracker)==null?void 0:(k=h.branding)==null?void 0:k.cocUrl)!=null?q:""};Dtc.\u0275fac=function(a){return new (a||Dtc)(B(as))};
Dtc.\u0275cmp=p({type:Dtc,selectors:[["b-footer"]],decls:1,vars:1,consts:[[4,"ngIf"],["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&&C(0,bZa,9,2,"footer",0);a&2&&E("ngIf",b.currentTracker||b.activeSession.isExternalSession())},dependencies:[tv],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 ZU=function(){};ZU.\u0275fac=function(a){return new (a||ZU)};ZU.\u0275mod=cd({type:ZU});ZU.\u0275inj=Gc({imports:[RD]});var $U=function(a,b,c,d){var e=this;this.paths=a;this.context=b;this.activeSession=c;this.componentFridge=d;this.createIssuePath=this.paths.createIssue();this.currentTracker=this.activeSession.getTracker();this.component$=this.context.getComponentId().pipe(Cf(function(k){return k?e.componentFridge.watch(k):pe(void 0)}),z(function(k){return k&&!k.archived?k:void 0}));this.visibleOptions$=we([this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(rf(0),z(function(k){var q=l(k);
k=q.next().value;var t=q.next().value;q=q.next().value;return Etc(e,e.currentTracker,k,t,q)}));this.buttonLabel$=this.visibleOptions$.pipe(z(function(k){return k.length?"Create":"Create Issue"}));var f,h;this.buttonIcon=((f=this.currentTracker)==null?void 0:(h=f.branding)==null?void 0:h.theme)==="OPEN_SOURCE"?"create-open-source-36px":"create-color-36px"};$U.prototype.ngOnInit=function(){};$U.prototype.trackClick=function(a){Jn("create","click",a)};
var Etc=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(r(f.entries())).map(function(k){var q=l(k);k=q.next().value;q=q.next().value;return{name:iFa(k),path:q}})};$U.\u0275fac=function(a){return new (a||$U)(B(BP),B(hI),B(as),B(gB))};
$U.\u0275cmp=p({type:$U,selectors:[["b-create-issue-button"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"clickMain","clickSegment","label","icon","href","segments"]],template:function(a,b){a&1&&(C(0,dZa,3,3,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.visibleOptions$))},dependencies:[tv,YL,yv],encapsulation:2,changeDetection:0});var aV=function(a,b){this.router=a;this.location=b},Xrb=function(a){var b=a.location.getUrl();Or(a.router,"/",{skipLocationChange:!0}).then(function(){return Or(a.router,b,{skipLocationChange:!0})})};aV.\u0275fac=function(a){return new (a||aV)(n(HD),n(NM))};aV.\u0275prov=Fc({token:aV,factory:aV.\u0275fac,providedIn:"root"});var bV=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.reloadService=a;this.activeSession=b;this.bLocation=c;this.paths=d;this.issuePagination=e;this.sidebarItemFactory=f;this.appEvents=h;this.analytics=k;this.currentUserBookmarksFridge=q;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];this.subscriptions.add(yE(this.currentUserBookmarksFridge).subscribe(function(w){t.sidebarData.hotlists=
Ftc(t,w.hotlists);t.sidebarData.bookmarkGroups=Gtc(t,w.bookmarkGroups);t.sidebarData.archivedHotlists=Ftc(t,w.archivedHotlists);t.sidebarData.archivedBookmarkGroups=Gtc(t,w.archivedBookmarkGroups);t.appEvents.sidebarUpdated.next()}));this.subscriptions.add(AE(this.currentUserBookmarksFridge).subscribe(function(w){w=Htc(t,w);t.sidebarData.userSearches=w;Dba(t.userSavedSearches);Eba(t.userSavedSearches,w);t.appEvents.sidebarUpdated.next()}));this.subscriptions.add(zE(this.currentUserBookmarksFridge).subscribe(function(w){Itc(t,
w);t.appEvents.sidebarUpdated.next()}))};V(bV,Y);bV.\u0275dir=Y.\u0275dir;
var Ftc=function(a,b){return b.map(function(c){return Jtc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},Gtc=function(a,b){return b.map(function(c){var d=a.sidebarItemFactory;return new Ktc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},Htc=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 Ltc(a.sidebarItemFactory,c)})},Itc=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 Jtc(a.sidebarItemFactory,c)});Dba(a.userHotlists);Eba(a.userHotlists,b)};
bV.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||(ntc(this.issuePagination),Emc(this.paths,a)&&Xrb(this.reloadService),this.bLocation.setUrl(a),b.preventDefault(),b.stopPropagation())};bV.\u0275fac=function(a){return new (a||bV)(n(aV),n(as),n(NM),n(BP),n(UU),n(cV),n(iD),n(CF),n(xE))};
bV.\u0275prov=Fc({token:bV,factory:bV.\u0275fac,providedIn:"root"});var dV=function(a,b,c,d,e,f,h,k){this.item=a;this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=f;this.paths=h;this.userPreferencesManager=k;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};
dV.prototype.getDisplayName=function(){return this.item.name?this.item.name:"resourceType"in this.item?ni(this.item.resourceType.toLowerCase())+" "+this.item.id:this.item.id};dV.prototype.isEditable=function(){return Mtc(this)};dV.prototype.isSelected=function(){var a=this.paths,b=this.href;b=b.charAt(0)!=="/"?"/"+b:b;return a.bLocation.path()===b};dV.prototype.isUnstarable=function(){return!Mtc(this)&&this.starred};
var Mtc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},Ntc=function(a,b){var c=QG(a.userPreferencesManager).homepagePreferences;return(c==null?void 0:c.resourceId)===a.id&&c.resourceType===b},Otc=function(a,b){Xp(a.butterBar,"Updating homepage...",0);s9b(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(qf()).subscribe(function(){Xp(a.butterBar,"Homepage updated")})},Ptc=function(a,b,c,d,e,f,h,k,q,t,w,y){dV.call(this,a,b,c,d,e,h,k,q);this.hotlistApi=
f;this.errorHandler=t;this.confirmationDialogService=w;this.appEvents=y;this.href=wp.viewHotlist.makeHref(a.id);this.type="HOTLIST"};V(Ptc,dV);g=Ptc.prototype;g.isPreferredHomepage=function(){return Ntc(this,"HOTLIST")};g.setAsPreferredHomepage=function(){Otc(this,"HOTLIST")};
g.archive=function(){var a=this;Xp(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});Xp(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;Xp(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});Xp(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:Lh("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;Xp(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:this.id}).then(function(){Xp(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var eV=function(a,b,c,d,e,f,h,k){dV.call(this,a,b,c,d,e,f,h,k);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};V(eV,dV);eV.prototype.isUnstarable=function(){return!1};
eV.prototype.unstar=function(){};eV.prototype.isPreferredHomepage=function(){return Ntc(this,"SAVED_SEARCH")};eV.prototype.setAsPreferredHomepage=function(){Otc(this,"SAVED_SEARCH")};
var Ktc=function(a,b,c,d,e,f,h,k,q,t,w,y){dV.call(this,a,b,c,d,e,f,h,k);this.errorHandler=q;this.sidebarItemFactory=t;this.confirmationDialogService=w;this.appEvents=y;this.items=[];a=l(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(Jtc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(Ltc(this.sidebarItemFactory,b))}this.items.sort(function(D,G){return D.name.localeCompare(G.name)})};V(Ktc,dV);g=Ktc.prototype;
g.isPreferredHomepage=function(){return Ntc(this,"BOOKMARK_GROUP")};g.setAsPreferredHomepage=function(){Otc(this,"BOOKMARK_GROUP")};
g.archive=function(){var a=this;Xp(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});Xp(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;Xp(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});Xp(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:Lh("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;Xp(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.removeUserBookmark({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){Xp(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var cV=function(a,b,c,d,e,f,h,k,q,t,w){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=f;this.analytics=h;this.butterBar=k;this.userPreferencesManager=q;this.confirmationDialogService=t;this.appEvents=w},Jtc=function(a,b){return new Ptc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},Ltc=function(a,b){return new eV(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};cV.\u0275fac=function(a){return new (a||cV)(n(as),n(qE),n(HA),n(jE),n(eD),n(BP),n(CF),n(cD),n(PG),n(rH),n(iD))};cV.\u0275prov=Fc({token:cV,factory:cV.\u0275fac,providedIn:"root"});var fV=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};fV.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!u9b(this.prefs,this.prefKey))};fV.prototype.onClick=function(){var a=this,b,c;return ge(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return ie(d,se(t9b(a.prefs,(c[a.prefKey]=!b,c))),0)})};fV.\u0275fac=function(a){return new (a||fV)(B(PG))};
fV.\u0275cmp=p({type:fV,selectors:[["sidebar-zippy"]],inputs:{expanded:"expanded",header:"header",content:"content",prefKey:"prefKey"},decls:3,vars:7,consts:[["tabindex","0","role","tab",1,"bv2-nav-expandable-header",3,"click","keydown.enter","keydown.space"],[4,"ngTemplateOutlet"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"div",0),O("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
C(1,eZa,1,0,"ng-container",1),H(),C(2,gZa,2,1,"ng-container",2));a&2&&(Wf("opened",b.expanded)("closed",!b.expanded),Nf("aria-expanded",b.expanded),A(),E("ngTemplateOutlet",b.header),A(),E("ngIf",b.expanded))},dependencies:[tv,xv],encapsulation:2});var gV=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};g=gV.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(yp(wp.viewDashboard.routeDeclarationPath,{id:a}))};g.openEditHotlist=function(a){this.location.setUrl(wp.editHotlist.makeHref(a))};
g.openEditBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};g.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};gV.\u0275fac=function(a){return new (a||gV)(B(NM),B(CF),B(BP),B(bV))};
gV.\u0275cmp=p({type:gV,selectors:[["sidebar-archived"]],inputs:{bookmarkGroups:"bookmarkGroups",hotlists:"hotlists"},decls:1,vars:1,consts:[["zippyHeader",""],["zippyContent",""],["bgZippyHeader",""],["bgZippyContent",""],["groupMenu",""],["hotlistMenu",""],[4,"ngIf"],["prefKey","nav-archived",3,"header","content"],[1,"archived-list"],[3,"title",4,"ngFor","ngForOf"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[3,"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","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["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","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[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","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor",4,"ngIf"],["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&&C(0,wZa,7,2,"div",6);a&2&&E("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[sv,tv,RC,kC,Gx,JI,NI,LI,MI,OI,fV],encapsulation:2,changeDetection:0});var hV=function(){this.admins=[]};hV.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=wi(this.bookmarkGroup.adminUsers)};hV.\u0275fac=function(a){return new (a||hV)};
hV.\u0275cmp=p({type:hV,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&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"h3")(4,"a",3),Q(5),H()(),F(6,"ul")(7,"li"),Q(8),H(),F(9,"li"),Q(10),H()(),F(11,"div")(12,"p"),Q(13),H()()()()());a&2&&(A(4),E("href",b.url,
cf),A(),yg(b.bookmarkGroup.name),A(3),R("ID: ",b.bookmarkGroup.bookmarkGroupId,""),A(2),zg("",b.admins.length===1?"Admin":"Admins",": ",b.admins.join(", "),""),A(3),yg(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 Qtc=["searchBox"],iV=function(a,b,c,d,e,f,h,k,q,t){this.cdr=a;this.activeSession=b;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=f;this.analytics=h;this.errorHandler=k;this.appEvents=q;this.currentUserBookmarksFridge=t;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new xF;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.currentUserEmail=this.activeSession.getUserEmail();
this.query="";this.matches=[]};iV.prototype.ngOnInit=function(){this.allowStarring&&Rtc(this)};iV.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 Rtc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();se(yE(a.currentUserBookmarksFridge)).then(function(b){if(a.showGroups)for(var c=l(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=l((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=l(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=iV.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=l(e);e=f.next().value;f=f.next().value;if(b===a.nextRequestIndex-1){for(var h=l(e),k=h.next();!k.done;k=h.next()){k=k.value;var q=k.bookmarkGroupId;k.href=a.paths.viewBookmarkGroup(q);k.isGroup=!0;k.isStarred=a.favoriteBookmarkGroups.has(q)}h=
l(f);for(k=h.next();!k.done;k=h.next())k=k.value,q=k.hotlistId,k.href=wp.viewHotlist.makeHref(q),k.isGroup=!1,k.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(r(e),r(f));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};g.shouldShowStar=function(a){return this.allowStarring&&!wi(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();Rtc(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))};
iV.\u0275fac=function(a){return new (a||iV)(B(yF,2),B(as),B(qE),B(HA),B(jE),B(BP),B(CF),B(eD),B(iD),B(xE))};
iV.\u0275cmp=p({type:iV,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(rg(Qtc,5),rg(gR,5));if(a&2){var c;vg(c=wg())&&(b.searchBoxEl=c.first);vg(c=wg())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Dg([yF])],decls:13,vars:6,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"],[4,"ngIf"],[1,"bv2-hotlist-search-dropdown",3,"optionSelected"],["class","bv2-hotlist-search-dropdown-item",3,"value",4,"ngFor","ngForOf"],[1,"bv2-hotlist-search-subtext"],[1,"bv2-hotlist-search-dropdown-item",3,"value"],[1,"flex-kids-x","align-items-center","gap-xxs"],[3,"starMessage","unStarMessage","starred","starClicked",
4,"ngIf"],[3,"hotlist",4,"ngIf"],[3,"bookmarkGroup",4,"ngIf"],[1,"bv2-hotlist-name",3,"onedevHovercardTrigger"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"hotlist"],[3,"bookmarkGroup"]],template:function(a,b){if(a&1){var c=u();F(0,"div",3)(1,"input",4,0);Cg("ngModelChange",function(d){v(c);Bg(b.query,d)||(b.query=d);return x(d)});O("ngModelChange",function(){v(c);return x(b.onQueryChange())})("keydown.space",function(d){v(c);return x(b.onSpace(d))});H();C(3,xZa,1,0,"b-spinner",
5);F(4,"mat-autocomplete",6,1);O("optionSelected",function(d){v(c);b.itemSelect.emit(d.option.value);return x()});C(6,BZa,9,8,"mat-option",7);H();F(7,"div",8);Q(8,' e.g., "foo bar admin:user@google.com" ');J(9,"br");Q(10,' or "foo bar admin:group@google.com" ');J(11,"br");Q(12," Only identities directly listed as Admins can be searched. ");H()()}a&2&&(a=M(5),A(),Ag("ngModel",b.query),E("matAutocomplete",a),Nf("autofocus",b.focusOnInit)("aria-label","Add query for searching "+(b.showGroups?"bookmark groups":
"hotlists")),A(2),E("ngIf",b.isLoading()),A(3),E("ngForOf",b.matches))},dependencies:[sv,tv,hV,oO,xJ,DJ,pQ,DP,Bh,dy,ly,eR,fR,xx,gR],encapsulation:2});var Stc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],Ttc=function(){};Ttc.\u0275fac=function(a){return new (a||Ttc)};Ttc.\u0275dir=ed({type:Ttc,selectors:[["xap-dialog-layout-subtitle"]],standalone:!0});var jV=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new xf;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
jV.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){Utc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});Vtc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};jV.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var Utc=function(a){if(!window.ResizeObserver)return pe(Wtc(a.el.nativeElement));var b;return Gha(function(c){b=new ResizeObserver(function(){c(Wtc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(sf(),Df(a.destroyed))},Vtc=function(a){return De(a.el.nativeElement,"scroll").pipe(CZa(),z(function(){return a.getScrollPosition(a.el.nativeElement)}),sf(),Df(a.destroyed))},Wtc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
jV.prototype.getScrollPosition=function(a){return a.scrollTop===0?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};da.Object.defineProperties(jV.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});jV.\u0275fac=function(a){return new (a||jV)(B(Rd),B(Wg),B(Me))};
jV.\u0275dir=ed({type:jV,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&Wf("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 kV=function(){};kV.\u0275fac=function(a){return new (a||kV)};
kV.\u0275cmp=p({type:kV,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&sg(c,Ttc,4);if(a&2){var d;vg(d=wg())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&Wf("xap-dialog-layout-bordered-header",b.subtitle)},standalone:!0,features:[Fg],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&&(ig(Stc),F(0,"header",0),jg(1),jg(2,1),H(),jg(3,2),jg(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 Xtc=Gh({opacity:0}),Ytc=Gh({opacity:1}),Ztc=Eh("dialogContainer",[Hh("void, hidden",Xtc),Hh("visible",Ytc),Jh("void => *, * => visible",Fh("200ms cubic-bezier(0.0,0.0,0.2,1)",Ytc)),Jh("* => void, * => hidden",Fh("200ms cubic-bezier(0.4,0.0,0.2,1)",Xtc))]);var $tc=new ld("XAP_IDCO"),lV=function(){Cw.apply(this,arguments);this.animationState="hidden";this.options=Xc($tc);this.changeDetector=Xc(Wg)};V(lV,Cw);lV.prototype.ngAfterViewInit=function(){};lV.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};lV.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};var auc=function(a,b){a.animationState=b?"visible":"hidden";a.changeDetector.markForCheck()};
lV.\u0275fac=function(){var a;return function(b){return(a||(a=Od(lV)))(b||lV)}}();
lV.\u0275cmp=p({type:lV,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&rg(Fw,7);if(a&2){var c;vg(c=wg())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(fg("@dialogContainer",b.animationState),Nf("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex))},standalone:!0,features:[Lf,Fg],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex",
"0"]],template:function(a){a&1&&(F(0,"div"),C(1,DZa,1,0,"ng-template",0),H())},dependencies:[jw,Gw,Fw],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:[Ztc]},changeDetection:0});var buc=[{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}],cuc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},mV=function(a,b,c,d,e,f,h,k){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
f;this.ariaDescriber=h;this.injector=k;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=cuc;this.triggerDescription="Press space for more information.";this.forceTrapFocus=this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new bv;this.opened=new bv;this.closed=new bv;this.destroyed=new xf;this.openStatusChange=new rn(!1);this.openings=this.openStatusChange.pipe(He(function(t){return t&&!q.disabled}));this.elementFocusedBeforeDialogWasOpened=
void 0;duc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);euc(this,c.nativeElement)};mV.prototype.ngOnInit=function(){var a=this.elementRef.nativeElement;a.hasAttribute("aria-haspopup")||a.setAttribute("aria-haspopup","dialog");a.hasAttribute("aria-describedby")||lw(this.ariaDescriber,a,this.triggerDescription)};mV.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var duc=function(a,b){a.ngZone.runOutsideAngular(function(){De(b,"keydown").pipe(Df(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});De(b,"keyup").pipe(Df(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},euc=function(a,b){a.ngZone.runOutsideAngular(function(){De(b,"focus").pipe(He(function(){return a.beforeOpened.observers.length>0}),Df(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
g=mV.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=fuc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);auc(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)||(auc(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),Xv(this.focusTrap),this.disableAutoFocus||this.focusInitialElement()};g.focusInitialElement=function(){this.focusTrap&&WWb(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 bx(gx(this.overlay.position(),(b=this.attachedTo)!=null?b:this.elementRef),a).setOrigin((c=this.attachedTo)!=null?c:this.elementRef)};
var guc=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()}},fuc=function(a){var b=Sg({parent:a.injector,providers:[{provide:$tc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new Aw(lV,null,b);a.overlayRef==null&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(buc)));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)};
da.Object.defineProperties(mV.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof og?new Bw(a,this.viewContainerRef):new Aw(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=qh(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}}}});mV.\u0275fac=function(a){return new (a||mV)(B(Me),B(hx),B(Rd),B(pg),B(Document),B(pw),B(kw),B(Ne))};
mV.\u0275dir=ed({type:mV,hostVars:1,hostBindings:function(a,b){a&2&&Nf("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 nV=function(a,b,c,d,e,f,h,k){mV.call(this,a,b,c,d,e,f,h,k);this.attachMouseEventListeners(c.nativeElement)};V(nV,mV);g=nV.prototype;g.ngOnInit=function(){mV.prototype.ngOnInit.call(this);this.listenForOpenEvents()};g.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(Df(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(He(function(b){return b&&a.beforeOpened.observers.length>0}),oka(function(){return a.openStatusChange.pipe(He(function(b){return!b}))}))};
g.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){De(a,"mouseenter").pipe(Df(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});De(a,"click").pipe(Df(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;(c=b.overlayRef)==null||c.backdropClick().pipe(Df(b.destroyed)).subscribe(function(){b.closingDialog()})})};
g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){De(a,"keyup").pipe(Df(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 27:b.closingDialog();break;case 32:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}});De(a,"keydown").pipe(Df(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 Zw(Object.assign({},this.overlayDimensions,{positionStrategy:mV.prototype.createPositionStrategy.call(this,a),scrollStrategy:guc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};nV.\u0275fac=function(a){return new (a||nV)(B(Me),B(hx),B(Rd),B(pg),B(vh),B(pw),B(kw),B(Ne))};
nV.\u0275dir=ed({type:nV,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:[0,"xapInlineDialogClick","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],standalone:!0,features:[Lf]});var oV=function(){this.disabled=!1};oV.\u0275fac=function(a){return new (a||oV)};
oV.\u0275cmp=p({type:oV,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:[0,"xapInlineDialogDisabled","disabled"]},standalone:!0,features:[Fg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),jg(0))},styles:[".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed var(--xap-color-outline,#80868b);-moz-text-decoration:underline dashed var(--xap-color-outline,#80868b);text-decoration:underline dashed var(--xap-color-outline,#80868b);text-underline-position:under;text-underline-offset:1px}"],encapsulation:2});var pV=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new xF};pV.\u0275fac=function(a){return new (a||pV)};
pV.\u0275cmp=p({type:pV,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&rg(nV,5);if(a&2){var c;vg(c=wg())&&(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&&(F(0,"xap-icon-trigger",1),J(1,"mat-icon",2),H(),C(2,EZa,3,4,"ng-template",null,0,Mg));a&2&&(a=M(3),E("xapInlineDialogClick",a),Nf("aria-label",b.ariaLabel))},dependencies:[RC,kV,jV,KI,TI,nV,oV,iV],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var qV=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};qV.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.setUrl(this.paths.viewBookmarkGroup(a))};qV.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.setUrl(yp(wp.viewDashboard.routeDeclarationPath,{id:a}))};qV.prototype.editBookmarkGroup=function(a){this.location.setUrl(this.paths.editBookmarkGroup(a))};
qV.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};qV.\u0275fac=function(a){return new (a||qV)(B(NM),B(CF),B(BP),B(bV))};
qV.\u0275cmp=p({type:qV,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"],["class","bookmark-group-list",4,"ngIf"],[1,"bookmark-group-list"],[3,"title",4,"ngFor","ngForOf"],[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","class","bv2-nav-item-menubutton keep-focus-ring",3,"matMenuTriggerFor","click",4,"ngIf"],["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","","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"],[1,"bv2-nav-links-no-indent","bookmark-group-content-list"],["class","bv2-nav-item",3,"selected-indented","bv2-bookmark-group-hotlist-item","bv2-bookmark-group-saved-search-item","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-indented",3,"click","href"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions","class","bv2-nav-item-menubutton",
3,"matMenuTriggerFor",4,"ngIf"],["mat-icon-button","","disableRipple","true","aria-label","Bookmark item actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"]],template:function(a){a&1&&(F(0,"div",6),J(1,"hr"),F(2,"sidebar-zippy",7),C(3,FZa,3,1,"ng-template",null,0,Mg)(5,UZa,1,1,"ng-template",null,1,Mg),H()());if(a&2){a=M(4);var b=M(6);A(2);E("header",a)("content",b)}},dependencies:[sv,tv,RC,pV,kC,Gx,JI,NI,LI,MI,OI,fV],encapsulation:2,changeDetection:0});var rV=function(a,b,c,d,e,f,h,k){Y.call(this);this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.mcPrefs=k;this.ENABLE_MISSION_CONTROL=Ji();this.userEmail=b.getUserEmail();this.subscriptions.add(h.routeChangeSuccess.subscribe(function(){f.detectChanges()}))};V(rV,Y);rV.\u0275dir=Y.\u0275dir;rV.prototype.getUserEmail=function(){return this.userEmail};rV.prototype.openEditHotlist=function(a){this.location.setUrl(wp.editHotlist.makeHref(a))};
rV.prototype.addToMissionControl=function(a){this.mcPrefs.addHotlist(a);this.location.setUrl(this.paths.home())};rV.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};rV.\u0275fac=function(a){return new (a||rV)(B(NM),B(as),B(CF),B(bV),B(BP),B(Wg),B(BF),B(zR))};
rV.\u0275cmp=p({type:rV,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},features:[Lf],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"],["class","hotlist-list",4,"ngIf"],[1,"hotlist-list"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[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","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",3,"click",4,"ngIf"],["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&&(F(0,"div",3),J(1,"hr"),F(2,"sidebar-zippy",4),C(3,VZa,3,1,"ng-template",null,0,Mg)(5,c_a,1,1,"ng-template",null,1,Mg),H()());if(a&2){a=M(4);var b=M(6);A(2);E("header",a)("content",b)}},dependencies:[sv,tv,RC,pV,kC,Gx,JI,NI,LI,MI,OI,fV],encapsulation:2,changeDetection:0});var sV=function(a,b,c,d,e,f,h,k,q,t,w,y){Y.call(this);var D=this;this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=f;this.sidebar=h;this.errorHandler=k;this.confirmationDialogService=q;this.appEvents=t;this.mcPrefs=y;this.ENABLE_MISSION_CONTROL=Ji();this.searches=[];this.subscriptions.add(w.routeChangeSuccess.subscribe(function(){D.cdr.detectChanges()}))};V(sV,Y);sV.\u0275dir=Y.\u0275dir;sV.prototype.openEditSavedSearch=function(a){this.location.setUrl(this.paths.editSavedSearch(a))};
sV.prototype.addToMissionControl=function(a){AR(this.mcPrefs,Ip(a));this.location.setUrl(this.paths.home())};
var g_a=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:Lh("Are you sure you want to delete this search?"),onConfirm:function(){huc(a,b)}})},huc=function(a,b){var c=b.id;Xp(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});Xp(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};sV.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};sV.\u0275fac=function(a){return new (a||sV)(B(yF,2),B(NM),B(vE),B(BP),B(cD),B(CF),B(bV),B(eD),B(rH),B(iD),B(BF),B(zR))};
sV.\u0275cmp=p({type:sV,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Dg([yF]),Lf],decls:7,vars:2,consts:[["zippyHeader",""],["zippyContent",""],["menu",""],[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["class","saved-search-list",4,"ngIf"],[1,"saved-search-list"],["class","bv2-nav-item",3,"selected","title",4,"ngFor","ngForOf"],[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","",3,"click",4,"ngIf"],["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&&(F(0,"div",3),J(1,"hr"),F(2,"sidebar-zippy",4),C(3,d_a,2,0,"ng-template",null,0,Mg)(5,
k_a,1,1,"ng-template",null,1,Mg),H()());if(a&2){a=M(4);var b=M(6);A(2);E("header",a)("content",b)}},dependencies:[sv,tv,RC,kC,Gx,JI,NI,LI,MI,OI,fV],encapsulation:2,changeDetection:0});var iuc=0,juc=new Set,kuc=function(){};kuc.\u0275fac=function(a){return new (a||kuc)};
kuc.\u0275cmp=p({type:kuc,selectors:[["ng-component"]],standalone:!0,features:[Fg],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);color:var(--mat-badge-text-color);font-family:var(--mat-badge-text-font);font-weight:var(--mat-badge-text-weight);border-radius:var(--mat-badge-container-shape)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.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%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.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, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, unset);min-height:var(--mat-badge-small-size-container-size, unset);line-height:var(--mat-badge-legacy-small-size-container-size, var(--mat-badge-small-size-container-size));padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, unset);min-height:var(--mat-badge-container-size, unset);line-height:var(--mat-badge-legacy-container-size, var(--mat-badge-container-size));padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size);margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, unset);min-height:var(--mat-badge-large-size-container-size, unset);line-height:var(--mat-badge-legacy-large-size-container-size, var(--mat-badge-large-size-container-size));padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size);margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}\n"],encapsulation:2,
changeDetection:0});var tV=function(a,b,c,d,e){this._ngZone=a;this._elementRef=b;this._ariaDescriber=c;this._renderer=d;this._animationMode=e;this._color="primary";this.overlap=!0;this.position="above after";this.size="medium";this._id=iuc++;this._isInitialized=!1;this._interactivityChecker=Xc(Vv);this._document=Xc(vh);var f=Xc(hv);if(!juc.has(f)){juc.add(f);var h=xma(kuc,{environmentInjector:Xc(Ku)});f.onDestroy(function(){juc.delete(f);juc.size===0&&h.destroy()})}};g=tV.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()}mw(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){mw(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?lw(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=l(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()};
da.Object.defineProperties(tV.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)}}});tV.\u0275fac=function(a){return new (a||tV)(B(Me),B(Rd),B(kw),B(Qu),B(Pu,8))};
tV.\u0275dir=ed({type:tV,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&Wf("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",Tg],disabled:[2,"matBadgeDisabled","disabled",Tg],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",Tg]},standalone:!0,features:[Mf]});var B_a=function(){return[]},uV=function(a,b,c,d,e,f,h,k,q,t,w,y){var D=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=f;this.sidebar=h;this.location=k;this.appEvents=q;this.missionControlPrefs=t;this.needsAttentionTaskFridge=w;this.starredTeamsService=y;this.ROUTES=wp;this.missionControlTaskCount$=new yf;this.componentsPath=wp.listComponents.makeHref();this.enableTriageView=ep(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();
this.enableHomepage=this.activeSession.isInternalSession();this.paths.listIssues({q:"vote:true"});this.homepagePreferences$=this.userPreferencesManager.preferences$.pipe(z(function(N){return(N||$A).homepagePreferences}));this.hasPreferredHomepage$=this.homepagePreferences$.pipe(z(function(N){return!(!N||!N.resourceType)}),sf());this.isHomepageMissionControl$=this.homepagePreferences$.pipe(z(function(N){return N.resourceType==="MISSION_CONTROL"}),sf());this.isHomepageAssignedToMe$=this.homepagePreferences$.pipe(z(function(N){return!D.enableHomepage&&
!N.resourceType||N.resourceType==="ASSIGNED_TO_ME"}),sf());this.hideBadgeInNav$=this.userPreferencesManager.preferences$.pipe(z(function(N){var S;return N==null?void 0:(S=N.missionControlPreferences)==null?void 0:S.hideBadgeInNav}),z(Boolean));this.starredTeams$=this.starredTeamsService.starredTeams$;this.destroyed$=new xF;this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.missionControlPath=e.home();this.assignedPath=e.listIssues({q:Xnc(this.userEmail)});
this.starredPath=e.listIssues({q:"star:true"});this.ccdPath=e.listIssues({q:"cc:"+this.userEmail});this.collaborateOnPath=e.listIssues({q:"collaborator:"+this.userEmail});this.verifiedPath=e.listIssues({q:Znc(this.userEmail)});this.reportedPath=e.listIssues({q:"reporter:"+this.userEmail});this.createBookmarkGroupPath=e.createBookmarkGroup();this.sidebarData=this.sidebar.sidebarData;this.missionControlTaskCount$=this.appEvents.missionControlTaskCount;var G,I=!!this.location.path().match(/^\/home\b/)&&
!((G=this.missionControlPrefs.prefs.collapsed)==null?0:G["needs-attention-wrapper"]);ep(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){D.enableHomepage&&!I&&we([D.missionControlPrefs.needsAttentionTimeBoundary$,D.missionControlPrefs.needsAttentionSources$]).pipe(Df(D.destroyed$),sf(function(N,S){return N[0]===S[0]&&ci(N[1],S[1])}),Cf(function(N){var S=l(N);N=S.next().value;S=S.next().value.map(function(W){return Gp(W)});return D.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:N,sources:S,
signalFilter:0})}),z(function(N){return N.results.length})).subscribe(function(N){D.appEvents.missionControlTaskCount.next(N)})},1E3)};uV.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(Df(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};uV.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var o_a=function(a,b){Xp(a.butterBar,"Updating homepage...",0);s9b(a.userPreferencesManager,{resourceType:b}).subscribe(function(){Xp(a.butterBar,"Homepage updated")})};uV.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};var t_a=function(a){return!!a.location.path().match(/^\/triage\b/)};uV.\u0275fac=function(a){return new (a||uV)(B(yF,2),B(as),B(cD),B(xQ),B(BP),B(PG),B(bV),B(Mv),B(iD),B(zR),B(hG),B(SG))};
uV.\u0275cmp=p({type:uV,selectors:[["b-sidebar"]],features:[Dg([yF])],decls:50,vars:31,consts:[["menu",""],["noBadge",""],["homepageMenu",""],["zippyHeader",""],["zippyContent",""],[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],[4,"ngIf"],["id","assigned-to-me-sidebar-link",1,"bv2-nav-item"],[3,"click","href"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["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"],["class","canned-search-icon","svgIcon","home","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden","matBadgeDescription",
4,"ngIf","ngIfElse"],["mat-icon-button","","disableRipple","true","aria-label","More settings","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["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"],["mat-icon-button","","disableRipple","true","aria-label","Assigned issues actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],[1,"canned-searches"],["svgIcon","story-point-24px",1,"canned-search-icon"],["prefKey","nav-triage",3,"header","content"],[1,"unstyled","indented-list"],[3,"selected",4,"ngFor","ngForOf"],[3,"href","title"]],template:function(a,b){if(a&1){var c=u();F(0,"div",5);J(1,"b-create-issue-button");H();F(2,
"div",6)(3,"div",7)(4,"ul",8);C(5,q_a,14,12,"ng-container",9);F(6,"li",10)(7,"a",11);O("click",function(d){v(c);return x(b.onAnchorClick(b.assignedPath,d))});J(8,"mat-icon",12);Q(9," Assigned to me ");H();C(10,r_a,3,1,"ng-container",9);T(11,"async");F(12,"mat-menu",null,0);C(14,s_a,2,0,"ng-template",13);H()();F(15,"li")(16,"a",11);O("click",function(d){v(c);return x(b.onAnchorClick(b.starredPath,d))});J(17,"mat-icon",14);Q(18," Starred by me ");H()();F(19,"li")(20,"a",11);O("click",function(d){v(c);
return x(b.onAnchorClick(b.ccdPath,d))});J(21,"mat-icon",15);Q(22," CC'd to me ");H()();F(23,"li")(24,"a",11);O("click",function(d){v(c);return x(b.onAnchorClick(b.collaborateOnPath,d))});J(25,"mat-icon",15);Q(26," Collaborating ");H()();F(27,"li")(28,"a",11);O("click",function(d){v(c);return x(b.onAnchorClick(b.reportedPath,d))});J(29,"mat-icon",16);Q(30," Reported by me ");H()();F(31,"li")(32,"a",11);O("click",function(d){v(c);return x(b.onAnchorClick(b.verifiedPath,d))});J(33,"mat-icon",17);Q(34,
" To be verified ");H()()();C(35,C_a,2,4);J(36,"sidebar-bookmark-groups",18)(37,"sidebar-saved-searches",19)(38,"sidebar-hotlists",20)(39,"sidebar-archived",21)(40,"hr");F(41,"div",22)(42,"a",23);Q(43," Create hotlist ");H()();F(44,"div",22)(45,"a",23);Q(46," Create bookmark group ");H()();F(47,"div",22)(48,"a",23);Q(49," Browse components ");H()()()()}a&2&&(A(5),E("ngIf",b.enableHomepage&&!Np(b.activeSession)),A(),Wf("selected",Ync(b.appSearchState,b.userEmail)),A(),E("href",b.assignedPath,cf),A(3),
E("ngIf",!U(11,29,b.isHomepageAssignedToMe$)),A(5),Wf("selected",b.appSearchState.isStarred()),A(),E("href",b.starredPath,cf),A(3),Wf("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),A(),E("href",b.ccdPath,cf),A(3),Wf("selected",b.appSearchState.currentQuery==="collaborator:"+b.userEmail),A(),E("href",b.collaborateOnPath,cf),A(3),Wf("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),A(),E("href",b.reportedPath,cf),A(3),Wf("selected",b.appSearchState.currentQuery===Znc(b.userEmail)),
A(),E("href",b.verifiedPath,cf),A(3),$f(b.enableTriageView?35:-1),A(),E("bookmarkGroups",b.sidebarData.bookmarkGroups),A(),E("searches",b.sidebarData.userSearches),A(),E("hotlists",b.sidebarData.hotlists),A(),E("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),A(3),E("href",b.ROUTES.createHotlist.makeHref(),cf),A(3),E("href",b.createBookmarkGroupPath,cf),A(3),E("href",b.componentsPath,cf))},dependencies:[$U,sv,tv,RC,kC,Gx,JI,NI,LI,MI,OI,tV,gV,qV,rV,
sV,fV,yv],encapsulation:2});var vV=function(){};vV.\u0275fac=function(a){return new (a||vV)};vV.\u0275mod=cd({type:vV});vV.\u0275inj=Gc({imports:[RD]});var wV=function(){};wV.\u0275fac=function(a){return new (a||wV)};wV.\u0275mod=cd({type:wV});wV.\u0275inj=Gc({});var xV=function(){};xV.\u0275fac=function(a){return new (a||xV)};xV.\u0275mod=cd({type:xV});xV.\u0275inj=Gc({imports:[RD,QO,RH,bM,wV]});var yV=function(){};yV.\u0275fac=function(a){return new (a||yV)};yV.\u0275mod=cd({type:yV});yV.\u0275inj=Gc({});var zV=function(a,b,c,d,e,f,h,k){mV.call(this,a,b,c,d,e,f,h,k);this.hoverDelayMs=500;this.activity=new yf;this.attachMouseEventListeners(c.nativeElement)};V(zV,mV);g=zV.prototype;g.ngOnInit=function(){mV.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
g.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Rja(function(){return b.activity.pipe(pf(a))}));c.pipe(Df(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(He(function(d){return d&&b.beforeOpened.observers.length>0}),oka(function(){return c.pipe(He(function(d){return!d}))}),Df(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
g.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(pf(this.hoverDelayMs),Df(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){De(a,"mouseenter").pipe(Df(b.destroyed)).subscribe(function(){b.openingDialog()});De(a,"click").pipe(Df(b.destroyed)).subscribe(function(c){c.target.closest("[xapInlineDialogClose]")?
b.closingDialog():(b.openingDialog(),b.openDialog())});De(a,"mouseleave").pipe(Df(b.destroyed)).subscribe(function(){b.closingDialog()});De(a,"mousemove").pipe(Df(b.destroyed)).subscribe(function(){b.activity.next()})})};g.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){De(a,"keydown").pipe(Df(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 Zw(Object.assign({},this.overlayDimensions,{positionStrategy:mV.prototype.createPositionStrategy.call(this,a),scrollStrategy:guc(this),panelClass:this.panelClassInternal}))};zV.\u0275fac=function(a){return new (a||zV)(B(Me),B(hx),B(Rd),B(pg),B(vh),B(pw),B(kw),B(Ne))};
zV.\u0275dir=ed({type:zV,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:[0,"xapInlineDialog","dialog"],disabled:[0,"xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],standalone:!0,features:[Lf]});var AV=function(){};AV.\u0275fac=function(a){return new (a||AV)};AV.\u0275mod=cd({type:AV});AV.\u0275inj=Gc({});var BV=function(){};BV.\u0275fac=function(a){return new (a||BV)};BV.\u0275mod=cd({type:BV});BV.\u0275inj=Gc({imports:[RD,vV,aQ,VL,rQ,xV,yV,bM,zy,AV,iR]});var CV=function(){};CV.\u0275fac=function(a){return new (a||CV)};CV.\u0275mod=cd({type:CV});CV.\u0275inj=Gc({imports:[RD,cM]});var DV=function(){};DV.\u0275fac=function(a){return new (a||DV)};DV.\u0275mod=cd({type:DV});DV.\u0275inj=Gc({});var EV=function(){};EV.\u0275fac=function(a){return new (a||EV)};EV.\u0275mod=cd({type:EV});EV.\u0275inj=Gc({});var FV=function(){};FV.\u0275fac=function(a){return new (a||FV)};FV.\u0275mod=cd({type:FV});FV.\u0275inj=Gc({});var GV=function(){};GV.\u0275fac=function(a){return new (a||GV)};GV.\u0275mod=cd({type:GV});GV.\u0275inj=Gc({imports:[FV]});var luc=new ld("Feature Tooltip Controller Config");new ld("TooltipAnchor");new ld("TooltipPeventer");var HV=function(){};HV.\u0275fac=function(a){return new (a||HV)};HV.\u0275mod=cd({type:HV});HV.\u0275inj=Gc({imports:[jw,DV,Gv,GV,UL,QD,kx,EV]});var IV=function(){};IV.\u0275fac=function(a){return new (a||IV)};IV.\u0275mod=cd({type:IV});IV.\u0275inj=Gc({imports:[jw,lx,lx]});var JV=function(){};JV.\u0275fac=function(a){return new (a||JV)};JV.\u0275mod=cd({type:JV});JV.\u0275inj=Gc({imports:[CV,RD,BV,RH,aM,IV,HV,ND]});var KV=function(a){this.executor=a};KV.\u0275fac=function(a){return new (a||KV)(n(pA))};KV.\u0275prov=Fc({token:KV,factory:KV.\u0275fac,providedIn:"root"});var LV=function(a,b){Y.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};V(LV,Y);LV.\u0275dir=Y.\u0275dir;LV.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(Df(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};LV.\u0275fac=function(a){return new (a||LV)(B(cH),B(KV))};
LV.\u0275cmp=p({type:LV,selectors:[["b-terms-of-service-dialog"]],features:[Lf],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&&(F(0,"h1",0),Q(1,"Google IssueTracker Terms of Service"),H(),F(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",2),Cg("ngModelChange",function(c){Bg(b.ackChecked,
c)||(b.ackChecked=c);return c}),H(),F(5,"span"),Q(6," I acknowledge and agree to the "),F(7,"a",3),Q(8,"Google Terms of Service"),H(),Q(9," and the "),F(10,"a",4),Q(11,"Google IssueTracker Conduct Policy"),H(),Q(12,". "),H()()(),F(13,"mat-dialog-actions")(14,"button",5),O("click",function(){return b.accept()}),Q(15," OK "),H()());a&2&&(A(4),Ag("ngModel",b.ackChecked),A(10),E("disabled",!b.ackChecked))},dependencies:[dy,ly,kC,Ex,oJ,pJ,mH,oH,nH],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var MV=function(a,b){Y.call(this);this.activeSession=a;this.matDialogService=b};V(MV,Y);MV.\u0275dir=Y.\u0275dir;MV.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&dH(this.matDialogService.open(LV,{width:"400px",disableClose:!0})).pipe(Df(this.destroyed$))};MV.\u0275fac=function(a){return new (a||MV)(B(as),B(jH))};MV.\u0275cmp=p({type:MV,selectors:[["b-terms-of-service"]],features:[Lf],decls:0,vars:0,template:function(){},encapsulation:2});var NV=function(){};NV.\u0275fac=function(a){return new (a||NV)};NV.\u0275mod=cd({type:NV});NV.\u0275inj=Gc({imports:[zy,RD,RH,jM,VH]});var OV=function(){};OV.\u0275fac=function(a){return new (a||OV)};OV.\u0275mod=cd({type:OV});OV.\u0275inj=Gc({imports:[RD,NV]});var muc={QA:124156,NIGHTLY:190923,PROD:190923};var PV=function(a,b,c,d,e,f){Y.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=f;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(k){h.components.removeAll();d.invalidate(k)}));this.componentGetter=c.adapt(function(k){var q=Ta(k);Hba(q);return h.componentApi.query({id:q}).then(function(t){var w={};t=l(t);for(var y=t.next();!y.done;y=
t.next())(y=y.value)&&(w[y.componentId]=y);return k.map(function(D){return w[D]||null})})})};V(PV,Y);PV.\u0275dir=Y.\u0275dir;g=PV.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 Z4b("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 nuc(this,a,this.componentApi.query(c))};
var nuc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=muc[a.activeSession.getEnvironmentType()];if(d)return Op({publicComponent:a.get(d),rest:c}).then(function(e){var f=[e.publicComponent];e=l(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};
PV.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(f){return!b.components.get(String(f))});Hba(c);if(c.length){a=this.componentApi.query({id:c}).then(function(f){var h={};f=l(f);for(var k=f.next();!k.done;k=f.next())(k=k.value)&&(h[k.componentId]=k);return h});c=l(c);for(var d=c.next(),e={};!d.done;e={id$jscomp$382:void 0},d=c.next())e.id$jscomp$382=d.value,this.components.put(String(e.id$jscomp$382),a.then(function(f){return function(h){return h[f.id$jscomp$382]?h[f.id$jscomp$382]:
Promise.reject(new Z4b("Could not load details for component "+f.id$jscomp$382))}}(e)))}};PV.\u0275fac=function(a){return new (a||PV)(n(aE),n(fB),n(FB),n(gB),n(iD),n(as))};PV.\u0275prov=Fc({token:PV,factory:PV.\u0275fac,providedIn:"root"});var QV=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new xF;this.expandComponent=new xF;this.goBack=new xF};QV.prototype.ngOnInit=function(){};QV.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};QV.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};QV.\u0275fac=function(a){return new (a||QV)};
QV.\u0275cmp=p({type:QV,selectors:[["component-row"]],inputs:{showFolderSpecialIcon:"showFolderSpecialIcon",componentOption:"componentOption",mode:"mode",query:"query"},outputs:{selectComponentId:"selectComponentId",expandComponent:"expandComponent",goBack:"goBack"},decls:13,vars:10,consts:[["leafOnly",""],["noAccessComponent",""],[1,"container"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"content"],[1,"margin-s-right"],[4,"ngIf","ngIfElse"],["class","archived-indicator",4,"ngIf"],
[3,"accessLevel","labelOnlyMode"],[3,"trackerId","showHovercard"],["svgIcon","history"],["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"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"subtle-link",3,"mousedown","innerHtml"],[1,"subtle-link",3,"mousedown"],[1,"archived-indicator"]],template:function(a,b){a&1&&(F(0,"div",2),K(1,3),C(2,D_a,2,0,
"ng-container",4)(3,E_a,3,0,"ng-container",4)(4,F_a,3,3,"ng-container",5),L(),F(5,"div",6)(6,"span",7),C(7,K_a,2,1,"ng-container",8)(8,M_a,1,1,"ng-template",null,0,Mg)(10,N_a,2,0,"span",9),H(),J(11,"b-component-access-level-indicator",10)(12,"b-tracker-chip-smart",11),H()());a&2&&(a=M(9),A(),E("ngSwitch",b.mode),A(),E("ngSwitchCase","recent"),A(),E("ngSwitchCase","tree"),A(4),E("ngIf",b.mode!=="leaf")("ngIfElse",a),A(3),E("ngIf",b.componentOption.archived),A(),E("accessLevel",b.componentOption.accessLimit==
null?null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0),A(),E("trackerId",b.componentOption.trackerId)("showHovercard",!1))},dependencies:[sv,tv,uv,vv,wv,RC,kC,Gx,KI,TI,KR,GQ,pI,wI],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 RV=function(a,b,c,d,e,f,h,k){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=k;this.includeArchived=!1;this.searchQuery$=new rn("");this.debouncedSearchQuery$=this.searchQuery$.pipe(pf(250));this.state$=new rn("default");this.listUpdated$=new yf;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new rn(void 0);this.componentOptions=[];this.childTeamsMap=new Map;this.componentCountMap=
new Map;this.recentComponents=[];this.myTeams$=new rn([]);this.showAllTeams$=new rn(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(sf());this.teamOptions$=new rn([]);this.filteredTeamOptions$=we([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(z(function(t){var w=l(t);t=w.next().value;return w.next().value?t:t.slice(0,5)}));this.hasHiddenTeams$=we([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(z(function(t){var w=l(t);t=w.next().value;w=w.next().value;return t.length>5&&!w}));this.newChildTeams$=
new rn([]);this.teamsDisplayed$=Ge(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(z(function(t){return t?[t]:[]}))).pipe(z(function(t){return t.map(function(w){return w.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(z(function(t){return t.filter(function(w){return!q.childTeamsMap.has(w)})}),He(function(t){return t.length>0}),Cf(function(t){return q.teamsService.getChildTeams(t)}),z(R_a));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(z(function(t){return t.filter(function(w){return!q.componentCountMap.has(w)})}),
He(function(t){return t.length>0}),Cf(function(t){return p9b(q.teamsService,t)}));this.componentIdSelected$=new xf(1);this.lastProcessedIndex=-1;this.requestIndex=0};
RV.prototype.init=function(a){var b=this;a=a===void 0?!1:a;ouc(this);we([this.debouncedSearchQuery$.pipe(Af(a?1:0)),this.state$]).pipe(Df(this.destroyed$)).subscribe(function(c){var d=l(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()&&puc(b,c),quc(b,c)):b.state$.next("default"):d==="team_scope"?b.teamScope$.value&&(b.teamOptions$.next([]),
quc(b,"teamid:"+b.teamScope$.value.id+" "+c)):d==="component_scope"&&b.componentScope&&ruc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(Ff(this.state$),Df(this.destroyed$)).subscribe(function(c){var d=l(c);c=d.next().value;d.next().value==="component_scope"&&b.state$.next(c?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(Df(this.destroyed$)).subscribe(function(c){c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(Df(this.destroyed$)).subscribe(function(c){c=l(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};RV.prototype.includeTeamData=function(){return this.config.includeTeamData&&!Np(this.activeSession)};
var ouc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=suc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,GG(a.teamsService,"").pipe(Df(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(O_a));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
RV.prototype.filterTrackerComponents=function(a){var b;return!Np(this.activeSession)||a.trackerId===((b=this.activeSession.getTracker())==null?void 0:b.trackerId)};RV.prototype.selectOption=function(a){a.type==="component"?c1a(this,a.id):a.type==="team"?j0a(this,a):console.warn("invalid option selected")};
var c1a=function(a,b){var c=tuc(a);a.analytics.trackEvent("componentPicker","autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},tuc=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""};
RV.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var Q0a=function(a,b){a.componentActions.get(b).then(function(c){var d=Gr(a.trackerHelpers,c.componentPathInfo);a.componentScope=Q_a(c,d);a.state$.next("component_scope")})},P0a=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},j0a=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||hq(a,b.id)},hq=function(a,b){a.teamsLoading=!0;GG(a.teamsService,b).pipe(Df(a.destroyed$)).subscribe(function(c){c=
c.map(O_a);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})},uuc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(a.teamScope$.value.pathIds.length<2)){var b=a.teamScope$.value.pathIds;hq(a,b[b.length-2])}};RV.prototype.getChildTeams=function(a){var b;return(b=this.childTeamsMap.get(a))!=null?b:[]};
RV.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?this.componentCountMap.get(a)===0:!1};
var F0a=function(a,b){b.expanded=!1;a.listUpdated$.next()},G0a=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},J0a=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},puc=function(a,b){b.length>1&&(a.teamsLoading=!0,GG(a.teamsService,b).pipe(Df(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(O_a));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},quc=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=suc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},ruc=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=suc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=
!1})},suc=function(a,b){return b.map(function(c){var d=Gr(a.trackerHelpers,c.componentPathInfo);return Q_a(c,d)})};var vuc=0,SV=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+vuc;vuc+=1};SV.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};SV.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};SV.\u0275fac=function(a){return new (a||SV)(B(Wg),B(Rd))};
SV.\u0275dir=ed({type:SV,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(eg("id",b.id),Wf("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var TV=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new xF};TV.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};TV.prototype.ngOnInit=function(){};TV.\u0275fac=function(a){return new (a||TV)};
TV.\u0275cmp=p({type:TV,selectors:[["team-row"]],inputs:{teamOption:"teamOption",query:"query",allowSegmentSelection:"allowSegmentSelection",compact:"compact",hasNoComponent:"hasNoComponent"},outputs:{selectTeamId:"selectTeamId"},decls:5,vars:7,consts:[["lastSeg",""],["plainText",""],["normal",""],[1,"container"],["alt","Team logo",4,"ngIf"],[1,"content"],["class","name-row",4,"ngIf"],["class","path",4,"ngIf"],["alt","Team logo"],[1,"name-row"],[1,"team-name",3,"innerHtml"],["class","no-component-label",
4,"ngIf"],[1,"no-component-label"],[1,"path"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],[1,"subtle-link",3,"mousedown"],[1,"team-name"]],template:function(a,b){a&1&&(F(0,"div",3),C(1,S_a,1,1,"img",4),F(2,"div",5),C(3,U_a,4,5,"div",6)(4,b0a,2,1,"div",7),H()());a&2&&(Wf("no-component",b.hasNoComponent)("compact",b.compact),A(),E("ngIf",!b.compact),A(2),E("ngIf",!b.compact),A(),E("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[sv,tv,pI],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 wuc=["container"],xuc=["inputBox"],yuc=["dropdownTemplate"],zuc=["dropdown"],o0a=function(a){return{mode:"recent",$implicit:a}},z0a=function(a){return{mode:"default",$implicit:a}},t0a=function(a){return[a]},s0a=function(a,b){return{team:a,level:0,order:b}},N0a=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},K0a=function(){return[0]},C0a=function(a){return[0,a]},T0a=function(a){return{mode:"leaf",$implicit:a}},Y0a=function(a,b,c){return{team:a,level:b,order:c}},Auc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],UV=function(a,b,c,d,e,f,h,k,q,t){Y.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=f;this.analytics=h;this.activeSession=k;this.trackerHelpers=q;this.cdr=t;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new xF;this.shouldFocus=!1;this.touched=new xF;
this.selectedComponentChange=new xF;this.dropdownClosed=new xF;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new RV(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.trackerHelpers,this.activeSession);this.componentLoading=this.isDropdownOpen=!1};V(UV,Y);UV.\u0275dir=Y.\u0275dir;
UV.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(Df(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;Buc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});Ge(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(Df(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
UV.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var Buc=function(a){if(a.selectedComponent){var b=Gr(a.trackerHelpers,a.selectedComponent.componentPathInfo);b=Q_a(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},Cuc=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=UV.prototype;g.ngOnChanges=function(a){a.selectedComponent&&(Buc(this),this.checkAdminAccess&&this.selectedComponent&&Duc(this,this.selectedComponent))};g.ngOnDestroy=function(){this.close();Y.prototype.ngOnDestroy.call(this)};
g.ngAfterViewInit=function(){var a=this;this.keyManager=rw(sw(new ww(this.listOptions)));this.searchState.listUpdated$.pipe(Df(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(Df(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(m1a);b=[].concat(r(c),r(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"&&J0a(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 Euc=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};
UV.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),Cuc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)==null||jXb(d);Cuc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),Cuc(this)):(this.open(),setTimeout(function(){var d;(d=b.keyManager)!=null&&d._setActiveItemByIndex(0,1);Cuc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?J0a(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(),G0a(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?F0a(this.searchState,this.keyManager.activeItem.data):uuc(this.searchState));this.searchState.state$.value==="component_scope"&&(a.preventDefault(),P0a(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(J0a(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var gq=function(a){a.preventDefault();a.stopPropagation()},Duc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;KB(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};g=UV.prototype;
g.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Zw({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 Bw(this.dropdownTemplateRef,this.viewContainerRef),b;(b=this.dropdownOverlayRef)==null||b.attach(a);var c;(c=this.dropdownOverlayRef)==null||c.updatePosition()};
g.getPositionStrategy=function(){return bx(AXb(dx(gx(this.overlay.position(),this.container),!1),!1),Auc)};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))};da.Object.defineProperties(UV.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
UV.\u0275fac=function(a){return new (a||UV)(B(hx),B(pg),B(qE),B(PV),B(EG),B(IB),B(CF),B(as),B(HR),B(Wg))};
UV.\u0275cmp=p({type:UV,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(rg(wuc,7),rg(xuc,7),rg(yuc,7),rg(zuc,5),rg(SV,5));if(a&2){var c;vg(c=wg())&&(b.container=c.first);vg(c=wg())&&(b.inputBox=c.first);vg(c=wg())&&(b.dropdownTemplateRef=c.first);vg(c=wg())&&(b.dropdown=c.first);vg(c=wg())&&(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:[Lf,rd],decls:13,vars:10,consts:[["container",""],["inputBox",""],["dropdownTemplate",""],["teamTreeItem",""],["componentList",""],["maybeShowNotAdmin",""],["dropdown",""],["emptyList",""],[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",3,"mousedown",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","tabindex","-1","matTooltip","Clear component","aria-label","Clear component",3,"mousedown"],["svgIcon","clear"],["class","bv2-picker-checking",4,"ngIf","ngIfElse"],[1,"bv2-picker-checking"],["class","bv2-picker-error",4,"ngIf"],[1,"bv2-picker-error"],
["target","_blank",3,"href"],[1,"dropdown",3,"mousedown"],[1,"progress-bar-container"],["mode","indeterminate",4,"ngIf"],[1,"dropdown-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mode","indeterminate"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tree",4,"ngIf"],["role","tree"],[1,"section-header"],[4,"ngFor","ngForOf"],["role","treeitem","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectTeamId","teamOption","query","hasNoComponent"],["tabindex","-1","class","unstyled expand-team-line-button",
3,"mousedown",4,"ngIf"],["tabindex","-1",1,"unstyled","expand-team-line-button",3,"mousedown"],["svgIcon","arrow-down"],["class","team-scope-container",4,"ngIf"],[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"],["class","team-scope-child-teams",4,"ngIf"],[1,"team-scope-child-teams"],
["class","component-scope-container",4,"ngIf"],[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"],["class","arrow-button","mat-icon-button","","aria-label","Show child teams",3,"mousedown",4,"ngIf"],["mat-icon-button","","aria-label","Show child teams",1,"arrow-button",3,"mousedown"],["svgIcon","arrow-dropdown"],["role","listbox",4,
"ngIf","ngIfElse"],["role","listbox"],["role","option","listOption","","class","list-option",3,"data","mousedown",4,"ngFor","ngForOf"],["role","option","listOption","",1,"list-option",3,"mousedown","data"],[3,"selectComponentId","expandComponent","showFolderSpecialIcon","componentOption","query","mode"],["class","empty-list muted",4,"ngIf"],[1,"empty-list","muted"],[4,"ngSwitchDefault"],["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=u();F(0,"div",8,0)(2,"input",9,1);T(4,"async");O("ngModelChange",function(d){v(c);return x(b.searchState.searchQuery$.next(d))})("keydown",function(d){v(c);return x(b.handleKeydown(d))})("click",function(){v(c);b.open();return x(b.touched.emit())})("focus",function(){v(c);return x(b.open())})("blur",function(){v(c);return x(b.close())});H();C(5,c0a,2,0,"button",10);H();C(6,g0a,4,2,"div",11)(7,V0a,11,8,"ng-template",
null,2,Mg)(9,a1a,5,11,"ng-template",null,3,Mg)(11,l1a,3,2,"ng-template",null,4,Mg)}a&2&&(a=M(3),A(2),E("ngModel",U(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired),Nf("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",Euc(b)),A(3),E("ngIf",a.value),A(),E("ngIf",b.checkAdminAccess))},dependencies:[sv,tv,xv,uv,vv,wv,RC,Bh,dy,vy,ly,kC,Gx,TO,KI,TI,xU,vU,TV,QV,
SV,yv],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 VV=function(a){Y.call(this);this.dialogRef=a};V(VV,Y);VV.\u0275dir=Y.\u0275dir;VV.prototype.onSave=function(){this.dialogRef.close(this.selectedId)};VV.prototype.onCancel=function(){this.dialogRef.close()};VV.prototype.onSelect=function(a){this.selectedId=a==null?void 0:a.componentId};VV.\u0275fac=function(a){return new (a||VV)(B(cH))};
VV.\u0275cmp=p({type:VV,selectors:[["component_picker_dialog"]],features:[Lf],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&&(F(0,"header",0),Q(1," Choose a Component "),H(),F(2,"div",1)(3,"b-team-component-picker",2),O("selectedComponentChange",function(c){return b.onSelect(c)}),
H()(),F(4,"div",3)(5,"button",4),O("click",function(){return b.onCancel()}),Q(6," Cancel "),H(),F(7,"button",5),O("click",function(){return b.onSave()}),Q(8," Save "),H()());a&2&&(A(7),E("disabled",b.selectedId==null))},dependencies:[kC,Ex,mH,oH,nH,UV],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 WV=function(a){this.dialog=a};WV.prototype.open=function(a){var b=this,c={panelClass:"no-jitter"};return new Promise(function(d){dH(b.dialog.open(VV,c)).subscribe(function(e){a==null||a(e);d(e)})})};WV.\u0275fac=function(a){return new (a||WV)(n(jH))};WV.\u0275prov=Fc({token:WV,factory:WV.\u0275fac,providedIn:"root"});var XV=function(){};XV.\u0275fac=function(a){return new (a||XV)};XV.\u0275mod=cd({type:XV});XV.\u0275inj=Gc({imports:[RD,zy,RH,cP,bM,AU,VH,kx,Gw,oT,jw,AI,LQ]});var p1a=0;var Fuc=em("blinkers-activated"),Guc=dm("blinkers-activated"),Huc=dm("log-xhrs-to-console"),Iuc=em("log-xhrs-to-console"),Juc=q1a("debug-dom-mutation","var(--c400)"),Kuc=q1a("debug-ng-zone","var(--red-400)"),Luc=q1a("debug-xhr","var(--green-500)",1200),Muc=function(a,b,c){b=b===void 0?"#ccc":b;c=c===void 0?400:c;p1a++;var d=156;d+=(p1a-1)*12;return function(e,f){f=f===void 0?b:f;var h,k=(h=document.getElementById(a))!=null?h:n1a(a,d);k.style.transition="opacity "+c+"ms";k.style.backgroundColor=f;
k.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),YV=function(a,b){var c=this;this.activityMonitor=a;this.userActivity=b;this.destroyed$=new yf;this.xhrLog=[];this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.onAnyClick=function(d){d.target.id==="debug-xhr"&&(d=!Huc(),Iuc(d),d?Nuc(c):clearInterval(c.loggingInterval))};this.printXhrLog=function(){var d=c.xhrLog.length;if(d>0){var e=Array(d).fill("\u2588").join("");console.log(window.location.pathname.padEnd(20)+
" XHRs: "+e+" "+(d>0?"("+d+")":""))}c.xhrLog=[]};this.isEnabled()&&Ouc(this)};YV.prototype.ngOnDestroy=function(){Puc(this)};YV.prototype.isEnabled=function(){return Guc()};YV.prototype.enable=function(){this.isEnabled()||(Fuc(!0),Ouc(this))};YV.prototype.disable=function(){Fuc(!1);Puc(this)};
var Ouc=function(a){a.activityMonitor.dom$.pipe(Df(a.destroyed$)).subscribe(function(){return void Juc()});c8b(a.activityMonitor);a.activityMonitor.cdr$.pipe(Df(a.destroyed$)).subscribe(function(){return void Kuc()});a.activityMonitor.xhr$.pipe(Df(a.destroyed$)).subscribe(function(){Luc();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(Df(a.destroyed$)).subscribe(function(b){return void Muc(b)});
document.addEventListener("click",a.onAnyClick);Huc()&&Nuc(a)},Puc=function(a){a.destroyed$.next();a.activityMonitor.domObserver.disconnect();document.removeEventListener("click",a.onAnyClick)},Nuc=function(a){clearInterval(a.loggingInterval);a.loggingInterval=setInterval(a.printXhrLog,1E3)};YV.\u0275fac=function(a){return new (a||YV)(n(wF),n(zF))};YV.\u0275prov=Fc({token:YV,factory:YV.\u0275fac,providedIn:"root"});var ZV=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new yf;this.email=this.activeSession.getUserEmail();this.user=Ci(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(z(function(c){return c.results}));this.teams$.pipe(z(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(z(function(c){return c.flatMap(function(d){return d.pathIds})}),
z(function(c){return[].concat(r(new Set(c))).filter(Gi)}));go(this.allTeamIds$.pipe(Df(this.destroyed$)),[])};ZV.prototype.ngOnDestroy=function(){this.destroyed$.next()};ZV.\u0275fac=function(a){return new (a||ZV)(n(IG),n(as))};ZV.\u0275prov=Fc({token:ZV,factory:ZV.\u0275fac,providedIn:"root"});var $V=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma,Aa,wb,Pb,Vb){var xb=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=f;this.routeParamsService=h;this.componentPicker=k;this.userPreferencesManager=q;this.router=t;this.formattedCommentsForIssueFridge=w;this.eventsForIssueFridge=y;this.savedSearchFridge=D;this.teamFridge=G;this.permissionsFridge=I;this.hotlistFridge=N;this.componentTemplatesFridge=S;this.sloFridge=
W;this.componentFridge=fa;this.trackerFridge=ua;this.issueFridge=Ua;this.teamDigestFridge=ha;this.hotlistAccessPolicyFridge=xa;this.changelistFridge=sa;this.issueRelationshipsFridge=Ma;this.recentEventsForIssuesFridge=Aa;this.componentAccessPolicyFridge=wb;this.needsAttentionTaskFridge=Pb;this.myTasksFridge=Vb;this.fridges=[];this.getCurrentIssueId=function(){var Uc;return(Uc=xb.routeParamsService.routeParams$.value)==null?void 0:Uc.issueId};this.getCurrentIssue=function(){return xb.issueFridge.peek(xb.getCurrentIssueId())};
this.getCurrentIssueEvents=function(){return xb.eventsForIssueFridge.peek(xb.getCurrentIssueId())};this.getCurrentIssueAsText=function(){var Uc=xb.getCurrentIssue();if(Uc==null)return"";var Sa,nb=(Sa=xb.eventsForIssueFridge.peek(Uc.issueId))==null?void 0:Sa.events;return C1a(Uc,nb)};this.fridges=[w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma,Aa,wb,Pb,Vb]};
$V.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:a8b,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:c3b("debug-logging"),toggleLeanFeMigrationDebugLogging:c3b("lean-fe-debug-logging"),toggleOptOutExperiments:c3b("opt-out-experiments"),currentUser:this.currentUser,userPreferencesManager:this.userPreferencesManager,
modals:{componentPicker:this.componentPicker},setFlagOverrideForOneDay:rxa,clearFlagOverride:sxa,clearAllFlagOverrides:oxa,getCurrentIssueAsText:this.getCurrentIssueAsText,printCurrentIssueAsText:function(){var c=a.getCurrentIssueAsText();console.log(c)},get initialSession(){return jm()},get initialPrefs(){return jm().userPreferences},get currentPrefs(){return QG(b.userPreferencesManager)},get currentIssue(){return b.getCurrentIssue()},get currentIssueEvents(){return b.getCurrentIssueEvents()},get flags(){return Object.fromEntries(jm().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 A2b=!A2b},setTrackerOverride:function(c){F1a(String(c),1)},clearTrackerOverride:function(){F1a("")}})}};
$V.\u0275fac=function(a){return new (a||$V)(n(as),n(iD),n(Me),n($G),n(YV),n(ZV),n(YH),n(WV),n(PG),n(HD),n(NE),n(HE),n(wE),n(JG),n(iG),n(rE),n(SD),n(vG),n(GE),n(gB),n(CA),n(NG),n(EF),n(IG),n(OE),n(QA),n(XF),n(nG),n(WA),n(hG),n(gG))};$V.\u0275prov=Fc({token:$V,factory:$V.\u0275fac,providedIn:"root"});var aW=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new rn(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=window.localStorage.getItem("onedev-darkmode")!=null;Quc(b,b.localDarkmode);b.clientStreamzService&&acc(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")}};aW.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(CJ)};var Quc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};aW.\u0275fac=function(a){return new (a||aW)(n(Ne))};aW.\u0275prov=Fc({token:aW,factory:aW.\u0275fac});var Ruc=Vt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback-dark-mode.md"]),Suc=Vt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/homepage-feedback.md"]),Tuc=Vt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),Uuc=Vt(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),bW=function(a,b,c){var d=this;this.dialogRef=a;this.darkmodeService=b;this.data=c;this.contentLoaded=
!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(z(function(e){switch(d.data.type){case "HOMEPAGE":return e?Qh(Ruc):Qh(Suc);default:return e?Qh(Tuc):Qh(Uuc)}}))};bW.\u0275fac=function(a){return new (a||bW)(B(cH),B(aW),B(iH))};
bW.\u0275cmp=p({type:bW,selectors:[["b-feedback-dialog"]],decls:9,vars:4,consts:[["mat-dialog-content",""],[4,"ngIf"],["diameter","60",4,"ngIf"],["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"],["diameter","60"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,G1a,2,3,"ng-container",1),T(2,"async"),C(3,H1a,1,0,"mat-spinner",2),H(),F(4,"div",
3)(5,"button",4),O("click",function(){return b.dialogRef.close(!1)}),Q(6," Cancel "),H(),F(7,"button",5),O("click",function(){return b.dialogRef.close(!0)}),Q(8," File a new issue "),H()());a&2&&(A(),E("ngIf",U(2,2,b.docUrl$)),A(2),E("ngIf",!b.contentLoaded))},dependencies:[tv,oH,nH,kC,Ex,oQ,mQ,yv],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 iq=function(a){this.internalArray_=m(a)};V(iq,X);g=iq.prototype;g.getEnableSsEngine=function(){return hk(this,2)};g.getEnableAwr=function(){return hk(this,3)};g.getAlohaAutoGaRollout=function(){return hk(this,5)};g.getEnableConfigurator=function(){return hk(this,6)};g.getEnableMweb=function(){return hk(this,7)};g.getEnableCtlConsentCheckbox=function(){return hk(this,8)};g.getEnableIframe=function(){return hk(this,9)};g.getEnableScreenshotNudge=function(){return hk(this,10)};
g.getEnableWebStartupConfigEndpoint=function(){return hk(this,11)};g.getEnableJunkNudge=function(){return hk(this,12)};g.getEnableConfiguratorLocale=function(){return hk(this,13)};g.getEnableTinyNoPointer=function(){return hk(this,14)};g.getEnableSupportSessionLogging=function(){return hk(this,15)};g.getEnableFileUploadForScreenshot=function(){return hk(this,16)};g.getEnableDirectDeflectionForSingleCategory=function(){return hk(this,17)};g.getEnableImageSanitization=function(){return hk(this,18)};
g.getEnableAlohaBinarySplit=function(){return hk(this,19)};g.getEnableDbFeedbackIntents=function(){return hk(this,20)};g.getEnableMarkMandatoryFieldsWithRequired=function(){return hk(this,21)};g.getEnableFeedbackCategoryCustomUi=function(){return hk(this,22)};g.getEnableRealtimeCtl=function(){return hk(this,23)};var X1a=function(a){this.internalArray_=m(a)};V(X1a,X);var I1a=[/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 K1a="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 L1a=Vt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),M1a=Vt(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var O1a,Q1a;var Vuc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||Ba,e=d.document,f=a.nonce||Cea(d);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var h=gp("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=k.length<=1200)&&(a.psdJson=k)}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||Wa(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=op(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);Dc(a,Ph(d));e.body.appendChild(a)}},Wuc=function(a,b,c,d){var e,f;ge(function(h){e=c||Ba;var k=a.serverEnvironment==="DEV",q=c||Ba;q=a.nonce||Cea(q);k={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:k,nonce:q,useNightlyRelease:k,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)),k.extraData.productSpecificData=q);f=k;return ie(h,U1a(f,d,e),0)})},Xuc=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//,
"");Bea(c||window,xc("https://support.google.com/"+d))}else a.flow==="submit"?Vuc(a,b,c):Y1a(a.productId,a.feedbackServerUri).then(function(e){e=Gj(e,iq,1);var f=!QSb||(e==null?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&h?Wuc(a,b,c,e):Vuc(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&Vuc(a,b,c)})}catch(e){Wuc(a,b,c,null)}};kSb("userfeedback.api.startFeedback",Xuc);var Yuc={width:"500px",maxHeight:"80vh",autoFocus:!1},Zuc=new Date,cW=function(a,b){this.activeSession=a;this.matDialog=b;this.reportStartTime=new Date};cW.prototype.startFeedback=function(){var a=this;this.reportStartTime=new Date;this.activeSession.isInternalSession()?dH(this.matDialog.open(bW,Object.assign({},Yuc,{height:"640px",data:{type:"DEFAULT"}}))).subscribe(function(b){b&&$uc(a)}):$uc(this)};
var avc=function(a){a.reportStartTime=new Date;a.activeSession.isInternalSession()?dH(a.matDialog.open(bW,Object.assign({},Yuc,{height:"400px",data:{type:"HOMEPAGE"}}))).subscribe(function(b){b&&$uc(a)}):$uc(a)},$uc=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20240717.11_p1"};b.bucket=Np(a.activeSession)?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=r([]),f=[],h=l(a.activeSession.session.config.enabledFlags),
k=h.next();!k.done;k=h.next()){var q=l(k.value);k=q.next().value;(q=q.next().value)&&f.push(k)}c=d.call(c,e,r(f)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};if(Np(a.activeSession)){var t,w;c.trackerId=(w=(t=a.activeSession.getTracker())==null?void 0:t.trackerId)!=null?w:""}c.initialLoadTime=Z1a(Zuc);c.reportStartTime=Z1a(a.reportStartTime);Xuc(b,c)};cW.\u0275fac=function(a){return new (a||cW)(n(as),n(jH))};cW.\u0275prov=Fc({token:cW,factory:cW.\u0275fac,providedIn:"root"});var bvc=function(a){this.delegate_=a};bvc.prototype.getDelegate=function(){return this.delegate_};var cvc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};V(cvc,bvc);cvc.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=dvc(b,a.pop());return this.target_=b};cvc.prototype.getType=function(){return this.getDelegate().xa};var evc=function(a){this.delegate_=a};V(evc,bvc);g=evc.prototype;g.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(f){return b.call(d||Ba,new cvc(f,e))},c)};g.listenOnce=function(){throw Error("ke");};g.unlisten=function(){throw Error("ke");};g.unlistenByKey=function(){throw Error("ke");};g.dispatchEvent=function(){throw Error("ke");};g.removeAllListeners=function(){throw Error("ke");};g.getParentEventTarget=function(){throw Error("ke");};
g.fireListeners=function(){throw Error("ke");};g.getListener=function(){throw Error("ke");};g.hasListener=function(){throw Error("ke");};evc.prototype[E_b]=!0;var dW=function(a){this.delegate_=a};V(dW,evc);dW.prototype.getHeight=function(){return this.getDelegate().pa()};dW.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};dW.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};dW.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var fvc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};V(fvc,bvc);fvc.prototype.then=function(a,b,c){var d;a&&(d=gvc(this,a));this.getDelegate().aa(d,b,c)};var gvc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var eW=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};V(eW,bvc);eW.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new fvc(this.getDelegate().bh()));return this.gapiPromise_};eW.getInstance=function(){var a="instance_";eW.instance_&&eW.hasOwnProperty(a)?a=eW.instance_:(a=new eW,eW.instance_=a);return a};var fW=function(a,b){Y.call(this);this.router=a;this.window=b};V(fW,Y);fW.\u0275dir=Y.\u0275dir;fW.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=eW.getInstance();d.barPromise_||(d.barPromise_=new fvc(d.getDelegate().bf(),dW));d.barPromise_.then(b,c)})).then(function(b){hvc(a,b)})};var hvc=function(a,b){a.router.events.pipe(He(Pn),Df(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};fW.\u0275fac=function(a){return new (a||fW)(n(HD),n($G))};
fW.\u0275prov=Fc({token:fW,factory:fW.\u0275fac,providedIn:"root"});var gW=function(a,b,c){Y.call(this);var d=this;this.paramsService=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(sf(ci),Cf(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=Mi(this.init)};V(gW,Y);gW.\u0275dir=Y.\u0275dir;
gW.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return ge(function(e){if(e.nextAddress==1){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return ie(e,Promise.all([b.issueFridge.poke(d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};gW.\u0275fac=function(a){return new (a||gW)(n(YH),n(EF),n(HE))};gW.\u0275prov=Fc({token:gW,factory:gW.\u0275fac,providedIn:"root"});var hW=function(a){Y.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(Df(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};V(hW,Y);hW.\u0275dir=Y.\u0275dir;hW.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)};hW.\u0275fac=function(a){return new (a||hW)(n(BF))};
hW.\u0275prov=Fc({token:hW,factory:hW.\u0275fac,providedIn:"root"});var iW=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa){Y.call(this);var sa=this;this.activatedRoute=a;this.router=b;this.bLocation=c;this.reloadService=d;this.timeout=e;this.activeSession=f;this.hotkeys=h;this.paths=k;this.userPrefs=q;this.issuePagination=t;this.userFeedback=G;this.ngZone=I;this.matDialogService=N;this.renderer=Z;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.navigationEnd$=this.router.events.pipe(He(Pn));
this.hideAppChrome=!1;this.sidebarDragSaver=this.sidebarDragOffset=null;ha.install();xa.install();eJa("enableGapiRedirect")&&kJa();$7b(D);this.subscriptions.add(y.onClickAppMenuIcon.subscribe(function(){sa.matSidebarWidth=sa.matSidebarWidth<185?"open":0}));this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(Df(this.destroyed$)).subscribe(function(Sa){Sa=g2a(Sa.density);Sa!==sa.densityClass&&(sa.renderer.addClass(document.body,
Sa),sa.renderer.removeClass(document.body,sa.densityClass),sa.densityClass=Sa)});this.subscriptions.add(coc(w,function(Sa){sa.doSearch(Sa)}));a=[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var Sa=document.querySelector(".search-box-container .search-box");Sa==null||Sa.focus();Sa==null||Sa.select()}},{keys:[Ao("2"),MFa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){sa.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",
onPress:function(){c.setUrl(Ma)}}];this.activeSession.isInternalSession()&&a.push({keys:[Bo("g","p")],displayAs:"g then p",description:"Go to your preferred homepage",onPress:function(){c.setUrl("/")}},{keys:[Bo("g","h")],displayAs:"g then h",description:'Go to "Home"',onPress:function(){c.setUrl(k.home())}});var Ma=k.createIssue(),Aa=k.listIssues({q:Xnc(f.getUserEmail())}),wb=k.listIssues({q:"cc:"+f.getUserEmail()}),Pb=k.listIssues({q:Znc(f.getUserEmail())}),Vb=k.listIssues({q:"reporter:"+f.getUserEmail()}),
xb=k.listIssues({q:"star:true"}),Uc=k.listIssues({q:"vote:true"});a.push({keys:[Bo("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',onPress:function(){c.setUrl(Aa)}},{keys:[Bo("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){c.setUrl(wb)}},{keys:[Bo("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){c.setUrl(Vb)}},{keys:[Bo("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){c.setUrl(xb)}},
{keys:[Bo("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){c.setUrl(Uc)}},{keys:[Bo("g","v")],displayAs:"g then v",description:'Go to "To be verified"',onPress:function(){c.setUrl(Pb)}},{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(Sa){if(Sa===
0&&sa.sidebarDragPosition>20||Sa===1&&!(sa.sidebarDragPosition>20))sa.sidebarDragPosition>20?ivc(sa,20,1):ivc(sa,sa.lastOpenPosition,1);sa.matSidebarWidth=Sa===0?0:"open"}},{keys:["?",LFa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){sa.matDialogService.open(OU,{minWidth:512})}});this.subscriptions.add(aJ(this.hotkeys,{title:"General",hotkeys:a}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();
this.userPrefs.preferences$.pipe(qf(),Df(this.destroyed$)).subscribe(function(Sa){sa.dismissedMessageId=Sa.bannerMessageId||"";Sa=(Sa.layoutPreferences||{}).leftSidebarWidth;sa.matSidebarWidth=Sa||220;if(Sa===void 0)sa.sidebarDragPosition=220;else if(Sa<90)sa.sidebarDragPosition=20;else{if(Sa>220){var nb=jvc();Sa>nb&&(Sa=nb)}Sa<185&&(Sa=185);sa.sidebarDragPosition=Sa}});De(document,"mouseup",{capture:!0}).pipe(Df(this.destroyed$)).subscribe(function(){sa.sidebarDragOffset&&(sa.sidebarDragOffset=null,
ivc(sa,sa.sidebarDragPosition,1))});De(S,"resize").pipe(Df(this.destroyed$)).subscribe(function(){if(sa.sidebarDragPosition>220){var Sa=jvc();sa.sidebarDragPosition>Sa&&ivc(sa,Sa,3E3)}});this.ngZone.runOutsideAngular(function(){De(document,"mousemove").pipe(Df(sa.destroyed$)).subscribe(function(Sa){if(sa.sidebarDragOffset){Sa=Sa.pageX-sa.sidebarDragOffset;if(Sa<90)Sa=20;else if(Sa<185)Sa=185;else{var nb=jvc();Sa>nb&&(Sa=nb)}ivc(sa,Sa,0)}})});fa.start();Hn()&&(o7b!=null&&o7b.disconnect(),o7b=new In.PerformanceObserver(qCa),
o7b.observe({entryTypes:["measure"]}));setTimeout(UYa,6E4);ma.start();ua.initOnce();Ua.initOnce();S.emergencyBugjugglerWorkaround={session:f,issueComments:W};kvc(this);this.subscriptions.add(this.navigationEnd$.subscribe(function(){kvc(sa)}))};V(iW,Y);iW.\u0275dir=Y.\u0275dir;iW.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};iW.prototype.isDragging=function(){return this.sidebarDragOffset!==null};
var jvc=function(){var a=window.innerWidth;return a>=1075?a-855:220},d2a=function(a,b){a.userPrefs.layoutPreferences$.pipe(Cf(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(qf(),Df(a.destroyed$)).subscribe()},ivc=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(){d2a(a,a.sidebarDragPosition===
20?0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};iW.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=Emc(this.paths,a);ntc(this.issuePagination);b&&Xrb(this.reloadService);this.bLocation.setUrl(a)};var a2a=function(a){a.announcement!==null&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(qf(),Df(a.destroyed$)).subscribe())};iW.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
var kvc=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")};iW.\u0275fac=function(a){return new (a||iW)(B(qn),B(HD),B(NM),B(aV),B(EB),B(as),B($I),B(BP),B(PG),B(UU),B(xQ),B(iD),B(vF),B(cW),B(Me),B(jH),B($G),B(NH),B(Qu),B(fW),B(hW),B(WU),B(gW),B($V),B(zF))};
iW.\u0275cmp=p({type:iW,selectors:[["app-root"]],features:[Lf],decls:2,vars:1,consts:[["role","main",1,"full-width","full-height"],["class","bv2-announce-bar",4,"ngIf"],[1,"bv2-content","flex-kids-x","border-top"],["id","main-app-nav",3,"size","disableToggleBtn","widthChanged",4,"ngIf"],["id","skiplink-navigation-target","role","main",1,"flex","pos-rel"],[1,"bv2-announce-bar"],"aria-live polite role status aria-atomic true".split(" "),[3,"innerHtml"],["class","announce-dismiss","role","button","tabindex",
"0",3,"keydown.enter","keydown.space","click",4,"ngIf"],["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&&C(0,$1a,2,0,"div",0)(1,f2a,10,2);a&2&&$f(b.hideAppChrome?0:1)},dependencies:function(){return[tv,sD,fM,uV,MV,ctc,Ctc,Dtc,btc]},encapsulation:2});var jW=function(){};jW.\u0275fac=function(a){return new (a||jW)};jW.\u0275mod=cd({type:jW});
jW.\u0275inj=Gc({imports:[RD,hM,JV,OV,NU,YU,ZU,rT,RH,PU]});var kW=function(a){this.internalArray_=m(a,0,kW.messageId)};V(kW,X);kW.prototype.getUrl=function(){return Zh(this,1)};kW.prototype.setUrl=function(a){return Sj(this,1,a)};kW.prototype.hasUrl=function(){return vl(this,1)};kW.messageId="b.AttachmentUrlResponse";var lW=function(a){this.executor=a};lW.prototype.get=function(a,b,c,d){if(!a||!b)return Promise.reject(Error("le"));var e={};d&&(e["X-Restricted-Content-Limit"]=String(eEa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:kW}).then(function(f){return f.getUrl()})};lW.\u0275fac=function(a){return new (a||lW)(n(qA))};lW.\u0275prov=Fc({token:lW,factory:lW.\u0275fac,providedIn:"root"});var mW=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};mW.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};mW.\u0275fac=function(a){return new (a||mW)(B(as),B(og),B(pg))};mW.\u0275dir=ed({type:mW,selectors:[["","internalOnly",""]]});var nW=function(a,b,c,d,e,f,h,k){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=f;this.documentationLinks=h;this.changeDetectorRef=k;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};nW.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
nW.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;i2a(this)?(this.hasViewAccess=!1,KB(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)};nW.prototype.getRestrictionSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var i2a=function(a){return(a=a.getRestrictionSeverity())?a!=="NONE_DETECTED":!1},lvc=function(a){var b=a.download&&nra(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getRestrictionSeverity()).then(function(c){b?kJ(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){a.butterBar.showWarning("Failed to load attachment. Please refresh and try again.");a.close()})};nW.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
nW.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};nW.\u0275fac=function(a){return new (a||nW)(B(iH),B(cH),B(IB),B(lW),B(cD),B(jJ),B(bH),B(yF,2))};
nW.\u0275cmp=p({type:nW,selectors:[["b-attachment-download-dialog"]],features:[Dg([yF])],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"],["class","gmat-body-2",4,"ngIf"],["class","centered-spinner","diameter","60",4,"ngIf"],["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"],["diameter","60",1,"centered-spinner"]],template:function(a,b){a&1&&(F(0,"h1",0),Q(1,"Access Attachment"),H(),F(2,"div",1)(3,"div",2),Q(4," Are you sure you would like to access the following attachment? "),H(),J(5,"br"),F(6,"div",3)(7,"div",4),J(8,"mat-icon",5),H(),F(9,"div",6),Q(10),H()(),J(11,"br"),C(12,j2a,2,1,"ng-container",7)(13,k2a,3,0,"div",8),H(),C(14,
l2a,1,0,"mat-spinner",9),F(15,"div",10)(16,"button",11),O("click",function(){return b.close()}),Q(17," Cancel "),H(),F(18,"button",12),O("click",function(){return lvc(b)}),Q(19," Continue "),H()());a&2&&(A(10),R(" ",b.attachment.filename," "),A(3),E("ngIf",!b.isLoading&&!b.hasViewAccess),A(),E("ngIf",b.isLoading),A(4),E("disabled",!b.hasViewAccess))},dependencies:[tv,RC,kC,Ex,mH,oH,nH,oQ,mQ,mW],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 oW=function(){};oW.\u0275fac=function(a){return new (a||oW)};oW.\u0275mod=cd({type:oW});oW.\u0275inj=Gc({imports:[RD]});var pW=function(){};pW.\u0275fac=function(a){return new (a||pW)};pW.\u0275mod=cd({type:pW});pW.\u0275inj=Gc({imports:[RD,RH,VH,qQ,tO,oW]});var mvc=["pickerToggle"],qW=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new xF};qW.\u0275fac=function(a){return new (a||qW)};
qW.\u0275cmp=p({type:qW,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&rg(mvc,7);if(a&2){var c;vg(c=wg())&&(b.pickerToggle=c.first)}},inputs:{customFormId:"customFormId",customAriaLabelledBy:"customAriaLabelledBy",value:"value",required:"required"},outputs:{valueChange:"valueChange"},exportAs:["bDateTimeInput"],decls:4,vars:7,consts:[["pickerToggle","bDateTimePickerToggle"],["mat-stroked-button","","type","button","bDateTimePickerToggle","",3,"bDateTimePickerToggleSelectedChange",
"id","bDateTimePickerToggleRequired","bDateTimePickerToggleSelected","bDateTimePickerToggleFocusTrapHost"],["mode","date",3,"date",4,"ngIf"],[4,"ngIf"],["mode","date",3,"date"]],template:function(a,b){if(a&1){var c=u();F(0,"button",1,0);O("bDateTimePickerToggleSelectedChange",function(d){v(c);b.value=d;b.valueChange.emit(d);return x()});C(2,m2a,1,1,"b-formatted-date-time",2)(3,n2a,2,0,"ng-container",3);H()}a&2&&(E("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",
b.value)("bDateTimePickerToggleFocusTrapHost",!1),Nf("aria-labelledby",b.customAriaLabelledBy),A(2),E("ngIf",b.value),A(),E("ngIf",!b.value))},dependencies:[WO,YP,kC,Ex,tv],styles:["/*# sourceMappingURL=date_time_input.css.map */"]});var nvc=["filterInput"],rW=function(a){Y.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new xF;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};V(rW,Y);rW.\u0275dir=Y.\u0275dir;g=rW.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(Cf(function(){return Ie(0)}),Df(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 ovc=function(a){return a.filterValue&&a.type!=="REPEATED_DATE"?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
rW.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),pvc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};rW.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()})};
rW.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})};rW.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=l(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);pvc(this)};
var pvc=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)})},p2a=function(a){return!!a.filterValue&&a.type!=="REPEATED_ENUM"&&a.type!=="REPEATED_DATE"};rW.prototype.getDisplayString=function(a){return this.type==="REPEATED_DATE"?this.dateFormatter.formatUserCalendar(ji(a)):a};rW.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
rW.\u0275fac=function(a){return new (a||rW)(B(xH))};
rW.\u0275cmp=p({type:rW,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(rg(OI,5),rg(nvc,5));if(a&2){var c;vg(c=wg())&&(b.trigger=c.first);vg(c=wg())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[Lf,rd],decls:13,vars:7,consts:[["customFieldMenu","matMenu"],["filterInput",""],["mat-button","","type","button",1,"medium","primary",3,"matMenuTriggerFor"],["name","arrow-dropdown",
"size","small"],["class","multi-edit-menuitem","role","option",3,"title",4,"ngFor","ngForOf"],[1,"filter"],["mat-input","","step","any",3,"type","ngModel","placeholder","keydown","click","ngModelChange",4,"ngIf"],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["role","option",1,"multi-edit-menuitem",3,"title"],[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&&(F(0,"button",2)(1,"span"),Q(2),H(),J(3,"b-icon",3),H(),F(4,"mat-menu",null,0),C(6,o2a,3,4,"div",4),J(7,"mat-divider"),F(8,"div",5),C(9,q2a,2,3,"input",6),H(),C(10,r2a,1,0,"mat-divider",7)(11,s2a,2,0,"div",8)(12,t2a,4,1,"div",7),H());a&2&&(a=M(5),E("matMenuTriggerFor",a),A(2),yg(b.getLabel()),A(4),E("ngForOf",ovc(b)),A(3),E("ngIf",b.type!=="REPEATED_DATE"),A(),
E("ngIf",p2a(b)),A(),E("ngIf",p2a(b)),A(),E("ngIf",b.type==="REPEATED_DATE"))},dependencies:[sv,tv,JI,NI,LI,OI,TO,OO,kC,Ex,oJ,pJ,Bh,dy,ly,qW],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var qvc=0,sW=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+qvc;qvc+=1};sW.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};sW.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};sW.\u0275fac=function(a){return new (a||sW)(B(Wg))};
sW.\u0275dir=ed({type:sW,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(eg("id",b.id),Wf("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var tW=function(){};tW.\u0275fac=function(a){return new (a||tW)};tW.\u0275mod=cd({type:tW});tW.\u0275inj=Gc({});var w2a=function(){return{$implicit:void 0}},z2a=function(a){return{$implicit:a}},uW=function(a){var b=this;this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.options$=new rn([]);this.filterText$=new rn("");this.filteredOptions$=we([this.options$,this.filterText$]).pipe(z(function(c){var d=l(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 bv;this.selected=
new bv;this.destroyed$=new xf(1);a&&this.handleKeydown(a.keydown$)};g=uW.prototype;g.ngOnInit=function(){};g.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};g.ngAfterViewInit=function(){this.keyManager=sw(rw(new ww(this.viewOptions)))};g.ngOnChanges=function(a){a.value&&rvc(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 rvc=function(a){if(a.keyManager)if(a.includeEmptyOption&&a.isSelected(void 0))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),svc(a))}};uW.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
uW.prototype.handleKeydown=function(a){var b=this;a.pipe(Df(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;d==="ArrowUp"||d==="ArrowDown"?(c.preventDefault(),b.keyManager.onKeydown(c),svc(b)):d==="Home"||d==="End"?(c.preventDefault(),d==="Home"?b.keyManager._setActiveItemByIndex(0,1):jXb(b.keyManager),svc(b)):d!=="Enter"&&d!=="Space"||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};
var svc=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"})}};uW.\u0275fac=function(a){return new (a||uW)(B(PR,8))};
uW.\u0275cmp=p({type:uW,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&rg(sW,5);if(a&2){var c;vg(c=wg())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&O("focus",function(){return rvc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,Nf("aria-activedescendant",a)("aria-disabled",b.disabled)("aria-label",b.label))},inputs:{value:"value",options:"options",
optionTemplate:"optionTemplate",disabled:"disabled",includeEmptyOption:"includeEmptyOption",label:"label",showFilterBar:"showFilterBar",filterFunction:"filterFunction"},outputs:{valueChange:"valueChange",selected:"selected"},features:[rd],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&&(C(0,u2a,5,0,"div",4)(1,I2a,5,2,"ng-container",5),T(2,"async"));a&2&&(E("ngIf",b.showFilterBar),A(),E("ngIf",U(2,
2,b.filteredOptions$)))},dependencies:[sv,tv,xv,sW,yv],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 tvc=["trigger"],K2a=function(a){return{$implicit:a}},uvc=0,vW=function(a){this.showFilterBar=this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new bv;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+uvc;this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0;uvc++};V(vW,hP);g=vW.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 vvc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};vW.prototype.setDisabledState=function(a){this.disabled=a};da.Object.defineProperties(vW.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});vW.\u0275fac=function(a){return new (a||vW)(Jd("required"))};
vW.\u0275cmp=p({type:vW,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&rg(tvc,7);if(a&2){var c;vg(c=wg())&&(b.popupTrigger=c.first)}},inputs:{value:"value",options:"options",disabled:"disabled",includeEmptyOption:"includeEmptyOption",showFilterBar:"showFilterBar",filterFunction:"filterFunction",label:"label",labelledById:"labelledById",valueTemplate:"valueTemplate",optionTemplate:"optionTemplate",displayArrowIcon:"displayArrowIcon",openPopupOnInit:"openPopupOnInit"},outputs:{valueChange:"valueChange"},
features:[Dg([{provide:Wx,useExisting:Sc(function(){return vW}),multi:!0},{provide:hP,useExisting:Sc(function(){return vW}),multi:!0}]),Lf],decls:13,vars:19,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","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=u();F(0,"button",
5,0);O("focus",function(){v(c);return x(b.focused=!0)})("blur",function(){v(c);return x(b.focused=!1)})("click",function(){v(c);var e=M(1);return x(e.open())})("closed",function(){v(c);b.onTouched();return x()});F(2,"span",6);Q(3);H();C(4,L2a,2,4,"ng-container",7)(5,O2a,1,2,"ng-template",null,1,Mg)(7,R2a,3,2,"ng-template",null,2,Mg)(9,S2a,2,0,"svg",8);H();F(10,"onedev-popup-panel",9,3)(12,"onedev-selectable-list",10);O("valueChange",function(e){v(c);return x(b.onSelectionChange(e))})("selected",function(){v(c);
var e=M(1);return x(e.close())});H()()}if(a&2){a=M(6);var d=M(11);Wf("active",b.isActive());E("onedevPopupPanelTriggerDisabled",b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",d);Nf("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());A(3);yg(vvc(b));A();E("ngIf",b.valueTemplate)("ngIfElse",a);A(5);E("ngIf",b.displayArrowIcon);A();E("relayOnly",!0);A(2);E("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",
b.label)("showFilterBar",b.showFilterBar)("filterFunction",b.filterFunction)}},dependencies:[tv,xv,PR,uW,QR,RR],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 Z2a=function(){return[]},wW=function(a,b){this.data=a;this.dialogRef=b;this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=[];this.bulkEditOps=[];this.issues=a};g=wW.prototype;
g.ngOnInit=function(){for(var a=new Map,b=null,c=l(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=l(Object.keys(d)),h=f.next();!h.done;h=f.next())h=h.value,b.set(ii(h),e[h]||void 0)}f=l(b);for(h=f.next();!h.done;h=f.next()){var k=l(h.value);h=k.next().value;k=k.next().value;var q=d[h],t=e[h],w=void 0,y=(w=q)==null?void 0:w.type;if(q)if(y==="REPEATED_DATE"||y==="REPEATED_ENUM"||y==="REPEATED_NUMERIC"||y==="REPEATED_TEXT"){k=
this.repeatedCustomFieldsMap.get(h)||new Map;q=k.size===0;t=wvc(t);w=Array.from(k.keys()).concat(t);w=l(w);for(y=w.next();!y.done;y=w.next())y=y.value,t.includes(y)?k.has(y)||k.set(y,q||null):k.set(y,null);this.repeatedCustomFieldsMap.set(h,k)}else(!t&&k!==void 0||t&&!ci(t,k))&&b.set(h,null);else b.delete(h)}d=l(Object.entries(d));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,a.set(Number(e),di(f))}this.customFields=Array.from(b.keys()).map(function(D){return a.get(D)}).filter(function(D){return D});
this.customFields=this.customFields.map(function(D){var G=b.get(D.customFieldId);D.hasMultipleValues=G===null;G?D=Object.assign(G,D):D.hasMultipleValues||D.type!=="ENUM"||(D.enumValue="");return D});c=l(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,di(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 jq=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},wvc=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()}):[]},X2a=function(a){return a?Pm(a):null},a3a=function(a,b,c){for(var d=l(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(w){return w.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(w){return w.actions.length});if(c.valueChanged){d=l(a.issues);var f=d.next();for(e={};!f.done;e={issueValues$jscomp$1:void 0,action$jscomp$88:void 0},f=d.next()){f=f.value;var h=mea(f.customFieldValueMap,function(w){return w.customFieldId===b});e.issueValues$jscomp$1=wvc(h);c.valueMap.forEach(function(w){return function(y,D){y&&!w.issueValues$jscomp$1.includes(D)?w.issueValues$jscomp$1.push(D):y===!1&&(w.issueValues$jscomp$1=w.issueValues$jscomp$1.filter(function(G){return G!==
D}))}}(e));h=a.originalCustomFields.get(b).type;var k=[],q=[];h=="REPEATED_DATE"?k=e.issueValues$jscomp$1.map(function(w){return Qm(ji(w))}):h=="REPEATED_NUMERIC"&&(q=e.issueValues$jscomp$1.map(function(w){return Number(w)}));var t={customFieldId:b};switch(h){case "REPEATED_TEXT":t.repeatedTextValue={values:e.issueValues$jscomp$1};break;case "REPEATED_DATE":t.repeatedDateValue={values:k};break;case "REPEATED_ENUM":t.repeatedEnumValue={values:e.issueValues$jscomp$1};break;case "REPEATED_NUMERIC":t.repeatedNumericValue=
{values:q}}e.action$jscomp$88={fieldName:"customField",customFieldValue:t,actionType:Sm(t)?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(w){return function(y){return y.actions.some(function(D){return ci(w.action$jscomp$88,D)})}}(e));h!==-1?a.bulkEditOps[h].issueIds.push(f.issueId):a.bulkEditOps.push({actions:[e.action$jscomp$88],issueIds:[f.issueId]})}}},xvc=function(a){var b=a.customFields.filter(function(k){return!k.type.includes("REPEATED")&&!ci(k,a.originalCustomFields.get(k.customFieldId))}),
c=[];b=l(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=Sm(d))d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(k){return k.issueId});b=a.bulkEditOps.findIndex(function(k){a:if(k=
k.issueIds,Va(h)&&Va(k)&&h.length==k.length){for(var q=h.length,t=0;t<q;t++)if(h[t]!==k[t]){k=!1;break a}k=!0}else k=!1;return k});b!==-1?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,issueIds:h})}};wW.\u0275fac=function(a){return new (a||wW)(B(iH),B(cH))};
wW.\u0275cmp=p({type:wW,selectors:[["b-bulk-custom-field-dialog"]],decls:10,vars:2,consts:[["multipleValues",""],["mat-dialog-title",""],[4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["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-create-adv-field"],[1,"bv2-top-field-label"],["matTooltipPosition","right",3,"matTooltip"],[3,"ngIf","ngIfElse"],[3,"ngSwitch"],
["name","customInput","placeholder","no value","type","text",3,"ngModel","ngModelChange",4,"ngSwitchCase"],["step","any","name","customInput","type","number",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"value","options","valueChange",4,"ngSwitchCase"],[3,"type","originalValueMap","enumChoices","onSave",4,"ngSwitchDefault"],["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&&(F(0,"h2",1),Q(1,"Update custom fields"),H(),F(2,"mat-dialog-content"),C(3,T2a,2,0,"div",2)(4,e3a,8,6,"div",3),H(),F(5,"mat-dialog-actions")(6,"button",4),O("class",function(){return b.dialogRef.close()}),Q(7,"Cancel"),H(),F(8,"button",5),O("click",function(){xvc(b);
b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),Q(9," Save "),H()());a&2&&(A(3),E("ngIf",b.customFields.length===0),A(),E("ngForOf",b.customFields))},dependencies:[sv,tv,uv,vv,wv,kH,mH,oH,nH,vW,rW,Bh,ny,dy,ly,qW,kC,Ex,KI,TI],encapsulation:2});var xW=function(){};xW.\u0275fac=function(a){return new (a||xW)};xW.\u0275mod=cd({type:xW});xW.\u0275inj=Gc({imports:[dP,uQ,RH,RD]});var yvc=new ld("GMAT_INPUT_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var yW=function(a){this.options=a};yW.\u0275fac=function(a){return new (a||yW)(B(yvc))};yW.\u0275dir=ed({type:yW,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-input",!b.options.disableGmatStyle)}});var zW=function(){};zW.\u0275fac=function(a){return new (a||zW)};zW.\u0275mod=cd({type:zW});zW.\u0275inj=Gc({imports:[Ry,lM]});var AW=function(){};AW.\u0275fac=function(a){return new (a||AW)};AW.\u0275mod=cd({type:AW});AW.\u0275inj=Gc({imports:[RD,aM,cP,mR,QO,RH,zW,jM,zy,xW]});var BW=function(){};BW.\u0275fac=function(a){return new (a||BW)};BW.\u0275mod=cd({type:BW});BW.\u0275inj=Gc({imports:[Gv]});var CW=function(){};CW.\u0275fac=function(a){return new (a||CW)};CW.\u0275mod=cd({type:CW});CW.\u0275inj=Gc({imports:[Gv,UL,tW]});var DW=function(){};DW.\u0275fac=function(a){return new (a||DW)};DW.\u0275mod=cd({type:DW});DW.\u0275inj=Gc({imports:[Gv,QD,UL,zy,BW,CW,jT]});var EW=function(){};EW.\u0275fac=function(a){return new (a||EW)};EW.\u0275mod=cd({type:EW});EW.\u0275inj=Gc({imports:[RD,VH,DW,AW,zy,xW,RH,bM]});var FW=function(a,b,c,d,e,f,h){var k=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=f;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){k.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){k.isLoading=!1;k.cdr.detectChanges()})};FW.prototype.trackByIndex=function(a){return a};
FW.prototype.startFeedback=function(){this.userFeedback.startFeedback()};FW.\u0275fac=function(a){return new (a||FW)(B(yF,2),B(gJ),B(iH),B(eD),B(Mv),B(BP),B(cW))};
FW.\u0275cmp=p({type:FW,selectors:[["comment-history-dialog"]],features:[Dg([yF])],decls:14,vars:4,consts:[["mat-dialog-title",""],[1,"diff-checkbox"],[3,"change","checked"],[1,"dialog-feedback",3,"click"],[1,"float-clear"],["class","bv2-view-loading",4,"ngIf"],["class","comment-history-list",4,"ngIf"],["mat-button","","mat-dialog-close",""],[1,"bv2-view-loading"],[1,"comment-history-list"],["class","comment-version",3,"comment-version-open",4,"ngFor","ngForOf","ngForTrackBy"],[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"],["class","muted float-right float-clear",4,"ngIf"],[4,"ngIf"],[1,"muted","float-right","float-clear"],["class","type-xs",3,"innerHtml",4,"ngIf"],["class","type-xs",4,"ngIf"],[1,"type-xs",3,"innerHtml"],[1,"type-xs"],[1,"comment-version-email"],[3,"email"],[3,"click","id"],["class","comment-version-preview",4,"ngIf"],["class",
"comment-version-preview deleted",4,"ngIf"],["class","comment-version-restricted",4,"ngIf"],[1,"comment-version-preview"],[1,"comment-version-preview","deleted"],[1,"comment-version-restricted"],["class","comment-version-content deleted",4,"ngIf"],["class","comment-version-content",3,"codefont","innerHtml",4,"ngIf"],[1,"comment-version-content","deleted"],[1,"comment-version-content",3,"innerHtml"]],template:function(a,b){a&1&&(F(0,"h2",0),Q(1),H(),F(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),O("change",function(c){return b.diffView=c.checked}),Q(5," Show Diff "),H()(),F(6,"a",3),O("click",function(){return b.startFeedback()}),Q(7,"Feedback"),H(),J(8,"br",4),C(9,f3a,2,0,"div",5)(10,u3a,2,2,"ul",6),H(),F(11,"mat-dialog-actions")(12,"button",7),Q(13,"Close"),H()());a&2&&(A(),R("History for Comment #",b.commentNumber,""),A(3),E("checked",b.diffView),A(5),E("ngIf",b.isLoading),A(),E("ngIf",!b.isLoading))},dependencies:[sv,tv,YP,oJ,pJ,kC,Ex,kH,mH,oH,nH,gL,pQ,MO,KO,yv,DI,EO],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 GW=function(){};GW.\u0275fac=function(a){return new (a||GW)};GW.\u0275mod=cd({type:GW});GW.\u0275inj=Gc({imports:[RD,uQ,jM,RH,VH,WL,JQ,rQ,RO]});var v3a=function(){},kq=function(a,b,c,d,e){typeof e=="undefined"&&(e=(new Date).getTime()+1E3);if(b==null||c==null)throw Error("me");if(b==c)return b?[[0,b]]:[];typeof d=="undefined"&&(d=!0);var f=zvc(b,c),h=b.substring(0,f);b=b.substring(f);c=c.substring(f);f=Avc(b,c);var k=b.substring(b.length-f);b=b.substring(0,b.length-f);c=c.substring(0,c.length-f);b=Bvc(a,b,c,d,e);h&&b.unshift([0,h]);k&&b.push([0,k]);Cvc(a,b);return b},Bvc=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,k=f.indexOf(h);if(k!=-1)return a=[[1,f.substring(0,k)],[0,h],[1,f.substring(k+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=Dvc(b,c))return c=f[1],h=f[3],b=f[4],f=kq(a,f[0],f[2],d,e),a=kq(a,c,h,d,e),f.concat([[0,b]],a);if(d&&b.length>100&&c.length>100){b=Evc(b,c);c=b.lineArray;b=kq(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){f=b[d][1];h=[];for(k=0;k<f.length;k++)h[k]=c[f.charCodeAt(k)];b[d][1]=h.join("")}w3a(a,
b);b.push([0,""]);f=d=c=0;for(k=h="";c<b.length;){switch(b[c][0]){case 1:f++;k+=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=kq(a,h,k,!1,e);for(f=d.length-1;f>=0;f--)b.splice(c,0,d[f]);c+=d.length}d=f=0;k=h=""}c++}b.pop();a=b}else a:{d=b.length;f=c.length;h=Math.ceil((d+f)/2);k=2*h;for(var q=Array(k),t=Array(k),w=0;w<k;w++)q[w]=-1,t[w]=-1;q[h+1]=0;t[h+1]=0;w=d-f;for(var y=w%2!=0,D=0,G=0,I=0,N=0,S=0;S<h&&!((new Date).getTime()>e);S++){for(var W=-S+
D;W<=S-G;W+=2){var Z=h+W;var fa=W==-S||W!=S&&q[Z-1]<q[Z+1]?q[Z+1]:q[Z-1]+1;for(var ma=fa-W;fa<d&&ma<f&&b.charAt(fa)==c.charAt(ma);)fa++,ma++;q[Z]=fa;if(fa>d)G+=2;else if(ma>f)D+=2;else if(y&&(Z=h+w-W,Z>=0&&Z<k&&t[Z]!=-1)){var ua=d-t[Z];if(fa>=ua){a=Fvc(a,b,c,fa,ma,e);break a}}}for(W=-S+I;W<=S-N;W+=2){Z=h+W;ua=W==-S||W!=S&&t[Z-1]<t[Z+1]?t[Z+1]:t[Z-1]+1;for(fa=ua-W;ua<d&&fa<f&&b.charAt(d-ua-1)==c.charAt(f-fa-1);)ua++,fa++;t[Z]=ua;if(ua>d)N+=2;else if(fa>f)I+=2;else if(!y&&(Z=h+w-W,Z>=0&&Z<k&&q[Z]!=
-1&&(fa=q[Z],ma=h+fa-Z,ua=d-ua,fa>=ua))){a=Fvc(a,b,c,fa,ma,e);break a}}}a=[[-1,b],[1,c]]}return a},Fvc=function(a,b,c,d,e,f){var h=b.substring(d),k=c.substring(e);b=kq(a,b.substring(0,d),c.substring(0,e),!1,f);a=kq(a,h,k,!1,f);return b.concat(a)},Evc=function(a,b){function c(h){for(var k="",q=0,t=-1,w=d.length;t<h.length-1;){t=h.indexOf("\n",q);t==-1&&(t=h.length-1);var y=h.substring(q,t+1);(e.hasOwnProperty?e.hasOwnProperty(y):e[y]!==void 0)?k+=String.fromCharCode(e[y]):(w==f&&(y=h.substring(q),
t=h.length),k+=String.fromCharCode(w),e[y]=w,d[w++]=y);q=t+1}return k}var d=[],e={};d[0]="";var f=4E4;a=c(a);f=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},zvc=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},Avc=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},Gvc=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++}},Dvc=function(a,b){function c(k,q,t){for(var w=k.substring(t,t+Math.floor(k.length/4)),y=-1,D="",G,I,N,S;(y=q.indexOf(w,y+1))!=-1;){var W=
zvc(k.substring(t),q.substring(y)),Z=Avc(k.substring(0,t),q.substring(0,y));D.length<Z+W&&(D=q.substring(y-Z,y)+q.substring(y,y+W),G=k.substring(0,t-Z),I=k.substring(t+W),N=q.substring(0,y-Z),S=q.substring(y+W))}return D.length*2>=k.length?[G,I,N,S,D]: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]]},w3a=function(a,b){for(var c=!1,d=[],e=0,f=null,h=0,k=0,q=0,t=0,w=0;h<b.length;)b[h][0]==0?(d[e++]=h,k=t,q=w,w=t=0,f=b[h][1]):(b[h][0]==1?t+=b[h][1].length:w+=b[h][1].length,f&&f.length<=Math.max(k,q)&&f.length<=Math.max(t,w)&&(b.splice(d[e-1],0,[-1,f]),b[d[e-1]+1][0]=1,e--,e--,h=e>0?d[e-1]:-1,w=t=q=k=0,f=null,c=!0)),h++;c&&Cvc(a,b);Hvc(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=Gvc(a,c);e=Gvc(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++}},Hvc=function(a){function b(y,D){if(!y||!D)return 6;var G=y.charAt(y.length-1),I=D.charAt(0),N=G.match(Ivc),S=I.match(Ivc),W=N&&G.match(Jvc),Z=S&&I.match(Jvc);G=W&&G.match(Kvc);
I=Z&&I.match(Kvc);y=G&&y.match(Lvc);D=I&&D.match(Mvc);return y||D?5:G||I?4:N&&!W&&Z?3:W||Z?2:N||S?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=Avc(d,e);if(h){var k=e.substring(e.length-h);d=d.substring(0,d.length-h);e=k+e.substring(0,e.length-h);f=k+f}h=d;k=e;for(var q=f,t=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 w=b(d,e)+b(e,f);w>=t&&(t=w,h=d,k=e,q=f)}a[c-1][1]!=h&&(h?a[c-1][1]=
h:(a.splice(c-1,1),c--),a[c][1]=k,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},Ivc=/[^a-zA-Z0-9]/,Jvc=/\s/,Kvc=/[\r\n]/,Lvc=/\n\r?\n$/,Mvc=/^\r?\n\r?\n/,Cvc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,f="",h="",k;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&&(k=zvc(h,f),k!==0&&(c-d-e>0&&b[c-d-e-1][0]==0?b[c-d-e-1][1]+=h.substring(0,k):(b.splice(0,0,[0,h.substring(0,k)]),c++),h=h.substring(k),f=f.substring(k)),k=Avc(h,f),
k!==0&&(b[c][1]=h.substring(h.length-k)+b[c][1],h=h.substring(0,h.length-k),f=f.substring(0,f.length-k))),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&&Cvc(a,b)};var HW=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};HW.prototype.show=function(a,b,c){var d=this,e;return ge(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:Nvc(d,a,b,c)};d.dialog=d.dialogManager.open(FW,{data:e,width:"50vw"});return f.return(se(dH(d.dialog)))})};
var Nvc=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:"",k=!1,q=[];e=l(e);for(var t=e.next();!t.done;t=e.next()){t=t.value;var w=y3a(t);w||k?(f=Ovc(t.unlinkifiedComment),h=Ovc(t.formattingMode)):(f=x3a(f,t.unlinkifiedComment),k=t.formattingMode,h=h===k?Ovc(k):Nh([Ovc(h,"diff-removed"),Ovc(k,"diff-added")]));k=t.unlinkifiedComment===void 0?"":t.unlinkifiedComment;var y=t.version,D=t.commentContentVerdict;
q.push({unlinkifiedComment:k,lastEditorUser:t.lastEditorUser,version:y,formattingMode:t.formattingMode,formattingModeDiff:h,lastModified:Number(t.lastModified)/1E3,open:y<25,preview:k.length<=48?k:k.substring(0,45)+"...",diff:f,restricted:D&&D.piiVerdict&&D.piiVerdict.severity!=="NONE_DETECTED"||!1,deleted:y3a(t)});f=t.unlinkifiedComment;h=t.formattingMode;k=w}d>-1?q[d].open=!0:q[0].open=!0;return q})},Ovc=function(a,b){return Oh("span",b?{"class":b}:void 0,a)};
HW.\u0275fac=function(a){return new (a||HW)(n(CF),n(NH),n(jH))};HW.\u0275prov=Fc({token:HW,factory:HW.\u0275fac,providedIn:"root"});var Pvc=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"]]),Qvc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),B3a=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),C3a=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),IW=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};IW.\u0275fac=function(a){return new (a||IW)(n(dD),n(as))};IW.\u0275prov=Fc({token:IW,factory:IW.\u0275fac,providedIn:"root"});var E3a=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var Rvc=wp.listIssues.makeHref,Svc=wp.createIssue.makeHref,JW=function(a,b){Y.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new xf(1);this.component$=this.providedComponentId$.pipe(Cf(this.componentFridge.watch),zf({refCount:!0,bufferSize:1}));this.init=new xf(1);this.isAnonymous=this.activeSession.isAnonymous()};V(JW,Y);JW.\u0275dir=Y.\u0275dir;
JW.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=Rvc({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=Svc()+"?component="+this.componentId;this.viewComponentUrl=wp.editComponent.makeHref(this.componentId);this.component$.pipe(qf(),Df(this.destroyed$)).subscribe(function(){a.init.next()})};JW.\u0275fac=function(a){return new (a||JW)(B(gB),B(as))};
JW.\u0275cmp=p({type:JW,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[Lf],decls:4,vars:3,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngIf"],[3,"accessLevel","labelOnlyMode"],["tabindex","0",1,"keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),C(2,I3a,16,8,"ng-container",2),T(3,"async"),H()());a&2&&(A(2),E("ngIf",U(3,1,b.component$)))},dependencies:[tv,
GQ,yv],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var Tvc=new ld("GMAT_PAGINATOR_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var Uvc=function(a){this.options=a};Uvc.\u0275fac=function(a){return new (a||Uvc)(B(Tvc))};Uvc.\u0275dir=ed({type:Uvc,selectors:[["mat-paginator"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-paginator",!b.options.disableGmatStyle)}});var KW=function(){this.changes=new yf;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}};KW.\u0275fac=function(a){return new (a||KW)};KW.\u0275prov=Fc({token:KW,factory:KW.\u0275fac,providedIn:"root"});
var Vvc={provide:KW,deps:[[new Lu,new Mu,KW]],useFactory:function(a){return a||new KW}};var Wvc=new ld("MAT_PAGINATOR_DEFAULT_OPTIONS"),Xvc=0,LW=function(a,b,c){var d=this;this._intl=a;this._changeDetectorRef=b;this._pageSizeLabelId="mat-paginator-page-size-label-"+Xvc++;this._isInitialized=!1;this._initializedStream=new xf(1);this._length=this._pageIndex=0;this._pageSizeOptions=[];this.showFirstLastButtons=this.hidePageSize=!1;this.selectConfig={};this.disabled=!1;this.page=new bv;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,k=c.showFirstLastButtons;e!=null&&(this._pageSize=e);f!=null&&(this._pageSizeOptions=f);h!=null&&(this.hidePageSize=h);k!=null&&(this.showFirstLastButtons=k)}this._formFieldAppearance=(c==null?void 0:c.formFieldAppearance)||"outline"};g=LW.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})};
da.Object.defineProperties(LW.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 Ug(b,0)});this._updateDisplayedPageSizeOptions()}}});LW.\u0275fac=function(a){return new (a||LW)(B(KW),B(Wg),B(Wvc,8))};
LW.\u0275cmp=p({type:LW,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",Ug],length:[2,"length","length",Ug],pageSize:[2,"pageSize","pageSize",Ug],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",Tg],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",Tg],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",Tg]},outputs:{page:"page"},exportAs:["matPaginator"],
standalone:!0,features:[Mf,Fg],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",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",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",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",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",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",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&&(F(0,"div",1)(1,"div",2),C(2,M3a,5,4,"div",3),F(3,"div",4)(4,"div",5),Q(5),H(),C(6,N3a,3,5,"button",6),F(7,"button",7),O("click",function(){if(b.hasPreviousPage()){var c=
b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),Fd(),F(8,"svg",8),J(9,"path",9),H()(),zd.currentNamespace=null,F(10,"button",10),O("click",function(){return b.nextPage()}),Fd(),F(11,"svg",8),J(12,"path",11),H()(),C(13,O3a,3,5,"button",12),H()()());a&2&&(A(2),$f(b.hidePageSize?-1:2),A(3),R(" ",b._intl.getRangeLabel(b.pageIndex,b.pageSize,b.length)," "),A(),$f(b.showFirstLastButtons?6:-1),A(),E("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition",
"above")("disabled",b._previousButtonsDisabled()),Nf("aria-label",b._intl.previousPageLabel),A(3),E("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),Nf("aria-label",b._intl.nextPageLabel),A(3),$f(b.showFirstLastButtons?13:-1))},dependencies:[Jy,nM,xx,Gx,TI],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-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)}.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)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display);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 MW=function(a){this.paths=a;this.ROUTES=wp;this.children=[];this.onVisit=new xF;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};MW.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};MW.\u0275fac=function(a){return new (a||MW)(B(BP))};
MW.\u0275cmp=p({type:MW,selectors:[["b-component-children-list"]],inputs:{children:"children"},outputs:{onVisit:"onVisit"},decls:3,vars:2,consts:[["card","onedevHovercard"],[3,"length","pageSize","pageSizeOptions","page",4,"ngIf"],[1,"component-children"],[4,"ngFor","ngForOf"],[3,"page","length","pageSize","pageSizeOptions"],[1,"keep-underline","keep-focus-ring",3,"click","onedevHovercardTrigger","href"],[3,"componentId"]],template:function(a,b){a&1&&(C(0,P3a,1,3,"mat-paginator",1),F(1,"ul",2),C(2,
Q3a,6,4,"li",3),H());a&2&&(E("ngIf",b.children.length>b.pageSize),A(2),E("ngForOf",b.childrenOnPage))},dependencies:[sv,tv,xJ,DJ,JW,Uvc,LW],encapsulation:2});var NW=function(){};NW.\u0275fac=function(a){return new (a||NW)};NW.\u0275mod=cd({type:NW});NW.\u0275inj=Gc({imports:[RD,LQ]});var OW=function(){};OW.\u0275fac=function(a){return new (a||OW)};OW.\u0275mod=cd({type:OW});OW.\u0275inj=Gc({providers:[Vvc],imports:[Ix,pM,bJ,LW]});var PW=function(){};PW.\u0275fac=function(a){return new (a||PW)};PW.\u0275mod=cd({type:PW});PW.\u0275inj=Gc({providers:[Bfc],imports:[OW]});var QW=function(){};QW.\u0275fac=function(a){return new (a||QW)};QW.\u0275mod=cd({type:QW});QW.\u0275inj=Gc({imports:[RD,VL,NW,PW]});var RW=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new xF;this.onClickCopyIssueShortLinks=new xF;this.onClickCopyAsIssueSearch=new xF};RW.\u0275fac=function(a){return new (a||RW)};
RW.\u0275cmp=p({type:RW,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","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"]],template:function(a,b){if(a&1){var c=u();F(0,"b-button-group")(1,"button",1);O("click",function(){v(c);return x(b.onClickCopyIssueIds.emit())});J(2,"b-icon",2);H();F(3,"button",3);J(4,"b-icon",4);H();F(5,"mat-menu",null,0);C(7,R3a,2,1,"button",5);F(8,"button",6);O("click",function(){v(c);return x(b.onClickCopyAsIssueSearch.emit())});
Q(9," Copy as issue search ");H()()()}a&2&&(a=M(6),A(3),E("matMenuTriggerFor",a),A(4),E("ngIf",b.shouldShowCopyIssueShortLinks))},dependencies:[tv,JI,NI,LI,OI,kC,Ex,FU,OO],encapsulation:2,changeDetection:0});Hoa(Joa(Ioa(function(a){this._elementRef=a})));r(["disabled","disableRipple","color","tabIndex"]);var Yvc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var Zvc=Math.pow(2,31)-1,$vc=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new yf;this._afterOpened=new yf;this._onAction=new yf;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};g=$vc.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,Zvc))};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 awc=Eh("state",[Hh("void, hidden",Gh({transform:"scale(0.8)",opacity:0})),Hh("visible",Gh({transform:"scale(1)",opacity:1})),Jh("* => visible",Fh("150ms cubic-bezier(0, 0, 0.2, 1)")),Jh("* => void, * => hidden",Fh("75ms cubic-bezier(0.4, 0.0, 1, 1)",Gh({opacity:0})))]);var bwc=0,SW=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=Xc(vh);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new yf;this._onExit=new yf;this._onEnter=new yf;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+bwc++;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"))};V(SW,Cw);g=SW.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(qf()).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)})};SW.\u0275fac=function(a){return new (a||SW)(B(Me),B(Rd),B(Wg),B(Nv),B(Yvc))};SW.\u0275dir=ed({type:SW,viewQuery:function(a,b){a&1&&rg(Fw,7);if(a&2){var c;vg(c=wg())&&(b._portalOutlet=c.first)}},features:[Lf]});var TW=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=TW.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=Sg({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:Yvc,useValue:b}]});a=a.attach(new Aw(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
g._attach=function(a,b){var c=this,d=Object.assign({},new Yvc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var f=new $vc(b,e);if(a instanceof og)f.instance=b.attachTemplatePortal(new Bw(a,null,{$implicit:d.data,snackBarRef:f}));else{var h=this._createInjector(d,f);a=b.attachComponentPortal(new Aw(a,void 0,h));f.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Df(e._detachments)).subscribe(function(k){e.overlayElement.classList.toggle(c.handsetCssClass,
k.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 Zw;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"):ex(c);a.verticalPosition==="top"?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
g._createInjector=function(a,b){return Sg({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:$vc,useValue:b},{provide:SC,useValue:a.data}]})};da.Object.defineProperties(TW.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}}});
TW.\u0275fac=function(a){return new (a||TW)(n(hx),n(iw),n(Ne),n(cw),n(TW,12),n(X4b))};TW.\u0275prov=Fc({token:TW,factory:TW.\u0275fac});var UW=function(a,b){this.snackBarRef=a;this.data=b};UW.prototype.action=function(){this.snackBarRef.dismissWithAction()};da.Object.defineProperties(UW.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});UW.\u0275fac=function(a){return new (a||UW)(B($vc),B(SC))};
UW.\u0275cmp=p({type:UW,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],hostVars:1,hostBindings:function(a){a&2&&Nf("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&&(F(0,"span",0),Q(1),H(),C(2,S3a,3,1,"div",1));a&2&&(A(),yg(b.data.message),A(),E("ngIf",b.hasAction))},dependencies:[tv,wL],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 VW=function(){SW.apply(this,arguments)};V(VW,SW);VW.\u0275dir=SW.\u0275dir;VW.prototype._afterPortalAttached=function(){SW.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")};VW.\u0275fac=function(){var a;return function(b){return(a||(a=Od(VW)))(b||VW)}}();
VW.\u0275cmp=p({type:VW,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(a,b){a&1&&hg("@state.done",function(c){return b.onAnimationEnd(c)});a&2&&(fg("@state",b._animationState),Nf("mat-id-collision",null))},features:[Lf],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(F(0,"div",0),C(1,T3a,0,0,"ng-template",1),H(),J(2,"div"));a&2&&(A(2),Nf("aria-live",b._live)("role",b._role)("id",b._liveElementId))},
dependencies:[Fw],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}.cdk-high-contrast-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:[awc]}});var WW=function(){};WW.\u0275fac=function(a){return new (a||WW)};WW.\u0275mod=cd({type:WW});WW.\u0275inj=Gc({imports:[kx,Gw,Gv,UL,lx,lx]});var XW=function(a,b,c,d,e,f){TW.call(this,a,b,c,d,e,f);this.simpleSnackBarComponent=UW;this.snackBarContainerComponent=VW;this.handsetCssClass="mat-snack-bar-handset"};V(XW,TW);XW.\u0275fac=function(a){return new (a||XW)(n(hx),n(iw),n(Ne),n(cw),n(XW,12),n(X4b))};XW.\u0275prov=Fc({token:XW,factory:XW.\u0275fac,providedIn:WW});var cwc={duration:1E3},dwc=new ld("xap-clipboard-snackbar-options"),YW=function(a,b,c){this.clipboard=a;this.snackBar=b;this.snackBarConfig=c;this.textJob=""},ewc=function(a){var b,c,d;return ge(function(e){if(e.nextAddress==1){b=Object.assign({},cwc,a.snackBarConfig);c=a.text;if(!a.clipboard.copy(c))return a.snackBar.open("Failed to copy.",void 0,b),e.jumpTo(0);if(typeof a.textJob!=="string"&&(d=a.textJob)!=null&&d.richText){if(typeof ClipboardItem!=="undefined"){var f=new ClipboardItem({"text/html":new Blob([a.textJob.richText],
{type:"text/html"}),"text/plain":new Blob([c],{type:"text/plain"})});f=navigator.clipboard.write([f])}else f=Promise.resolve();e=ie(e,f,3)}else e=e.jumpTo(3);return e}a.snackBar.open("Copied to clipboard.",void 0,b);me(e)})};da.Object.defineProperties(YW.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}}});
YW.\u0275fac=function(a){return new (a||YW)(B(mJ),B(XW),B(dwc,8))};YW.\u0275dir=ed({type:YW,selectors:[["","xapCopyToClipboard",""]],hostBindings:function(a,b){a&1&&O("click",function(){return ewc(b)})},inputs:{textJob:[0,"xapCopyToClipboard","textJob"]},standalone:!0});var ZW=function(){};ZW.prototype.getAriaLabel=function(){return this.ariaLabel?this.ariaLabel:this.ariaLabelledBy||this.ariaDescribedBy?null:"Copy content to clipboard"};ZW.\u0275fac=function(a){return new (a||ZW)};
ZW.\u0275cmp=p({type:ZW,selectors:[["xap-copy-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("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:[Fg],decls:3,vars:7,consts:[["mat-icon-button","","type","button",3,"xapCopyToClipboard","disabled",
"color"],[1,"xap-clipboard-icon"]],template:function(a,b){a&1&&(F(0,"button",0)(1,"mat-icon",1),Q(2," content_copy "),H()());a&2&&(E("xapCopyToClipboard",b.copyText)("disabled",b.disabled)("color",b.color),Nf("tabindex",b.tabIndex)("aria-label",b.getAriaLabel())("aria-labelledby",b.ariaLabelledBy)("aria-describedby",b.ariaDescribedBy))},dependencies:[Gv,UL,wL,QD,RC,WW,YW],encapsulation:2,changeDetection:0});var $W=function(){};$W.\u0275fac=function(a){return new (a||$W)};$W.\u0275mod=cd({type:$W});$W.\u0275inj=Gc({imports:[ZW]});var aX=function(){};aX.\u0275fac=function(a){return new (a||aX)};aX.\u0275mod=cd({type:aX});aX.\u0275inj=Gc({imports:[RD,aM,RH,IU,QO,$W]});var bX=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=km(b.session)?"b/":"b-qa/"},e8a=function(a,b){a.clipboard.copy(b.join(", "));Xp(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","IDs")},f8a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));Xp(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","b/ links")},
g8a=function(a,b){b=wp.listIssues.makeHref({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+b);Xp(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent("listIssues","copyIssueId","Issue search link")};bX.\u0275fac=function(a){return new (a||bX)(n(mJ),n(as),n(CF),n(cD),n($G))};bX.\u0275prov=Fc({token:bX,factory:bX.\u0275fac,providedIn:"root"});var cX=function(a){this.trackerHelpers=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};da.Object.defineProperties(cX.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=Gr(this.trackerHelpers,a);this.componentPath=this.componentPathsLinkTo==="settings"?nq(a,uEa):nq(a)}}});cX.\u0275fac=function(a){return new (a||cX)(B(HR))};
cX.\u0275cmp=p({type:cX,selectors:[["b-component-breadcrumb"]],inputs:{componentPathsLinkTo:"componentPathsLinkTo",componentPathInfo:"componentPathInfo",isArchived:"isArchived",label:"label",openTab:"openTab"},decls:6,vars:3,consts:[["card","onedevHovercard"],["role","navigation","aria-labelledby","breadcrumb-label",1,"breadcrumb"],["id","breadcrumb-label"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],["class","breadcrumb-archived-indicator",4,"ngIf"],[1,"breadcrumb-item"],
[1,"keep-focus-ring",3,"onedevHovercardTrigger","routerLinkObj"],[3,"componentId"],[1,"breadcrumb-archived-indicator"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"p",2),Q(2),H(),F(3,"span",3),C(4,U3a,6,4,"span",4)(5,V3a,2,0,"span",5),H()());a&2&&(A(2),R("",b.label,":"),A(2),E("ngForOf",b.componentPath),A(),E("ngIf",b.isArchived))},dependencies:[sv,tv,OD,xJ,DJ,JW],encapsulation:2});var dX=function(){};dX.\u0275fac=function(a){return new (a||dX)};dX.\u0275mod=cd({type:dX});dX.\u0275inj=Gc({imports:[RD,VL,NW]});var eX=function(){this.warningChunks=[]};eX.prototype.ngOnInit=function(){var a=this.warningText,b=$3a(a,"EXTERNAL_PUBLIC")||$3a(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};eX.\u0275fac=function(a){return new (a||eX)};
eX.\u0275cmp=p({type:eX,selectors:[["b-component-move-warning-content"]],inputs:{warningText:"warningText"},decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"accessLevel"]],template:function(a,b){a&1&&(F(0,"div"),C(1,Y3a,3,2,"span",0),H());a&2&&(A(),E("ngForOf",b.warningChunks))},dependencies:[sv,tv,GQ],encapsulation:2});var Z3a=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var fX=function(a,b,c){this.data=a;this.documentationLinks=b;this.dialogRef=c;this.learnMore=T9b(this.documentationLinks);this.acknowledged=!0;this.warning=this.header="";this.isAllowed=this.setLimitViewTrusted=this.isLimitNoneIssueTrackerMove=this.isExternalMove=!1;this.callbacks={allow:function(){},cancel:function(){}};this.header=a.response.warningHeader;this.warning=a.response.warning;this.isExternalMove=a.response.isExternalMove;this.isLimitNoneIssueTrackerMove=a.isLimitNoneIssueTrackerMove;
this.setLimitViewTrusted=this.isExternalMove&&this.isLimitNoneIssueTrackerMove;this.isExternalMove&&!this.isLimitNoneIssueTrackerMove&&(this.acknowledged=!1);this.isAllowed=a.response.isAllowed;this.callbacks=a.callbacks};fX.prototype.allow=function(){var a;(a=this.dialogRef)==null||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow(this.setLimitViewTrusted)};fX.prototype.cancel=function(){var a;(a=this.dialogRef)==null||a.close();this.callbacks.cancel()};
fX.\u0275fac=function(a){return new (a||fX)(B(iH),B(bH),B(cH))};
fX.\u0275cmp=p({type:fX,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"],[4,"ngIf"],["mat-button","","mat-dialog-close","",1,"medium",3,"click"],["mat-flat-button","","cdkFocusInitial","",3,"disabled","click",4,"ngIf"],["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&&(F(0,"h1",0),Q(1),H(),F(2,"div",1)(3,"div",2),J(4,"b-component-move-warning-content",3),H(),J(5,"br"),F(6,"a",4),Q(7,"Learn more"),H(),C(8,c4a,3,2,"div",5),H(),F(9,"mat-dialog-actions")(10,"button",6),O("click",function(){return b.cancel()}),Q(11," Cancel "),H(),C(12,d4a,2,1,"button",7),H());a&2&&(A(),yg(b.header),A(3),E("warningText",b.warning),A(2),Nf("href",b.learnMore,cf),A(2),E("ngIf",b.isExternalMove&&
b.isAllowed),A(4),E("ngIf",b.isAllowed))},dependencies:[tv,dy,ly,kC,Ex,QI,RI,oJ,pJ,kH,mH,oH,nH,eX],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var gX=function(){};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275mod=cd({type:gX});gX.\u0275inj=Gc({imports:[RD,zy,RH,sQ,jM,VH,LQ]});var fwc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};fwc.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 hX=function(a,b){a.selectedId&&gwc(a,a.selectedId);a.selectedId=b;if(a=hwc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},iX=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},iwc=function(a){return!a.selectedId||a.selectedId<1?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},gwc=function(a,b){b&&(a=hwc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},hwc=function(a){return a?document.getElementById("component-"+a):null},jwc=function(a){for(a=a.target;;){if(!a)return!1;if(a.tagName==="A")return!0;a=a.parentNode}};var g4a=function(a){return{q:a}},jX=function(a,b,c,d){fwc.call(this,a,c,d);this.paths=b;this.ROUTES=wp;this.includeArchived=!1;this.childClosed=new xF;this.selectedId=null};V(jX,fwc);jX.prototype.ngOnInit=function(){};jX.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};jX.prototype.ngOnChanges=function(a){a.components&&kwc(this)};jX.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;hX(this,a);this.rootController.selectionChanged(this,a)};
var kwc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){a.selectNext()})};g=jX.prototype;
g.selectNext=function(){if(this.components)if(this.selectedId){var a=iwc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(gwc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(hX(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else hX(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
g.selectPrevious=function(){var a=iwc(this);a==0?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(hX(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};g.closeSubtree=function(){if(this.selectedId){var a=iX(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=iX(this);a&&this.showChildren(a)};g.setSelected=function(a,b){jwc(b)||(hX(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};g.toggleChildrenForSelectedId=function(){var a=iX(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};jX.\u0275fac=function(a){return new (a||jX)(B(PV),B(BP),B(eD),B(yF,2))};
jX.\u0275cmp=p({type:jX,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Dg([yF]),Lf,rd],decls:2,vars:1,consts:[[1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],
[1,"component-tree-toggle"],["matTooltip","Show child components",3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],
["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip","Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"childClosed",
"components","parentComponent","rootController","includeArchived"]],template:function(a,b){a&1&&(F(0,"ol",0),C(1,o4a,19,13,"li",1),H());a&2&&(A(),E("ngForOf",b.components))},dependencies:[sv,tv,RC,KI,TI,kC,Fx,pQ,GQ,KR,jX],encapsulation:2});var r4a=function(a){return{q:a}},kX=function(a,b,c,d,e,f){fwc.call(this,a,d,f);this.paths=b;this.ROUTES=wp;this.selectedId=null;this.includeArchived=!1;this.init=new xF;this.subscriptions=new Yd;this.destroyed$=new xf(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};V(kX,fwc);g=kX.prototype;g.ngOnInit=function(){var a=this;this.rootController=this;Ie(0).pipe(Df(this.destroyed$)).subscribe(function(){lwc(a)&&!a.selectedId&&hX(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&&mwc(this)};g.onSubtreeChildClosed=function(a){var b=this;hX(this,a);this.focusedController=void 0;Ie(0).pipe(Df(this.destroyed$)).subscribe(function(){lX(b)})};g.fireSelectionEvent=function(a){var b=hwc(a);b&&b.click();lX(this,a)};var mwc=function(a){Ie(0).pipe(Df(a.destroyed$)).subscribe(function(){lwc(a)&&!a.selectedId&&hX(a,a.components[0].componentId)})};
g=kX.prototype;g.selectionChanged=function(a,b){b&&lX(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&gwc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};g.setSelected=function(a,b){jwc(b)||(hX(this,a),this.selectionChanged(null),lX(this),b.preventDefault(),b.stopPropagation())};
g.registerKeys=function(a){var b=this;this.subscriptions.add(aJ(a,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){b.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){b.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){b.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",description:"Close the components children",
onPress:function(){b.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){b.toggleChildrenForSelectedId()}}]}))};g.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=iX(this);a&&this.showChildren(a)}};
g.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=iX(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};g.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(iX(this).showChildren=!1,this.cdr.detectChanges())};
g.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=iwc(this);lwc(this)&&a>=1&&(hX(this,this.components[a-1].componentId),lX(this))}};
g.selectNext=function(){if(lwc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=iwc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(gwc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(hX(this,this.components[a+1].componentId),lX(this))}else hX(this,this.components[0].componentId),lX(this)};
var lX=function(a,b){var c=nwc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=hwc(b||a.selectedId)){b=nwc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},nwc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},lwc=function(a){return!!(a.components&&a.components.length>0)};kX.\u0275fac=function(a){return new (a||kX)(B(PV),B(BP),B($I),B(eD),B(Rd),B(yF,2))};
kX.\u0275cmp=p({type:kX,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Dg([yF]),Lf,rd],decls:2,vars:1,consts:[["role","tree",1,"components-list"],["tabindex","-1","role","treeitem","aria-selected","false",3,"id","click",4,"ngFor","ngForOf"],["tabindex","-1","role","treeitem","aria-selected","false",3,"click","id"],[1,"component-row"],[1,"selected-indicator"],[1,"component-tree-toggle"],["matTooltip","Show child components",
3,"click",4,"ngIf"],["matTooltip","Hide child components",3,"click",4,"ngIf"],[1,"component-info"],[1,"component-name",3,"href"],[3,"href",4,"ngIf"],[4,"ngIf"],[3,"accessLevel"],[3,"trackerId"],[1,"component-description"],[1,"component-buttons"],["mat-raised-button","","color","primary",3,"href",4,"ngIf"],["class","child-component-list","role","group","aria-expanded","true",4,"ngIf"],["matTooltip","Show child components",3,"click"],["svgIcon","arrow-dropdown",2,"transform","rotate(-90deg)"],["matTooltip",
"Hide child components",3,"click"],["svgIcon","arrow-dropdown"],[3,"href"],["mat-raised-button","","color","primary",3,"href"],["role","group","aria-expanded","true",1,"child-component-list"],["class","component-no-children",4,"ngIf"],["class","bv2-view-loading",4,"ngIf"],[3,"components","parentComponent","rootController","includeArchived","childClosed",4,"ngIf"],[1,"component-no-children"],[1,"bv2-view-loading"],[3,"childClosed","components","parentComponent","rootController","includeArchived"]],
template:function(a,b){a&1&&(F(0,"ol",0),C(1,z4a,19,12,"li",1),H());a&2&&(A(),E("ngForOf",b.components))},dependencies:[sv,tv,RC,KI,TI,kC,Fx,pQ,GQ,KR,jX],encapsulation:2});var mX=function(){};mX.\u0275fac=function(a){return new (a||mX)};mX.\u0275mod=cd({type:mX});mX.\u0275inj=Gc({imports:[RD,bM,RH,rQ,LQ,oT]});var nX=function(a){this.analytics=a;this.config=Object.assign({},new AJ,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};nX.prototype.ngOnInit=function(){};nX.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","changelistChip")};nX.\u0275fac=function(a){return new (a||nX)(B(CF))};
nX.\u0275cmp=p({type:nX,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=u();F(0,"a",2);O("click",function(){v(c);return x(b.trackClick())});
Q(1);F(2,"span",3);Q(3,"CL");H()();F(4,"onedev-hovercard",null,0);C(6,A4a,2,2,"b-changelist-card",4);H()}a&2&&(a=M(5),E("href","http://critique.corp.google.com/"+b.changelistId,cf)("onedevHovercardTrigger",a)("onedevHovercardConfig",b.config),Nf("aria-label","Changelist "+b.changelistId),A(),R(" ",b.changelistId," "))},dependencies:[xJ,yJ,DJ,zJ,AQ],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 oX=function(a,b){this.activeSession=a;this.analytics=b;this.gerritUrl="";this.isInternal=this.activeSession.getFrontendAccessMode()==="INTERNAL"};oX.prototype.ngOnInit=function(){};oX.prototype.ngOnChanges=function(a){a.change&&(this.gerritUrl=Hra(this.change,this.isInternal))};oX.prototype.trackClick=function(){this.analytics.trackEvent("editIssue","click","gerritChangesChip")};oX.\u0275fac=function(a){return new (a||oX)(B(as),B(CF))};
oX.\u0275cmp=p({type:oX,selectors:[["b-gerrit-change-chip"]],inputs:{change:[0,"gerritChange","change"]},features:[rd],decls:5,vars:8,consts:[["target","_blank",1,"bv2-metadata-link",3,"click","href"],[1,"suffix"]],template:function(a,b){a&1&&(F(0,"a",0),O("click",function(){return b.trackClick()}),Q(1),F(2,"span",1),Q(3),T(4,"titlecase"),H()());a&2&&(Qf("aria-label","",b.change.host," ",b.change.changeNumber,""),E("href",b.gerritUrl,cf),A(),R(" ",b.change.changeNumber," "),A(2),yg(U(4,6,b.change.host)))},
dependencies:[Av],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 pX=function(a){this.activeSession=a;this.gerritChange=this.changelist=void 0;this.enableGerritChanges=ep(this.activeSession,"enableGerritChanges")};pX.prototype.ngOnInit=function(){};pX.prototype.ngOnChanges=function(a){a.codeChange&&((a=Hi(this.codeChange))?(this.changelist=void 0,this.gerritChange=a):(this.gerritChange=void 0,this.changelist=Number(this.codeChange)))};pX.\u0275fac=function(a){return new (a||pX)(B(as))};
pX.\u0275cmp=p({type:pX,selectors:[["b-code-change-chip"]],inputs:{codeChange:"codeChange"},features:[rd],decls:2,vars:1,consts:[[3,"changelistId"],[3,"gerritChange"]],template:function(a,b){a&1&&C(0,B4a,1,1,"b-changelist-chip",0)(1,C4a,1,1,"b-gerrit-change-chip",1);a&2&&$f(b.changelist?0:b.enableGerritChanges&&b.gerritChange?1:-1)},dependencies:[nX,oX],encapsulation:2});var qX=function(){};qX.\u0275fac=function(a){return new (a||qX)};qX.\u0275mod=cd({type:qX});qX.\u0275inj=Gc({imports:[RD,VL,BQ]});var rX=function(a,b){Y.call(this);var c=this;this.dialogRef=a;this.data=b;this.searchQuery$=new yf;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(pf(300),sf(),z(function(d){if(d.trim()!==""){var e=d.toLowerCase();
return c.data.allowedValues.filter(function(f){return Ga(f.toLowerCase(),e)})}return owc(c)}))};V(rX,Y);rX.\u0275dir=Y.\u0275dir;var owc=function(a){var b=a.data.allowedValues.filter(function(c){return!a.originalSelectedValues.has(c)});return[].concat(r(a.originalSelectedValues),r(b))};
rX.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=$qa(this.originalSelectedValues,this.selectedValues);this.hasPendingChanges=!!a;var c=l(E4a(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};var pwc=function(a){a.dialogRef.close(a.usePreviousSelectedValues?a.previousSelectedValues:a.selectedValues)};
rX.prototype.closeDialog=function(){this.dialogRef.close()};rX.\u0275fac=function(a){return new (a||rX)(B(cH),B(iH))};
rX.\u0275cmp=p({type:rX,selectors:[["b-custom-repeated-enum-dialog"]],hostBindings:function(a,b){a&1&&O("keydown.meta.enter",function(){return pwc(b)})("keydown.shift.enter",function(){return pwc(b)})("keydown.control.enter",function(){return pwc(b)})},features:[Lf],decls:17,vars:11,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"],[4,"ngFor","ngForOf"],["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=u();F(0,"header",2)(1,"h2");Q(2);H();F(3,"div",3);J(4,"mat-icon",4);F(5,
"input",5,0);O("click",function(){v(c);var e=M(6);b.searchQuery$.next(e.value);return x()})("input",function(){v(c);var e=M(6);b.searchQuery$.next(e.value);return x()});H()()();F(7,"section",6,1)(9,"mat-selection-list",7);O("selectionChange",function(e){v(c);return x(b.changeSelection(e))})("keydown.meta.enter",function(){v(c);return x(b.usePreviousSelectedValues=!0)})("keydown.shift.enter",function(){v(c);return x(b.usePreviousSelectedValues=!0)})("keydown.control.enter",function(){v(c);return x(b.usePreviousSelectedValues=
!0)});C(10,D4a,3,5,"ng-container",8);T(11,"async");H()();F(12,"mat-dialog-actions")(13,"button",9);O("click",function(){v(c);return x(b.closeDialog())});Q(14," Cancel ");H();F(15,"button",10);O("click",function(){v(c);return x(pwc(b))});Q(16);H()()}if(a&2){var d;A(2);R("Search for ",b.data.customFieldTitle,"");A(3);E("placeholder","Type to filter "+b.data.customFieldTitle+" values");Nf("aria-label","Filter "+b.data.customFieldTitle+" values");A(5);E("ngForOf",(d=U(11,9,b.matchedValues$))!==null&&
d!==void 0?d:owc(b));A(5);E("mat-dialog-close",!0)("matTooltip",b.saveBtnTooltip)("disabled",!b.hasPendingChanges);Nf("aria-label",b.saveBtnTooltip);A();R(" ",b.saveBtnLabel," ")}},dependencies:[sv,RC,kC,Ex,kH,mH,oH,nH,GP,PP,OP,KI,TI,yv],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 sX=function(a){this.dialog=a;this.dialogRef=null};sX.prototype.open=function(a){var b=this,c,d;return ge(function(e){if(e.nextAddress==1)return c={panelClass:"no-jitter",data:a,ariaLabel:"Custom repeated enum dialog"},b.dialogRef=b.dialog.open(rX,c),ie(e,se(dH(b.dialogRef)),2);d=e.yieldResult;return e.return(Promise.resolve(d))})};sX.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};sX.\u0275fac=function(a){return new (a||sX)(n(jH))};
sX.\u0275prov=Fc({token:sX,factory:sX.\u0275fac,providedIn:"root"});var tX=function(){};tX.\u0275fac=function(a){return new (a||tX)};tX.\u0275mod=cd({type:tX});tX.\u0275inj=Gc({imports:[RD,zy,RH,VH,mR,bM]});var uX=function(){var a=this;this.showPlaceholder=!1;this.customFieldTitle="";this.allowMultiSelect=!1;this.selectedValues=[];this.allowedValues=[];this.disabled=!1;this.onValueChange=new xF;this.onApplyChanges=new xF;this.onCancelChanges=new xF;this.searchQuery$=new yf;this.hasPendingChanges=!1;this.selectedValuesMap={};this.oldSelectedValuesMap={};this.suggestedValues$=this.searchQuery$.pipe(pf(300),sf(),z(function(b){var c=b.toLowerCase();return a.allowedValues.filter(function(d){return Ga(d.toLowerCase(),
c)})}))};g=uX.prototype;g.ngOnInit=function(){nea(this.selectedValuesMap);for(var a=l(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.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=!ci(this.oldSelectedValuesMap,this.selectedValuesMap)};g.toggleSelection=function(a){this.selectedValuesMap[a]=!this.selectedValuesMap[a];this.handleSelectionChange()};
var I4a=function(a,b){a.allowMultiSelect?(b=Object.keys(qc(a.selectedValuesMap,function(c){return c})),a.onApplyChanges.emit(b)):a.onValueChange.emit(b==null?void 0:b.option.value)};uX.prototype.cancel=function(){this.onCancelChanges.emit()};uX.\u0275fac=function(a){return new (a||uX)};
uX.\u0275cmp=p({type:uX,selectors:[["b-custom-repeated-enum-picker"]],viewQuery:function(a,b){a&1&&rg(gR,7);if(a&2){var c;vg(c=wg())&&(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:7,vars:10,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"],["class","custom-repeated-enum-search-result",3,"value",4,"ngFor","ngForOf"],["class","action-buttons",4,"ngIf"],[1,"custom-repeated-enum-search-result",3,
"value"],[3,"checked","click","change",4,"ngIf"],["class","custom-repeated-enum-suggestion",4,"ngIf"],[3,"click","change","checked"],[1,"custom-repeated-enum-suggestion"],[1,"action-buttons"],["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=u();F(0,"input",
2,0);O("click",function(){v(c);var e=M(1);return x(b.search(e.value))})("input",function(){v(c);var e=M(1);return x(b.search(e.value))})("keydown.space",function(e){v(c);return x(b.onSpace(e))});H();F(2,"mat-autocomplete",3,1);O("optionSelected",function(e){v(c);return x(I4a(b,e))});C(4,H4a,3,3,"mat-option",4);T(5,"async");H();C(6,J4a,5,5,"div",5)}if(a&2){var d;a=M(3);E("placeholder",b.showPlaceholder?"Select "+b.customFieldTitle:"")("ngModel",b.currentInputValue)("disabled",b.disabled)("matAutocomplete",
a);Nf("aria-disabled",b.disabled);A(2);E("hideSingleSelectionIndicator",!0);A(2);E("ngForOf",(d=U(5,8,b.suggestedValues$))!==null&&d!==void 0?d:b.currentInputValue?[]:b.allowedValues);A(2);E("ngIf",b.allowMultiSelect)}},dependencies:[sv,tv,RC,eR,fR,xx,gR,Bh,dy,ly,kC,Ex,oJ,pJ,yv],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 vX=function(){};vX.\u0275fac=function(a){return new (a||vX)};vX.\u0275mod=cd({type:vX});vX.\u0275inj=Gc({imports:[RD,iR,zy,RH,jM]});var qwc=0,wX=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+qwc;this.id="b-collapsible-panel-"+qwc;qwc++};wX.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
da.Object.defineProperties(wX.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"}}});wX.\u0275fac=function(a){return new (a||wX)(B(Rd))};
wX.\u0275cmp=p({type:wX,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","class","icon",3,"name",4,"ngIf"],["class","title",4,"ngIf"],
["class","horizontal-line",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["role","region",1,"content"],["size","small",1,"icon",3,"name"],[1,"title"],[1,"horizontal-line"]],template:function(a,b){a&1&&(ig(),F(0,"div",0)(1,"button",1),O("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),C(2,K4a,1,1,"b-icon",2)(3,L4a,2,1,"span",3)(4,M4a,2,0,"div",4),J(5,"mat-icon",5),H(),F(6,"div",6),jg(7),H()());a&2&&(A(),Wf("compact",
b.hasCompactTitleBar),Nf("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),A(),E("ngIf",b.iconName),A(),E("ngIf",!b.hasCompactTitleBar||!b.isExpanded),A(),E("ngIf",b.hasCompactTitleBar),A(),E("@expandCollapseIcon",b.expandedState),A(),E("@expandCollapseContent",b.expandedState),Nf("id",b.id)("aria-labelledby",b.headerId))},dependencies:[tv,RC,OO],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:[Eh("expandCollapseContent",[Hh("expanded",Gh({height:"*",visibility:"visible"})),Hh("collapsed",Gh({height:"0",visibility:"hidden"})),Jh("expanded <=> collapsed",[Fh("200ms")])]),Eh("expandCollapseIcon",[Hh("expanded",Gh({transform:"rotate(-180deg)"})),Hh("collapsed",Gh({transform:"*"})),Jh("expanded <=> collapsed",[Fh("200ms")])])]}});var xX=function(){};xX.\u0275fac=function(a){return new (a||xX)};xX.\u0275mod=cd({type:xX});xX.\u0275inj=Gc({imports:[RD,QO]});var rwc=new ld("CDK_DRAG_CONFIG");var swc=new ld("CDK_DRAG_PARENT");var twc=new ld("CdkDragHandle"),yX=function(a,b){this.element=a;this._parentDrag=b;this._stateChanges=new yf;this._disabled=!1;b==null||b._addHandle(this)};yX.prototype.ngOnDestroy=function(){var a;(a=this._parentDrag)==null||a._removeHandle(this);this._stateChanges.complete()};da.Object.defineProperties(yX.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=a;this._stateChanges.next(this)}}});
yX.\u0275fac=function(a){return new (a||yX)(B(Rd),B(swc,12))};yX.\u0275dir=ed({type:yX,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",Tg]},standalone:!0,features:[Dg([{provide:twc,useExisting:yX}]),Mf]});var uwc=kh({passive:!1,capture:!0}),vwc=new Set,wwc=function(){};wwc.\u0275fac=function(a){return new (a||wwc)};wwc.\u0275cmp=p({type:wwc,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[Fg],decls:0,vars:0,template:function(){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"],encapsulation:2,changeDetection:0});
var zX=function(a,b){var c=this;this._ngZone=a;this._appRef=Xc(hv);this._environmentInjector=Xc(Ku);this._dropInstances=new Set;this._dragInstances=new Set;this._activeDragInstances=xg([]);this._globalListeners=new Map;this._draggingPredicate=function(d){return d.isDragging()};this.pointerMove=new yf;this.pointerUp=new yf;this.scroll=new yf;this._preventDefaultWhileDragging=function(d){c._activeDragInstances().length>0&&d.preventDefault()};this._persistentTouchmoveListener=function(d){c._activeDragInstances().length>
0&&(c._activeDragInstances().some(c._draggingPredicate)&&d.preventDefault(),c.pointerMove.next(d))};this._document=b},xwc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},ywc=function(a,b){a._dragInstances.add(b);a._dragInstances.size===1&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,uwc)})},Awc=function(a,b){a._dragInstances.delete(b);zwc(a,b);a._dragInstances.size===0&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
uwc)};
zX.prototype.startDragging=function(a,b){var c=this;this._activeDragInstances().indexOf(a)>-1||(this._loadResets(),this._activeDragInstances.update(function(d){return[].concat(r(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:uwc}),
b||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},options:uwc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var zwc=function(a,b){a._activeDragInstances.update(function(c){var d=c.indexOf(b);return d>-1?(c.splice(d,1),[].concat(r(c))):c});a._activeDragInstances().length===0&&a._clearGlobalListeners()};g=zX.prototype;
g.isDragging=function(a){return this._activeDragInstances().indexOf(a)>-1};g.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new ce(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 Ge.apply(null,r(c))};
g.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return Awc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};g._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};
g._loadResets=function(){var a=this;if(!vwc.has(this._appRef)){vwc.add(this._appRef);var b=xma(wwc,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(function(){vwc.delete(a._appRef);vwc.size===0&&b.destroy()})}};zX.\u0275fac=function(a){return new (a||zX)(n(Me),n(vh))};zX.\u0275prov=Fc({token:zX,factory:zX.\u0275fac,providedIn:"root"});var R4a=0;var Bwc=function(a){this._document=a;this.positions=new Map};Bwc.prototype.clear=function(){this.positions.clear()};Bwc.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:S4a(c)})})};
var Cwc=function(a,b){var c=nh(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(k,q){k.clientRect&&c!==q&&c.contains(q)&&oq(k.clientRect,f,h)});b.top=e;b.left=d;return{top:f,left:h}};Bwc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var Dwc=new Set(["position"]),Ewc=function(a,b,c,d,e,f,h,k,q){this._document=a;this._rootElement=b;this._direction=c;this._initialDomRect=d;this._previewTemplate=e;this._previewClass=f;this._pickupPositionOnPage=h;this._initialTransform=k;this._zIndex=q};g=Ewc.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=V4a(c,this._document);this._previewEmbeddedView=c;a.matchSize?a5a(e,d):e.style.transform=$4a(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=Q4a(this._rootElement),a5a(e,this._initialDomRect),this._initialTransform&&(e.style.transform=this._initialTransform);
W4a(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},Dwc);pq(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};da.Object.defineProperties(Ewc.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this._preview}}});var Fwc=kh({passive:!0}),Gwc=kh({passive:!1}),Hwc=kh({passive:!1,capture:!0}),X4a=new Set(["position"]),Kwc=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=xg(!1);this._moveEvents=new yf;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=Yd.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 yf;this.started=new yf;this.released=new yf;this.ended=new yf;this.entered=new yf;this.exited=new yf;this.dropped=new yf;this.moved=this._moveEvents;this._pointerDown=function(k){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,k)}else h.disabled||h._initializeDragSequence(h._rootElement,
k)};this._pointerMove=function(k){var q=h._getPointerPositionOnPage(k);if(h._hasStartedDragging()){k.cancelable&&k.preventDefault();var t=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(t);if(h._dropContainer)h._updateActiveDropContainer(t,q);else{q=h.constrainPosition?h._initialDomRect:h._pickupPositionOnPage;var w=h._activeTransform;w.x=t.x-q.x+h._passiveTransform.x;w.y=t.y-q.y+h._passiveTransform.y;h._applyRootElementTransform(w.x,
w.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:t,event:k,distance:h._getDragDistance(t),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(k),w=h._dropContainer,q)?w&&(w.isDragging()||w._activeSiblings.size>0)||(k.cancelable&&k.preventDefault(),h._hasStartedDragging.set(!0),h._ngZone.run(function(){return h._startDragSequence(k)})):
h._endDragSequence(k))};this._pointerUp=function(k){h._endDragSequence(k)};this._nativeDragStart=function(k){if(h._handles.length){var q=h._getTargetHandle(k);!q||h._disabledHandles.has(q)||h.disabled||k.preventDefault()}else h.disabled||k.preventDefault()};Iwc(Jwc(this,a),b.parentDragRef||null);this._parentPositions=new Bwc(c);ywc(f,this)};Kwc.prototype.getPlaceholderElement=function(){return this._placeholder};Kwc.prototype.getRootElement=function(){return this._rootElement};
var Lwc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},Mwc=function(a,b){a._handles=b.map(function(d){return sh(d)});a._handles.forEach(function(d){return pq(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},Jwc=function(a,b){var c=sh(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,Gwc);c.addEventListener("touchstart",a._pointerDown,Fwc);c.addEventListener("dragstart",a._nativeDragStart,Gwc)}),a._initialTransform=void 0,a._rootElement=c);typeof SVGElement!=="undefined"&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},Nwc=function(a,b){a._boundaryElement=b?sh(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},Iwc=function(a,b){a._parentDragRef=b};g=Kwc.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();Awc(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",e5a,Hwc)};
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(),zwc(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();
zwc(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();zwc(this._dragDropRegistry,this)}};
g._startDragSequence=function(a){qq(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._getShadowRoot(),c=this._dropContainer;b&&this._ngZone.runOutsideAngular(function(){b.addEventListener("selectstart",e5a,Hwc)});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 Ewc(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));Y4a(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=qq(b),f=!e&&b.button!==0,h=this._rootElement,k=nh(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?moa(b):loa(b);k&&k.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(t){return c._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=S4a(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;Y4a(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=d5a(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&&nh(h)===a._preview.element&&h.propertyName==="transform"){var k;(k=a._preview)==null||k.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=V4a(this._placeholderRef,this._document)):a=Q4a(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=qq(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=qq(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,pq(this._rootElement,a))}};g._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,Gwc);a.removeEventListener("touchstart",this._pointerDown,Fwc);a.removeEventListener("dragstart",this._nativeDragStart,Gwc)};
g._applyRootElementTransform=function(a,b){var c=1/this.scale;a=$4a(a*c,b*c);b=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=b.transform&&b.transform!="none"?b.transform:"");b.transform=Z4a(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(Z4a($4a(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,k=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),k>0&&(a-=k)):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:qq(a)?b.touch:b?b.mouse:0};
g._updateOnScroll=function(a){var b=Cwc(this._parentPositions,a);b&&(a=nh(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&oq(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=Yna(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):sh(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))})};da.Object.defineProperties(Kwc.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 pq(b,a)}))}}});var Owc=function(a,b){this._document=a;this._dragDropRegistry=b;this._previousSwap={drag:null,deltaX:0,deltaY:0,overlaps:!1};this._relatedNodes=[]};g=Owc.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 k=this.getItemIndex(a),q=a.getPlaceholderElement();a=h.getRootElement();e>k?a.after(q):a.before(q);rq(this._activeItems,k,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:k,
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=l(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=Yna(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 Pwc=function(a){this._dragDropRegistry=a;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};g=Pwc.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",k=e.findIndex(function(I){return I.drag===a}),q=e[f],t=q.clientRect,w=k>f?1:-1,y=this._getItemOffsetPx(e[k].clientRect,t,w),D=this._getSiblingOffsetPx(k,e,w),G=e.slice();rq(e,k,f);e.forEach(function(I,N){if(G[N]!==I){var S=I.drag===a;N=S?y:D;S=S?a.getPlaceholderElement():I.drag.getRootElement();I.offset+=N;var W=Math.round(1/I.drag.scale*
I.offset);h?(S.style.transform=Z4a("translate3d("+W+"px, 0, 0)",I.initialTransform),oq(I.clientRect,0,N)):(S.style.transform=Z4a("translate3d(0, "+W+"px, 0)",I.initialTransform),oq(I.clientRect,N,0))}});this._previousSwap.overlaps=T4a(t,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:k,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(),k=e[d];k===a&&(k=e[d+1]);!k&&(d==null||d===-1||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(k=e[0]);f>-1&&e.splice(f,1);k&&!this._dragDropRegistry.isDragging(k)?(b=k.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){oq(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=Lwc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:S4a(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(k){var q=k.drag;k=k.clientRect;if(q===a)return!1;if(d){var t=f?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&t===e._previousSwap.delta)return!1}return f?b>=Math.floor(k.left)&&b<Math.floor(k.right):c>=Math.floor(k.top)&&c<Math.floor(k.bottom)});return h!==-1&&this._sortPredicate(h,a)?h:-1};var Rwc=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 yf;this.entered=new yf;this.exited=new yf;this.dropped=new yf;this.sorted=new yf;this.receivingStarted=new yf;this.receivingStopped=new yf;this._isDragging=!1;this._draggables=[];this._siblings=[];this._activeSiblings=
new Set;this._viewportScrollSubscription=Yd.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new yf;this._cachedShadowRoot=null;this._scrollableElements=[];this._direction="ltr";this._startScrollInterval=function(){f._stopScrolling();Jha(0,VUb).pipe(Df(f._stopScrollTimers)).subscribe(function(){var h=f._scrollNode,k=f.autoScrollStep;f._verticalScrollDirection===1?h.scrollBy(0,-k):f._verticalScrollDirection===2&&h.scrollBy(0,k);f._horizontalScrollDirection===
1?h.scrollBy(-k,0):f._horizontalScrollDirection===2&&h.scrollBy(k,0)})};a=this.element=sh(a);this._document=c;Qwc(this,"vertical").withElementContainer(a);xwc(b,this);this._parentPositions=new Bwc(c)};g=Rwc.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,k){k=k===void 0?{}:k;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:f,dropPoint:h,event:k})};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 Pwc&&(this._sortStrategy.direction=a);return this};g.connectedTo=function(a){this._siblings=a.slice();return this};
var Qwc=function(a,b){if(b==="mixed")a._sortStrategy=new Owc(a._document,a._dragDropRegistry);else{var c=new Pwc(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},Swc=function(a,b){var c=a._container;a._scrollableElements=b.indexOf(c)===-1?[c].concat(r(b)):b.slice()};g=Rwc.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&&U4a(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,t){if(t!==c._document&&q.clientRect&&!k&&U4a(q.clientRect,a,b)){var w=q.clientRect;q=f5a(w,b);w=g5a(w,a);var y=0,D=0;if(q){var G=t.scrollTop;q===1?G>0&&(y=1):t.scrollHeight-G>t.clientHeight&&(y=2)}w&&(q=t.scrollLeft,c._direction==="rtl"?w===2?q<0&&(D=2):t.scrollWidth+q>t.clientWidth&&(D=1):w===1?q>0&&(D=1):t.scrollWidth-q>t.clientWidth&&(D=2));q=l([y,D]);
d=q.next().value;e=q.next().value;if(d||e)k=t}});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=f5a(h,b);e=g5a(h,a);var k=window}!k||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&k===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=k,(d||e)&&k?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&&T4a(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&&T4a(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=Cwc(a._parentPositions,b))&&a._sortStrategy.updateOnScroll(b.top,b.left):a._activeSiblings.size>0&&a._cacheParentPositions()})};g._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=Yna(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 Twc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},AX=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};AX.prototype.createDrag=function(a,b){b=b===void 0?Twc:b;return new Kwc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};AX.\u0275fac=function(a){return new (a||AX)(n(vh),n(Me),n(Vw),n(zX))};AX.\u0275prov=Fc({token:AX,factory:AX.\u0275fac,providedIn:"root"});var Uwc=new ld("CdkDropList"),BX=function(a,b,c,d,e,f,h,k,q,t,w){var y=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=t;this._parentDrag=w;this._destroyed=new yf;this._handles=new rn([]);this.scale=1;this.started=new bv;this.released=new bv;this.ended=new bv;this.entered=new bv;this.exited=new bv;this.dropped=new bv;this.moved=new ce(function(D){var G=y._dragRef.moved.pipe(z(function(I){return{source:y,pointerPosition:I.pointerPosition,
event:I.event,delta:I.delta,distance:I.distance}})).subscribe(D);return function(){G.unsubscribe()}});this._injector=Xc(Ne);this._dragRef=k.createDrag(a,{dragStartThreshold:f&&f.dragStartThreshold!=null?f.dragStartThreshold:5,pointerDirectionChangeThreshold:f&&f.pointerDirectionChangeThreshold!=null?f.pointerDirectionChangeThreshold:5,zIndex:f==null?void 0:f.zIndex});this._dragRef.data=this;Vwc.push(this);f&&this._assignDefaults(f);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this),
b._dropListRef.beforeStarted.pipe(Df(this._destroyed)).subscribe(function(){y._dragRef.scale=y.scale}));this._syncInputs(this._dragRef);this._handleEvents(this._dragRef)};g=BX.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;Pe(function(){a._updateRootElement();a._setupHandlesListener();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();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
g.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=Vwc.indexOf(this);b>-1&&Vwc.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)}Jwc(this._dragRef,b||a)};g._getBoundaryElement=function(){var a=this.boundaryElement;return a?typeof a==="string"?this.element.nativeElement.closest(a):sh(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:th(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=Nwc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=f;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(qf()).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;Iwc(a,((d=Vwc.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,k=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);k&&(this.rootElementSelector=k);a&&(this.previewContainer=a)};
g._setupHandlesListener=function(){var a=this;this._handles.pipe(Ef(function(b){b=b.map(function(c){return c.element});a._selfHandle&&a.rootElementSelector&&b.push(a.element);Mwc(a._dragRef,b)}),Cf(function(b){return Ge.apply(null,r(b.map(function(c){return c._stateChanges.pipe(Bf(c))})))}),Df(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),pq(d,!0)):c._disabledHandles.has(d)&&
(c._disabledHandles.delete(d),pq(d,c.disabled))})};da.Object.defineProperties(BX.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 Vwc=[];BX.\u0275fac=function(a){return new (a||BX)(B(Rd),B(Uwc,12),B(vh),B(Me),B(pg),B(rwc,8),B(Hw,8),B(AX),B(Wg),B(twc,10),B(swc,12))};
BX.\u0275dir=ed({type:BX,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&Wf("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",Tg],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",Ug]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,
features:[Dg([{provide:swc,useExisting:BX}]),Mf,rd]});var Wwc=new ld("CdkDropListGroup");var Xwc=0,CX=function(a,b,c,d,e,f,h){var k=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=f;this._destroyed=new yf;this.connectedTo=[];this.id="cdk-drop-list-"+Xwc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new bv;this.entered=new bv;this.exited=new bv;this.sorted=new bv;this._unsortedItems=new Set;this._dropListRef=new Rwc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,t){return k.enterPredicate(q.data,t.data)};this._dropListRef.sortPredicate=function(q,t,w){return k.sortPredicate(q,t.data,w.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);Ywc.push(this);f&&f._items.add(this)};CX.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
CX.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var Zwc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return Lwc(b._dragRef).compareDocumentPosition(Lwc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};g=CX.prototype;
g.ngOnDestroy=function(){var a=Ywc.indexOf(this);a>-1&&Ywc.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(Bf(this._dir.value),Df(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=ph(b.connectedTo).map(function(e){return typeof e==="string"?Ywc.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=qXb(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
Swc(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=th(b.autoScrollStep,2);Qwc(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()});Ge(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(Zwc(this).map(function(a){return a._dragRef}))};
da.Object.defineProperties(CX.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 Ywc=[];CX.\u0275fac=function(a){return new (a||CX)(B(Rd),B(AX),B(Wg),B(Rw),B(Hw,8),B(Wwc,12),B(rwc,8))};
CX.\u0275dir=ed({type:CX,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(Nf("id",b.id),Wf("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",Tg],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",Tg],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",Tg],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",
entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Dg([{provide:Wwc,useValue:void 0},{provide:Uwc,useExisting:CX}]),Mf]});new ld("CdkDragPlaceholder");new ld("CdkDragPreview");var DX=function(){};DX.\u0275fac=function(a){return new (a||DX)};DX.\u0275mod=cd({type:DX});DX.\u0275inj=Gc({providers:[AX],imports:[Ww]});var $wc=["addLink"],axc=["showFewer"],bxc=["showMore"],cxc=["editButton"],dxc=["removeButton"],exc=[[["",8,"title-action"]],[["",8,"value-action"]]],fxc=function(a,b,c){return{"bv2-issue-metadata-list-field":a,"bv2-issue-metadata-field":b,"internal-only":c}},l5a=function(a,b){return{item:a,$index:b}},J5a=function(a){return{q:a}},S5a=function(a){return{"disabled-icon":a}},gxc=[Object.assign({},vq("start","bottom"),wq("start","top"),{offsetY:8}),Object.assign({},vq("center","bottom"),wq("center","top"),
{offsetY:8}),Object.assign({},vq("end","bottom"),wq("end","top"),{offsetY:8}),Object.assign({},vq("start","top"),wq("start","bottom"),{offsetY:-8}),Object.assign({},vq("end","top"),wq("end","bottom"),{offsetY:-8})],EX=function(a,b,c,d,e,f,h,k){Y.call(this);var q=this;this.cdr=a;this.dateFormatter=b;this.analytics=c;this.liveAnnouncer=d;this.principalTypesFridge=e;this.issuePermissionService=f;this.customRepeatedEnumDialogService=k;this.OVERLAY_POSITION_LIST=gxc;this.defaultLineCount=Number.POSITIVE_INFINITY;
this.isDefaultOrAllowedValues=this.preventDuplicates=this.readonly=!1;this.values=null;this.providedValues$=new xf(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 xF;this.showingAll=this.listFieldDisabled=!1;this.tooltip=this.title="";this.isExpanded=this.isCollapsible=this.truncate=!1;this.collapsiblePanelTitle=this.iconName="";this.customFieldId=0;this.inputValidator=
null;this.toggleAccessLimits=new xF;this.teamId=this.invalidMessage="";this.isString=ei;this.groups$=this.providedValues$.pipe(Cf(function(t){return hxc(q,t)}),Bf(new Set));this.focusOnTitle=!1;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.enableTeamAnnotations=h.isInternalSession();this.environmentType=h.getEnvironmentType();this.enableNewCustomRepeatedEnumUi=ep(h,"enableNewCustomRepeatedEnumUi");this.enableGerritChanges=ep(h,"enableGerritChanges")};V(EX,Y);EX.\u0275dir=Y.\u0275dir;
EX.prototype.ngOnChanges=function(a){var b;if((b=a.users)==null?0:b.currentValue){b=l(a.users.currentValue);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=yi(c);d&&this.userMap.set(d,di(c))}}if(a.values){var e;this.providedValues$.next((e=this.values)!=null?e:[])}a.showInternalOnlyFieldBadge&&(this.showInternalOnlyFieldBadge=a.showInternalOnlyFieldBadge.currentValue)};EX.prototype.ngOnInit=function(){s5a(this)};
var j5a=function(a){var b,c;(b=a.editButton)==null||(c=b.nativeElement)==null||c.focus()},s5a=function(a){a.sortedEnumChoices=[].concat(r(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})},t5a=function(a){var b=a.values||[],c=[].concat(r(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})},w5a=function(a){var b;return ge(function(c){if(c.nextAddress==1)return a.customRepeatedEnumDialogService.isOpen()?c.return():ie(c,a.customRepeatedEnumDialogService.open({customFieldTitle:a.title,allowedValues:l6a(a),selectedValues:a.values}),2);(b=c.yieldResult)&&k6a(a,Array.from(b));me(c)})},sq=function(a){return a.type==="REPEATED_ENUM"&&a.sortedEnumChoices.length>1E3};EX.prototype.showCodeChanges=function(a){a=!!Hi(a);return this.type==="CODE_CHANGES"&&(!a||this.enableGerritChanges)};
var l6a=function(a){return a.sortedEnumChoices.map(function(b){return b.displayText})},k6a=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});uq(a,!0);$5a(a)&&tq(a,!0)};EX.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
EX.prototype.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 k,q;(k=b.addLinkEl)==null||(q=k.nativeElement)==null||q.focus()}})};
EX.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if(this.type==="REPEATED_DATE"){var c=Qm(a);this.preventDuplicates&&this.values.find(function(h){return ci(h,c)})||b.push(c)}else if(this.type==="REPEATED_NUMERIC"&&kra(this.values)&&kra(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(fi(this.values)&&fi(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=l(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;if(this.type==="CODE_CHANGES"){var f=!!Hi(d);this.enableGerritChanges&&f?e=d:e=yFa(d)}e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&this.type!=="REPEATED_DATE"||uq(this,!0);b.length!==0&&(this.values=[].concat(r(this.values),r(b)),this.valuesChange.emit({values:this.values,added:b}))};EX.prototype.onDrop=function(a){rq(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var uq=function(a,b){var c,d=l((c=a.menuTriggers)!=null?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=l((e=a.popupTriggers)!=null?e:[]);for(e=d.next();!e.done;e=d.next())e=e.value,e.disabled||(e.disabled=!0,e.disabled=!1);b&&a.addLinkEl&&a.addLinkEl.nativeElement.focus()},tq=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()})},$5a=function(a){return!!a.values&&a.values.length>a.defaultLineCount+1},n5a=function(a){return a.values&&a.type==="REPEATED_DATE"?a.values.map(function(b){return a.dateFormatter.formatUserCalendar(Pm(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 ei(b)?b:jra(b)?""+b:a.dateFormatter.formatUserCalendar(Pm(b))})},h6a=function(a,b,c){var d,e,
f;return ge(function(h){if(h.nextAddress==1)return a.inputValidator?ie(h,a.inputValidator(b.value.input),3):h.jumpTo(2);h.nextAddress!=2&&(a.invalidMessage=h.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return h.return();d=b.value.input;(e=b)==null||e.reset();(f=c.querySelector("input"))==null||f.focus();a.addItems(d);me(h)})};g=EX.prototype;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(Ee.schedule(a))};
g.trackByIndex=function(a){return 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 b6a=function(a,b){return b.displayText+", "+(a.enumPendingValues.has(b.value)?"selected":"not selected")},hxc=function(a,b){if(!a.isUser)return pe(new Set([]));var c=function(d){return d.principalType==="GROUP"};return a.principalTypesFridge.watchSet(b).pipe(z(function(d){return new Set(d.filter(c).map(function(e){return e.email}))}))};EX.\u0275fac=function(a){return new (a||EX)(B(yF,2),B(xH),B(CF),B(iw),B(mG),B(kI),B(as),B(sX))};
EX.\u0275cmp=p({type:EX,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(rg($wc,5),rg(axc,5),rg(bxc,5),rg(cxc,5,Rd),rg(dxc,5),rg(OI,5),rg(nV,5));if(a&2){var c;vg(c=wg())&&(b.addLinkEl=c.first);vg(c=wg())&&(b.showFewer=c.first);vg(c=wg())&&(b.showMore=c.first);vg(c=wg())&&(b.editButton=c.first);vg(c=wg())&&(b.removeButtons=c);vg(c=wg())&&(b.menuTriggers=c);vg(c=wg())&&(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",
inputValidator:"inputValidator",teamId:"teamId"},outputs:{valuesChange:"valuesChange",toggleAccessLimits:"toggleAccessLimits"},features:[Dg([yF]),Lf,rd],ngContentSelectors:[".title-action",".value-action"],decls:27,vars:29,consts:[["addLink",""],["itemRenderer",""],["metadataTools",""],["enumPopup","matMenu"],["textPopup",""],["datePopup",""],["customFieldPopup",""],["editButton",""],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["checkIfRepeatedEnum",""],["default",""],["removeIcon",
""],["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"],[4,"ngIf"],["svgIcon","shield_person_24px","class","icon-xs internal-only-badge","matTooltip","Visible to internal only","aria-label","Visible to internal only",4,"ngIf"],["id","skip-to-edit",
"class","bv2-metadata-link","role","button","tabindex","0",3,"opacity","click","keydown.enter","keydown.space",4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDropped","cdkDropListDisabled"],[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],[3,"ngSwitch",4,"ngIf"],["matMenuContent",""],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],
["id","skip-to-edit","role","button","tabindex","0",1,"bv2-metadata-link",3,"click","keydown.enter","keydown.space"],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-button","","dialogLabel","Add a new item to the list","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list",
"tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button","","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened",
"menuClosed",4,"ngIf"],["mat-button","","dialogLabel","Select items in the list","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngIf"],["mat-button","","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"click",4,"ngIf"],["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","","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",3,"click"],["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,"beforeOpened","xapInlineDialogClick","dialogLabel","overlayPositions","matTooltip"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",
4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[4,"ngIf","ngIfElse"],["class","unstyled keep-focus-ring","aria-label","Open issue access dialog.",3,"disabled","click",4,"ngIf","ngIfElse"],[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"],["class","overflow-ellipsis",3,"matTooltip",4,"ngIf","ngIfElse"],[1,"overflow-ellipsis",
3,"matTooltip"],["routerLink","/issues",1,"subtle-link",3,"click","queryParams"],["class","list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip","enableGroupIcon",4,"ngIf"],["name","group_24px","class","group-icon","size","small",4,"ngIf"],[3,"email",4,"ngIf"],[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,"click","disabled"],["size","small","name","edit_24px",1,"issue-metadata-field-edit-icon",3,"ngClass"],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"click","disabled","matTooltip"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],
["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","click",4,"ngFor","ngForOf","ngForTrackBy"],["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",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[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"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"dateChange","cancelClicked","required","renderPanel"],[3,"onApplyChanges","onCancelChanges","allowMultiSelect","customFieldTitle","allowedValues","selectedValues"]],template:function(a,b){if(a&1){var c=u();ig(exc);F(0,"div",18)(1,"div",19)(2,
"div",20);O("focusin",function(){v(c);return x(b.focusOnTitle=!0)})("focusout",function(){v(c);return x(b.focusOnTitle=!1)});C(3,h5a,2,1,"label",21)(4,i5a,1,0,"mat-icon",22);jg(5);C(6,k5a,2,3,"span",23);H();F(7,"div",24);O("cdkDropListDropped",function(d){v(c);return x(b.onDrop(d))});C(8,o5a,3,7,"collapsible-panel",25)(9,r5a,4,4,"ng-container",21);F(10,"div",26,0);C(12,B5a,4,3,"ng-container",27);jg(13,1);H()()();C(14,X5a,1,1,"ng-template",null,1,Mg)(16,a6a,2,2,"ng-template",null,2,Mg);F(18,"mat-menu",
null,3);C(20,d6a,1,2,"ng-template",28);H();C(21,i6a,13,8,"ng-template",null,4,Mg)(23,j6a,1,2,"ng-template",null,5,Mg)(25,m6a,3,4,"ng-template",null,6,Mg);H()}a&2&&(Wf("empty-list-field-indication",!(b.values==null?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),E("ngClass",Jg(25,fxc,!b.showInternalOnlyFieldBadge,!b.showInternalOnlyFieldBadge,b.showInternalOnlyFieldBadge)),A(),Wf("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),E("matTooltip",b.tooltip)("matTooltipPosition",
"left")("matTooltipDisabled",sq(b)),Nf("aria-label",b.getAriaLabel()),A(),E("matTooltip",b.tooltip)("matTooltipPosition","left")("matTooltipDisabled",!sq(b)),A(),E("ngIf",b.title),A(),E("ngIf",b.showInternalOnlyFieldBadge),A(2),E("ngIf",sq(b)&&b.enableNewCustomRepeatedEnumUi),A(),Wf("draggable",(b.values==null?null:b.values.length)&&b.isDefaultOrAllowedValues),E("cdkDropListDisabled",!b.isDefaultOrAllowedValues),A(),E("ngIf",b.isCollapsible),A(),E("ngIf",!b.isCollapsible),A(3),E("ngIf",!b.readonly))},
dependencies:[rv,sv,tv,xv,uv,vv,wv,RC,JD,OO,By,UO,my,Bh,dy,ey,vy,ly,jy,kC,Ex,KI,TI,gL,CO,PO,CX,BX,kV,jV,nV,JI,NI,LI,MI,OI,iO,wX,WR,uX,pX,yv],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 ixc={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"},FX=function(){};FX.\u0275fac=function(a){return new (a||FX)};FX.\u0275mod=cd({type:FX});FX.\u0275inj=Gc({imports:[RD,QO,zW,BQ,dP,zy,RH,bM,WL,mT,DO,RO,DX,yV,AV,aM,jO,xX,AV,nT,vX,qX,tX]});var p6a=function(){return[]},GX=function(){this.disabled=this.readonly=!1;this.save=new xF},jxc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};GX.prototype.getDisplayValue=function(){var a,b,c=(b=(a=jxc(this).displayValues)==null?void 0:a[0])!=null?b:null;c==="0.0"&&(c="0");return c};GX.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 o6a=function(a){return(a=Rm(jxc(a)))&&a.values===void 0?a:null},r6a=function(a){return(a=Rm(jxc(a)))&&a.values!==void 0?a.values:null};da.Object.defineProperties(GX.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});GX.\u0275fac=function(a){return new (a||GX)};
GX.\u0275cmp=p({type:GX,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&rg(eP,5);if(a&2){var c;vg(c=wg())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Wf("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId",
"valueChange",4,"ngIf"],[3,"readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"valueChange","readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","customFieldId"],[3,"valuesChange","readonly","defaultLineCount","title","type","customFieldId","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled"]],
template:function(a,b){a&1&&C(0,t6a,3,2,"ng-container",0);a&2&&E("ngIf",jxc(b))},dependencies:[tv,EX,eP],encapsulation:2});var HX=function(){};HX.\u0275fac=function(a){return new (a||HX)};HX.\u0275mod=cd({type:HX});HX.\u0275inj=Gc({imports:[RD,FX,gP]});var IX=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new xF;this.filter=function(){return!0}};IX.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};IX.\u0275fac=function(a){return new (a||IX)};
IX.\u0275cmp=p({type:IX,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"],["class","bv2-custom-field-picker-select-box",4,"ngIf"],[1,"bv2-custom-field-picker-select-box"],[4,"ngIf"],["appearance","outline"],[1,"mat-select","bv2-custom-field-picker-select",3,"selectionChange"],[3,
"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),Q(2," First, select a component that contains the custom field. "),H(),F(3,"b-team-component-picker",2),O("selectedComponentChange",function(c){return b.onComponentSelect(c!==null&&c!==void 0?c:null)}),H(),C(4,y6a,4,3,"div",3),H());a&2&&(A(3),E("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),A(),E("ngIf",b.selectedComponent))},dependencies:[sv,tv,mM,Jy,Dy,nM,xx,
kM,UV],encapsulation:2});var JX=function(){};JX.\u0275fac=function(a){return new (a||JX)};JX.\u0275mod=cd({type:JX});JX.\u0275inj=Gc({imports:[RD,qM,XV]});var kxc=function(a){return{value:a}},KX=function(){this.isNonemptyJsonDateValue=Iya};KX.prototype.toDate=function(a){return Pm(a)};KX.\u0275fac=function(a){return new (a||KX)};
KX.\u0275cmp=p({type:KX,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"],[4,"ngIf"],["mode","date",3,"date"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(F(0,"span",2),C(1,z6a,1,0,"ng-container",3),H(),C(2,A6a,0,0,"ng-template",null,0,Mg)(4,N6a,8,8,"ng-template",null,1,Mg));a&2&&(a=M(5),A(),E("ngTemplateOutlet",b.customFieldValue==
null?null:a)("ngTemplateOutletContext",Hg(2,kxc,b.customFieldValue)))},dependencies:[sv,tv,xv,YP],encapsulation:2});var LX=function(){};LX.\u0275fac=function(a){return new (a||LX)};LX.\u0275mod=cd({type:LX});LX.\u0275inj=Gc({imports:[RD,uQ]});var MX=function(a,b,c,d){this.documentationLinks=a;this.userAccess=b;this.errorHandler=c;this.data=d;this.issuesToFlag=[];this.issuesChecked=0;this.protectedIssues=[];this.permissionsCheckComplete=!1;this.issuesToFlag=d.issuesToFlag};MX.prototype.ngOnInit=function(){lxc(this,this.issuesToFlag)};
var lxc=function(a,b){b.length<=0?a.permissionsCheckComplete=!0:KB(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);lxc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};MX.\u0275fac=function(a){return new (a||MX)(B(bH),B(IB),B(eD),B(iH))};
MX.\u0275cmp=p({type:MX,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"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","","mat-dialog-close","",1,"medium"],["mat-flat-button","","cdkFocusInitial","",1,"dialog-primary-action",3,"disabled","mat-dialog-close"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&
(F(0,"h1",0),Q(1,"Flag Issues as Spam"),H(),F(2,"div",1)(3,"div",2)(4,"p"),Q(5),F(6,"a",3),Q(7,"see here"),H(),Q(8,". "),H(),F(9,"p"),Q(10," This operation cannot be undone in bulk. "),H()(),F(11,"div",4),C(12,R6a,3,2,"div",5)(13,T6a,5,2,"div",5),H()(),F(14,"div",6)(15,"button",7),Q(16," Close "),H(),F(17,"button",8),Q(18," Flag as Spam "),H()());a&2&&(A(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, "),
A(),E("href",S9b(b.documentationLinks),cf),A(6),E("ngIf",!b.permissionsCheckComplete),A(),E("ngIf",b.permissionsCheckComplete&&b.protectedIssues.length>0),A(4),E("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[sv,tv,kC,Ex,kH,mH,oH,nH],encapsulation:2});var NX=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};NX.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};NX.prototype.save=function(){this.dialogRef.close(this.component)};NX.prototype.cancel=function(){this.dialogRef.close()};NX.\u0275fac=function(a){return new (a||NX)(B(yF,2),B(cH))};
NX.\u0275cmp=p({type:NX,selectors:[["b-bulk-move-dialog"]],features:[Dg([yF])],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&&(F(0,"h1",0),Q(1,"Change Component"),H(),F(2,"mat-dialog-content")(3,"p"),Q(4,"Choose new component for these issues."),H(),F(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. "),
H(),F(7,"b-team-component-picker",2),O("selectedComponentChange",function(c){return b.updateComponent(c!==null&&c!==void 0?c:null)}),H()(),F(8,"mat-dialog-actions")(9,"button",3),O("click",function(){return b.cancel()}),Q(10," Cancel "),H(),F(11,"button",4),O("click",function(){return b.save()}),Q(12," Save "),H()());a&2&&(A(7),E("selectedComponent",b.component)("placeholder","Choose Component")("isRequired",!0),A(4),E("disabled",b.component==null))},dependencies:[kC,Ex,mH,oH,nH,UV],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}mat-dialog-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text)}"]});var OX=function(){this.renderPanel=!0;this.sloEditCommit=new xF;this.closePicker=new xF};OX.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;if(a=this.sloEditTime){var c=new Ri;c.setTime(a.seconds*1E3);a=c}else a=null;this.currentPickerDate=(b=a)!=null?b:void 0}};OX.prototype.setDate=function(a){this.currentPickerDate=a};OX.\u0275fac=function(a){return new (a||OX)};
OX.\u0275cmp=p({type:OX,selectors:[["slo-edit-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[Dg([yF]),rd],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"dateSelectionChange","saveClicked","cancelClicked","renderPanel","date"]],template:function(a,b){a&1&&(F(0,"div",0),O("clickOutside",function(){b.closePicker.emit()}),F(1,"b-date-time-picker-content",1),O("dateSelectionChange",
function(c){return b.setDate(c)})("saveClicked",function(){var c=b.sloEditCommit,d=c.emit;var e=(e=b.currentPickerDate)?{seconds:e.getTime()/1E3,nanos:0}:null;d.call(c,{date:e!=null?e:null});b.closePicker.emit()})("cancelClicked",function(){b.closePicker.emit()}),H()());a&2&&(A(),E("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[hJ,UO],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 PX=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};PX.prototype.close=function(){this.dialogRef.close(this.commitEvent)};PX.\u0275fac=function(a){return new (a||PX)(B(iH),B(cH))};
PX.\u0275cmp=p({type:PX,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&&(F(0,"h1",0),Q(1),H(),F(2,"slo-edit-date-time-picker",1),O("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),H());a&2&&(A(),R("Edit ",b.fieldDisplayName,""),A(),E("renderPanel",!1))},dependencies:[mH,nH,OX],encapsulation:2});var QX=function(a,b){this.data=a;this.dialogRef=b;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 c,d;this.enumOptions=(d=(c=this.enumSpec)==null?void 0:c.options)!=null?d:[];this.isEnumSpec=!!this.enumSpec;var e;this.allowedLabels=((e=this.enumOptions)!=null?e:[]).map(function(f){return f.label})};
QX.prototype.enableSubmit=function(){return this.isEnumSpec&&this.currentEnumLabel!==""||!this.isEnumSpec};QX.prototype.cancel=function(){this.dialogRef.close(void 0)};QX.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)};QX.\u0275fac=function(a){return new (a||QX)(B(iH),B(cH))};
QX.\u0275cmp=p({type:QX,selectors:[["b-edit-estimated-effort-modal"]],decls:9,vars:4,consts:[["mat-dialog-title",""],[4,"ngIf"],["class","bv2-top-field-label",4,"ngIf"],["mat-button","",3,"click"],["mat-flat-button","",3,"click","disabled"],["matInput","",3,"ngModelChange","keypress","ngModel"],[1,"bv2-top-field-label"],[3,"valueChange","value","includeEmptyOption","options"]],template:function(a,b){a&1&&(F(0,"h1",0),Q(1),H(),C(2,U6a,5,2,"mat-dialog-content",1)(3,V6a,4,4,"div",2),F(4,"mat-dialog-actions")(5,
"button",3),O("click",function(){return b.cancel()}),Q(6," Cancel "),H(),F(7,"button",4),O("click",function(){return b.save()}),Q(8," Save "),H()());a&2&&(A(),R("Edit ",b.fieldDisplayName,""),A(),E("ngIf",!b.isEnumSpec),A(),E("ngIf",b.isEnumSpec),A(4),E("disabled",!b.enableSubmit()))},dependencies:[tv,Bh,dy,ly,kC,Ex,mH,oH,nH,yW,Qy,Jy,Dy,kM,vW],encapsulation:2});var RX=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};RX.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};RX.prototype.close=function(){this.dialogRef.close()};RX.\u0275fac=function(a){return new (a||RX)(B(iH),B(cH))};
RX.\u0275cmp=p({type:RX,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&&(F(0,"h1",0),Q(1),H(),F(2,"mat-dialog-content")(3,"p"),Q(4),H(),F(5,"div",1)(6,"mat-form-field",2)(7,"mat-label"),Q(8),H(),F(9,"input",3),Cg("ngModelChange",function(c){Bg(b.addItems,
c)||(b.addItems=c);return c}),H()(),J(10,"br"),F(11,"mat-form-field",2)(12,"mat-label"),Q(13),H(),F(14,"input",3),Cg("ngModelChange",function(c){Bg(b.removeItems,c)||(b.removeItems=c);return c}),H()()()(),F(15,"mat-dialog-actions")(16,"button",4),O("click",function(){return b.close()}),Q(17," Cancel "),H(),F(18,"button",5),O("click",function(){return b.save()}),Q(19," Save "),H()());a&2&&(A(),R("Edit ",b.fieldDisplayName,""),A(3),R("Enter ",b.fieldDisplayName," to add or remove"),A(4),R(" ",b.fieldDisplayName,
" to Add "),A(),Ag("ngModel",b.addItems),A(4),R(" ",b.fieldDisplayName," to Remove "),A(),Ag("ngModel",b.removeItems))},dependencies:[Bh,dy,ly,kC,Ex,yW,Qy,Jy,Dy,kM,mH,oH,nH],styles:["mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var mxc=["hotlistFilterInput"],nxc=["hotlistCreate"],oxc=["hotlistApply"],pxc=["hotlistLoad"],qxc=["menuitem"],SX=function(a,b,c,d,e,f){Y.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=f;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new xF;this.onApply=new xF;this.onLoad=new xF;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()};V(SX,Y);SX.\u0275dir=Y.\u0275dir;SX.prototype.ngAfterViewInit=function(){var a=this,b;(b=this.trigger)==null||b.menuOpened.pipe(Df(this.destroyed$)).subscribe(function(){Ie(0).pipe(Df(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;(c=this.trigger)==null||c.menuClosed.pipe(Df(this.destroyed$)).subscribe(function(){rxc(a)})};
SX.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};SX.prototype.ngOnChanges=function(){sxc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;txc(this)};
var sxc=function(a){var b={};nea(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=l(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=l(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=l(e);for(var f=e.next();!f.done;f=e.next())b[f.value]++}d=l(Object.entries(b));for(e=d.next();!e.done;e=d.next())f=l(e.value),e=f.next().value,f=f.next().value,
a.selectedHotlistMap[Number(e)]=f?f===c?!0:null:!1;Jba(a.choices,function(h,k){var q=b[h.hotlistId],t=b[k.hotlistId];return q>t?-1:q<t?1:zr(h.name,k.name)})}}};SX.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};SX.prototype.close=function(){this.trigger.closeMenu()};
SX.prototype.hasAclToEdit=function(a){var b=this;if(kea(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];KB(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var W6a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return a===void 0?!0:!a},zq=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=c===null?!0:!c;c7a(a);a.close()},c7a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},txc=function(a){for(var b=a.filterText,c=!1,d=l(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=Ga(e.name.toLowerCase(),b.toLowerCase()),
e.name===b&&(c=!0);a.canCreate=!(!b||c);a.canLoad=Cp(mi(b))&&!!b&&!!a.onLoad},rxc=function(a){a.trigger.menuOpen||(sxc(a),a.filterText="",txc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},uxc=function(a){var b=a.selectedHotlistIds;return b&&b.length===1?"Hotlists ("+Aba(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
SX.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",txc(this),this.onCreate.emit({name:b,successCallback:function(c){zq(a,c)},errorCallback:function(){a.butterBar.showWarning("Failed to create hotlist "+b)}}))};
SX.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");Xp(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";txc(this);for(var c=ii(b),d=l(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){zq(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(f){zq(a,f)},errorCallback:function(){a.butterBar.showWarning("Failed to load hotlist "+b)}})}};
SX.prototype.handleSelectionChange=function(){this.focusFilterBox();this.pendingChanges=!ci(this.oldSelectedHotlistMap,this.selectedHotlistMap)};
var X6a=function(a,b){W6a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.handleSelectionChange())},Bxc=function(a,b){b=b===void 0?0:b;var c=vxc(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=Cba(vxc(a),b),wxc(a),xxc(a,b)):a.focusedRowIndex<d&&a.canCreate?yxc(a,d):a.focusedRowIndex<d+1&&a.canLoad?zxc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&
Axc(a,d)},vxc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},Cxc=function(a,b){b=b===void 0?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)yxc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)zxc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)yxc(a,a.choices.length);else{var c=vxc(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=Cba(vxc(a),b),wxc(a),xxc(a,b)):(a.focusedRowIndex=-1,xxc(a,null))}},xxc=function(a,b){a.filterElement&&ZI(a.filterElement.nativeElement,b);a.focusFilterBox()},yxc=function(a,b){a.focusedRowIndex=b;ZI(a.filterElement.nativeElement,null);var c;(c=a.createElement)==null||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},zxc=function(a,b){a.focusedRowIndex=b+1;ZI(a.filterElement.nativeElement,null);var c;(c=a.loadElement)==
null||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},Axc=function(a,b){a.focusedRowIndex=b+2;ZI(a.filterElement.nativeElement,null);var c;(c=a.applyElement)==null||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},wxc=function(a){a.focusedRowIndex===-1||a.focusedRowIndex>=a.choices.length||(a=vxc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},Y6a=function(a){return a==null?"mixed":a.toString()},
Z6a=function(a){return a==null?"indeterminate":a?"checked":"unchecked"};SX.\u0275fac=function(a){return new (a||SX)(B(iw),B(cD),B(IB),B(CF),B(as),B(yF,2))};
SX.\u0275cmp=p({type:SX,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(rg(OI,5),rg(mxc,5),rg(nxc,5),rg(oxc,5),rg(pxc,5),rg(qxc,5));if(a&2){var c;vg(c=wg())&&(b.trigger=c.first);vg(c=wg())&&(b.filterElement=c.first);vg(c=wg())&&(b.createElement=c.first);vg(c=wg())&&(b.applyElement=c.first);vg(c=wg())&&(b.loadElement=c.first);vg(c=wg())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Dg([yF]),Lf,rd],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"],["class","multi-edit-menuitem","role","option",3,"display","focused","title","click",4,"ngFor","ngForOf"],["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"],[4,"ngIf"],["mat-menu-item","","matTooltip","Type a hotlist id number to load a hotlist by id.","matTooltipPosition","right",3,"focused","click","keydown.enter",4,"ngIf"],["mat-menu-item","","class","hotlist-apply","id","hotlist-apply","aria-label","apply",3,"focused","click","keydown.enter",4,"ngIf"],["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=u();F(0,"button",7)(1,"span",8);Q(2);H();J(3,"b-icon",9);H();F(4,"mat-menu",null,0)(6,"div",10)(7,"div",11)(8,"div",12)(9,"input",13,1);Cg("ngModelChange",
function(d){v(c);Bg(b.filterText,d)||(b.filterText=d);return x(d)});O("ngModelChange",function(){v(c);return x(txc(b))})("mousedown",function(d){v(c);return x(d.stopPropagation())})("blur",function(){v(c);return x(rxc(b))})("click",function(d){v(c);return x(d.stopPropagation())})("keydown",function(d){v(c);d.stopImmediatePropagation();d.key==="Escape"?b.close():d.key==="ArrowDown"?(Bxc(b),d.preventDefault()):d.key==="ArrowUp"?(Cxc(b),d.preventDefault()):d.key==="PageUp"?Cxc(b,11):d.key==="PageDown"?
Bxc(b,11):d.key===" "?b.focusedRowIndex===-1||b.focusedRowIndex>=b.choices.length||(X6a(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(),c7a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&zq(b,b.choices[b.focusedRowIndex]));return x()});H()()();J(11,"mat-divider");C(12,e7a,11,8,"ng-template",
14);H()()}a&2&&(a=M(5),E("matMenuTriggerFor",a)("disabled",b.isAnonymous),A(2),yg(uxc(b)),A(7),Ag("ngModel",b.filterText))},dependencies:[sv,tv,JI,NI,LI,MI,OI,kC,Ex,Bh,dy,wy,ly,wx,KI,TI,TO,OO],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 Fxc=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 XH;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";Dxc(this,b);Exc(this,b)},Dxc=function(a,b){var c=b[0],d=$i[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},Gxc=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||Ki(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},Exc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=Gxc(c);a.selectedVerifiersStatus=Gxc(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])};
Fxc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;S7a(this)};Fxc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var Fq=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},O7a=function(a,b){(a.origCommonIssueState=b)?(b.status==="NEW"?Hxc(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||Hxc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),Hxc(a.selectedVerifiersStatus)||a.commonVerifier||b.status!=="VERIFIED"||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},Hxc=function(a){return a==="MULTIPLE"||a==="POSSIBLY_MULTIPLE"},S7a=function(a){var b=$i.NEW,c=$i.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!p2b.has(a.issueState)||(a.issueState=b)},Ixc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},a8a=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);Ixc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var Jxc=function(a){this.uploadUrl_=a};var Kxc=function(){lp.call(this)};gu(Kxc,lp);var TX=function(a){tz.call(this,a)};gu(TX,tz);var UX=function(a){tz.call(this,a)};gu(UX,tz);var Lxc=function(a,b){this.name_=a;this.inputElement_=b};Lxc.prototype.getName=function(){return this.name_};var Mxc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!0};var VX=function(){lp.call(this);this.name_="closure_frame"+Nxc++;this.iframesForDisposal_=[];Oxc[this.name_]=this},WX;gu(VX,lp);var Oxc={},Nxc=0,Pxc=function(a,b){var c=op(a);lcc(b,function(d,e){Array.isArray(d)||(d=[d]);Na(d,function(f){f=c.createDom("INPUT",{type:"hidden",name:e,value:f});a.appendChild(f)})})};g=VX.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("oe");this.lastUri_=a=new qp(a);b=b?b.toUpperCase():"GET";c&&XJ(a);WX||(WX=c0b("FORM"),WX.acceptCharset="utf-8",c=WX.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(WX));this.form_=WX;b=="GET"&&Pxc(this.form_,a.queryData_);d&&Pxc(this.form_,d);d=a.toString();this.form_.action=NYa(new uc(d===null?"null":d===void 0?"undefined":d));this.form_.method=b;Qxc(this);
Rxc(this)};g.abort=function(a){if(this.active_){var b=Sxc(this);if(b)if(vz(b))b.removeAllListeners();else if(b=yz(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),f=0;f<e.length;++f)Az(e[f])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");Txc(this)}};
g.disposeInternal=function(){this.active_&&this.abort();VX.superClass_.disposeInternal.call(this);this.iframe_&&Uxc(this);Rxc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete Oxc[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 Mgc(this.lastContent_)};
g.getLastUri=function(){return this.lastUri_};g.getLastErrorCode=function(){return this.lastErrorCode_};g.getLastError=function(){return Osc(this.lastErrorCode_)};
var Qxc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=op(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";ju?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");op(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+"_inner";var c=g0b(a.iframe_);if(document.baseURI){var d=$p(b);
d=Kh('<head><base href="'+$p(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=$p(b),d=Kh('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(Mh(d));mp(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=Iz("TEXTAREA",a.form_);for(var e=0,f=d.length;e<f;e++){var h=d[e].value,k=[];k0b(d[e],k,!1);k.join("")!=h&&(Qz(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=Iz("SELECT",a.form_);f=Iz("SELECT",
d);h=0;for(k=e.length;h<k;h++)for(var q=Iz("OPTION",e[h]),t=Iz("OPTION",f[h]),w=0,y=q.length;w<y;w++)t[w].selected=q[w].selected;e=Iz("INPUT",a.form_);f=Iz("INPUT",d);h=0;for(k=e.length;h<k;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(),iu&&Xq(a.testForFirefoxSilentError_,250,a)}catch(D){zz(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
VX.prototype.onIframeLoaded_=function(){zz(Sxc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?g0b(Sxc(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"),Txc(this))}catch(e){this.handleError_(1)}};
VX.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),Txc(this),this.errorHandled_=!0)};
var Txc=function(a){Uxc(a);Rxc(a);a.form_=null;a.dispatchEvent("ready")},Uxc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(Yq(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);iu?a.iframeDisposalTimer_=Xq(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
VX.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(Yq(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;this.iframesForDisposal_.length!=0;){var a=this.iframesForDisposal_.pop();Oz(a)}};var Rxc=function(a){a.form_&&a.form_==WX&&f0b(a.form_)},Sxc=function(a){return a.iframe_?g0b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
VX.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?g0b(Sxc(this)):null;a&&!NSb(a,"documentUri")?(zz(Sxc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):Xq(this.testForFirefoxSilentError_,250,this)}};var Vxc=function(a,b,c,d,e){lp.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 qp(a);VJ(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new VX;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new ds(this);Dq(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};V(Vxc,Kxc);g=Vxc.prototype;g.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("oe");var c=new qp(this.url_||b.action);a.lastUri_=c;a.form_=b;a.form_.action=NYa(c.toString());Qxc(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 TX("m"))};g.pause=function(){};g.unpause=function(){};g.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new TX("j"))};
g.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new TX("l"))};var Yxc=function(a,b){a.name!==void 0?(this.name=a.name,this.code=Wxc[a.name]):(this.code=a=a.code,this.name=Xxc(a));ya.call(this,UTb("%s %s",this.name,b))};gu(Yxc,ya);
var Xxc=function(a){var b=lea(Wxc,function(c){return a==c});if(b===void 0)throw Error("pe`"+a);return b},XX={},Wxc=(XX.AbortError=3,XX.EncodingError=5,XX.InvalidModificationError=9,XX.InvalidStateError=7,XX.NotFoundError=1,XX.NotReadableError=4,XX.NoModificationAllowedError=6,XX.PathExistsError=12,XX.QuotaExceededError=10,XX.SecurityError=2,XX.SyntaxError=8,XX.TypeMismatchError=11,XX);var Zxc=function(a,b){tz.call(this,a.type,b);this.event_=a};gu(Zxc,tz);var $xc=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};jp(function(){if(!Ba.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 ayc=jp(function(){if(!Ba.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return $xc(b,0,1)===null?!1:!0});var byc=function(){lp.call(this);this.reader_=new FileReader;this.reader_.onloadstart=eu(this.dispatchProgressEvent_,this);this.reader_.onprogress=eu(this.dispatchProgressEvent_,this);this.reader_.onload=eu(this.dispatchProgressEvent_,this);this.reader_.onabort=eu(this.dispatchProgressEvent_,this);this.reader_.onerror=eu(this.dispatchProgressEvent_,this);this.reader_.onloadend=eu(this.dispatchProgressEvent_,this)};gu(byc,lp);g=byc.prototype;
g.abort=function(){try{this.reader_.abort()}catch(a){throw new Yxc(a,"aborting read");}};g.getReadyState=function(){return this.reader_.readyState};g.getError=function(){return this.reader_.error&&new Yxc(this.reader_.error,"reading file")};g.dispatchProgressEvent_=function(a){this.dispatchEvent(new Zxc(a,this))};g.disposeInternal=function(){byc.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 cyc=function(a){var b=new IK;a.listen("loadend",fu(function(c,d){var e=d.reader_.result,f=d.getError();e==null||f?(KK(c),LK(c,!1,f)):c.callback(e);d.dispose()},b,a));return b};var YX=function(){Wq.call(this)};V(YX,Wq);YX.prototype.createXhr=function(){var a=Wq.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=eu(this.onProgress_,this));return a};YX.prototype.onProgress_=function(a){this.dispatchEvent(a)};var dyc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},fyc=function(a,b){var c=a.attempt_+1;if(a.maxAttempts_>0&&c>a.maxAttempts_)return!1;c==0?b():a.delayCallId_=Xq(function(){a.delayCallId_=null;b()},eyc(a),a);a.attempt_=c;return!0};dyc.prototype.reset=function(){this.delayCallId_&&Yq(this.delayCallId_);this.attempt_=-1};var eyc=function(a){var b=250*Math.pow(2,a.attempt_);a.maxDelayMs_>=0&&(b=Math.min(b,a.maxDelayMs_));return b};var g7a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var gyc=function(a){lp.call(this);a=a||new Mxc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new dyc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorType_=this.errorDescription_=null;this.eventHandler_=new ds(this);Dq(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};gu(gyc,Kxc);g=gyc.prototype;g.run=function(){ZX(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 YX,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.uploadUrl_,"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new TX("m"))}};
g.pause=function(){this.pauseRequested_=!0};g.unpause=function(){this.pauseRequested_=!1;this.state_==="Paused"&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,hyc(this))};
var ZX=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):fyc(a.retryIterator_,function(){return hyc(a)})||$X(a,1,"Transfer encountered too many consecutive failures.")},hyc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.uploadUrl_,c=a.blob_.size;if(ayc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=$xc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new YX;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=eu(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new UX("o"));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("qe");}},$X=function(a,
b,c){a.state_="Error";a.errorDescription_=c;a.errorType_=b;a.dispatchEvent(new TX("l"))};g=gyc.prototype;
g.start_=function(){this.request_=new YX;var a=tc(this.headers_);this.blob_.size!=null&&(a["Content-Length"]=this.blob_.size);a=h7a(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 UX("o"))};
g.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new UX("p"));iyc(b)?jyc(this,b):kyc(b)?(b=Aq(a.target.getAllResponseHeaders()),this.dispatchEvent(new TX("k")),a=Bq(b,"X-Goog-Upload-URL"),b=(b=Bq(b,"X-Goog-Upload-Chunk-Granularity"))?parseInt(b,10):1,a===void 0||isNaN(b)||b<=0?$X(this,2,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/b)*b,this.transferHandle_=new Jxc(a),this.dispatchEvent(new TX("n")),this.state_=
"Upload",this.retryIterator_.reset(),ZX(this))):ZX(this)};g.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new TX("i"))};
g.onUploadComplete_=function(a,b,c){var d=this,e,f;return ge(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new UX("p"));if(d.retryOnHttpClientErrorEnabled_?lyc(e)||e.getStatus()==404:iyc(e))return d.bytesTransferred_=a,jyc(d,e),h.return();if(kyc(e)){h.jumpTo(2);break}if(!(f=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return ie(h,myc(d),4);case 4:f=h.yieldResult;case 3:if(f)return $X(d,3,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=e.getStatus()==400;d.state_="Query";ZX(d);return h.return();case 2:if(b)return $X(d,4,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();ZX(d);return h.return()}})};
g.query_=function(){this.request_=new YX;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 UX("o"))};
g.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new UX("p"));iyc(b)?(b.getStatus()===200&&(this.bytesTransferred_=this.blob_.size),jyc(this,b)):kyc(b)?(a=Aq(a.target.getAllResponseHeaders()),a=parseInt(Bq(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?$X(this,5,"Server did not respond with current offset."):a<this.offset_?$X(this,6,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?$X(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",ZX(this))):ZX(this)};
var jyc=function(a,b){a.responseCode_=b.getStatus();var c=Aq(b.getAllResponseHeaders());a.responseHeaders_=i7a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new TX("j"))},kyc=function(a){var b=a.getStatus();a=Aq(a.getAllResponseHeaders());a=Bq(a,"X-Goog-Upload-Status");return b===200&&a==="active"},lyc=function(a){a=Aq(a.getAllResponseHeaders());return Bq(a,"X-Goog-Upload-Status")==="final"},iyc=function(a){if(lyc(a))return!0;a=a.getStatus();return a>=400&&a<
500},myc=function(a){var b;return ge(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);he(c,2);if(b=$xc(a.blob_,0,1)){var d=new byc,e=cyc(d);d.readAsBinaryString(b);c=ie(c,e,4)}else c=c.return(!0);return c}if(c.nextAddress!=2)return c.return(a.blob_.size!==a.originalBlobSize_);le(c);return c.return(!0)})};var nyc=function(a,b,c,d,e,f){lp.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 hi;this.boundary_="uploader-"+Gu()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new ds(this);Dq(this,this.eventHandler_)};V(nyc,Kxc);g=nyc.prototype;
g.run=function(){var a=tc(this.headers_);this.payload_.length!=null&&(a["Content-Length"]=this.payload_.length);a=h7a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new YX;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 TX("m")))};g.pause=function(){};g.unpause=function(){};
g.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new TX("i"))};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 TX("l"))):(this.responseCode_=b,a=a.target,b=Aq(a.getAllResponseHeaders()),this.responseHeaders_=i7a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new TX("j")))};var oyc=function(){},pyc=function(a,b,c,d,e){e=e===void 0?!1:e;if(c instanceof Lxc)return new Vxc(a,"POST",b,c.inputElement_,d);if(typeof c==="string"||c instanceof String)return new nyc(a,"POST",b,c,d);var f=new gyc(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 qyc=new ld("ScottyUploaderConfigFactory"),ryc=new ld("ScottyUploader",{factory:function(){return new oyc}}),aY=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new yf;this.transferStatus=Ir(this.internalTransferStatus)};
aY.prototype.upload=function(a,b){var c=this;b=b===void 0?this.configFactory.create(a):b;a=pyc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=Ge(De(a,"k"),De(a,"i"),De(a,"n"),De(a,"l"),De(a,"j"),De(a,"m")).pipe(Df(De(a,"j").pipe(rf(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});a.run()};aY.\u0275fac=function(a){return new (a||aY)(n(ryc),n(qyc))};
aY.\u0275prov=Fc({token:aY,factory:aY.\u0275fac});var syc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};syc.prototype.getDirectory=function(a){return this.directoryMap_[a]};syc.prototype.getName=function(){return this.name_};var uyc=function(a,b,c){b=b===void 0?"single_file":b;c=c===void 0?[]:c;lp.call(this);this.overlayTarget_=a;this.parentOverlay_=a!=null?a.parentNode:Zp(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=tyc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};V(uyc,lp);
var tyc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");mp(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),ks(e,new is(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};uyc.prototype.click=function(){this.overlay_.click()};
uyc.prototype.onFilesSelected_=function(a){a:{try{var b=(new XMLHttpRequest).upload!==void 0;break a}catch(t){}b=!1}if(b){var c;a=Array.from((c=a.target.files)!=null?c:[]);c=[];if(this.selectorType_==="single_directory"&&(ju||PSb)){c=new syc("");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 k=e[h];if(h==e.length-1){k!="."&&f.files_.push(d);break}var q=f.getDirectory(k);q==void 0&&(k=q=new syc(k),
f.directoryMap_[k.getName()]=k,f.directories_.push(k));f=q}c=c.directories_}this.dispatchEvent(new vyc(a,c,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new vyc([],[],new Lxc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=tyc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var wyc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},vyc=function(a,b){tz.call(this,"u");this.files=a;this.directories=b};V(vyc,tz);var bY=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new xf(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new bv;this.maxFileSize=null;this.fileSizeRejected=new bv;this.fileSelected=new bv;this.fileNameLengthRejected=new bv};
bY.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(Cf(function(b){return Ge(De(b,"q"),De(b,"u"))}),Df(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=l(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=l(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=l(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){De(b,"s").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){De(b,"t").subscribe(function(){a.ngZone.run(function(){})})})};
bY.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};bY.\u0275fac=function(a){return new (a||bY)(B(Rd),B(Me))};bY.\u0275dir=ed({type:bY,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var cY=function(a,b){bY.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};V(cY,bY);
cY.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return Ge(De(a.elementRef.nativeElement,"mouseover"),De(a.elementRef.nativeElement,"focus")).pipe(uf(),Df(a.destroyed),z(function(){a.fileSelectorOverlay=new uyc(a.elementRef.nativeElement,a.selectorType,xyc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),zf(1))}));return this.overlay};cY.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};
var xyc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};cY.\u0275fac=function(a){return new (a||cY)(B(Rd),B(Me))};cY.\u0275dir=ed({type:cY,hostBindings:function(a,b){a&1&&O("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[Lf]});var dY=function(a,b,c){cY.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};V(dY,cY);
dY.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(Df(this.destroyed),He(function(){return!a.disableAutoUpload})).subscribe(function(b){b=l(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)}})};da.Object.defineProperties(dY.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=qh(a)}}});
dY.\u0275fac=function(a){return new (a||dY)(B(Rd),B(Me),B(aY,8))};dY.\u0275dir=ed({type:dY,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[Lf]});var eY=function(){this.SelectorType=wyc;this.includeTextLabel=this.disabled=!1;this.onSelect=new xF},j7a=function(a,b){if(b=b.files){b=l(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};eY.\u0275fac=function(a){return new (a||eY)};
eY.\u0275cmp=p({type:eY,selectors:[["b-attachment-selector"]],inputs:{disabled:"disabled",includeTextLabel:"includeTextLabel"},outputs:{onSelect:"onSelect"},decls:4,vars:2,consts:[["fullButton",""],[1,"goog-inline-block","vertical-centered"],["mat-icon-button","","xapUploaderTrigger","","matTooltip","Add attachments","aria-label","Add attachments",3,"selectorType","disableAutoUpload","disabled","fileSelected",4,"ngIf","ngIfElse"],["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&&(F(0,"div",1),C(1,k7a,2,3,"button",2),H(),C(2,l7a,3,3,"ng-template",null,0,Mg));a&2&&(a=M(3),A(),E("ngIf",!b.includeTextLabel)("ngIfElse",a))},dependencies:[tv,RC,kC,Ex,Gx,KI,TI,
dY],encapsulation:2});var yyc=function(a,b){WH.call(this,a.size,a.name);var c=this;this.destroyed$=new yf;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "i":case "k":case "n":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "l":c.handleError(e);break;case "j":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 "m":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(Df(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};V(yyc,WH);
yyc.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){ij("Unable to extract error message",b,d);var c;this.errorMessage=(c=a.getErrorDescription())!=null?c:""}this.errorMessage||(this.errorMessage="Error while uploading.")};yyc.prototype.cancel=function(){var a,b;(a=this.transfer)==null||(b=a.cancel)==null||b.call(a);this.unsubscribe()};
yyc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var fY=function(a){this.activeSession=a};
fY.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=mTb(c);a=uFa(a.name)?a.name:b;return{url:VJ(Bcc().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};fY.\u0275fac=function(a){return new (a||fY)(n(as))};fY.\u0275prov=Fc({token:fY,factory:fY.\u0275fac,providedIn:"root"});var gY=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};gY.prototype.create=function(){return new aY(this.uploader,this.uploaderConfigFactory)};gY.\u0275fac=function(a){return new (a||gY)(n(ryc),n(fY))};gY.\u0275prov=Fc({token:gY,factory:gY.\u0275fac,providedIn:"root"});var p7a=function(a){return{"attachment-error":a}},hY=function(a){Y.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new xF;this.onUploadComplete=new xF;this.uploadStates=D$b};V(hY,Y);hY.\u0275dir=Y.\u0275dir;hY.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);for(var a=l(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
hY.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new yyc(a,c.transferStatus);c.transferStatus.pipe(Df(this.destroyed$)).subscribe(function(d){d.type==="j"&&b.onUploadComplete.emit()});return a};hY.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};hY.\u0275fac=function(a){return new (a||hY)(B(gY))};
hY.\u0275cmp=p({type:hY,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[Lf],decls:1,vars:1,consts:[["class","attachments",4,"ngIf"],[1,"attachments"],["class","attachment",3,"ngClass",4,"ngFor","ngForOf"],[1,"attachment",3,"ngClass"],[1,"attachment-title"],["svgIcon","file-present"],[1,"issue-attachment-filename",3,"matTooltip"],[1,"attachment-filesize"],[4,"ngIf"],["role","alert","aria-live",
"assertive",4,"ngIf"],[1,"bv2-remove-icon","keep-focus-ring","attachment-cancel-button",3,"click","matTooltip"],["role","alert","aria-live","assertive"]],template:function(a,b){a&1&&C(0,r7a,2,1,"div",0);a&2&&E("ngIf",b.uploads.length>0)},dependencies:[rv,sv,tv,RC,KI,TI,sI],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 zyc=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 Ayc=function(a){WH.call(this,a.size,a.name);this.attachment=a};V(Ayc,WH);var Byc=function(a,b){a.state=1;w$b(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=Ym(c)?Zm(c):"Error while uploading."})};var iY=function(a){this.id_=a;this.opts={}};g=iY.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};g.toArray=function(){var a=qc(this.opts,function(c){return c!==null});a=rc(a)?null:a;a=[this.id_,this.label_,a];var b=Bba(a,U_b);return a=a.slice(0,b+1)};
g.toString=function(){var a=this.toArray();return"("+KSb(a,function(b){return JSON.stringify(b)}).join(",")+")"};g.getId=function(){return this.id_};g.getLabel=function(){return this.label_};g.getOptions=function(){return tc(this.opts)};g.getQuery=function(){return this.opts.query};var jY=function(a){iY.call(this,a||"all")};gu(jY,iY);var Cyc=function(){var a=(new jY("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};g=jY.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){jY.superClass_.setLabel.call(this,a);return this};g.setQuery=function(a){jY.superClass_.setQuery.call(this,a);return this};
g.setParent=function(a){jY.superClass_.setParent.call(this,a)};g.setItems=function(a){this.opts.items=a};var Dyc=function(){iY.call(this,"image-search")};V(Dyc,iY);g=Dyc.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){iY.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){iY.prototype.setQuery.call(this,a);return this};g.setParent=function(a){iY.prototype.setParent.call(this,a)};var kY=function(){iY.call(this,"maps")};V(kY,iY);kY.prototype.setMode=function(a){this.opts.mode=a;return this};kY.prototype.setLabel=function(a){iY.prototype.setLabel.call(this,a);return this};kY.prototype.setQuery=function(a){iY.prototype.setQuery.call(this,a);return this};kY.prototype.setParent=function(a){iY.prototype.setParent.call(this,a)};var Eyc=function(){iY.call(this,"photos")};V(Eyc,iY);g=Eyc.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){iY.prototype.setLabel.call(this,a);return this};g.setQuery=function(a){iY.prototype.setQuery.call(this,a);return this};g.setParent=function(a){iY.prototype.setParent.call(this,a)};g.removeDuplicates=function(){this.opts.rdv=!0;return this};var lY=function(){iY.call(this,"url")};V(lY,iY);lY.prototype.setType=function(a){this.opts.type=a;return this};lY.prototype.setLabel=function(a){iY.prototype.setLabel.call(this,a);return this};lY.prototype.setQuery=function(a){iY.prototype.setQuery.call(this,a);return this};lY.prototype.setParent=function(a){iY.prototype.setParent.call(this,a)};var Fyc=function(){iY.call(this,"video-search")};V(Fyc,iY);Fyc.prototype.setLabel=function(a){iY.prototype.setLabel.call(this,a);return this};Fyc.prototype.setQuery=function(a){iY.prototype.setQuery.call(this,a);return this};Fyc.prototype.setParent=function(a){iY.prototype.setParent.call(this,a)};var Gyc=function(){iY.call(this,"web")};V(Gyc,iY);Gyc.prototype.setLabel=function(a){iY.prototype.setLabel.call(this,a);return this};Gyc.prototype.setQuery=function(a){iY.prototype.setQuery.call(this,a);return this};Gyc.prototype.setParent=function(a){iY.prototype.setParent.call(this,a)};var Hyc=function(){this.root_=void 0;this.items_=[];this.opts={}},Iyc=function(a){switch(a){case "image-search":return new Dyc;case "maps":return new kY;case "photos":return new Eyc;case "url":return new lY;case "video-search":return new Fyc;case "web":return new Gyc}return new iY(a)};Hyc.prototype.addView=function(a){this.items_.push(typeof a==="string"?Iyc(a):a);return this};
var Jyc=function(a){return"("+KSb(a.items_,function(b){return b.toString()}).join(",")+")"},Kyc=function(a){a=qc(a.opts,function(b){return b!==null});return(a=rc(a)?null:a)?JSON.stringify(hea(a,function(b){return b.toString()})):""};Hyc.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",Jyc(this)],b=Kyc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return Jyc(this)};Hyc.prototype.getOptions=function(){return tc(this.opts)};var Lyc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new Hyc};g=Lyc.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;return this};g.setCallback=function(a){this.callback_=a;return this};var Myc=function(a){Lyc.call(this,a)};gu(Myc,Lyc);var mY=function(a){lp.call(this);this.dom_=a||op();this.rightToLeft_=Nyc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null;this.wasDecorated_=!1};gu(mY,lp);mY.prototype.idGenerator_=ss.getInstance();var Nyc=!1;g=mY.prototype;g.getId=function(){return this.id_||(this.id_=fs(this.idGenerator_))};
g.setId=function(a){this.parent_&&this.parent_.childIndex_&&(sc(this.parent_.childIndex_,this.id_),oea(this.parent_.childIndex_,a,this));this.id_=a};g.getElement=function(){return this.element_};g.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new ds(this));return this.googUiComponentHandler_};
g.setParent=function(a){if(this==a)throw Error("re");if(a&&this.parent_&&this.id_&&dvc(this.parent_,this.id_)&&this.parent_!=a)throw Error("re");this.parent_=a;mY.superClass_.setParentEventTarget.call(this,a)};g.getParent=function(){return this.parent_};g.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("se");mY.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("te");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("te");if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=Gz(a);this.dom_&&this.dom_.document_==b||(this.dom_=op(a));this.decorateInternal(a);this.enterDocument()}else throw Error("ue");};
g.canDecorate=function(){return!0};g.decorateInternal=function(a){this.element_=a};g.enterDocument=function(){this.inDocument_=!0;Oyc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};g.exitDocument=function(){Oyc(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_);Oyc(this,function(a){a.dispose()});!this.wasDecorated_&&this.element_&&Oz(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;mY.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("te");if(a<0||a>(this.children_?this.children_.length:0))throw Error("ve");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;Qa(this.children_)}else oea(this.childIndex_,(void 0).getId());(void 0).setParent(this);Gba(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_=bO(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};g.hasChildren=function(){return!!this.children_&&this.children_.length!=0};var dvc=function(a,b){return a.childIndex_&&b?pea(a.childIndex_,b)||null:null},Oyc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
mY.prototype.removeChild=function(a,b){if(a){var c=typeof a==="string"?a:a.getId();a=dvc(this,c);c&&a&&(sc(this.childIndex_,c),Qa(this.children_,a),b&&(a.exitDocument(),a.element_&&Oz(a.element_)),a.setParent(null))}if(!a)throw Error("we");return a};mY.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};gu(t7a,s7a);var Pyc=function(a){s7a.call(this,"visibility");this.visible=a};gu(Pyc,s7a);var Qyc=Vt(["//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"]),Ryc=Vt(["//apis.google.com/js/rpc.js"]),Syc=Qh(Qyc),Tyc=Qh(Ryc),v7a=null;var Uyc=function(a){lp.call(this);this.element_=a;this.listenKeyIn_=mp(this.element_,"focus",this,!0);this.listenKeyOut_=mp(this.element_,"blur",this,!0)};gu(Uyc,lp);Uyc.prototype.handleEvent=function(a){var b=new uz(a.event_);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};Uyc.prototype.disposeInternal=function(){Uyc.superClass_.disposeInternal.call(this);Az(this.listenKeyIn_);Az(this.listenKeyOut_);delete this.element_};var Vyc=new Map;Vyc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");Vyc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");Vyc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var Wyc=new Set;Wyc.add("application/vnd.google-apps.kix");Wyc.add("application/vnd.google-apps.ritz");Wyc.add("application/vnd.google-apps.punch");var gzc=function(a,b,c){var d=c&&Zh(c,1);if(c){var e=Zh(c,3);e=e&&JSON.parse(e)||{};c={0:Zh(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return Xyc(a,b,d,c);case 3:return Yyc(a,b,d,c);case 10:return Zyc(a,b,d,c);case 12:return $yc(a,b);case 2:return azc(a,b,d,c);case 5:return bzc(a,b,d,c);case 9:return czc(a,b,d,c);case 6:return dzc(a,b,d,c);case 25:return ezc(a,b,d,c);case 1:return Ak(a[0],a_b,26)?fzc(a,b,d,c):Zyc(a,b,d,c);default:return{}}},dzc=function(a,b,c,d){a=
a.map(function(e){return{id:e.getId().getId(),serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:nY(e),lastEditedUtc:Gj(e,mj,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:Zh(e,13),thumbnails:oY(fz(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},azc=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:nY(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:yTb(f),description:f.getDescription(),iconUrl:f.getIconUrl(),thumbnails:oY(fz(f)),isShared:Gj(f,gz,21).getShared(),downloadUrl:Gj(f,gz,21).getDownloadUrl(),embedUrl:Zh(f,13),copyable:hk(Gj(f,gz,21),9),resourceKey:Zh(Gj(f,gz,21),11)};hk(Gj(f,gz,21),12)&&(h.uploadState="success",h.isNew=!0);if(Gj(f,gz,21).hasVideoMetadata()){f=Gj(f,gz,21).getVideoMetadata();if(Ak(f,oj,2)){var k=f.getDuration().getSeconds_asLegacyNumberOrString()+
f.getDuration().getNanos()/1E9;h.duration=k}h.aspectRatio=ak(f,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:hzc(a),v2Translated:!0}},bzc=function(a,b,c,d){a=a.map(function(e){var f=Gj(Gj(e,h_b,15),az,1);gr(e,10,az,f);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:nY(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:oY(fz(e))}});return{action:b,
docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},czc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:fz(e)[0].getUrl().split("/").pop(),type:nY(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:oY(fz(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},fzc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",
name:e.getName(),type:nY(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:oY(fz(e))}});return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},Zyc=function(a,b,c,d){return{action:b,docs:a.map(izc),viewToken:d,view:jzc(c||"upload",a),extraUserInputs:hzc(a),v2Translated:!0}},jzc=function(a,b){return b.some(function(c){var d;return((d=Gj(c,dz,30))==null?void 0:Kj(d,3,0))===9})?a+"/gmailphotos":a},Yyc=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:nY(f),lastEditedUtc:f.getLastModifiedTimestamp().toDate().getTime(),url:f.getUrl(),sizeBytes:yTb(f),description:f.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:oY(fz(f)),mediaKey:f.getId().getId(),parentId:f.getParentId()},k,q=(k=Gj(f,c_b,18))==null?void 0:Gj(k,b_b,3);q&&(h.latitude=ak(q,1),h.longitude=ak(q,2));var t;
(f=(t=Gj(f,c_b,18))==null?void 0:Jj(t,6))&&(h.version=f);return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:hzc(a),v2Translated:!0}},Xyc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",name:fz(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:oY(fz(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},
ezc=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:nY(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:e.getUrl(),thumbnails:oY(fz(e))}});return{action:b,docs:a,viewToken:d,view:c||"photos",v2Translated:!0}},$yc=function(a,b){a=a.map(function(c){var d=
Gj(c,cz,27);d=zi(d,1,Ai())[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}},oY=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}})},
hzc=function(a){return{isAttachment:a.some(function(b){return hk(b,31)})}},izc=function(a){var b={id:a.getId().getId(),serviceId:kzc(a),mimeType:a.getMimeType(),name:a.getName(),type:nY(a),sizeBytes:yTb(a),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:oY(fz(a)),isNew:!0},c=Gj(a,dz,30);if(c){b.dataUrl=Zh(c,1)||null;a:{var d=Gj(a,dz,30);switch(Kj(d,3,0)){case 9:d=bk(d,f_b,2,ez);d={remoteRefs:d&&Zh(d,1)};break a;case 10:case 15:d=
bk(d,e_b,4,ez);var e=fz(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}b.uploadMetadata=d}(d=c&&bk(c,e_b,4,ez))&&(b.id=d.getPhotoId());(d=c&&bk(c,g_b,5,ez))&&(b.contentId=Zh(d,1));(d=c&&bk(c,d_b,6,ez))&&(b.contentId=Zh(d,1));(c==null?void 0:Kj(c,3,0))===1&&(b.mediaKey=a.getId().getId());return b},kzc=function(a){var b;switch(((b=Gj(a,dz,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},nY=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"}};var lzc=function(a){this.obj_=a};g=lzc.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 mzc=function(a){this.obj_=a||{}};g=mzc.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 nzc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new lzc(a.obj_.attributes)},tjc=function(a){return(a=a.obj_.timeout)?a:null};var ozc=function(){mzc.apply(this,arguments)};V(ozc,mzc);var pzc=Vt(["https://apis.google.com/js/api.js"]),qzc=Qh(pzc),uzc=function(a,b){var c=!1,d=rzc(a,b).then(function(f){c=!0;return f}),e=V0b(5E3).then(function(){return c?rzc(a,b):szc(b).then(function(f){return tzc(f,a)})});return H0b([d,e])},rzc=function(a,b){return vzc(b).then(function(c){return tzc(c,a)})},tzc=function(a,b){var c=b.lastIndexOf("gapi.",0)==0?b.slice(5):b;return a[c]?Uz(a[c]):new Tz(function(d,e){var f=Xq(function(){e(Error("xe"))},3E4);a.load(b,{callback:function(){Yq(f);d(a[c])},
onerror:function(h){Yq(f);e(h)}})})},vzc=function(a){return a.gapi&&a.gapi.load?Uz(a.gapi):szc(a)},szc=function(a){return QGa(qzc,{document:a.document}).then(function(){return a.gapi})},wzc=function(){};wzc.prototype.load=function(a,b){b=b===void 0?window:b;var c=Date.now();return uzc(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 xzc=function(){sz.call(this);this.gapiLoader_=new wzc;this.origin_=null;this.gapiPickerIframeResolver_=J0b();this.gapiIframesResolver_=J0b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};V(xzc,sz);
var yzc=function(a,b){var c=gp("gapi.iframes",b);return c?(a=Date.now(),Uz({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},zzc=function(a,b,c,d,e,f){var h=!0;h=h===void 0?!1:h;yzc(a,Nz(b.ownerDocument)).then(function(k){var q=k.library;a.gapiIframesResolver_.resolve(q);k=a.gapiPickerIframeResolver_;var t=k.resolve,w=h;w=w===void 0?!1:w;var y={};y["host-message-handler"]=c;a.hostMessageHandlerInternal_=y;var D=YJ(d);D=YJ(D);D=PJ(OJ(new qp,D.scheme_),D.getDomain()).setPort(D.getPort()).toString();
a.origin_=D;D=(new ozc).setUrl(d);D.obj_.where=b;D.obj_.allowPost=w;D.obj_.messageHandlers=y;w=gp("makeWhiteListIframesFilter",q)([a.origin_]);D.obj_.messageHandlersFilter=w;e!=null&&D.setId(e);f!=null&&(D.obj_.rpctoken=f);nzc(D).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");nzc(D).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(D.value());t.call(k,q)},function(k){a.gapiIframesResolver_.reject(k);a.gapiPickerIframeResolver_.reject(k)});return a.gapiPickerIframeResolver_.promise},
Azc=function(a,b){return G0b([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=l(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,gp("makeWhiteListIframesFilter",c)([a.origin_])):C0b(Error("ye"))})};xzc.prototype.disposeInternal=function(){Bzc(this);sz.prototype.disposeInternal.call(this)};var Bzc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var Czc=function(){this.nextId=0};Czc.prototype.getUniqueId=function(){return":"+(this.nextId++).toString(36)};var Ezc=function(a,b){switch(a.action){case "select-contacts":var c=Dzc(a.contacts);break;case "visibility":c=a.visible;c=(new jz).setCommand(7).setVisible(c);a={};a["iframe-command"]=c.serialize();c=a;break;case "set-drive-options":c=a.appId;a=a.appOrigin;c=(new jz).setCommand(13).setAppId(c);c=sj(c,10,a);a={};c=(a["iframe-command"]=c.serialize(),a);break;default:c=null}return c?Azc(b,c):Uz()},Dzc=function(a){if(!a||a.length==0)return null;var b=new jz;b.setCommand(11);var c=new Czc;a.forEach(function(d){if(d.email){var e=
(new ou).setName(d.name?d.name:d.email);var f=new cz;d=lc(f,1,Jb,d.email);e=Pj(e,cz,27,d).setId((new $y).setId(c.getUniqueId()).setSourceId(12))}else e=null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var pY=function(a,b,c){lp.call(this);this.target=a;this.handle=b||a;this.limits=c||new XN(NaN,NaN,NaN,NaN);this.document_=Gz(a);this.eventHandler_=new ds(this);Dq(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;mp(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=Fzc};gu(pY,lp);
var Fzc=Ba.document&&Ba.document.documentElement&&!!Ba.document.documentElement.setCapture&&!!Ba.document.releaseCapture;g=pY.prototype;g.getHandler=function(){return this.eventHandler_};g.disposeInternal=function(){pY.superClass_.disposeInternal.call(this);zz(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||rs&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new qY("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(Nz(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=Mz(op(this.document_).document_)}};
g.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new qY("end",this,a.clientX,a.clientY,a,Gzc(this,this.deltaX),Hzc(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 qY("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=Izc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new qY("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(Jzc(this,a,b,c),a.preventDefault())};var Izc=function(a,b,c){var d=Mz(op(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 is(Gzc(a,a.deltaX),Hzc(a,a.deltaY))};pY.prototype.onScroll_=function(a){var b=Izc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Jzc(this,a,b.x,b.y)};
var Jzc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new qY("drag",a,b.clientX,b.clientY,b,c,d))},Gzc=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))},Hzc=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))};pY.prototype.isDragging=function(){return this.dragging_};
var qY=function(a,b,c,d,e,f,h){tz.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};gu(qY,tz);var rY=function(a){this.map_=new Map;var b=arguments.length;if(b>1){if(b%2)throw Error("ba");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};g=rY.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,b){var c=this;b=b===void 0?function(d,e){return d===e}:b;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return b(c.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 rY){a=l(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=l(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=l(Object.entries(a)),b=a.next();!b.done;b=a.next())c=l(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 rY(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!Ba.requestAnimationFrame;++c)Ba.requestAnimationFrame=Ba[b+"RequestAnimationFrame"],Ba.cancelAnimationFrame=Ba[b+"CancelAnimationFrame"]||Ba[b+"CancelRequestAnimationFrame"];if(!Ba.requestAnimationFrame){var d=0;Ba.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return Ba.setTimeout(function(){e(f+h)},h)};Ba.cancelAnimationFrame||(Ba.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var Kzc=[[],[]],Lzc=0,Mzc=!1,Nzc=0,Pzc=function(a,b){var c=Nzc++,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,Kzc[Lzc].push(d));Mzc||(Mzc=!0,window.requestAnimationFrame(Ozc))}},Ozc=
function(){Mzc=!1;var a=Kzc[Lzc],b=a.length;Lzc=(Lzc+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 Qzc=Ph(HTb(new Cu(FTb,"about:blank")));Cc(Qzc);var Rzc=Ph(HTb(new Cu(FTb,"javascript:undefined")));Cc(Rzc);var Szc=function(a,b){this.element_=a;this.dom_=b};var sY=function(a,b){mY.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=Pzc({mutate:this.resizeBackground_},this);Pzc({mutate:this.updateModalAndBackground_},this)};gu(sY,mY);g=sY.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(){sY.superClass_.createDom.call(this);var a=this.getElement();VN(a,mi(this.getCssClass()).split(" "));a.tabIndex=0;aO(a,!1);Tzc(this);Uzc(this)};
var Tzc=function(a){if(a.useIframeMask_&&!a.bgIframeEl_){var b=a.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=Cc(Qzc).toString();a.bgIframeEl_=b;a.bgIframeEl_.className=a.getCssClass()+"-bg";aO(a.bgIframeEl_,!1);Bkc(a.bgIframeEl_,0)}a.bgEl_||(a.bgEl_=a.getDomHelper().createDom("DIV",a.getCssClass()+"-bg"),aO(a.bgEl_,!1))},Uzc=function(a){a.tabCatcherElement_||(a.tabCatcherElement_=a.getDomHelper().createElement("SPAN"),aO(a.tabCatcherElement_,!1),
a.tabCatcherElement_.tabIndex=0,a.tabCatcherElement_.style.position="absolute")};g=sY.prototype;g.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};g.canDecorate=function(a){return!!a&&a.tagName=="DIV"};g.decorateInternal=function(a){sY.superClass_.decorateInternal.call(this,a);a=mi(this.getCssClass()).split(" ");VN(this.getElement(),a);Tzc(this);Uzc(this);this.getElement().tabIndex=0;aO(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);sY.superClass_.enterDocument.call(this);a=this.tabCatcherElement_;b=this.getElement();b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.focusHandler_=new Uyc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);Vzc(this,!1)};
g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);bi(this.focusHandler_);sY.superClass_.exitDocument.call(this);Oz(this.bgIframeEl_);Oz(this.bgEl_);Oz(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_&&Vzc(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_);Wzc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)xz(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_)xz(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 Vzc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new Szc(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_||ebc(d,"hidden")||(YI(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}};
sY.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var Wzc=function(a,b){a.bgIframeEl_&&aO(a.bgIframeEl_,b);a.bgEl_&&aO(a.bgEl_,b);aO(a.getElement(),b);aO(a.tabCatcherElement_,b)};g=sY.prototype;g.onShow=function(){this.dispatchEvent("show")};g.onHide=function(){Wzc(this,!1);this.dispatchEvent("hide")};g.isVisible=function(){return this.visible_};g.focus=function(){this.focusElement_()};
g.resizeBackground_=function(){this.bgIframeEl_&&aO(this.bgIframeEl_,!1);this.bgEl_&&aO(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=Xzc(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_&&(aO(this.bgIframeEl_,!0),Akc(this.bgIframeEl_,c,a));this.bgEl_&&(aO(this.bgEl_,!0),Akc(this.bgEl_,c,a))};
g.reposition=function(){if(Eq(this.getElement(),"position")=="fixed")var a=0,b=0;else b=Mz(this.getDomHelper().document_),a=b.x,b=b.y;var c=js(this.getElement());var d=Xzc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);ks(this.getElement(),a,b);ks(this.tabCatcherElement_,a,b)};g.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&Xq(this.focusElement_,0,this)};g.focusElement_=function(){try{this.getElement().focus()}catch(a){}};
var Xzc=function(a){a=a.getDomHelper().document_;return Kz(Nz(a)||window)};sY.prototype.disposeInternal=function(){bi(this.popupShowTransition_);this.popupShowTransition_=null;bi(this.popupHideTransition_);this.popupHideTransition_=null;bi(this.bgShowTransition_);this.bgShowTransition_=null;bi(this.bgHideTransition_);this.bgHideTransition_=null;sY.superClass_.disposeInternal.call(this)};var vY=function(a,b,c){sY.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=tY(tY(new uY,Yzc,!0),Zzc,!1,!0)};gu(vY,sY);g=vY.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_&&Qz(this.titleTextEl_,a)};g.getTitle=function(){return this.title_};g.getContent=function(){return""};g.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var $zc=function(a){a.getElement()||a.render();return a.getElement()};vY.prototype.getBackgroundElement=function(){this.getElement()||this.render();return vY.superClass_.getBackgroundElement.call(this)};
var aAc=function(a,b){a.backgroundElementOpacity_=b;a.getElement()&&(b=a.getBackgroundElement())&&Bkc(b,a.backgroundElementOpacity_)};vY.prototype.handleDrag=function(){};
var bAc=function(a,b){var c=mi(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?VN(a.titleEl_,c):vkc(a.titleEl_,c));b&&!a.dragger_?(b=new pY(a.getElement(),a.titleEl_),a.dragger_=b,VN(a.titleEl_,c),mp(a.dragger_,"start",a.setDraggerLimits_,!1,a),mp(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};g=vY.prototype;
g.createDom=function(){vY.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"));e0b(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));XI(this.titleTextEl_,"heading");XI(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;fbc(this.titleCloseEl_,"Close");XI(a,"dialog");YI(a,"labelledby",this.titleTextId_||"");aO(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());aO(this.buttonEl_,!!this.buttons_);aAc(this,this.backgroundElementOpacity_)};
g.decorateInternal=function(a){vY.superClass_.decorateInternal.call(this,a);a=this.getElement();var b=this.class_+"-content";this.contentEl_=Jz(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_=Jz(document,null,b,a)[0])?(this.titleTextEl_=Jz(document,null,c,this.titleEl_)[0],this.titleCloseEl_=Jz(document,null,d,this.titleEl_)[0]):
(this.titleEl_=this.getDomHelper().createDom("DIV",b),a.insertBefore(this.titleEl_,this.contentEl_));this.titleTextEl_?(this.title_=l0b(this.titleTextEl_),this.titleTextEl_.id||(this.titleTextEl_.id=this.getId())):(this.titleTextEl_=c0b("SPAN",{className:c,id:this.getId()}),this.titleEl_.appendChild(this.titleTextEl_));this.titleTextId_=this.titleTextEl_.id;YI(a,"labelledby",this.titleTextId_||"");this.titleCloseEl_||(this.titleCloseEl_=this.getDomHelper().createDom("SPAN",d),this.titleEl_.appendChild(this.titleCloseEl_));
aO(this.titleCloseEl_,this.hasTitleCloseButton_);b=this.class_+"-buttons";(this.buttonEl_=Jz(document,null,b,a)[0])?(this.buttons_=new uY(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()),aO(this.buttonEl_,!!this.buttons_));aAc(this,this.backgroundElementOpacity_)};
g.enterDocument=function(){vY.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_);bAc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();XI(a,"dialog");this.titleTextEl_.id!==""&&YI(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()&&Vzc(this,!1)}};g.exitDocument=function(){this.isVisible()&&this.setVisible(!1);bAc(this,!1);vY.superClass_.exitDocument.call(this)};g.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),vY.superClass_.setVisible.call(this,a))};g.onShow=function(){vY.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
g.onHide=function(){vY.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};g.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=Kz(Nz(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=js(this.getElement());Eq(this.getElement(),"position")=="fixed"?this.dragger_.limits=new XN(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new XN(0,0,c-d.width,a-d.height)};
g.onTitleCloseClick_=function(){cAc(this)};var cAc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new dAc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},eAc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&aO(a.titleCloseEl_,a.hasTitleCloseButton_)};vY.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};vY.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;vY.superClass_.disposeInternal.call(this)};
vY.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 dAc(a,b))&&this.setVisible(!1)}};
vY.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 dAc(f,b))):e||(b=!0)}else{if(a.keyCode==9&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(w){}Xq(this.resetBackwardTabWrap_,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)f=e.name;
else if(e==this.titleCloseEl_)cAc(this);else if(d){var h=d.defaultButton_,k;if(k=h)a:{k=Iz("BUTTON",d.element_);for(var q=0,t;t=k[q];q++)if(t.name==h||t.id==h){k=t;break a}k=null}e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT"||e.tagName=="A")&&!e.disabled;!k||k.disabled||e||(f=h)}f&&d&&(c=!0,b=this.dispatchEvent(new dAc(f,String(d.get(f)))))}else e!=this.titleCloseEl_||a.keyCode!=32&&a.key!=" "||cAc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var dAc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};gu(dAc,tz);var uY=function(a){rY.call(this);this.dom_=a||op();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};gu(uY,rY);uY.prototype.clear=function(){rY.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};uY.prototype.set=function(a,b,c,d){rY.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var tY=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};uY.prototype.render=function(){if(this.element_){UJa(this.element_,Tr);var a=op(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)}};
uY.prototype.decorate=function(a){if(a&&a.nodeType==1){this.element_=a;a=Iz("BUTTON",this.element_);for(var b=0,c,d,e;c=a[b];b++)if(d=c.name||c.id,e=l0b(c)||c.value,d){var f=b==0;this.set(d,e,f,c.name=="cancel");f&&UN(c,this.class_+"-default")}}};uY.prototype.getElement=function(){return this.element_};uY.prototype.getDomHelper=function(){return this.dom_};
var Yzc={key:"ok",caption:"OK"},Zzc={key:"cancel",caption:"Cancel"},fAc={key:"yes",caption:"Yes"},gAc={key:"no",caption:"No"},hAc={key:"save",caption:"Save"},iAc={key:"continue",caption:"Continue"};typeof document!="undefined"&&(tY(new uY,Yzc,!0,!0),tY(tY(new uY,Yzc,!0),Zzc,!1,!0),tY(tY(new uY,fAc,!0),gAc,!1,!0),tY(tY(tY(new uY,fAc),gAc,!0),Zzc,!1,!0),tY(tY(tY(new uY,iAc),hAc),Zzc,!0,!0));var jAc=function(a,b,c){vY.call(this,a,b,c)};gu(jAc,vY);var Cq=function(a,b){lp.call(this);this.element_=a;a=Pz(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&bO(a);this.listenKey_=mp(this.element_,iu?"DOMMouseScroll":"mousewheel",this,b)};gu(Cq,lp);
Cq.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;d.type=="mousewheel"?(a=kAc(-d.wheelDelta),d.wheelDeltaX!==void 0?(b=kAc(-d.wheelDeltaX),c=kAc(-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 lAc(a,d,b,c);this.dispatchEvent(b)};
var kAc=function(a){return ju&&(rs||SSb)&&a%40!=0?a:a/40};Cq.prototype.disposeInternal=function(){Cq.superClass_.disposeInternal.call(this);Az(this.listenKey_);this.listenKey_=null};var lAc=function(a,b,c,d){uz.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};gu(lAc,uz);var mAc;var nAc=Vt(["https://about:blank"]),oAc=Vt(['javascript:""']),pAc=Vt(["about:blank"]),wY=function(a,b,c,d,e,f,h,k,q){k=k===void 0?!1:k;q=q===void 0?!1:q;vY.call(this,f?f+" picker modal-dialog":"picker modal-dialog",!0,c);vcc(a,"protocol");this.iframeManager_=new xzc;this.targetId_=Gu();this.rpcToken_=Gu();a=YJ(a);WJ(a,"hostId");c=WJ(a,"parent");this.useGapi_=!q&&!0||(c==null?void 0:c.includes("onepick.corp.google.com"));k&&VJ(a,"fv2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;
this.preferredDialogHeight_=e;d!==void 0||e!==void 0?d=!0:(d=WJ(YJ(a.toString()),"hostId"),mAc||(mAc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),d=!mAc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(h=this.gadgetsDomHelper_,b=WJ(YJ(this.url_),"grugl")=="true"?Tyc:Syc,u7a(h)||(h=h||op(document),d=h.createElement("SCRIPT"),Dc(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):hu(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()):UJa(this.buttonEl_,Tr),aO(this.buttonEl_,!!this.buttons_))};gu(wY,jAc);g=wY.prototype;g.url_="";g.iframe_=null;g.iframeLoaded_=!1;g.loadedFired_=!1;g.callback_=function(){};
g.enterDocument=function(){wY.superClass_.enterDocument.call(this);y7a(this.getBackgroundElement(),this.getHandler())};g.render=function(a){var b=this;wY.superClass_.render.call(this,a);this.useGapi_?yzc(this.iframeManager_,window).then(function(){return qAc(b)}).then(null,function(c){return void b.handleError_(c)}):rAc(this)};
var qAc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);aO(b,!1);a.getContentElement().appendChild(b);return zzc(a.iframeManager_,b,function(c){var d=k_b(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=Gj(d,i_b,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var f=d.getItemList(Bi);d=f.length===0?{action:e}:gzc(f,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:eAc(a),
a.callback_({action:"loaded"}),sAc(a)}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();tAc(a);aO(a.iframe_.parentElement,!0);UN(a.getElement(),"picker-dialog");uAc(a);return c})},rAc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Aea(a.iframe_,vAc(a));UN(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void tAc(a)});
a.iframe_.src=a.url_;uAc(a)},xAc=function(a){wAc(a,eu(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},uAc=function(a){var b=WJ(YJ(a.url_),"title");b&&a.setTitle(b)},vAc=function(a){return wba()>=7&&a.url_.lastIndexOf("https",0)==0?Qh(nAc):Es?Qh(oAc):Qh(pAc)},tAc=function(a){xAc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};wY.prototype.handleKeydown_=function(a){a.keyCode==27&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};
var wAc=function(a,b){var c=a.gadgetsDomHelper_;w7a(function(){b(c.getWindow().gadgets.rpc)},c)};wY.prototype.setUrl=function(a){a=VJ(new qp(a),"rpcService",this.targetId_);VJ(a,"rpctoken",this.rpcToken_);RJ(a,"rpctoken="+this.rpcToken_);OJ(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};wY.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&sAc(this)};
wY.prototype.setCallback=function(a){this.callback_=a;wAc(this,eu(function(b){b.register(this.targetId_,eu(this.handlePickerAction_,this))},this))};wY.prototype.handlePickerAction_=function(a){var b=a.action;b=="loaded"&&(this.loadedFired_=!0,this.sendCommand(new Pyc(this.isVisible())),sAc(this),eAc(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 sAc=function(a){a.appId_&&a.sendCommand(new t7a(a.appId_,window.location.protocol+"//"+window.location.host))};g=wY.prototype;g.setRelayUrl=function(a){wAc(this,eu(function(b){b.setRelayUrl(this.targetId_,a)},this))};g.sendCommand=function(a){var b=this;this.useGapi_&&Ezc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});wAc(this,eu(function(c){c.call(this.targetId_,"picker",null,a)},this))};
g.resizePicker_=function(){var a=this.getDomHelper().document_;a=Nz(a)||window;if(WJ(YJ(this.url_),"ignoreLimits")=="true")a=new Ez(this.preferredDialogWidth_,this.preferredDialogHeight_);else if(WJ(YJ(this.url_),"shadeDialog")=="true"){var b=Ekc($zc(this)),c=Kz(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 Ez(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=Kz(a),c=c.height*.85);var d=Math.max(480,Math.min(650,c))}else c=Kz(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=Kz(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new Ez(b,d)}Akc(this.getContentElement(),a);this.reposition()};
g.reposition=function(){if(WJ(YJ(this.url_),"shadeDialog")=="true"){var a=js(this.getElement()),b=Kz(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=Ekc($zc(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=Mz(this.getDomHelper().document_).y;ks(this.getElement(),a,b)}else wY.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_))}wY.superClass_.setVisible.call(this,a);this.sendCommand(new Pyc(a))};
g.focus=function(){wY.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 xY=function(a,b){b=b===void 0?wY:b;Lyc.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};V(xY,Myc);xY.prototype.disposeOnHide_=!1;
xY.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(RJ(QJ(YJ(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("ze");var a=new this.pickerConstructor(yAc(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 zAc=function(a,b){a.urlParamMap_.set(b,"true");return a};g=xY.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 AAc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};g=xY.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 yAc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",Jyc(a.nav_));var b=new qp(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){VJ(b,d,c)});return b};var yY=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new xF;this.onCloneBlob=new xF;this.onePickUrl=a.getOnePickUrl()};
yY.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=AAc(zAc(zAc(zAc(zAc((new xY(this.onePickUrl)).addView(Cyc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&c.action==="picked")for(var d=l(c.docs),e=d.next();!e.done;e=d.next())e=new zyc(e.value),c.extraUserInputs.isAttachment?(e=new Ayc(e),Byc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};yY.\u0275fac=function(a){return new (a||yY)(B(as),B(EH))};
yY.\u0275cmp=p({type:yY,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&&(F(0,"div",0)(1,"button",1),O("click",function(){return b.showDialog()}),J(2,"mat-icon",2),H()());a&2&&(A(),E("disabled",
b.disabled))},dependencies:[RC,kC,Gx,KI,TI],encapsulation:2});var zY=function(a,b,c){Y.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new xF};V(zY,Y);zY.\u0275dir=Y.\u0275dir;zY.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent("editIssue","view","commentAndVoteBanner")};
zY.prototype.onClick=function(a){var b=ho(this.issueDetailsBrain.id$);this.onSubmitComment.emit(a);b!=null&&(f7b(this.userResources,b,{voted:!0,starred:null,notificationSubscription:null}).pipe(Df(this.destroyed$)).subscribe(),this.analytics.trackEvent("editIssue","click","commentAndVote"))};zY.\u0275fac=function(a){return new (a||zY)(B(iI),B(pE),B(CF))};
zY.\u0275cmp=p({type:zY,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[Lf,rd],decls:1,vars:1,consts:[["class","callout",4,"ngIf"],[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&&C(0,A7a,7,1,"div",0);a&2&&E("ngIf",b.isPlusOneText)},dependencies:[tv,RC,kC,Ex,KI,TI],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 BAc=["commentBoxContainer"],CAc=[[["","warning",""]],[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],DAc=function(a){return{focused:a}},EAc=function(a,b){return[a,b]},AY=function(a,b,c,d){this.analytics=a;this.hotkeys=b;this.activeSession=c;this.appEvents=d;this.MARKDOWN="MARKDOWN";this.commentChange=new xF;this.warn=this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=!1;this.onPlusOneTextEntered=
new xF;this.onChange=new xF;this.onFocusEvent=new xF;this.onSubmit=new xF;this.onRestrict=new xF;this.focused=!1;this.commentRebound$=new xf(1);this.destroyed$=new xf(1);this.currentTracker=this.activeSession.getTracker();this.createRestrictedResourcesComponentIds=this.activeSession.getCreateRestrictedSubresourcesComponentIds()};g=AY.prototype;g.ngOnDestroy=function(){var a;(a=this.comment)==null||E$b(a);this.destroyed$.next()};
g.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(Df(this.destroyed$)).subscribe(function(b){hBb(a,b)});this.appEvents.scrollToCommentBox.pipe(Df(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 fEa(c)};
g.isRestricted=function(){var a,b;return((b=(a=this.judgementForNewContent)==null?void 0:a.severity)!=null?b:"NONE_DETECTED")!=="NONE_DETECTED"};var hBb=function(a,b){(b=b===void 0?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();setTimeout(function(){var c;(c=a.commentDraftComponent)==null||klc(c)})};g=AY.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&&Qa(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))};AY.\u0275fac=function(a){return new (a||AY)(B(CF),B($I),B(as),B(iD))};
AY.\u0275cmp=p({type:AY,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(rg(mO,5),rg(BAc,5),rg(hY,5));if(a&2){var c;vg(c=wg())&&(b.commentDraftComponent=c.first);vg(c=wg())&&(b.commentBoxContainer=c.first);vg(c=wg())&&(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"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[rd],ngContentSelectors:["[warning]","[recaptchaContainer]","[additionalToolbarItems]"],decls:10,vars:16,consts:[["commentBoxContainer",""],["restrictedFlatButton",
""],[1,"bv2-comment-box-container",3,"ngClass"],[1,"bv2-comment-textarea-wrapper"],[3,"contentChange","focus","blur","keydown","paste","content","placeholder","disabled","textareaClass","audience","idForAriaLabel"],[4,"ngIf"],[3,"onUploadCancel","onUploadComplete","uploads"],["class","bv2-comment-toolbar",4,"ngIf"],[3,"onSubmitComment","isPlusOneText"],[1,"bv2-comment-toolbar"],[3,"onSelect","disabled"],[3,"disabled","onPickDoc","onCloneBlob",4,"ngIf"],["class","goog-inline-block vertical-centered restriction-button",
4,"ngIf"],[3,"onPickDoc","onCloneBlob","disabled"],[1,"goog-inline-block","vertical-centered","restriction-button"],[4,"ngIf","ngIfElse"],["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=u();ig(CAc);F(0,"div",2,0)(2,"div",3)(3,"b-comment-draft",4);O("contentChange",function(d){v(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 x()})("focus",function(){v(c);return x(b.onFocus())})("blur",function(){v(c);return x(b.onBlur())})("keydown",function(d){v(c);return x(b.onKeydown(d))})("paste",function(d){v(c);
if(d&&d.clipboardData!=null){var e=d.clipboardData;for(var f=!1,h=!1,k=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,k=q);h&&e.items&&e.files?(h=e.files[0],k=e.items[k].type.replace(/^.*[/]/,""),f?(e=e.getData("text/plain"),e=e.replace(/^.*[\\\/]/,"")):e=(new Date).toString()+"."+k,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 x()});H();C(4,
B7a,2,1,"ng-container",5);H();jg(5);F(6,"b-attachment-uploader",6);O("onUploadCancel",function(d){v(c);b.removeUpload(d);return x(b.onChange.emit())})("onUploadComplete",function(){v(c);return x(b.onChange.emit())});H();jg(7,1);C(8,G7a,5,3,"div",7);H();C(9,H7a,2,4,"div",5)}a&2&&(E("ngClass",Hg(11,DAc,b.focused)),A(3),E("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",Ig(13,EAc,b.disabled?"bv2-disabled":"",b.warn?"banned-words-warning":""))("audience",
b.audience)("idForAriaLabel",b.idForAriaLabel),A(),E("ngIf",b.isPlusOneCalloutEnabled),A(2),E("uploads",b.comment.uploads),A(2),E("ngIf",b.showToolbar),A(),E("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[rv,tv,RC,mO,KI,TI,RL,yY,eY,hY,kC,Ex,Gx,zY],encapsulation:2});var BY=function(a){this.activeSession=a;this.externalWarnings=[];this.enableNewVisibilityChips=ep(this.activeSession,"enableNewVisibilityChips")};BY.\u0275fac=function(a){return new (a||BY)(B(as))};
BY.\u0275cmp=p({type:BY,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&&C(0,N7a,8,1,"div",0);a&2&&$f(b.externalWarnings.length>0?0:-1)},dependencies:[GQ,SQ],styles:[".bv2-external-component-modal-warning[_ngcontent-%COMP%] {\n  padding-top: 10px;\n\n  ul {\n    padding-left: 0;\n  }\n}"],changeDetection:0});var CY=function(){};
CY.\u0275fac=function(a){return new (a||CY)};CY.\u0275mod=cd({type:CY});CY.\u0275inj=Gc({imports:[LQ,aR]});var FAc=["captchaContainer"],DY=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new xF;this.destroyed$=new xf(1)};DY.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(Df(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
DY.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"})})};DY.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};DY.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)})}};DY.\u0275fac=function(a){return new (a||DY)(B(Me),B($G),B(aW),B(iD),B(CF))};
DY.\u0275cmp=p({type:DY,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&rg(FAc,5);if(a&2){var c;vg(c=wg())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&J(0,"div",null,0)},encapsulation:2});var GAc=["dialog"],EY=function(a,b,c,d){Y.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new xF;this.close=new xF;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=HAc;this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&ep(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new XH;var e;this.comment.formattingMode=sl((e=QG(d).textDisplayPreferences)==null?void 0:e.lastPublishMode);this.issueStates=n2b};V(EY,Y);EY.\u0275dir=Y.\u0275dir;
EY.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new Fxc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&O7a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});dH(this.matDialogRef).pipe(Df(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};EY.\u0275fac=function(a){return new (a||EY)(B(jH),B(as),B($I),B(PG))};
EY.\u0275cmp=p({type:EY,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&rg(GAc,5);if(a&2){var c;vg(c=wg())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[Lf],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["statusMenu",""],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["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"],[1,"bv2-modal-form"],["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","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","bv2-modal-text-field",
4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"onSubmit","comment","showToolbar"],[1,"float-clear"],[3,"externalWarnings"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],[1,"bv2-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"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&C(0,b8a,14,5,"ng-template",null,0,Mg)},dependencies:[sv,tv,uv,vv,wv,
kH,mH,oH,nH,my,Bh,dy,ey,vy,ly,jy,kC,Ex,OO,JI,NI,LI,OI,iO,AY,DY,BY],encapsulation:2});var HAc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var FY=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};FY.prototype.enableSubmit=function(){return this.reporter!==""};FY.prototype.cancel=function(){this.dialogRef.close()};FY.prototype.save=function(){this.dialogRef.close(this.reporter)};FY.\u0275fac=function(a){return new (a||FY)(B(cH))};
FY.\u0275cmp=p({type:FY,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&&(F(0,"h1",0),Q(1,"Change Reporter"),H(),F(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),Q(5," Reporter "),H(),F(6,"input",
2),Cg("ngModelChange",function(c){Bg(b.reporter,c)||(b.reporter=c);return c}),O("autocompleteActive",function(c){return b.autocompleteActive=c})("keydown",function(c){c.key==="Enter"&&!b.autocompleteActive&&b.enableSubmit()&&b.save()}),H()()(),F(7,"mat-dialog-actions")(8,"button",3),O("click",function(){return b.cancel()}),Q(9," Cancel "),H(),F(10,"button",4),O("click",function(){return b.save()}),Q(11," Save "),H()());a&2&&(A(6),E("bContactAutocomplete","SINGLE"),Ag("ngModel",b.reporter),A(4),E("disabled",
!b.enableSubmit()))},dependencies:[Bh,dy,ly,kC,Ex,mH,oH,nH,yW,Qy,Jy,Dy,kM,iO],styles:["mat-dialog-content[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin-top:8px}"]});var IAc=["addCommentDialog"],GY=function(a,b,c,d,e,f,h,k,q,t,w,y,D){Y.call(this);var G=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.componentActions=f;this.issueTypeDialog=h;this.copyIssueIdService=k;this.matDialog=q;this.$log=t;this.issuePicker=w;this.userPreferencesManager=y;this.accessIndicatorService=D;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new yf;this.effortSpec$=this.uniqueComponentIds$.pipe(Cf(function(I){return G.componentFridge.watchSet(I)}),
z(function(I){return G.getCommonEffortSpec(I)}),zf({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(z(function(I){return I!==void 0}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new xF;this.onCreateHotlist=new xF;this.onLoadHotlist=new xF;this.externalWarnings=[];this.enableRecaptcha=this.activeSession.userRequiresCaptcha()&&ep(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};V(GY,Y);
var JAc=function(a){var b=new XH,c;b.formattingMode=sl((c=QG(a.userPreferencesManager).textDisplayPreferences)==null?void 0:c.lastPublishMode);return b};GY.prototype.hasSelectedIssues=function(){return this.getSelectedIssues().length>0};var KAc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},c8a=function(a){return KAc(a)?"Mark as read":"Mark as unread"},Gq=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
GY.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=l(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=LAc(a);this.uniqueComponentIds$.next(a)};
var LAc=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},MAc=function(a){if(!bB(a.activeSession)){a.externalWarnings=[];var b=we(a.getSelectedIssues().map(function(e){return Goc(a.accessIndicatorService,e.issueId,e.componentId).pipe(z(function(f){return{issue:e,indicator:f}}))}));se(b).then(function(e){e=l(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=l(b);for(var c=b.next(),d={};!c.done;d={id$jscomp$427:void 0},c=b.next())d.id$jscomp$427=c.value,a.componentActions.get(d.id$jscomp$427).then(function(e){if(a.activeSession.isInternalSession()&&xq(e)||aB(a.activeSession)&&yq(e)){var f,h={type:"component",path:P6a((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$427+".")}}(d))}};g=GY.prototype;g.getCommonEffortSpec=function(a){a=l(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":HY(this,null,0);break;case "COMPONENT":NAc(this);break;case "VERIFIER":HY(this,null,1);break;case "REPORTER":OAc(this);break;case "CHANGELIST":PAc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":QAc(this);break;case "FOUND_IN":PAc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":PAc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":PAc(this,"targetedToVersion","Targeted To");break;case "COMMENT":RAc(this);break;
case "SLO_START_TIME":SAc(this);break;case "ESTIMATED_EFFORT":TAc(this);break;case "CC":PAc(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)&&IY(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&IY(this,"severity",a);break;case "STATUS":(a=a.newValue)&&HY(this,$i[a],a==="DUPLICATE"?3:void 0);break;case "TYPE":(a=a.newValue)&&IY(this,"type",a);break;case "IS_ARCHIVED":IY(this,"isArchived",""+a.newValue);break;case "IN_PROD":IY(this,"inProd",""+a.newValue);break;case "CC":IY(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?JY(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):JY(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?JY(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):JY(this,
{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?JY(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):JY(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":HY(this,$i.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};g.bulkMarkIssueRead=function(){var a=KAc(this);IY(this,"readState",a?"true":"")};
var IY=function(a,b,c,d){var e={fieldName:b,value:c};d!==void 0&&(e.actionType=d);var f=Gq(a),h=[e];b==="deletionReason"&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var k={bulkEditOps:[{issueIds:f,actions:h}]};a.enableRecaptcha&&a.recaptchaResponse!==""&&(k.recaptchaToken=a.recaptchaResponse);a.onSave.emit(k)};b!=="type"||c!=="VULNERABILITY"&&c!=="PRIVACY_ISSUE"?d():(c==="VULNERABILITY"&&tH(a.issueTypeDialog,"VULNERABILITY",d,function(){}),c==="PRIVACY_ISSUE"&&tH(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},HY=function(a,b,c){a.hasSelectedIssues()&&(MAc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},UAc=function(a){var b=a.onSave,c=b.emit,d=Gq(a),e=a.stateModal.issueEditBuilder,f=[];e.issueState||O7a(e);e=l(a8a(e));for(var h=e.next();!h.done;h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;k!==void 0&&f.push({fieldName:h,value:k})}c.call(b,{bulkEditOps:[{issueIds:d,actions:f}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},OAc=
function(a){a.hasSelectedIssues()&&(MAc(a),dH(a.matDialog.open(FY,{width:"400px"})).pipe(Df(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&IY(a,"reporter",b)}),a.hotkeys.pause())},PAc=function(a,b,c,d){d=d===void 0?!1:d;a.hasSelectedIssues()&&(dH(a.matDialog.open(RX,{width:"400px",data:{fieldDisplayName:c}})).pipe(Df(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&VAc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},SAc=function(a){a.hasSelectedIssues()&&(dH(a.matDialog.open(PX,
{width:"330px",data:{fieldDisplayName:"SLO Start Time"}})).pipe(Df(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:Gq(a),actions:c}]})}}),a.hotkeys.pause())},TAc=function(a){var b=ho(a.effortSpec$);a.hasSelectedIssues()&&b!==void 0&&(dH(a.matDialog.open(QX,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(Df(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:Gq(a),actions:d}]})}}),a.hotkeys.pause())},VAc=function(a,b,c,d,e){e=e===void 0?!1:e;c=cq(c);d=cq(d);var f=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),k=function(q){return qra(q,h).map(function(t){return t.trim()})};dq(c)||(c=k(c),e&&(c=c.filter(function(q){return!isNaN(q)})),f.push.apply(f,r(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
dq(d)||(d=k(d),f.push.apply(f,r(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));f.length&&a.onSave.emit({bulkEditOps:[{issueIds:Gq(a),actions:f}]})},NAc=function(a){a.hasSelectedIssues()&&(dH(a.matDialog.open(NX,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Df(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:Gq(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),a.analytics.trackEvent(a.controllerName,
"bulkMove"))}),a.hotkeys.pause())},WAc=function(a){a.hasSelectedIssues()&&(dH(a.matDialog.open(MX,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(Df(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),IY(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},RAc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=JAc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,{panelClass:"no-jitter",
minWidth:512,maxWidth:512}),dH(a.addCommentDialogRef).pipe(Df(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&G$b(a.comment)&&IY(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),MAc(a))},j8a=function(a){var b;(b=a.addCommentDialogRef)==null||b.close(!0)},QAc=function(a){a.hasSelectedIssues()&&dH(a.matDialog.open(wW,{data:a.getSelectedIssues(),width:"500px"})).pipe(Df(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),a.analytics.trackEvent(a.controllerName,
"bulkCustomField"))})};
GY.prototype.handleHotlistPickerSave=function(a){var b=a.newSelectionMap;var c=a.oldSelectionMap;var d=[],e=[],f=0;Object.entries(b).forEach(function(h){var k=l(h);h=k.next().value;k=k.next().value;k!==c[h]&&(k?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:Gq(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,"applyHotlists",
"numHotlists",f))};var JY=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:Gq(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};GY.\u0275fac=function(a){return new (a||GY)(B(gB),B(yF),B(as),B(CF),B($I),B(PV),B(sH),B(bX),B(jH),B(dD),B(CT),B(PG),B(RQ))};
GY.\u0275dir=ed({type:GY,viewQuery:function(a,b){a&1&&(rg(IAc,5),rg(SX,5),rg(EY,5));if(a&2){var c;vg(c=wg())&&(b.addCommentDialog=c.first);vg(c=wg())&&(b.hotlistPicker=c.first);vg(c=wg())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[Lf]});var KY=function(){};KY.\u0275fac=function(a){return new (a||KY)};KY.\u0275mod=cd({type:KY});KY.\u0275inj=Gc({providers:[{provide:ryc,useFactory:function(){return new oyc}}]});var LY=function(){};LY.\u0275fac=function(a){return new (a||LY)};LY.\u0275mod=cd({type:LY});LY.\u0275inj=Gc({imports:[Gv,KY]});var MY=function(){};MY.\u0275fac=function(a){return new (a||MY)};MY.\u0275mod=cd({type:MY});MY.\u0275inj=Gc({providers:[{provide:qyc,useFactory:fY}],imports:[RD,RH,bM,LY,AI]});var NY=function(){};NY.\u0275fac=function(a){return new (a||NY)};NY.\u0275mod=cd({type:NY});NY.\u0275inj=Gc({imports:[RD,RH,bM]});var OY=function(){};OY.\u0275fac=function(a){return new (a||OY)};OY.\u0275mod=cd({type:OY});OY.\u0275inj=Gc({imports:[RD,$P,QO,bM,tO,KM,MY,RH,NY]});var PY=function(){};PY.\u0275fac=function(a){return new (a||PY)};PY.\u0275mod=cd({type:PY});PY.\u0275inj=Gc({imports:[RD,aM,RH,zW,zy,zx,bM,cP,mR,QO]});var QY=function(){};QY.\u0275fac=function(a){return new (a||QY)};QY.\u0275mod=cd({type:QY});QY.\u0275inj=Gc({});var RY=function(){};RY.\u0275fac=function(a){return new (a||RY)};RY.\u0275mod=cd({type:RY});RY.\u0275inj=Gc({imports:[RD,VH,LQ,zy,RH,QO,aM,jO,OY,QY,CY]});var SY=function(a,b,c,d,e,f,h,k,q,t,w,y,D){GY.call(this,a,b,c,d,e,f,h,k,q,t,w,y,D);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};V(SY,GY);SY.\u0275dir=GY.\u0275dir;SY.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
SY.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Hba(a,null,function(b){return b.issueId.toString()});return a};SY.\u0275fac=function(a){return new (a||SY)(B(gB),B(yF,2),B(as),B(CF),B($I),B(PV),B(sH),B(bX),B(jH),B(dD),B(CT),B(PG),B(RQ))};
SY.\u0275cmp=p({type:SY,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Dg([yF]),Lf,rd],decls:7,vars:5,consts:[["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[1,"bv2-appbar-menu",
3,"flagAsSpamClicked","showFlagIssuesAsSpam"],[3,"save","close","externalWarnings"],[3,"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead","readStatePrompt","enableBulkEstimatedEffortOption"],[3,"onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch","shortLinkPrefix","shouldShowCopyIssueShortLinks"],[1,"bv2-grid-hotlist-picker"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange",
"onSubmit",4,"ngIf"],[3,"externalWarnings"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["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"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=u();C(0,d8a,2,4,"b-app-bar-bulk-edit-menus",1)(1,h8a,1,2,"b-copy-issue-id-button",2)(2,i8a,2,2,"div",3);F(3,"b-app-bar-more-menu",
4);O("flagAsSpamClicked",function(){v(c);return x(WAc(b))});H();F(4,"b-state-modal",5);O("save",function(){v(c);return x(UAc(b))})("close",function(){v(c);return x(b.hotkeys.unpause())});H();C(5,m8a,11,6,"ng-template",null,0,Mg)}a&2&&(E("ngIf",b.hasSelectedIssues()),A(),E("ngIf",b.hasSelectedIssues()),A(),E("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),A(),E("showFlagIssuesAsSpam",b.isNonPublicSession&&b.hasSelectedIssues()),A(),E("externalWarnings",b.externalWarnings))},dependencies:[HU,GU,AY,
tv,RW,SX,kC,Ex,kH,mH,oH,nH,EY,DY,BY,yv],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var TY=function(){};TY.\u0275fac=function(a){return new (a||TY)};TY.\u0275mod=cd({type:TY});TY.\u0275inj=Gc({imports:[JU,tO,OY,RD,LQ,aX,PY,QO,RH,VH,RY,QY,CY]});var XAc=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},YAc=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)},UY=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=yi(c.assigneeUser)||"";this.verifier=yi(c.verifierUser)||
"";this.collaborators=xi(c.collaboratorsUsers)||[];this.cc=xi(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=l(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=b;a=l(Object.entries(this.customFields));
for(b=a.next();!b.done;b=a.next())c=l(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})},$Ac=function(a,b){b.name=a.name;b.description=a.description;b.inheritable=a.inheritable;var c=b.snapshot||{};c.componentId=a.componentId;ZAc(a.type)?delete c.type:c.type=a.type;ZAc(a.priority)?delete c.priority:c.priority=a.priority;ZAc(a.severity)?delete c.severity:c.severity=a.severity;
c.assigneeUser=Ci(a.assignee);c.verifierUser=Ci(a.verifier);c.collaboratorsUsers=a.collaborators.map(function(f){return Ci(f)});a.collaboratorGroups.length>0&&(c.collaboratorsUsers=Dra(a.collaboratorGroups).concat(c.collaboratorsUsers||[]));c.ccUsers=a.cc.map(function(f){return Ci(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=l(Object.keys(a.customFields)),
e=d.next();!e.done;e=d.next())(e=a.customFieldValues[e.value])&&!Sm(e)&&c.customField.push(e);b.snapshot=c};
UY.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:Bc(c,"Unexpected custom field type: "+c)}}this.dirty=!0};UY.prototype.isDirty=function(){return this.dirty};UY.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};UY.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var ZAc=function(a){return dq(a)||a==="--"};UY.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroups.length===0?"":this.collaboratorGroups.length>1?this.collaboratorGroups.length+" groups selected":this.collaboratorGroups[0]};UY.prototype.separateCollaboratorGroups=function(a){a=new Set(a);for(var b=[],c=l(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 S8a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},T8a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},aBc={value:"--",displayText:"--"};var bBc=new zB("M/d/yyyy"),VY=function(a){this.dateFormatter=a;this.boundValueChange=new xF;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};VY.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if(typeof this.boundValue==="string")var a=ji(this.boundValue);else{var b;a=(b=Pm(this.boundValue))!=null?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
VY.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=bBc.format(a);else{var d;a=(d=Jya(bBc.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):""}};VY.\u0275fac=function(a){return new (a||VY)(B(xH))};
VY.\u0275cmp=p({type:VY,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&&(F(0,"b-date-time-input",0),O("valueChange",function(c){return b.change(c)}),H());a&2&&E("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[qW],encapsulation:2});var Hq={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"},cBc={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"},n8a=[Hq,{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"},cBc];var WY=function(){Y.call(this);var a=this;this.defaultAccessLimitLevel$=new xf(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new xF;this.selectedDisplay$=new rn(null);this.displays=n8a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=we([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(z(function(b){var c=l(b);b=c.next().value;c=c.next().value;return b?b:dBc(a,c)}));
this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(z(function(b){return b.title}));this.defaultAccessLimitLevel$.subscribe(function(b){a.selectedDisplay$.next(dBc(a,b))})};V(WY,Y);WY.\u0275dir=Y.\u0275dir;var dBc=function(a,b){a=l(a.displays);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.accessLevel===b)return c;return Hq};da.Object.defineProperties(WY.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
WY.\u0275fac=function(a){return new (a||WY)};
WY.\u0275cmp=p({type:WY,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[Lf],decls:13,vars:10,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","class","icon-s valign-middle","tabindex","0","aria-hidden","false",3,"matTooltip",4,"ngIf"],[1,"access-limit-level-options"],["mat-menu-item","","class","access-limit-level-option",3,"click",4,"ngFor","ngForOf"],["svgIcon","help-outline","tabindex","0","aria-hidden","false",
1,"icon-s","valign-middle",3,"matTooltip"],["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&&(F(0,"div",1)(1,"button",2),T(2,"async"),F(3,"span",3),J(4,"mat-icon",4),F(5,"span",5),Q(6),T(7,"async"),H()(),J(8,"mat-icon",6),H(),C(9,o8a,1,1,"mat-icon",7),F(10,"mat-menu",8,0),C(12,p8a,7,3,"button",9),H()());if(a&2){var c;a=M(11);A();E("matMenuTriggerFor",
a)("disabled",b.disabled);Nf("aria-label","Issue Access level, "+((c=(c=U(2,6,b.selectedDisplay$))==null?null:c.title)!==null&&c!==void 0?c:"Default access"));A(5);R(" ",U(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");A(3);E("ngIf",b.disabled);A(3);E("ngForOf",b.displays)}},dependencies:[sv,tv,RC,kC,Ex,JI,NI,LI,OI,KI,TI,yv],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 XY=function(a){this.confirmationDialogService=a},eBc=function(a,b,c){return ge(function(d){return d.return(f$b(a.confirmationDialogService,{title:b,content:Lh(c)}))})},fBc=function(a,b){return ge(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),k;f=!((k=b.ccUsers)==null||!k.length);d=!d&&!e&&!h&&!f}c=d?c.return(eBc(a,b.confirmationDialogText.noListedUsers.title,
b.confirmationDialogText.noListedUsers.content)):b.issueAccessLimitLevel==="LIMIT_VIEW"&&q8a(b)?c.return(eBc(a,b.confirmationDialogText.loseAccess.title,b.confirmationDialogText.loseAccess.content)):c.return(!0)}else c=c.return(!0);return c})};XY.\u0275fac=function(a){return new (a||XY)(n(rH))};XY.\u0275prov=Fc({token:XY,factory:XY.\u0275fac,providedIn:"root"});var gBc=["saveBeforeClosingDialog"],hBc=["deleteDialog"],M8a=function(){return[]},iBc={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?"}},
YY=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W){Y.call(this);var Z=this;this.matDialogService=a;this.cdr=b;this.templatesApi=c;this.hotlistApi=d;this.constants=e;this.paths=f;this.butterBar=h;this.analytics=k;this.issueTypeDialog=q;this.componentActions=t;this.documentationLinks=w;this.appEvents=y;this.accessPolicyApi=D;this.trackerFridge=G;this.componentFridge=I;this.currentUserBookmarksFridge=N;this.confirmIssueAccessLimitSettingsService=S;this.activeSession=W;this.defaultIndex=-1;this.componentId=
0;this.supportCustomFields=!1;this.templates=[];this.customFieldRows=[];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.FieldType=fP;this.componentId$=new xf(0);this.component$=this.componentId$.pipe(Cf(function(fa){return Z.componentFridge.watch(fa)}));
this.trackerId$=this.component$.pipe(z(function(fa){return fa==null?void 0:fa.trackerId}));this.tracker$=this.trackerId$.pipe(Cf(function(fa){return fa?Z.trackerFridge.watch(fa):pe(void 0)}));this.ROUTES=wp;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.customFieldIds=Object.create(null);this.issueTypeChoices=
jBc(this);this.priorityChoices=kBc(this);this.severityChoices=lBc(this);this.subscriptions.add(this.tracker$.subscribe(function(fa){fa&&(Z.trackerCollaboratorGroups=wi(fa.collaboratorGroups));Z.currentTemplate&&Z.currentTemplate.separateCollaboratorGroups(Z.trackerCollaboratorGroups)}));this.enableTemplateInheritance=ep(this.activeSession,"enableTemplateInheritance")};V(YY,Y);YY.\u0275dir=Y.\u0275dir;g=YY.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(){ZY(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)});Jba(this.selectedHotlists,function(c,d){return zr(c.name,d.name)})};
g.removeHotlist=function(a){Qa(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;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");Xp(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){Xp(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;pc(a.newSelectionMap,function(d,e){e=ii(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var f=b.selectedHotlistIds[0].includes(e);d&&!f?(d=b.templateHotlistIds[b.hotlistPickerIndex],Oa(d,e)||d.push(e)):!d&&f&&Qa(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;se(zE(this.currentUserBookmarksFridge)).then(function(b){b=l(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&&Qa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var jBc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:W8a(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[aBc].concat(b)},W8a=function(a){return a===aBc.value?a:si(a)};YY.prototype.getDateValue=function(a){return a};YY.prototype.getListFieldType=function(a){return a};
var P8a=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},E8a=function(a){a.currentTemplateRow.issueType==="VULNERABILITY"||a.currentTemplateRow.issueType==="PRIVACY_ISSUE"?tH(a.issueTypeDialog,a.currentTemplateRow.issueType==="VULNERABILITY"?"VULNERABILITY":"PRIVACY_ISSUE",function(){a.currentTemplate.type=a.currentTemplateRow.issueType;
a.currentTemplate.dirty=!0},function(){a.currentTemplateRow.issueType=a.currentTemplate.type}):(a.currentTemplate.type=a.currentTemplateRow.issueType,a.currentTemplate.dirty=!0)},kBc=function(a){return[aBc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},lBc=function(a){return[aBc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))},mBc=function(a){return a.templateRows.filter(function(b){return!b.inherited})},nBc=function(a){return a.templateRows.filter(function(b){return b.inherited})};
YY.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,c!==null?c:void 0)};
var V8a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;ZY(a)},u8a=function(a,b){var c=a.currentIndex;oBc(a,function(){b.index===c?V8a(a):a.openEditor(b.index)})},pBc=function(a){a.templateHotlistIds.push([]);oBc(a,function(){a.openEditor()})},Jq=function(a,b){return b.index>=0&&b.index===a.currentIndex},x8a=function(a,b){var c;return b.index>=0&&!((c=a.templates[b.index])==null?0:c.default)},U8a=function(a){var b,c,d,e,f,h,k,q,t,w,y,D,G,I;return ge(function(N){if(N.nextAddress==
1){if(!a.currentTemplate)return N.return();c=(b=a.currentTemplate.collaborators)!=null?b:[];e=(d=a.currentTemplate.collaboratorGroups)!=null?d:[];return ie(N,fBc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:a.currentTemplate.assignee,verifierUser:a.currentTemplate.verifier,ccUsers:a.currentTemplate.cc,collaboratorsUsers:[].concat(r(c),r(e)),issueAccessLimitLevel:a.currentTemplate.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:!0,confirmationDialogText:iBc}),
2)}f=N.yieldResult;if(!f)return N.return();a.currentIndex<0?(k="creating",q={componentId:a.componentId,default:!1},h=function(S){Xp(a.butterBar,S.name?'Template "'+S.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");qBc(a,"create",S.snapshot);rBc(a,"create",S.templateId);sBc(a,"create",S.templateId);a.templates.push(S);a.openEditor(a.templates.length-1)}):(k="updating",t=a.currentIndex,q=a.templates[t],h=function(S){Xp(a.butterBar,S.name?'Template "'+S.name+'" updated.':
"Template updated.");a.analytics.trackEvent("template","update");qBc(a,"update",S.snapshot);rBc(a,"update",S.templateId);sBc(a,"update",S.templateId);a.templates[t]=S;V8a(a)});a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];$Ac(a.currentTemplate,q);Xp(a.butterBar,"Saving template...");y=w=q;D=y.componentId;I=(G=y.templateId)&&String(G)!=="0"?a.templatesApi.update(D,G,w):a.templatesApi.create(D,w);return N.return(I.then(function(S){a.appEvents.templateModified.next(String(a.componentId));
h(S);a.cdr.detectChanges()}).catch(function(S){S=Zm(S);a.butterBar.showWarning(S?"Error "+k+" template: "+S:"There was an error "+k+" the template.",0)}))})},v8a=function(a,b){dH(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(Df(a.destroyed$)).subscribe(function(c){c&&tBc(a,b)})},tBc=function(a,b){var c=b.index;var d;ge(function(e){switch(e.nextAddress){case 1:d=a.templates[c];if(c<0||d.default)return e.return(Promise.resolve());Pa(a.templateHotlistIds,c);Pa(a.templates,c);a.defaultIndex=
a.templates.findIndex(function(f){return f.default});ZY(a);a.cdr.detectChanges();Xp(a.butterBar,"Deleting...");he(e,2,3);return ie(e,a.templatesApi.delete(d.componentId,d.templateId),5);case 5:a.appEvents.templateModified.next(String(a.componentId)),Xp(a.butterBar,"Deleted template"),a.analytics.trackEvent("template","delete"),a.currentIndex===c&&V8a(a);case 3:return je(e),ie(e,a.loadTemplates(),6);case 6:ZY(a);a.cdr.detectChanges();ke(e,0);break;case 2:le(e),a.butterBar.showWarning("Error while deleting template"),
e.jumpTo(3)}})},vBc=function(a,b){b?U8a(a).then(function(){uBc(a);a.cdr.detectChanges()}):uBc(a)},w8a=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};
YY.prototype.openEditor=function(a){var b=this;this.currentIndex=a===void 0?-1:a;if(this.currentIndex<0){this.currentTemplate=wBc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();ZY(this);this.cdr.detectChanges();var c;(c=document.getElementById("template-name"))==null||c.focus()}else xBc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=wBc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
ZY(b);b.currentTemplate.separateCollaboratorGroups(b.trackerCollaboratorGroups);b.cdr.detectChanges();var e;(e=document.getElementById("template-name"))==null||e.focus()})};
var xBc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},oBc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,yBc(a)):b()},qBc=function(a,b,c){c&&c.issueAccessLimitLevel&&c.issueAccessLimitLevel!=="LIMIT_NONE"&&a.analytics.trackEvent("issueAccessLimits",b,"template:"+c.issueAccessLimitLevel)},rBc=function(a,b,c){a.currentTemplate&&a.currentTemplate.collaboratorGroups.length>0&&a.analytics.trackEvent("quickAddCollaborators",b,"template:"+c)},
sBc=function(a,b,c){var d;((d=a.currentTemplate)==null?0:d.inheritable)&&a.analytics.trackEvent("templateInheritance",b,"component:"+a.componentId+" template:"+c)},yBc=function(a){dH(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(Df(a.destroyed$)).subscribe(function(b){b!==void 0&&vBc(a,b)})},uBc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},wBc=function(a,b){return new UY(a.customFieldIds,b)};
YY.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=l(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 YAc(c,c.type==="TEXT"?"1":"2"))}a.cdr.detectChanges()}).catch(function(){a.butterBar.showWarning("Unable to load custom fields")}):Promise.resolve()};
YY.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=l(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 ZY=function(a){if(a.currentIndex<0)a.templateRows=a.templates.map(function(e,f){return new XAc(f,e,e.componentId!==a.componentId&&e.inheritable)}),a.currentTemplate&&(a.currentTemplateRow=new XAc(-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 XAc(f,e,e.componentId!==a.componentId&&e.inheritable)}));a.currentTemplate&&(a.currentTemplateRow=
new XAc(b,a.currentTemplate,!1),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,f){return new XAc(b+f+1,e,e.componentId!==a.componentId&&e.inheritable)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},t8a=function(a,b){var c,d,e,f;return ge(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;dq(cq(d))&&(d="(unnamed template)");a.defaultIndex=b;Xp(a.butterBar,"Changing default template...");
a.analytics.trackEvent("template","changeDefault");he(h,2,3);return ie(h,zBc(a,c.templateId),5);case 5:Xp(a.butterBar,"Changed default template to "+d);case 3:return je(h),ie(h,a.loadTemplates(),6);case 6:ZY(a);a.cdr.detectChanges();ke(h,0);break;case 2:e=le(h),f="Error while changing default message"+(Ym(e)?": "+Zm(e):"."),a.butterBar.showWarning(f),h.jumpTo(3)}})},zBc=function(a,b){var c,d;return ge(function(e){if(e.nextAddress==1)return ie(e,se(a.component$),2);if(e.nextAddress!=3){c=e.yieldResult;
if(!c||c.defaultTemplateId===b)return e.return();c.defaultTemplateId=b;return ie(e,a.componentActions.update(c),3)}d=e.yieldResult;a.componentFridge.announce(d);a.appEvents.templateModified.next(String(d.componentId));me(e)})};YY.\u0275fac=function(a){return new (a||YY)(B(jH),B(yF,2),B(lB),B(jE),B(wH),B(BP),B(cD),B(CF),B(sH),B(PV),B(bH),B(iD),B(VA),B(NG),B(gB),B(xE),B(XY),B(as))};
YY.\u0275cmp=p({type:YY,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(rg(gBc,5),rg(hBc,5));if(a&2){var c;vg(c=wg())&&(b.saveBeforeClosingDialog=c.first);vg(c=wg())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Dg([yF]),Lf],decls:22,vars:3,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"],[4,"ngFor","ngForOf"],[3,"ngIf"],[1,"edit-button-row"],["format","fill","bAriaLabel","Create New template in this component",3,"onAction"],[4,"ngIf"],["colspan","4",4,"ngIf"],["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"],["colspan","4"],[1,"template-edit-pane","template-editor-within-table"],["class","form-header",4,"ngIf"],[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"],["class","collaborator-group-field",4,"ngIf"],["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","click",4,"ngFor","ngForOf"],["for","template-default-priority"],["id","template-default-priority","type","button","mat-button","",1,"medium","primary",3,"matMenuTriggerFor"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["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"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"float-clear"],[1,"cell-2"],["for","template-assignee"],["id","template-assignee","type","text",1,"template-field",3,"ngModelChange","bContactAutocomplete","ngModel"],["for","template-verifier"],["id","template-verifier","type",
"text",1,"template-field",3,"ngModelChange","bContactAutocomplete","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"],"role;region;tabindex;0;aria-label;Custom issue fields".split(";"),[3,"class",4,"ngFor","ngForOf"],[1,"buttons-row"],["format","fill",3,"onAction","disabled"],["format","hairline",3,"onAction"],
[1,"form-header"],["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"],[1,"collaborator-group-field"],["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",4,"ngFor","ngForOf"],[3,"value"],["mat-menu-item","",3,"click","disabled","matTooltip"],["mat-menu-item","",3,"click","disabled"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],[3,"for"],[3,"ngSwitch"],["class","template-field","type","text",
3,"ngModel","ngModelChange",4,"ngSwitchCase"],["class","template-field","type","number","step","any",3,"ngModel","ngModelChange",4,"ngSwitchCase"],[3,"type","name","clearable","value","choices","valueChange",4,"ngSwitchCase"],[3,"boundValue","boundValueChange",4,"ngSwitchCase"],[3,"defaultLineCount","type","values","enumChoices","truncate","valuesChange",4,"ngSwitchDefault"],["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=u();F(0,"div")(1,"div",7);Q(2," A template is a set of default values for new issues created in this component. ");F(3,"a",8);Q(4,"Learn more");H()();F(5,"table",9)(6,"tr")(7,"th");Q(8,"TEMPLATE");H();F(9,
"th",10);Q(10,"DEFAULT");H();J(11,"th",10)(12,"th",10);H();C(13,Y8a,3,2,"tr",11)(14,b9a,2,2,"ng-template",12);H();F(15,"div",13)(16,"b-button",14);O("onAction",function(){v(c);return x(pBc(b))});Q(17," Create New Template ");H()();C(18,c9a,7,3,"ng-template",null,0,Mg)(20,d9a,9,4,"ng-template",null,1,Mg);H()}a&2&&(A(3),E("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",cf),A(10),E("ngForOf",mBc(b)),A(),E("ngIf",nBc(b)))},dependencies:[sO,sv,tv,uv,vv,wv,RC,
SL,JW,eP,Bh,ny,dy,ly,pO,SX,xJ,yJ,DJ,zJ,VY,EX,kC,Ex,kH,oH,nH,RI,yO,iO,mM,Jy,nM,oM,xx,kM,KI,TI,OO,JI,NI,LI,OI,WY],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}"]});var $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=cd({type:$Y});$Y.\u0275inj=Gc({imports:[RD,xW]});var aZ=function(){};aZ.\u0275fac=function(a){return new (a||aZ)};aZ.\u0275mod=cd({type:aZ});aZ.\u0275inj=Gc({imports:[RD,RH,aM,bM,QO]});var bZ=function(){};bZ.\u0275fac=function(a){return new (a||bZ)};bZ.\u0275mod=cd({type:bZ});bZ.\u0275inj=Gc({imports:[tO,RD,KM,NW,gP,zy,bQ,PY,VL,$Y,FX,RH,jM,VH,sQ,zO,AI,jO,qM,Ax,bM,QO,aM,aZ]});var cZ=function(a,b,c,d){this.activeSession=a;this.appSearchState=b;this.analytics=c;this.domSafe=d;this.enableEstado=ep(this.activeSession,"enableEstado")};cZ.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};cZ.\u0275fac=function(a){return new (a||cZ)(n(as),n(xQ),n(CF),n(jJ))};
cZ.\u0275prov=Fc({token:cZ,factory:cZ.\u0275fac,providedIn:"root"});var dZ=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.rawObjectiveDisplayText=this.objectiveDisplayText=null;this.cardActionText="--";this.sloEndTimeDisplayText=pe("--");this.SloRuleDayType=x1b;this.iconName="slo-status-no-data"};dZ.prototype.getIconName=function(a){return ABc.has(a)?ABc.get(a):"slo-status-no-data"};
var BBc=function(a,b,c){a.iconName=a.getIconName(b);c=c!==null?Gnc(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:ij("unknown status type: "+b)}};
dZ.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&dI(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=Gnc(c*1E3):this.objectiveDisplayText=null;var d,e,f;this.rawObjectiveDisplayText=Gnc((((e=(d=this.sloBounds.objective)==null?void 0:d.seconds)!=null?e:0)+((f=this.sloBounds.businessDays)!=null?f:0)*86400)*1E3);this.sloEndTimeDisplayText=Hnc(this.dateFormatter,new Date(b*1E3));c=this.sloBounds;dI(c)&&
c.endTime&&c.endTime.seconds!==0&&c.endTime.seconds<=Date.now()/1E3?(b=this.sloBounds.endTime.seconds,this.sloEndTimeDisplayText=Hnc(this.dateFormatter,new Date(b*1E3)),BBc(this,"COMPLETED",a-b)):b<a?BBc(this,"OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime),a=b-a,BBc(this,a>259200?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else BBc(this,"NO_DATA",null),this.rawObjectiveDisplayText=this.objectiveDisplayText=null};
dZ.\u0275fac=function(a){return new (a||dZ)(B(cI),B(XP))};
dZ.\u0275cmp=p({type:dZ,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[rd],decls:16,vars:13,consts:[["card",""],["dayTypeCalendar",""],[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"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&(J(0,"mat-icon",2),F(1,"span",3)(2,"span",4),Q(3),H()(),F(4,"onedev-hovercard",null,0)(6,"div",5)(7,"div",6)(8,"div"),Q(9),H(),F(10,"div",7),Q(11),T(12,"async"),H(),C(13,e9a,5,2,"ng-container",8),H()()(),C(14,f9a,2,1,"ng-template",null,1,Mg));if(a&2){a=M(5);var c=M(15);E("ngClass",b.iconName)("svgIcon",b.iconName);Nf("aria-label",b.timeDisplayText===
"--"?"No SLO data":"");A();E("onedevHovercardTrigger",a)("onedevHovercardActive",!(!b.includeObjective||!b.rawObjectiveDisplayText));A(2);yg(b.timeDisplayText);A(6);yg(b.timeDisplayText);A(2);zg(" ",b.cardActionText," ",U(12,11,b.sloEndTimeDisplayText)," ");A(2);E("ngIf",(b.sloBounds==null?null:b.sloBounds.dayType)===b.SloRuleDayType.BUSINESS)("ngIfElse",c)}},dependencies:[rv,tv,RC,xJ,DJ,yv],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 ABc=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 eZ=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};eZ.prototype.ngOnInit=function(){CBc(this);this.hasSlo=!!this.sloStatus&&O$b(this.sloStatus)};eZ.prototype.ngOnChanges=function(){CBc(this)};var CBc=function(a){a.sloStatus&&(a.assignmentSlo=DBc(Fi(a.sloStatus.assignmentBounds)),a.responseSlo=DBc(Fi(a.sloStatus.responseBounds)),a.closureSlo=DBc(Fi(a.sloStatus.closureBounds)))};eZ.prototype.isSloStartTimeApplied=function(){return this.sloStatusHelpersService.isSloStartTimeApplied(this.sloStartTime)};
var DBc=function(a){if(dI(a))return a};eZ.\u0275fac=function(a){return new (a||eZ)(B(cI))};
eZ.\u0275cmp=p({type:eZ,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[rd],decls:3,vars:3,consts:[[4,"ngIf"],["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&&C(0,g9a,2,4,"div",0)(1,h9a,2,4,"div",0)(2,i9a,2,4,"div",0);a&2&&(E("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||b.onlyShowMetric=="ASSIGNMENT")),A(),E("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||b.onlyShowMetric=="RESPONSE")),A(),E("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||b.onlyShowMetric=="CLOSURE")))},dependencies:[tv,dZ],encapsulation:2,changeDetection:0});var fZ=function(a,b,c){this.sloStatusHelpersService=a;this.analytics=b;this.sloApi=c};fZ.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&P$b(this.sloStatus,this.onlyShowMetric);this.sloId!=="0"?(this.editSloLink=wp.editSlo.makeHref(this.sloId),EBc(this)):this.editSloLink=null};fZ.prototype.trackOpenSlo=function(){this.analytics.trackEvent("editSlo","open","fromSloStatusCard")};var EBc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};
fZ.\u0275fac=function(a){return new (a||fZ)(B(cI),B(CF),B(uG))};
fZ.\u0275cmp=p({type:fZ,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloStartTime:"sloStartTime",onlyShowMetric:"onlyShowMetric"},ngContentSelectors:["*"],decls:10,vars:4,consts:[["card",""],[3,"onedevHovercardTrigger"],["role","dialog","aria-label","SLO Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"bv2-hovercard-narrow"],["class","slo-indicators",4,"ngIf"],["class","no-slo-message",4,"ngIf"],[4,"ngIf"],[1,"slo-indicators"],[3,"sloStatus",
"sloStartTime","onlyShowMetric"],[1,"no-slo-message"],["class","slo-link",3,"href","click",4,"ngIf"],[1,"slo-link",3,"click","href"]],template:function(a,b){a&1&&(ig(),F(0,"span",1),jg(1),H(),F(2,"onedev-hovercard",null,0)(4,"div",2)(5,"div",3)(6,"div",4),C(7,j9a,2,3,"div",5)(8,m9a,3,2,"div",6)(9,p9a,4,2,"span",7),H()()()());a&2&&(a=M(3),E("onedevHovercardTrigger",a),A(7),E("ngIf",b.hasSlo),A(),E("ngIf",!b.hasSlo),A(),E("ngIf",b.editSloLink))},dependencies:[tv,xJ,DJ,eZ],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 FBc=function(a){var b=this;this.selectedCustomField=null;this.isLegalColumn=function(c){return b.columns.find(function(d){return d.name===String(c.customFieldId)})===void 0};this.column=a.column;this.columns=a.columns};FBc.\u0275fac=function(a){return new (a||FBc)(B(iH))};
FBc.\u0275cmp=p({type:FBc,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&&(F(0,"h1",0),Q(1),H(),F(2,"mat-dialog-content")(3,"b-custom-field-picker",1),O("fieldSelected",function(c){return b.selectedCustomField=c}),H()(),F(4,"mat-dialog-actions")(5,
"button",2),Q(6," Cancel "),H(),F(7,"button",3),Q(8," Add "),H()());a&2&&(A(),R("Insert custom field column next to ",b.column.fullLabel,""),A(2),E("filter",b.isLegalColumn),A(4),E("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[kC,Ex,kH,mH,oH,nH,IX],encapsulation:2});var q9a="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(" "),
GBc="priority type title assignee status sevenDayViewCount issueId modifiedTime".split(" ");var Kq=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)};Kq.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var w9a={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 HBc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};HBc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var IBc=function(){this.bindings=[]};IBc.prototype.off=function(){for(var a=l(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var JBc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.eventBindings=new IBc;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};
JBc.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(){KBc(a,"dragstart",a.onDragTargetDragstart);KBc(a,"dragenter",a.onDragTargetDragenter);KBc(a,"dragend",a.onDragTargetDragend);KBc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new HBc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new HBc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new HBc(a.mask,"drop",a.onMaskDrop))})};var KBc=function(a,b,c){a.eventBindings.bindings.push(new HBc(a.element,b,Xk("th.drag-target",c)))};JBc.prototype.tearDown=function(){this.eventBindings.off()};var LBc=["table"],MBc=["defaultHeaderCellTemplate"],NBc=["defaultViewCellTemplate"],OBc=["dataRows"],z9a=function(a){return{column:a}},C9a=function(a,b,c){return{row:a,column:b,index:c}},gZ=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new xF;this.rowClick=new xF;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new xF;this.focusedRowIndexChange=new xF;this.afterViewInit=
new xF;this.enableDragDropHeader=!0;this.onDragDropColumn=function(d,e){var f=[].concat(r(c.columns));d=f.splice(d,1)[0];f.splice(e,0,d);c.columns=f;c.columnsChange.emit([].concat(r(c.columns)))};this.onTdClickableClick=Xk("td.clickable",function(d,e){if((d.type!=="mouseup"||d.button===1)&&!ofc(e)&&(e=e.closest("tr"))){var f,h=(f=e.dataset.rowId)!=null?f:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}});this.readUnreadOptOut=ep(this.activeSession,"readUnreadOptOut")};
gZ.prototype.ngOnInit=function(){this.enableDragDropHeader&&PBc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var PBc=function(a){a.dragDropHeaderLogic=new JBc({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()};
gZ.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;b!=null&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(SFa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};gZ.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
gZ.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 QBc=function(a){return a.columns.map(function(b){b=b.name;return b!=null?a.viewCellTemplates[b]||a.defaultViewCellTemplate:a.defaultViewCellTemplate})};gZ.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};
gZ.prototype.focus=function(){if(this.focusedRowIndex!=null&&this.dataRows!=null){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};gZ.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};gZ.\u0275fac=function(a){return new (a||gZ)(B(as),B(Me))};
gZ.\u0275cmp=p({type:gZ,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(rg(LBc,7),rg(MBc,7),rg(NBc,7),rg(OBc,5,Rd));if(a&2){var c;vg(c=wg())&&(b.tableElement=c.first);vg(c=wg())&&(b.defaultHeaderCellTemplate=c.first);vg(c=wg())&&(b.defaultViewCellTemplate=c.first);vg(c=wg())&&(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:[rd],decls:13,vars:3,consts:[["table",""],["defaultHeaderCellTemplate",""],["defaultViewCellTemplate",""],["dataRows",""],[1,"pop-grid",3,"mousedown"],[3,"class",4,"ngFor","ngForOf"],[1,"header-row"],[4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",3,"selected","unread","closed","grid-focus","click","focus",4,"ngFor","ngForOf"],
["tabindex","0",3,"click","focus"],[3,"column"],[3,"row","column"]],template:function(a,b){if(a&1){var c=u();F(0,"table",4,0);O("mousedown",function(d){v(c);d.shiftKey&&window.getSelection().removeAllRanges();return x()});F(2,"colgroup");C(3,x9a,1,3,"col",5);H();F(4,"thead")(5,"tr",6);C(6,A9a,2,4,"ng-container",7);H()();F(7,"tbody");C(8,F9a,2,1,"ng-container",8);H()();C(9,G9a,2,1,"ng-template",null,1,Mg)(11,H9a,2,2,"ng-template",null,2,Mg)}a&2&&(A(3),E("ngForOf",b.columns),A(3),E("ngForOf",b.columns),
A(2),E("ngIf",QBc(b)))},encapsulation:2});var hZ=function(a,b){this.templateRef=a;this.popGrid=b};hZ.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};hZ.\u0275fac=function(a){return new (a||hZ)(B(og),B(gZ))};hZ.\u0275dir=ed({type:hZ,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var iZ=function(a,b){this.templateRef=a;this.popGrid=b};
iZ.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};iZ.\u0275fac=function(a){return new (a||iZ)(B(og),B(gZ))};iZ.\u0275dir=ed({type:iZ,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var jZ=function(a,b){this.templateRef=a;this.popGrid=b};jZ.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};jZ.\u0275fac=function(a){return new (a||jZ)(B(og),B(gZ))};
jZ.\u0275dir=ed({type:jZ,selectors:[["","forHeaderCellDefault",""]]});var kZ=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new xF};kZ.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?this.sort.direction==="ASC"?a+", sorted ascending":a+", sorted descending":a};kZ.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
kZ.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a=this.sort.direction==="ASC"?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};kZ.\u0275fac=function(a){return new (a||kZ)};
kZ.\u0275cmp=p({type:kZ,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&&(F(0,"div",0),O("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),J(1,"span",1),Q(2),H());a&2&&(Wf("current-sort",b.isActive())("direction-asc",b.isActive()&&b.sort.direction==="ASC")("direction-desc",b.isActive()&&b.sort.direction==="DESC"),Nf("aria-label",b.ariaLabel()),A(2),R(" ",b.columnLabel," "))},encapsulation:2});var lZ=function(a,b){this.elementRef=a;this.grid=b};lZ.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}}};lZ.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
lZ.\u0275fac=function(a){return new (a||lZ)(B(Rd),B(gZ,8))};
lZ.\u0275cmp=p({type:lZ,selectors:[["pop-grid-default-th"]],inputs:{column:"column"},decls:3,vars:2,consts:[[1,"pop-grid-default-th"],[3,"columnLabel","columnName","defaultSortDirection","sort","matTooltip","sortChanged",4,"ngIf"],["class","pop-grid-non-sort-header keep-focus-ring","tabindex","0",4,"ngIf"],[3,"sortChanged","columnLabel","columnName","defaultSortDirection","sort","matTooltip"],["tabindex","0",1,"pop-grid-non-sort-header","keep-focus-ring"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"]],
template:function(a,b){a&1&&(F(0,"div",0),C(1,I9a,1,5,"b-sortable-header",1)(2,K9a,3,3,"div",2),H());a&2&&(A(),E("ngIf",b.column.sortable),A(),E("ngIf",!b.column.sortable))},dependencies:[tv,KI,TI,kZ],encapsulation:2});var RBc=function(){return{before:!1}},SBc=function(){return{before:!0}},R9a=function(a,b){return{columns:a,before:b}},mZ=function(a,b,c,d,e,f){Y.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=f;this.selectedColumnsChange=new xF;this.onAddTeamColumn=new xF;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=$A.listViewPreferences;b.preferences$.pipe(Df(this.destroyed$)).subscribe(function(k){h.listViewPrefs=
k.listViewPreferences||$A.listViewPreferences})};V(mZ,Y);mZ.\u0275dir=Y.\u0275dir;mZ.prototype.ngOnChanges=function(a){a.selectedColumns&&TBc(this)};
var UBc=function(a){a.selectedColumnsChange.emit([].concat(r(a.selectedColumns)));TBc(a)},M9a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=N9a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||Xp(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(qf(),Df(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||Xp(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||a.butterBar.showWarning("Display preference could not be saved.")})},U9a=function(a,b){a.hotkeys.pause();dH(a.matDialog.open(FBc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(Df(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},TBc=function(a){for(var b={},
c=l(a.selectedColumns),d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(f){return!kea(b,f.name)});c=[].concat(r(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(r(d),r(c));a.currentAvailableItems.sort(function(f,h){return zr(f instanceof Kq?f.fullLabel:
f.label,h instanceof Kq?h.fullLabel:h.label)});a.isRemovable=VBc(a)};mZ.prototype.isIssueGridColumn=function(a){return a instanceof Kq};mZ.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,UBc(this),!0}return!1};
mZ.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new Kq({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(r(this.selectedColumns));this.selectedColumns.splice(b,0,a);UBc(this);return!0};
var VBc=function(a){return a.selectedColumns.filter(function(b){return!b.isMetadata}).length>1};mZ.\u0275fac=function(a){return new (a||mZ)(B(jH),B(PG),B(cD),B(CF),B($I),B(as))};
mZ.\u0275cmp=p({type:mZ,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&rg(OI,5);if(a&2){var c;vg(c=wg())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[Lf,rd],decls:20,vars:11,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","class","columnpicker-button",3,"matMenuTriggerFor","columnpicker-button-active","menuOpened","menuClosed","keydown.enter","keydown.space",4,"ngIf"],[1,"columnpicker-menu"],["mat-menu-item","","class","checkbox-item",3,"b-menu-item-checked","click",4,"ngFor","ngForOf"],[4,"ngIf"],["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"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"matTooltip","click","keydown.enter",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngIf"],["mat-menu-item",
"",3,"click","keydown.enter","matTooltip"],["mat-menu-item","",3,"click","keydown.enter",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","keydown.enter"]],template:function(a,b){if(a&1){var c=u();F(0,"div",4)(1,"div",5);J(2,"pop-grid-default-th",6);H();C(3,L9a,2,5,"div",7);F(4,"mat-menu",8,0);C(6,O9a,4,3,"button",9)(7,P9a,1,0,"mat-divider",10);F(8,"button",11);O("click",function(){v(c);return x(b.remove())});Q(9," Remove column ");H();F(10,"button",12);Q(11," Add column right ");H();F(12,"button",
12);Q(13," Add column left ");H()();F(14,"mat-menu",null,1);C(16,V9a,4,1,"ng-template",13);H();F(17,"mat-menu",null,2);C(19,X9a,1,1,"ng-template",13);H()()}a&2&&(a=M(15),A(2),E("column",b.column),A(),E("ngIf",!0),A(3),E("ngForOf",b.column.moreOptions),A(),E("ngIf",b.column.moreOptions.length),A(),E("disabled",!b.isRemovable),A(2),E("matMenuTriggerFor",a)("matMenuTriggerData",Gg(9,RBc)),A(2),E("matMenuTriggerFor",a)("matMenuTriggerData",Gg(10,SBc)))},dependencies:[sv,tv,JI,NI,LI,MI,OI,TO,KI,TI,OO,
lZ],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 YBc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Xk("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=Xk("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){WBc(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=Xk("tr",function(){b.draggedRow&&(WBc(b.draggedRow),WBc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Xk("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Xk(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Xk(".row-dropzone",function(c){WBc(b.dragTargetRow);XBc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Xk(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Xk(".row-dropzone",function(c){XBc(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()})};
YBc.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");XBc(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)})};
YBc.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 WBc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},XBc=function(a){a.dropzone.style.display="none"};var nZ=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};nZ.prototype.ngOnInit=function(){ZBc(this)};nZ.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&ZBc(this)};var ZBc=function(a){var b=Q$b(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
nZ.\u0275fac=function(a){return new (a||nZ)(B(cI))};
nZ.\u0275cmp=p({type:nZ,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloStartTime:"sloStartTime",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[rd],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloStartTime","sloEndTime","includeObjective"]],template:function(a,b){a&1&&J(0,"b-slo-time-indicator",0);a&2&&E("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[dZ],encapsulation:2,changeDetection:0});var $Bc=function(){};$Bc.\u0275fac=function(a){return new (a||$Bc)};$Bc.\u0275cmp=p({type:$Bc,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(F(0,"span"),J(1,"mat-icon",0),Q(2,"Archived "),H())},dependencies:[RC],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 oZ=function(){};oZ.\u0275fac=function(a){return new (a||oZ)};oZ.\u0275mod=cd({type:oZ});oZ.\u0275inj=Gc({imports:[RD]});var pZ=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};pZ.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};pZ.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};pZ.\u0275fac=function(a){return new (a||pZ)(B(Rd))};pZ.\u0275dir=ed({type:pZ,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[rd]});var qZ=function(){};qZ.\u0275fac=function(a){return new (a||qZ)};qZ.\u0275mod=cd({type:qZ});qZ.\u0275inj=Gc({});var rZ=function(a){this.internalArray_=m(a)};V(rZ,X);rZ.prototype.getIssueId=function(){return Jj(this,1)};rZ.prototype.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};rZ.prototype.getIssueId_asString=function(){return xu(this,1)};rZ.prototype.setIssueId=function(a){return Ij(this,1,a)};var aCc=function(a){this.internalArray_=m(a)};V(aCc,X);aCc.repeatedFields_=[1];var sZ=function(a){this.internalArray_=m(a,0,sZ.messageId)};V(sZ,X);sZ.prototype.getIt=function(){return Gj(this,aCc,2)};sZ.prototype.setIt=function(a){return Pj(this,aCc,2,a)};sZ.messageId="b.ListStatusUpdateHistoryResponse";var tZ=function(a){this.executor=a};tZ.prototype.update=function(a){var b=this.executor,c=b.post,d="action/issues/"+a.issueId+"/statusUpdate";a=(new vB).setIt(zua(a));return c.call(b,{url:d,body:a,responseConstructor:vB}).pipe(z(dya))};tZ.prototype.delete=function(a){return this.executor.delete({url:"action/issues/"+a+"/statusUpdate",responseConstructor:null})};
var bCc=function(a,b){var c=uj((new rZ).setIssueId(Number(b)),2,2);return a.executor.post({url:"action/issues/"+b+"/listStatusUpdates",body:c,responseConstructor:sZ}).pipe(z(function(d){d=d.getIt();return Yj(d,Ck,1,Ai()).map(yua)}))};tZ.\u0275fac=function(a){return new (a||tZ)(n(pA))};tZ.\u0275prov=Fc({token:tZ,factory:tZ.\u0275fac,providedIn:"root"});var cCc=function(a){this.internalArray_=m(a)};V(cCc,X);g=cCc.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Ij(this,1,a)};g.getText=function(){return Zh(this,2)};g.setText=function(a){return sj(this,2,a)};var uZ=function(a){this.internalArray_=m(a,0,uZ.messageId)};V(uZ,X);uZ.prototype.getIt=function(){return Gj(this,cCc,3)};uZ.prototype.setIt=function(a){return Pj(this,cCc,3,a)};uZ.messageId="b.CheckBannedWordsRequest";var dCc=function(a){this.internalArray_=m(a)};V(dCc,X);dCc.repeatedFields_=[1];var vZ=function(a){this.internalArray_=m(a,0,vZ.messageId)};V(vZ,X);vZ.prototype.getIt=function(){return Gj(this,dCc,2)};vZ.prototype.setIt=function(a){return Pj(this,dCc,2,a)};vZ.messageId="b.CheckBannedWordsResponse";var wZ=function(a){this.executor=a};wZ.prototype.checkBannedWords=function(a){a=(new uZ).setIt((new cCc).setComponentId(Number(a.componentId)).setText(a.text));return this.executor.post({url:"action/check_banned_words",body:a,responseConstructor:vZ}).pipe(z(Y9a))};wZ.\u0275fac=function(a){return new (a||wZ)(n(pA))};wZ.\u0275prov=Fc({token:wZ,factory:wZ.\u0275fac,providedIn:"root"});var xZ=function(a){this.observableApi=a};xZ.prototype.checkBannedWords=function(a){return se(this.observableApi.checkBannedWords(a))};
xZ.\u0275fac=function(a){return new (a||xZ)(n(wZ))};xZ.\u0275prov=Fc({token:xZ,factory:xZ.\u0275fac,providedIn:"root"});var yZ=function(a,b,c,d){Y.call(this);this.bannedWordsApi=a;this.activeSession=b;this.errorHandler=c;this.analytics=d;this.matchedPatterns=[];this.warningState="INITIAL";this.enableBannedWordsCheck=ep(this.activeSession,"enableBannedWordsCheck");this.isUserInternal=this.activeSession.isInternalSession()};V(yZ,Y);yZ.\u0275dir=Y.\u0275dir;
yZ.prototype.check=function(a,b,c){var d=this;return ge(function(e){if(!(d.enableBannedWordsCheck&&d.isUserInternal&&b&&c))return e.return(!0);switch(d.warningState){case "INITIAL":return e.return(eCc(d,String(c),a));case "SHOW_WARNING":return d.warningState="SKIP_WARNING",d.analytics.trackEvent("bannedWords","skipBannedWordsCheck",Lq(d)),e.return(!0);default:return e.return(!0)}})};
var eCc=function(a,b,c){var d,e;return ge(function(f){if(f.nextAddress==1)return he(f,2),ie(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",Lq(a)),f.return(!1)):f.return(!0);e=le(f);gD(a.errorHandler,e);return f.return(!0)})},Lq=function(a){return a.matchedPatterns.join(", ")};
yZ.prototype.showWarning=function(){return this.warningState==="SHOW_WARNING"};yZ.prototype.reset=function(){this.matchedPatterns=[];this.warningState="INITIAL"};yZ.\u0275fac=function(a){return new (a||yZ)(n(xZ),n(as),n(eD),n(CF))};yZ.\u0275prov=Fc({token:yZ,factory:yZ.\u0275fac});var fCc=function(a){return[a]},zZ=function(a){this.matDialog=a};zZ.prototype.show=function(a,b,c){a.formattingMode==="LITERAL"&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(AZ,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{componentId:c,formattingAudience:b,statusUpdate:a}});return se(dH(this.dialog))};zZ.\u0275fac=function(a){return new (a||zZ)(n(jH))};zZ.\u0275prov=Fc({token:zZ,factory:zZ.\u0275fac,providedIn:"root"});
var AZ=function(a,b,c,d,e,f){Y.call(this);var h=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;this.CHAR_LIMIT=1E3;this.FormattingMode=$z;this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.formattingAudience=b.formattingAudience;this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=
di(this.origStatusUpdate);this.subscriptions.add(cS(e,function(){return h.isModified()},!1))};V(AZ,Y);AZ.\u0275dir=Y.\u0275dir;var gCc=function(a){var b,c;return(c=wFa((b=a.newStatusUpdate)==null?void 0:b.updateText))!=null?c:""};g=AZ.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Df(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Df(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!ci(this.newStatusUpdate,this.origStatusUpdate)};g.asNumber=function(a){return Number(a)};
g.closeDialogForSave=function(){var a=this,b,c,d;return ge(function(e){if(e.nextAddress==1)return a.isModified()?ie(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||klc(c),e.return();(d=a.dialogService.dialog)==null||d.close(a.newStatusUpdate);me(e)})};AZ.\u0275fac=function(a){return new (a||AZ)(B(as),B(iH),B(zZ),B(cH),B(bS),B(yZ))};
AZ.\u0275cmp=p({type:AZ,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&rg(mO,5);if(a&2){var c;vg(c=wg())&&(b.commentDraft=c.first)}},features:[Dg([yZ]),Lf],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"],["class","char-limit-warning",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"change","initialValue"],
["class","clamper line-clamp-4","tabindex","0",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"save-button",3,"click","disabled","color"],[1,"char-limit-warning"],[1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId","formattingMode","audience"]],
template:function(a,b){a&1&&(F(0,"h1",0),Q(1,"Editing Status Update"),H(),F(2,"section",1)(3,"p",2),Q(4," Editing the Status Update will not permanently remove old ones from database history. "),J(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),F(7,"a",3),Q(8," file a support request. "),H()(),F(9,"b-comment-draft",4),Cg("contentChange",function(d){Bg(b.newStatusUpdate.updateText,d)||(b.newStatusUpdate.updateText=d);return d}),O("contentChange",function(){b.bannedWordsChecker.reset()})("onSubmit",
function(){return b.closeDialogForSave()}),H(),C(10,Z9a,2,1,"p",5)(11,$9a,4,1,"p",6),F(12,"b-markdown-toggle",7),O("change",function(d){return b.newStatusUpdate.formattingMode=d}),H(),C(13,a$a,2,4,"div",8),H(),F(14,"footer",9)(15,"button",10),Q(16," Cancel "),H(),F(17,"button",11),O("click",function(){return b.closeDialogForSave()}),Q(18),H()());if(a&2){var c;A(7);E("href",b.contentRemovalRequestLink,cf);A(2);Xf(gCc(b));Ag("content",b.newStatusUpdate.updateText);E("textareaClass",Hg(15,fCc,b.bannedWordsChecker.showWarning()?
"banned-words-warning":""));A();E("ngIf",b.newStatusUpdate.updateText.length>1E3);A();E("ngIf",b.bannedWordsChecker.showWarning());A();Wf("margin-bottom",b.newStatusUpdate.formattingMode!==b.FormattingMode.MARKDOWN);E("initialValue",(c=b.origStatusUpdate.formattingMode)!==null&&c!==void 0?c:b.FormattingMode.PLAIN);A();E("ngIf",b.newStatusUpdate.formattingMode===b.FormattingMode.MARKDOWN);A(2);E("mat-dialog-close",void 0);A(2);E("disabled",b.newStatusUpdate.updateText.length===0||b.newStatusUpdate.updateText.length>
1E3||!b.isModified())("color",b.bannedWordsChecker.showWarning()?"warn":"primary");A();R(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," ")}},dependencies:[kH,mH,oH,nH,tv,kC,Ex,SL,RL,mO],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 BZ=function(a,b,c,d,e,f){var h=this;this.issueFridge=a;this.issueApi=b;this.prompts=c;this.contextSensitiveRegistry=d;this.analytics=e;this.activeSession=f;this.enableNoButton=ep(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.issueId$=this.contextSensitiveRegistry.getIssueId().pipe(He(Gi),sf());this.issue$=this.issueId$.pipe(Cf(function(k){return h.issueFridge.watch(k)}),He(Gi),sf(function(k,q){return k.issueId===q.issueId&&k.version===q.version}));
this.summarizable$=this.issue$.pipe(Cf(function(k){return hCc(h.prompts,k.issueId).pipe(z(function(q){return{issue:k,isSummarizable:q}}))}),zf({refCount:!0,bufferSize:1}));this.pregeneratedSummary$=this.summarizable$.pipe(He(function(k){return k.isSummarizable}),Cf(function(k){return h.getIssueSummary(k.issue,"COMMENTS_LONG")}),zf({refCount:!0,bufferSize:1}));this.generateSummaryRequested$=new xf(1);this.generatedSummary$=this.generateSummaryRequested$.pipe(Cf(function(k){return iCc(h,k)}),zf({refCount:!0,
bufferSize:1}));this.summary$=Ge(this.pregeneratedSummary$,this.generatedSummary$).pipe(zf({refCount:!0,bufferSize:1}));this.stage$=we([this.issueId$.pipe(Bf(void 0)),this.issue$.pipe(Bf(void 0)),this.pregeneratedSummary$.pipe(Bf(void 0)),this.generateSummaryRequested$.pipe(Bf(void 0)),this.generatedSummary$.pipe(Bf(void 0))]).pipe(z(function(k){var q=l(k);k=q.next().value;var t=q.next().value;var w=q.next().value;var y=q.next().value;q=q.next().value;return k&&t&&w&&w.issueId===k?w.summary?"SUMMARY_VISIBLE":
y&&y.issueId===k&&y.version===t.version?!q||q.issueId!==k||q.issueVersion<t.version?"GENERATING":"SUMMARY_VISIBLE":"BUTTON":"HIDDEN"}),zf({refCount:!1,bufferSize:1}))},Uxb=function(a){a.issue$.pipe(qf()).subscribe(function(b){a.generateSummaryRequested$.next(b)})};
BZ.prototype.getIssueSummary=function(a,b){return this.issueApi.getIssueSummary(a.issueId,b).pipe(z(function(c){return a.version>c.issueVersion?{issueId:a.issueId,summaryType:b,issueVersion:a.version,summary:""}:c}),lf(function(c){c.status!==404&&ij("Error to get an issue summary: error: ",c);return pe({issueId:a.issueId,summaryType:b,issueVersion:a.version,summary:""})}))};
var iCc=function(a,b){return a.issueApi.generateIssueSummary(b.issueId,"COMMENTS_LONG").pipe(lf(function(c){ij("Error to generate an issue summary: error: ",c);return pe({issueId:b.issueId,summaryType:"COMMENTS_LONG",issueVersion:b.version,summary:""})}))};BZ.prototype.trackThumbsUp=function(a,b){this.trackEvent("accept",b);CZ(this,a,"THUMBS_UP")};BZ.prototype.trackThumbsDown=function(a,b){this.trackEvent("reject",b);CZ(this,a,"THUMBS_DOWN")};
BZ.prototype.trackEvent=function(a,b){this.analytics.trackEvent("llmSummarize",a,b)};var CZ=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 NB;var k=b.setFeedback;c=(new g3b).setIssueId(d).setSummaryType(E1b[e]).setModelVersion(f).setIssueVersion(h).setFeedbackType(D1b[c]);c=k.call(b,c);c=(new hC).setIt(c);a.executor.post({url:"action/issues/"+d+"/submitSummaryFeedback",body:c,responseConstructor:null}).subscribe()}};
BZ.\u0275fac=function(a){return new (a||BZ)(n(EF),n(iC),n(DZ),n(hI),n(CF),n(as))};BZ.\u0275prov=Fc({token:BZ,factory:BZ.\u0275fac,providedIn:"root"});
var DZ=function(a){this.eventsForIssueFridge=a},hCc=function(a,b){return jCc(a,b).pipe(z(function(c){return!!(c&&c.commentEvents.length>=3)}),sf())},jCc=function(a,b){return a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return{commentEvents:[]};c=c.events;return{commentEvents:[].concat(r(c.slice(0,1).filter(function(d){var e;return(e=d.unlinkifiedComment)==null?void 0:e.trim()})),r(c.slice(1).filter(b$a).filter(function(d){var e;return(e=d.unlinkifiedComment)==
null?void 0:e.trim()})))}}))};DZ.\u0275fac=function(a){return new (a||DZ)(n(HE))};DZ.\u0275prov=Fc({token:DZ,factory:DZ.\u0275fac,providedIn:"root"});var kCc=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};kCc.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};kCc.prototype.getMetadata=function(){return this.metadata_};var lCc=function(a,b,c){c=c===void 0?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};lCc.prototype.getMetadata=function(){return this.metadata_};lCc.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};lCc.prototype.getStatus=function(){return this.status_};var EZ=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},mCc=function(a,b,c){c=c===void 0?{}:c;return new kCc(b,a,c)};EZ.prototype.getName=function(){return this.name};EZ.prototype.getName=EZ.prototype.getName;var nCc=function(a){this.internalArray_=m(a)};V(nCc,X);var oCc=function(a){this.internalArray_=m(a)};V(oCc,X);oCc.prototype.getWorkspaceId=function(){return Jj(this,1)};oCc.prototype.getWorkspaceId_asLegacyNumberOrString=function(){return Jj(this,1)};var pCc=new EZ("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",oCc,Oq,function(a){return a.serialize()},Q8b);var qCc=function(a){this.internalArray_=m(a)};V(qCc,X);var sCc=function(a,b){return Cj(a,1,rCc,b)};qCc.repeatedFields_=[3];var rCc=[1,2];var tCc=function(a){this.internalArray_=m(a)};V(tCc,X);var uCc=ai(tCc);tCc.repeatedFields_=[1,2,3];var vCc=new EZ("/google.corp.devtools.worktracker.v1.WorkspaceService/List",qCc,tCc,function(a){return a.serialize()},uCc);var FZ=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)};V(FZ,Error);FZ.prototype.toString=function(){var a="RpcError("+(Cma(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};var wCc=new Set(["SAPISIDHASH","APISIDHASH"]);var xCc=Promise;var GZ=function(a){this.internalArray_=m(a)};V(GZ,X);GZ.prototype.getCode=function(){return Lj(this,1)};GZ.prototype.setCode=function(a){return kj(this,1,a)};GZ.prototype.getMessage=function(){return Zh(this,2)};GZ.prototype.setMessage=function(a){return sj(this,2,a)};var yCc=ai(GZ);GZ.repeatedFields_=[3];var HZ=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_&&zCc(this)},FCc=function(a,b){mp(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("Be");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(h){ACc(a,new FZ(13,"Error when deserializing response data; error: "+h+(", response: "+c)));return}c=Bma(a.xhr_.getStatus());BCc(a,CCc(a));c==0?DCc(a,d):ACc(a,new FZ(c,"Xhr succeeded but the status code is not 200"))}else{c=a.xhr_.getResponseText();d=CCc(a);if(c){var e=ECc(a,c);c=e.code;var f=e.details;e=e.metadata}else c=2,f="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError(),e=d;BCc(a,d);ACc(a,new FZ(c,f,e))}})},
zCc=function(a){a.xhrNodeReadableStream_.on("data",function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){ACc(a,new FZ(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&DCc(a,d)}if("2"in b)for(b=ECc(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){BCc(a,CCc(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=Bma(c);break;default:d=14}BCc(a,CCc(a));b=Osc(b)+", error: "+a.xhr_.getLastError();c!=-1&&(b+=", http status code: "+c);ACc(a,new FZ(d,b))}})},CCc=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},ECc=function(a,b){var c=2,d={};
try{var e=yCc(b);c=e.getCode();var f=e.getMessage();Yj(e,Om,3,Ai()).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}};
HZ.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 GCc=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};
HZ.prototype.removeListener=function(a,b){a=="data"?GCc(this.onDataCallbacks_,b):a=="metadata"?GCc(this.onMetadataCallbacks_,b):a=="status"?GCc(this.onStatusCallbacks_,b):a=="end"?GCc(this.onEndCallbacks_,b):a=="error"&&GCc(this.onErrorCallbacks_,b);return this};HZ.prototype.cancel=function(){this.xhr_.abort()};
var DCc=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},BCc=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},ACc=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};HZ.prototype.cancel=HZ.prototype.cancel;HZ.prototype.removeListener=HZ.prototype.removeListener;HZ.prototype.on=HZ.prototype.on;var IZ=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};gu(IZ,Psc);IZ.prototype.createInstance=function(){var a=new JZ(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};IZ.prototype.internalGetOptions=Bz({});IZ.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
IZ.prototype.setCacheMode=function(a){this.cacheMode_=a};var JZ=function(a,b){lp.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};
gu(JZ,lp);JZ.prototype.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("Ce");this.method_=a;this.url_=b;this.readyState=1;HCc(this)};JZ.prototype.send=function(a){if(this.readyState!=1)throw this.abort(),Error("De");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||Ba).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
JZ.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,ICc(this));this.readyState=0};
JZ.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,HCc(this)),this.inProgress_&&(this.readyState=3,HCc(this),this.inProgress_)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if(typeof Ba.ReadableStream!=="undefined"&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Ee");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;JCc(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var JCc=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
JZ.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?ICc(this):HCc(this);this.readyState==3&&JCc(this)}};JZ.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,ICc(this))};
JZ.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,ICc(this))};JZ.prototype.handleSendFailure_=function(){this.inProgress_&&ICc(this)};var ICc=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;HCc(a)};g=JZ.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 HCc=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(JZ.prototype,"withCredentials",{get:function(){return this.credentialsMode_==="include"},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var KCc=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};KCc.prototype.isInputValid=function(){return this.isInputValid_};KCc.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Fe`"+this.streamPos_+"`"+b+"`"+a);};
KCc.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=oTb(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 d$a=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};g=d$a.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,k,"invalid tag");(q&7)!=2&&f.error_(h,k,"invalid wire type");f.tag_=q>>>3;f.tag_!=1&&f.tag_!=2&&f.tag_!=15&&f.error_(h,k,"unexpected tag");f.state_=1;f.length_=0;f.countLengthBytes_=0}function c(q){f.countLengthBytes_++;f.countLengthBytes_==5&&q&240&&f.error_(h,k,"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),k=0;k<h.length;){switch(f.state_){case 3:f.error_(h,k,"stream already broken");break;case 0:b(h[k]);break;case 1:c(h[k]);break;case 2:d(h[k]);break;default:throw Error("Ge`"+f.state_);}f.streamPos_++;k++}a=
f.result_;f.result_=[];return a.length>0?a:null};var e$a=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new KCc;this.pbParser_=new d$a};g=e$a.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 KZ=function(a){return a=="\r"||a=="\n"||a==" "||a=="\t"};var c$a=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)},LCc={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=c$a.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(;D<a.length;)if(KZ(a[D]))D++,f.pos_++;else break;return D<t}function c(){for(var I;;){I=a[D++];if(!I)break;f.pos_++;switch(f.state_){case q.INIT:I==="{"?f.state_=q.OBJECT_OPEN:I==="["?f.state_=q.ARRAY_OPEN:KZ(I)||f.error_(a,D);continue;case q.KEY_START:case q.OBJECT_OPEN:if(KZ(I))continue;if(f.state_===q.KEY_START)h.push(q.KEY_END);else if(I==="}"){e("{}");f.state_=d();continue}else h.push(q.OBJECT_END);I==='"'?f.state_=q.STRING:f.error_(a,D);continue;case q.KEY_END:case q.OBJECT_END:if(KZ(I))continue;
I===":"?(f.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),f.depth_++),f.state_=q.VALUE):I==="}"?(f.depth_--,e(),f.state_=d()):I===","?(f.state_===q.OBJECT_END&&h.push(q.OBJECT_END),f.state_=q.KEY_START):f.error_(a,D);continue;case q.ARRAY_OPEN:case q.VALUE:if(KZ(I))continue;if(f.state_===q.ARRAY_OPEN)if(f.depth_++,f.state_=q.VALUE,I==="]"){f.depth_--;if(f.depth_===0){f.state_=q.ARRAY_END;return}e("[]");f.state_=d();continue}else h.push(q.ARRAY_END);I==='"'?f.state_=q.STRING:I==="{"?f.state_=q.OBJECT_OPEN:
I==="["?f.state_=q.ARRAY_OPEN:I==="t"?f.state_=q.TRUE1:I==="f"?f.state_=q.FALSE1:I==="n"?f.state_=q.NULL1:I!=="-"&&("0123456789".indexOf(I)!==-1?f.state_=q.NUM_DIGIT:f.error_(a,D));continue;case q.ARRAY_END:if(I===",")h.push(q.ARRAY_END),f.state_=q.VALUE,f.depth_===1&&(y=D);else if(I==="]"){f.depth_--;if(f.depth_===0)return;e();f.state_=d()}else if(KZ(I))continue;else f.error_(a,D);continue;case q.STRING:var N=D;a:for(;;){for(;f.unicodeCount_>0;)if(I=a[D++],f.unicodeCount_===4?f.unicodeCount_=0:f.unicodeCount_++,
!I)break a;if(I==='"'&&!f.slashed_){f.state_=d();break}if(I==="\\"&&!f.slashed_&&(f.slashed_=!0,I=a[D++],!I))break;if(f.slashed_)if(f.slashed_=!1,I==="u"&&(f.unicodeCount_=1),I=a[D++])continue;else break;k.lastIndex=D;I=k.exec(a);if(!I){D=a.length+1;break}D=I.index+1;I=a[I.index];if(!I)break}f.pos_+=D-N;continue;case q.TRUE1:if(!I)continue;I==="r"?f.state_=q.TRUE2:f.error_(a,D);continue;case q.TRUE2:if(!I)continue;I==="u"?f.state_=q.TRUE3:f.error_(a,D);continue;case q.TRUE3:if(!I)continue;I==="e"?
f.state_=d():f.error_(a,D);continue;case q.FALSE1:if(!I)continue;I==="a"?f.state_=q.FALSE2:f.error_(a,D);continue;case q.FALSE2:if(!I)continue;I==="l"?f.state_=q.FALSE3:f.error_(a,D);continue;case q.FALSE3:if(!I)continue;I==="s"?f.state_=q.FALSE4:f.error_(a,D);continue;case q.FALSE4:if(!I)continue;I==="e"?f.state_=d():f.error_(a,D);continue;case q.NULL1:if(!I)continue;I==="u"?f.state_=q.NULL2:f.error_(a,D);continue;case q.NULL2:if(!I)continue;I==="l"?f.state_=q.NULL3:f.error_(a,D);continue;case q.NULL3:if(!I)continue;
I==="l"?f.state_=d():f.error_(a,D);continue;case q.NUM_DECIMAL_POINT:I==="."?f.state_=q.NUM_DIGIT:f.error_(a,D);continue;case q.NUM_DIGIT:if("0123456789.eE+-".indexOf(I)!==-1)continue;else D--,f.pos_--,f.state_=d();continue;default:f.error_(a,D)}}}function d(){var I=h.pop();return I!=null?I:q.VALUE}function e(I){f.depth_>1||(I||(I=y===-1?f.buffer_+a.substring(w,D):a.substring(y,D)),f.deliverMessageAsRawString_?f.result_.push(I):f.result_.push(JSON.parse(I)),y=D)}for(var f=this,h=f.stack_,k=f.stringInputPattern_,
q=LCc,t=a.length,w=0,y=-1,D=0;D<t;)switch(f.streamState_){case 3:return f.error_(a,D),null;case 2:return b()&&f.error_(a,D),null;case 0:if(b()){var G=a[D++];f.pos_++;if(G==="["){f.streamState_=1;w=D;f.state_=q.ARRAY_OPEN;continue}else f.error_(a,D)}return null;case 1:return c(),f.depth_===0&&f.state_==q.ARRAY_END?(f.streamState_=2,f.buffer_=a.substring(D)):f.buffer_=y===-1?f.buffer_+a.substring(w):a.substring(y),f.result_.length>0?(G=f.result_,f.result_=[],G):null}return null};var Nq=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};Nq.prototype.isInputValid=function(){return this.errorMessage_===null};Nq.prototype.getErrorMessage=function(){return this.errorMessage_};Nq.prototype.acceptsBinaryInput=function(){return!1};
Nq.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 c$a({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var t=0;t<q.length;t++){var w={};w[1]=q[t];f.result_.push(w)}}function e(q){if(q){(f.statusParsed_||q.length>1)&&b("extra status: "+q);f.statusParsed_=!0;var t={};t[2]=q[0];f.result_.push(t)}}for(var f=
this,h=0;h<a.length;){var k;if(k=f.state_!==2){a:{for(;h<a.length;){if(!KZ(a[h])){k=!0;break a}h++;f.streamPos_++}k=!1}k=!k}if(k)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:k=f.jsonStreamParser_.parse(a.substring(h));d(k);f.jsonStreamParser_.done()?
(f.state_=3,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,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:k=f.jsonStreamParser_.parse(a.substring(h));e(k);f.jsonStreamParser_.done()?(f.state_=5,k=f.jsonStreamParser_.buffer_,f.streamPos_+=a.length-h-k.length,a=k,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 MCc=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 ds(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};MCc.prototype.getXhr=function(){return this.xhr_};
var LZ=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},NCc=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};MCc.prototype.getStatus=function(){return this.status_};
MCc.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?LZ(this,7):c==7?LZ(this,8):d||LZ(this,3)),this.parser_||(this.parser_=f$a(this.xhr_),
this.parser_==null&&LZ(this,5)),this.status_>2)NCc(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var k=0;k<h;k++){var q=this.parser_.parse(Array.from(a[k]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if(typeof TextDecoder==="undefined")throw Error("He");this.textDecoder_=new TextDecoder}for(k=0;k<h;k++)q+=this.textDecoder_.decode(a[k],{stream:b==4&&k==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(w){LZ(this,
5);NCc(this);break a}}else if(e.length>this.pos_){k=e.slice(this.pos_);this.pos_=e.length;try{var t=this.parser_.parse(k);t!=null&&this.dataHandler_&&this.dataHandler_(t)}catch(w){LZ(this,5);NCc(this);break a}}b==4?(e.length!=0||this.hasStreamingResponseData_?LZ(this,2):LZ(this,4),NCc(this)):LZ(this,1)}}}catch(w){LZ(this,6),NCc(this)}};var OCc=function(a){a=this.xhrReader_=a;var b=eu(this.onData_,this);a.dataHandler_=b;a=this.xhrReader_;b=eu(this.onStatusChange_,this);a.statusHandler_=b;this.callbackMap_={};this.callbackOnceMap_={}};g=OCc.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&&Qa(c,b);(a=this.callbackOnceMap_[a])&&Qa(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&&PCc(this,a,b);(b=this.callbackOnceMap_.data)&&PCc(this,a,b);this.callbackOnceMap_.data=[]};
var PCc=function(a,b,c){for(var d={},e=0;e<b.length;d={message$jscomp$770:void 0},e++)d.message$jscomp$770=b[e],c.forEach(function(f){return function(h){try{h(f.message$jscomp$770)}catch(k){a.handleError_("message-callback exception (ignored) "+k)}}}(d))};OCc.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:QCc(this,"readable");break;case 5:case 6:case 4:case 7:case 3:QCc(this,"error");break;case 8:QCc(this,"close");break;case 2:QCc(this,"end")}};
var QCc=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]=[]};OCc.prototype.handleError_=function(){};var RCc=function(a){a=a===void 0?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||gp("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||gp("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},UCc=function(a,b,c,d,e){var f=b.substr(0,b.length-e.name.length);return SCc(function(h){return new xCc(function(k,q){var t=
{},w=TCc(a,h,f);w.on("error",function(y){return q(y)});w.on("metadata",function(y){t=y});w.on("data",function(y){var D=h.getMethodDescriptor(),G=t;G=G===void 0?{}:G;k(new lCc(y,D,G))})})},a.unaryInterceptors_).call(a,mCc(e,c,d)).then(function(h){return h.responseMessage_})},MZ=function(a,b,c,d,e){return UCc(a,b,c,d,e)};
RCc.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return SCc(function(h){var k=h.getMethodDescriptor(),q=h.getMetadata(),t=VCc(e,!1);q=WCc(e,q,t,f+k.getName());var w=XCc(t,k.responseDeserializeFn,!0);h=k.requestSerializeFn(h.requestMessage_);t.send(q,"POST",h);return w},this.streamInterceptors_).call(this,mCc(d,b,c))};
var TCc=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),f=VCc(a,!0);a=WCc(a,e,f,c+d.getName());c=XCc(f,d.responseDeserializeFn,!1);FCc(c,e["X-Goog-Encode-Response-If-Executable"]=="base64");b=d.requestSerializeFn(b.requestMessage_);f.send(a,"POST",b);return c},VCc=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new Wq(new IZ({worker:a.workerScope_,streamBinaryChunks:b})):new Wq},WCc=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&&wCc.has(e.split(" ")[0])||a.withCredentials_)c.withCredentials_=!0;if(a.suppressCorsPreflight_)d=Ecc(d,"$httpHeaders",b);else for(var f in b)c.headers.set(f,b[f]);return d},XCc=function(a,b,c){if(c){c=new MCc(a);var d=new OCc(c)}return new HZ({xhr:a,nodeReadableStream:d},b)},SCc=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(f){return d.intercept(f,e)}});return c};var YCc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new RCc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};YCc.prototype.get=function(a,b){return MZ(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},pCc)};YCc.prototype.list=function(a,b){return MZ(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},vCc)};var ZCc={},$Cc;ZCc.Authorization=($Cc=rJa([]))!=null?$Cc:"";ZCc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";ZCc["X-Goog-AuthUser"]="0";var NZ=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())},aDc=function(a,b){return a.activeSession.isExternalSession()?pe([]):fe(a.client.list(sCc(new qCc,"b/"+b),ZCc)).pipe(z(g$a(b)),lf(function(){return pe([])}))};
NZ.prototype.getServiceEndpoint=function(){switch(this.environmentType){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"}};NZ.\u0275fac=function(a){return new (a||NZ)(n(as),n(OZ))};NZ.\u0275prov=Fc({token:NZ,factory:NZ.\u0275fac,providedIn:"root"});var OZ=function(){};OZ.prototype.create=function(a){return new YCc(a)};
OZ.\u0275fac=function(a){return new (a||OZ)};OZ.\u0275prov=Fc({token:OZ,factory:OZ.\u0275fac,providedIn:"root"});var bDc=function(){var a=this;this.pressed=new xF;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"}};bDc.\u0275fac=function(a){return new (a||bDc)};
bDc.\u0275cmp=p({type:bDc,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&&(F(0,"button",0),O("click",function(){return b.pressed.emit()}),Q(1,"Insights "),Fd(),F(2,"svg",1)(3,"g",2),J(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),H()()());a&2&&(E("title",b.getTooltip())("disabled",b.disabled),Nf("aria-label",b.getTooltip()))},dependencies:[kC,Ex],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 PZ=function(a,b){Y.call(this);var c=this;this.componentFridge=a;this.trackerHelpers=b;this.recentIssuesInComponent=uo;this.componentId$=new xf(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(He(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(He(Gi),Cf(this.componentFridge.watch),He(Gi));this.component$=Ge(this.error$,this.rawComponent$).pipe(z(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),name:"(unknown)"}}));
this.isArchived$=this.component$.pipe(z(function(d){return d.archived}));this.componentPath$=this.component$.pipe(z(function(d){d=Gr(c.trackerHelpers,d.componentPathInfo);return nq(d)}));this.init=new xf(1);this.routes$=this.componentId$.pipe(z(function(d){return{createIssue:tEa(d),componentSettings:uEa(d),recentIssues:uo(d)}}))};V(PZ,Y);PZ.\u0275dir=Y.\u0275dir;PZ.prototype.ngOnInit=function(){var a=this;this.component$.pipe(qf(),Df(this.destroyed$)).subscribe(function(){a.init.next()})};
da.Object.defineProperties(PZ.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});PZ.\u0275fac=function(a){return new (a||PZ)(B(gB),B(HR))};
PZ.\u0275cmp=p({type:PZ,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[Lf],decls:7,vars:7,consts:[["role","dialog","aria-label","Component Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],["class","component-path squared b-chip s margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","flex-kids-y padded-s-top actions",4,"ngIf"],[1,"component-path","squared","b-chip","s","margin-s-bottom"],[4,"ngFor","ngForOf"],
[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"],[1,"flex-kids-y","padded-s-top","actions"],["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&&(F(0,"div",0)(1,"div",1),C(2,k$a,5,6,"div",2)(3,l$a,11,5,"ng-container",3),T(4,"async"),C(5,m$a,7,3,"div",4),T(6,"async"),H()());a&2&&(A(2),E("ngIf",!b.hidePath),A(),E("ngIf",U(4,3,b.component$)),A(2),E("ngIf",U(6,5,b.routes$)))},dependencies:[sv,tv,RC,OD,kC,Fx,GQ,yv],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 cDc=function(a){this.internalArray_=m(a,0,cDc.messageId)};V(cDc,X);cDc.messageId="b.CompareComponentAccessResponse";var QZ=function(a){this.executor=a};QZ.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:cDc}).then(lwa)};QZ.\u0275fac=function(a){return new (a||QZ)(n(qA))};QZ.\u0275prov=Fc({token:QZ,factory:QZ.\u0275fac,providedIn:"root"});var RZ=function(a,b,c,d,e,f,h){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=f;this.activeSession=h},fab=function(a,b,c){var d,e,f,h,k,q,t,w;ge(function(y){switch(y.nextAddress){case 1:return b=String(b),gI(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?ie(y,se(a.issueFridge.watch(b)),2):y.return();case 2:d=y.yieldResult;if(!d)return a.butterBar.showWarning("Could not load issue "+b),y.return();
e=d.snapshot[0].componentId;f=c.componentId;return e===f?y.return():ie(y,a.compareComponentAccess.check(String(e),String(f),b),3);case 3:h=y.yieldResult;k=!!c.trackerId;q=d.snapshot[0].issueAccessLimitLevel==="LIMIT_NONE";t=ep(a.activeSession,"enableTrackerBoundaryImprovements")&&k&&q;w={allow:!1,setLimitViewTrusted:!1};if(!h.warning){y.jumpTo(4);break}return ie(y,dDc(a,h,t),5);case 5:if(w=y.yieldResult,!w.allow)return y.return();case 4:return y.return(a.editIssueService.updateComponent(b,f,h.isExternalMove,
w.setLimitViewTrusted))}})},dDc=function(a,b,c){c=c===void 0?!1:c;return new Promise(function(d){dH(a.matDialogService.open(fX,{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})})})};RZ.\u0275fac=function(a){return new (a||RZ)(n(fI),n(EF),n(cD),n(QZ),n(jH),n(EI),n(as))};
RZ.\u0275prov=Fc({token:RZ,factory:RZ.\u0275fac,providedIn:"root"});var eDc=function(a){this.documentationLinks=a};eDc.\u0275fac=function(a){return new (a||eDc)(B(bH))};
eDc.\u0275cmp=p({type:eDc,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&&(F(0,"h1",0),Q(1,"Apply component retention settings?"),H(),F(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. "),
H(),F(5,"a",2),Q(6,"Learn more"),H()(),F(7,"div",3)(8,"button",4),Q(9," Cancel "),H(),F(10,"button",5),Q(11," OK "),H()());a&2&&(A(5),E("href",Wr(),cf),A(3),E("mat-dialog-close",!1),A(2),E("mat-dialog-close",!0))},dependencies:[kH,mH,oH,nH,kC,Ex],encapsulation:2});var fDc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};fDc.\u0275fac=function(a){return new (a||fDc)(B(iH),B(bH))};
fDc.\u0275cmp=p({type:fDc,selectors:[["b-issue-delete-attachment-dialog"]],decls:14,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",4,"ngFor","ngForOf"],["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"],[3,"value",
"disabled"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"h1",0),Q(1),H(),F(2,"div",1)(3,"span"),Q(4," Please select the reason for deleting this attachment. "),F(5,"a",2),Q(6," \u00a0Learn more "),H()(),F(7,"mat-radio-group",3),Cg("ngModelChange",function(c){Bg(b.selectedReason,c)||(b.selectedReason=c);return c}),C(8,o$a,3,4,"mat-radio-button",4),H()(),F(9,"div",5)(10,"button",6),Q(11," Cancel "),H(),F(12,"button",7),Q(13," Delete "),H()());a&2&&(A(),R("Delete attachment ",b.attachmentId,""),A(4),
E("href",U9b(b.documentationLinks),cf),A(2),Ag("ngModel",b.selectedReason),A(),E("ngForOf",b.deletionReasons),A(4),E("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[sv,tv,kH,mH,oH,nH,kC,Ex,dy,ly,QI,RI],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var gDc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};gDc.\u0275fac=function(a){return new (a||gDc)(B(iH),B(bH))};
gDc.\u0275cmp=p({type:gDc,selectors:[["b-issue-delete-comment-dialog"]],decls:14,vars:7,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",4,"ngFor","ngForOf"],["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"],[3,"value","disabled"],
[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"h1",0),Q(1),H(),F(2,"div",1)(3,"label"),Q(4,"Please select the reason for deleting this comment."),H(),F(5,"a",2),Q(6," \u00a0Learn more "),H(),F(7,"mat-radio-group",3),Cg("ngModelChange",function(c){Bg(b.selectedReason,c)||(b.selectedReason=c);return c}),C(8,q$a,3,4,"mat-radio-button",4),H()(),F(9,"div",5)(10,"button",6),Q(11," Cancel "),H(),F(12,"button",7),Q(13," Delete "),H()());a&2&&(A(),zg("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),A(4),E("href",U9b(b.documentationLinks),cf),A(2),Ag("ngModel",b.selectedReason),A(),E("ngForOf",b.deletionReasons),A(4),E("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[sv,tv,kH,mH,oH,nH,kC,Ex,dy,ly,QI,RI],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var hDc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=r$a(this.activeSession.isInternalSession())};hDc.\u0275fac=function(a){return new (a||hDc)(B(bH),B(as))};
hDc.\u0275cmp=p({type:hDc,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&&(F(0,"h1",0),Q(1,"Report spam?"),H(),F(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, "),
F(5,"a",2),Q(6,"see here"),H(),Q(7,". "),H(),J(8,"p"),F(9,"p"),Q(10," To delete PII or other sensitive content, "),F(11,"a",2),Q(12,"file a support request"),H(),Q(13,". "),H()(),F(14,"div",3)(15,"button",4),Q(16," Cancel "),H(),F(17,"button",5),Q(18," Report spam "),H()());a&2&&(A(5),E("href",S9b(b.documentationLinks),cf),A(6),E("href",b.REMOVAL_URL,cf),A(4),E("mat-dialog-close",!1),A(2),E("mat-dialog-close",!0))},dependencies:[kH,mH,oH,nH,kC,Ex],encapsulation:2});var iDc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};iDc.\u0275fac=function(a){return new (a||iDc)(B(bH))};
iDc.\u0275cmp=p({type:iDc,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&&(F(0,"h1",0),Q(1,"Retain issue indefinitely?"),H(),F(2,
"div",1)(3,"p"),Q(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),H(),F(5,"p")(6,"b"),Q(7,"Please note indefinite retention is not appropriate in many circumstances."),H(),J(8,"br"),Q(9," Before selecting this option, you should make sure at least one of the following is true: "),H(),F(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. "),H(),F(13,"li"),Q(14,
" You have a process in place to manually delete this issue within an approved period of time. "),H(),F(15,"li"),Q(16," Legal and Privacy have approved this non-standard retention period. "),H()(),J(17,"p"),F(18,"p")(19,"a",2),Q(20,"Learn more"),H()(),F(21,"mat-checkbox",3),O("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),Q(22," I acknowledge "),H()(),F(23,"div",4)(24,"button",5),Q(25," Cancel "),H(),F(26,"button",6),Q(27," OK "),H()());a&2&&(A(19),E("href",Wr(),cf),A(2),
E("checked",b.indefiniteRetentionAcknowledged),A(3),E("mat-dialog-close",!1),A(2),E("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[kH,mH,oH,nH,kC,Ex,oJ,pJ],styles:[".mat-mdc-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var SZ=function(a){Y.call(this);this.userPreferencesManager=a;this.timestamps$=this.userPreferencesManager.preferences$.pipe(z(function(b){var c;return(c=b.dismissalTimestamps)!=null?c:void 0}));this.timestampsSubject$=go(this.timestamps$.pipe(Df(this.destroyed$)),{})};V(SZ,Y);SZ.\u0275dir=Y.\u0275dir;var jDc=function(a,b){return a.timestamps$.pipe(z(function(c){return c?!!c[b]:!1}))};SZ.prototype.isDismissed=function(a){return!!ho(jDc(this,a))};
SZ.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(z(function(c){if(c.dismissalTimestamps&&c.dismissalTimestamps[a])return c.dismissalTimestamps[a]}))};SZ.\u0275fac=function(a){return new (a||SZ)(n(PG))};SZ.\u0275prov=Fc({token:SZ,factory:SZ.\u0275fac,providedIn:"root"});var TZ=function(a,b,c){Y.call(this);this.data=a;this.dialogRef=b;this.dismissalService=c;this.dontShowAgain=!1};V(TZ,Y);TZ.\u0275dir=Y.\u0275dir;TZ.prototype.confirm=function(){var a=this,b;return ge(function(c){if(c.nextAddress==1){if(!a.dontShowAgain)return c.jumpTo(2);b=s$a(a.data.action);return ie(c,se(a.dismissalService.dismiss(b)),2)}a.dialogRef.close(!0);me(c)})};TZ.\u0275fac=function(a){return new (a||TZ)(B(iH),B(cH),B(SZ))};
TZ.\u0275cmp=p({type:TZ,selectors:[["b-share-email-confirmation-dialog"]],features:[Lf],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&&(F(0,"div",0),J(1,"div",1),F(2,"mat-checkbox",2),O("change",function(c){return b.dontShowAgain=c.checked}),Q(3," Don't show this again "),H()(),F(4,
"div",3)(5,"button",4),O("click",function(){return b.dialogRef.close(!1)}),Q(6," Cancel "),H(),F(7,"button",5),O("click",function(){return b.confirm()}),Q(8," Confirm "),H()());a&2&&(A(),E("innerHTML",b.data.content,bf),A(),E("checked",b.dontShowAgain))},dependencies:[oH,nH,kC,Ex,oJ,pJ],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-top: 12px;\n      padding-bottom: 12px;\n    }"]});var UZ=function(){};UZ.\u0275fac=function(a){return new (a||UZ)};UZ.\u0275mod=cd({type:UZ});UZ.\u0275inj=Gc({imports:[RD,VH,RH,zW,zy,lM,sQ,rQ,JM,jM]});var VZ=function(a){this.internalArray_=m(a)};V(VZ,X);VZ.prototype.getContentJudgement=function(){return Gj(this,Hj,1)};VZ.prototype.setContentJudgement=function(a){return Pj(this,Hj,1,a)};var WZ=function(a){this.internalArray_=m(a)};V(WZ,X);WZ.prototype.getContentJudgement=function(){return Gj(this,Hj,1)};WZ.prototype.setContentJudgement=function(a){return Pj(this,Hj,1,a)};var XZ=function(a){this.internalArray_=m(a,0,XZ.messageId)};V(XZ,X);XZ.prototype.getIt=function(){return Gj(this,VZ,4)};XZ.prototype.setIt=function(a){return Pj(this,VZ,4,a)};XZ.messageId="b.CreateContentJudgementRequest";var kDc=function(a){this.internalArray_=m(a)};V(kDc,X);kDc.repeatedFields_=[1];var YZ=function(a){this.internalArray_=m(a,0,YZ.messageId)};V(YZ,X);YZ.prototype.getIt=function(){return Gj(this,kDc,2)};YZ.prototype.setIt=function(a){return Pj(this,kDc,2,a)};YZ.messageId="b.ListContentJudgementsResponse";var ZZ=function(a){this.internalArray_=m(a,0,ZZ.messageId)};V(ZZ,X);ZZ.prototype.getIt=function(){return Gj(this,WZ,2)};ZZ.prototype.setIt=function(a){return Pj(this,WZ,2,a)};ZZ.messageId="b.UpdateContentJudgementRequest";var $Z=function(a){this.executor=a};$Z.prototype.create=function(a,b,c){var d=new XZ,e=d.setIt,f=new VZ,h=f.setContentJudgement;a=uj(pta({resourcePath:a,severity:b,judgementReason:c,contentJudgementId:void 0,contentJudge:""}),5,2);a=uj(a,6,2);d=e.call(d,h.call(f,a));return this.executor.post({url:"action/content_judgements",body:d,responseConstructor:so}).pipe(z(gEa))};
$Z.prototype.update=function(a){var b=uj(pta(a),5,2);b=ro(b,8);b=(new ZZ).setIt((new WZ).setContentJudgement(b));return this.executor.post({url:"action/content_judgements/"+a.contentJudgementId,body:b,responseConstructor:so}).pipe(z(gEa))};$Z.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:YZ}).pipe(z(function(b){b=b.getIt();return Yj(b,Hj,1,Ai()).map(qta)}))};$Z.\u0275fac=function(a){return new (a||$Z)(n(pA))};
$Z.\u0275prov=Fc({token:$Z,factory:$Z.\u0275fac,providedIn:"root"});var b_=function(a,b,c,d,e){var f=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.RestrictionSeverity=K1b;this.loaded=!1;this.minimumSeverity="RESTRICTION_SEVERITY_UNSPECIFIED";this.severity="NONE_DETECTED";this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var k="RESTRICTION_SEVERITY_UNSPECIFIED";h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,
q.contentJudge===f.activeSession.getUserEmail()?lDc(f,q):a_(q.severity,k)&&(k=q.severity);f.minimumSeverity=k;a_(f.minimumSeverity,f.severity)&&(f.severity=f.minimumSeverity);f.loaded=!0}):(lDc(this,e.contentJudgement),this.loaded=!0)};b_.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var a_=function(a,b){return t$a(a)>t$a(b)},lDc=function(a,b){if(a.judgement=b)a.severity=b.severity},mDc=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.";
a_(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};b_.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};
b_.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()})};b_.prototype.onNoClick=function(){this.dialogRef.close(null)};b_.\u0275fac=function(a){return new (a||b_)(B(cH),B(bH),B($Z),B(as),B(iH))};
b_.\u0275cmp=p({type:b_,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&&(F(0,"header",0)(1,"h1"),J(2,"mat-icon",1),F(3,"div"),Q(4," Set restriction "),H()()(),F(5,"section",2)(6,"label",3),Q(7),F(8,"a",4),Q(9," Learn More "),H()(),F(10,"mat-radio-group",5),Cg("ngModelChange",
function(c){Bg(b.severity,c)||(b.severity=c);return c}),F(11,"mat-radio-button",6),Q(12," No restriction "),F(13,"div"),Q(14,' Users with "View issues" can access. '),H()(),F(15,"mat-radio-button",7),Q(16," Restricted "),F(17,"div"),Q(18,' Users with "View restricted content" can access. '),H()(),F(19,"mat-radio-button",8),Q(20," Restricted+ "),F(21,"div"),Q(22,' Users with "View restricted+ content" can access. '),H()()()(),F(23,"mat-dialog-actions")(24,"button",9),O("click",function(){return b.onNoClick()}),
Q(25," Cancel "),H(),F(26,"button",10),O("click",function(){return b.onSaveClick()}),Q(27," Set "),H()());a&2&&(A(7),R(" ",mDc(b)," "),A(),E("rel",b.EXTERNAL_LINK_REL),Nf("href",b.documentationLinks.getRestrictedAccessHelpLink(),cf),A(2),Ag("ngModel",b.severity),A(),E("value",b.RestrictionSeverity.NONE_DETECTED)("disabled",!b.canInteract()||a_(b.minimumSeverity,b.RestrictionSeverity.NONE_DETECTED)),A(4),E("value",b.RestrictionSeverity.RESTRICTED)("disabled",!b.canInteract()||a_(b.minimumSeverity,
b.RestrictionSeverity.RESTRICTED)),A(4),E("value",b.RestrictionSeverity.RESTRICTED_PLUS)("disabled",!b.canInteract()||a_(b.minimumSeverity,b.RestrictionSeverity.RESTRICTED_PLUS)),A(7),E("disabled",!b.canInteract()))},dependencies:[RC,kC,Ex,mH,oH,nH,QI,RI,dy,ly],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 c_=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.acknowledgeToMatchIssueRetention=!1;this.resource=c.resource;this.piiRetention=c.piiRetention};c_.prototype.canInteract=function(){return!d_(this)||this.acknowledgeToMatchIssueRetention};var d_=function(a){return a.piiRetention==="INDEFINITE"};c_.prototype.onSaveClick=function(){this.dialogRef.close(1)};c_.prototype.onNoClick=function(){this.dialogRef.close(0)};
c_.\u0275fac=function(a){return new (a||c_)(B(cH),B(bH),B(iH))};
c_.\u0275cmp=p({type:c_,selectors:[["b-update-retention-dialog"]],decls:19,vars:8,consts:[["mat-dialog-title",""],["svgIcon","restricted",1,"icon-m"],[4,"ngIf"],["mat-dialog-content",""],["target","_blank","aria-label","Learn more about component retention",3,"rel"],[3,"ngModel","ngModelChange",4,"ngIf"],["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&&(F(0,"h1",0),J(1,"mat-icon",1),F(2,"div"),C(3,u$a,2,1,"span",2)(4,v$a,2,0,"span",2),H()(),F(5,"div",3),C(6,w$a,8,1,"span",2)(7,x$a,3,2,"span",2),F(8,"span")(9,"a",4),Q(10," Learn More "),H()(),F(11,"div")(12,"span"),C(13,y$a,2,1,"mat-checkbox",5),H()()(),F(14,"div",6)(15,"button",7),O("click",function(){return b.onNoClick()}),Q(16," Cancel "),H(),F(17,"button",8),O("click",function(){return b.onSaveClick()}),Q(18," Save "),
H()());a&2&&(A(3),E("ngIf",d_(b)),A(),E("ngIf",!d_(b)),A(2),E("ngIf",d_(b)),A(),E("ngIf",!d_(b)),A(2),E("rel",b.EXTERNAL_LINK_REL),Nf("href",Wr(),cf),A(4),E("ngIf",d_(b)),A(4),E("disabled",!b.canInteract()))},dependencies:[tv,RC,kC,Ex,mH,oH,nH,oJ,pJ,dy,ly],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-mdc-dialog-content[_ngcontent-%COMP%]{overflow:inherit}/*# sourceMappingURL=update_retention_dialog.css.map */"]});var e_=function(a,b,c,d,e,f,h,k){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=f;this.editIssueService=h;this.formattedCommentsForIssueFridge=k},nDc=function(a,b){var c=b.issueId;var d=b.newCommentId;var e=b.newComment;var f=b.newCommentFormattingMode;var h=b.recaptchaToken;var k,q;ge(function(t){switch(t.nextAddress){case 1:k=a.editIssueService.savingState(c);if(!e.trim())return a.butterBar.showWarning("New comment cannot be empty."),
t.return();BI(k,"commentEdit");Xp(a.butterBar,"Saving comment edit...",0);gI(a.issueInteractionsTracking,c,{label:d===1?"description":"comment"});he(t,2,3);return ie(t,a.issueCommentsService.update(c,d,e,f,h),5);case 5:Xp(a.butterBar,"Comment edit successful.",4E3),AA(a.eventsForIssueFridge,c,function(w){w.events=ysa(w.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:f})}),a.issueFridge.poke(c),a.formattedCommentsForIssueFridge.invalidate(c+"-"+d),a.eventsForIssueFridge.poke(c);
case 3:je(t);CI(k,"commentEdit");ke(t,0);break;case 2:q=le(t),gD(a.errorHandler,q),t.jumpTo(3)}})};e_.\u0275fac=function(a){return new (a||e_)(n(eD),n(HE),n(EF),n(NH),n(fI),n(cD),n(EI),n(NE))};e_.\u0275prov=Fc({token:e_,factory:e_.\u0275fac,providedIn:"root"});var oDc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},pDc=function(){},qDc=function(a){this.timestampMicros=a};z$a.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var rDc=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 $q=function(a){this.internalArray_=m(a)};V($q,X);var F$a=[1,2,3,15];var br=function(a){this.internalArray_=m(a)};V(br,X);var dr=[1,2,3,4,5,6,7,8,9,10,11,12];var ar=function(a){this.internalArray_=m(a)};V(ar,X);ar.repeatedFields_=[1];var Zq=function(a){this.internalArray_=m(a)};V(Zq,X);Zq.prototype.getName=function(){return Yn(this,1,sDc)};Zq.prototype.setName=function(a){return Cj(this,1,sDc,a)};Zq.prototype.hasName=function(){return Yn(this,1,sDc)!=null};Zq.prototype.getNameOrUndefined=function(){return Jm(this,zj(this,sDc,1))};var sDc=[1,2];var tDc=function(a){this.internalArray_=m(a)};V(tDc,X);g=tDc.prototype;g.setProject=function(a){Pj(this,Zq,1,a)};g.getOwner=function(){return Gj(this,$q,2)};g.setOwner=function(a){return Pj(this,$q,2,a)};g.getPath=function(){return Gj(this,ar,3)};g.setPath=function(a){return Pj(this,ar,3,a)};g.hasPath=function(){return Ak(this,ar,3)};var uDc=function(a){this.internalArray_=m(a)};V(uDc,X);g=uDc.prototype;g.setProject=function(a){Pj(this,Zq,1,a)};g.getOwner=function(){return Gj(this,$q,2)};g.setOwner=function(a){return Pj(this,$q,2,a)};g.getPrefix=function(){return Gj(this,ar,3)};g.setPrefix=function(a){Pj(this,ar,3,a)};var f_=function(a){this.internalArray_=m(a)};V(f_,X);f_.prototype.getVersion=function(){return vu(this,1)};f_.prototype.setVersion=function(a){return Ml(this,1,a)};f_.prototype.getVersionOrUndefined=function(){return Au(this,1)};var g_=function(a){this.internalArray_=m(a)};V(g_,X);g_.prototype.getHeader=function(){return Gj(this,f_,4)};g_.prototype.getPrefix=function(){return bk(this,uDc,6,vDc)};g_.prototype.setPrefix=function(a){gk(this,6,vDc,a)};var vDc=[2,3,6];var wDc=function(a){this.internalArray_=m(a)};V(wDc,X);var xDc=function(a){this.internalArray_=m(a)};V(xDc,X);xDc.prototype.setAffinitization=function(a){Ol(this,2,a)};xDc.prototype.getAffinitizationOrUndefined=function(){return Ot(this,2)};var yDc=function(a){this.internalArray_=m(a)};V(yDc,X);var zDc=function(a){this.internalArray_=m(a)};V(zDc,X);g=zDc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return zl(this,1)};g.setStreamId=function(a){Sl(this,1,a)};g.getClose=function(){return bk(this,yDc,3,ADc)};g.setClose=function(a){gk(this,3,ADc,a)};g.hasClose=function(){return ok(this,yDc,3,ADc)};g.setAffinitization=function(a){Ol(this,4,a)};g.getAffinitizationOrUndefined=function(){return Ot(this,4)};var ADc=[2,3];var h_=function(a){this.internalArray_=m(a)};V(h_,X);h_.prototype.setRequestsList=function(a){return Dk(this,1,a)};h_.prototype.addAndReturnRequests=function(){return cea(this,1,zDc)};h_.repeatedFields_=[1];var i_=function(a){this.internalArray_=m(a)};V(i_,X);i_.prototype.getCode=function(){return yt(this,1)};i_.prototype.setCode=function(a){return Ol(this,1,a)};i_.prototype.getCodeOrUndefined=function(){return Ot(this,1)};var BDc=function(a){this.internalArray_=m(a)};V(BDc,X);var CDc=function(a){this.internalArray_=m(a)};V(CDc,X);CDc.prototype.getVersion=function(){return zl(this,3)};CDc.prototype.setVersion=function(a){return Sl(this,3,a)};CDc.prototype.getVersionOrUndefined=function(){var a=zl(this,3);return a==null?void 0:a};var DDc=function(a){this.internalArray_=m(a)};V(DDc,X);DDc.repeatedFields_=[1];var EDc=function(a){this.internalArray_=m(a)};V(EDc,X);var j_=function(a){this.internalArray_=m(a)};V(j_,X);j_.prototype.getStart=function(){return bk(this,EDc,1,k_)};j_.prototype.setStart=function(a){return gk(this,1,k_,a)};j_.prototype.getChanges=function(){return bk(this,DDc,2,k_)};j_.prototype.hasChanges=function(){return ok(this,DDc,2,k_)};var k_=[1,2,3,5];var l_=function(a){this.internalArray_=m(a)};V(l_,X);l_.prototype.getStatus=function(){return Gj(this,oz,1)};l_.prototype.setStatus=function(a){return Pj(this,oz,1,a)};l_.prototype.hasStatus=function(){return Ak(this,oz,1)};var FDc=function(a){this.internalArray_=m(a)};V(FDc,X);g=FDc.prototype;g.getStreamId_legacyNullable_asLegacyNumberOrString=function(){return zl(this,1)};g.setStreamId=function(a){Sl(this,1,a)};g.getClose=function(){return bk(this,l_,3,GDc)};g.setClose=function(a){gk(this,3,GDc,a)};g.hasClose=function(){return ok(this,l_,3,GDc)};var GDc=[2,3,4];var m_=function(a){this.internalArray_=m(a)};V(m_,X);m_.prototype.getResponsesList=function(){return Yj(this,FDc,1,Ai())};m_.prototype.getStatus=function(){return Gj(this,i_,2)};m_.prototype.setStatus=function(a){return Pj(this,i_,2,a)};m_.prototype.hasStatus=function(){return Ak(this,i_,2)};m_.repeatedFields_=[1];var HDc=function(){tz.call(this,"y")};gu(HDc,tz);var IDc=function(){tz.call(this,"x")};gu(IDc,tz);var JDc=function(a,b,c){this.path=a;this.authMethod=b;this.useFetchApi=c},KDc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new ds;this.channel=this.createWebChannel(e)};
KDc.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,"v",function(){b.channelStatusHandler.onOpen()});
this.channelHandler.listen(a,"w",function(){b.channelStatusHandler.onClose((new LDc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"y",function(c){(c=c.data)&&c.length===1&&b.channelMessageHandler(new m_(c[0]))});this.channelHandler.listen(a,"x",function(c){b.channelStatusHandler.onError(c,(new LDc(b.channel.channel_)).getLastStatusCode());c.status!==0&&(b.state=2)});return a};
KDc.prototype.open=function(){this.state===0&&(this.state=1,this.channel.open())};KDc.prototype.close=function(){this.state!==2&&this.channel.close()};KDc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var MDc,NDc=(new f_).setVersion(7);MDc=Ol(NDc,2,5);var fr=function(a){this.rep=a};fr.prototype.equals=function(a){return this.rep===a.rep};var ODc=function(){var a=8;a=a===void 0?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};ODc.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 er=function(a,b){this.seconds=a;this.nanos=b},H$a=function(a){var b=new mj;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},L$a=function(a){try{var b=Number(a.getSeconds_asLegacyNumberOrString()),c=a.getNanos();if(b<-62135596800)throw Error("Je`"+b);if(253402300800<=b)throw Error("Ke`"+b);if(c<0)throw Error("Le`"+c);if(1E9<=c)throw Error("Me`"+c);if(!Number.isInteger(b))throw Error("Ne`"+b);if(!Number.isInteger(c))throw Error("Oe`"+c);return new er(b,c)}catch(d){return null}};
er.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var cr=function(a,b){this.low_=a|0;this.high_=b|0},PDc=function(a){return a.high_*4294967296+(a.low_>>>0)};g=cr.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("Pe`"+a);if(this.isSafeInteger()){var b=PDc(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=n_(c,c/4294967296);c=o_(this,d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(p_(d));e=f.call(e,PDc(d));f=a==10?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=PDc(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 p_=function(a){var b=~a.low_+1|0;return n_(b,~a.high_+!b|0)};
cr.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 n_((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
cr.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,k=a.low_>>>16;a=a.low_&65535;var q=e*a;var t=(q>>>16)+d*a;var w=t>>>16;t=(t&65535)+e*k;w+=t>>>16;w+=c*a;var y=w>>>16;w=(w&65535)+d*k;y+=w>>>16;w=(w&65535)+e*h;y=y+(w>>>16)+(b*a+c*k+d*h+e*f)&65535;return n_((t&65535)<<16|q&65535,y<<16|w&65535)};
var o_=function(a,b){if(b.isZero())throw Error("Qe");if(a.high_<0){if(a.equals(QDc)){if(b.equals(RDc)||b.equals(SDc))return QDc;if(b.equals(QDc))return RDc;var c=a.high_;c=n_(a.low_>>>1|c<<31,c>>1);c=o_(c,b).shiftLeft(1);if(c.equals(q_))return b.high_<0?RDc:SDc;var d=b.multiply(c);a=a.add(p_(d));return c.add(o_(a,b))}return b.high_<0?o_(p_(a),p_(b)):p_(o_(p_(a),b))}if(a.isZero())return q_;if(b.high_<0)return b.equals(QDc)?q_:p_(o_(a,p_(b)));for(d=q_;a.compare(b)>=0;){c=Math.max(1,Math.floor(PDc(a)/
PDc(b)));var e=Math.ceil(Math.log(c)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=r_(c),h=f.multiply(b);h.high_<0||h.compare(a)>0;)c-=e,f=r_(c),h=f.multiply(b);f.isZero()&&(f=RDc);d=d.add(f);a=a.add(p_(h))}return d};cr.prototype.and=function(a){return n_(this.low_&a.low_,this.high_&a.high_)};cr.prototype.or=function(a){return n_(this.low_|a.low_,this.high_|a.high_)};cr.prototype.xor=function(a){return n_(this.low_^a.low_,this.high_^a.high_)};
cr.prototype.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.low_;return a<32?n_(b<<a,this.high_<<a|b>>>32-a):n_(0,b<<a-32)};
var r_=function(a){return a>0?a>=0x7fffffffffffffff?TDc:new cr(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?QDc:p_(new cr(-a,-a/4294967296)):q_},n_=function(a,b){return new cr(a,b)},ir=function(a,b){if(a.charAt(0)=="-")return p_(ir(a.substring(1),b));var c=parseInt(a,b||10);if(c<=9007199254740991)return new cr(c%4294967296|0,c/4294967296|0);if(a.length==0)throw Error("Re");if(a.indexOf("-")>=0)throw Error("Se`"+a);b=b||10;if(b<2||36<b)throw Error("Pe`"+b);c=r_(Math.pow(b,8));for(var d=q_,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(r_(Math.pow(b,f))).add(r_(h)):(d=d.multiply(c),d=d.add(r_(h)))}return d},q_=n_(0,0),RDc=n_(1,0),SDc=n_(-1,-1),TDc=n_(4294967295,2147483647),QDc=n_(0,2147483648);var Pq=function(a,b){this.value=a;this.isDecreasing=!!b};
Pq.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 cr)b=a.value instanceof cr?this.value.equals(a.value):!1;else if(this.value instanceof fr)b=a.value instanceof fr?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 er?a.value instanceof er?this.value.equals(a.value):!1:!1;return b};var hr=function(a,b){this.parts=a;this.isPrivate=b},J$a=function(){for(var a=[],b=l(jd.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof Pq?a.push(c):a.push(new Pq(c));return new hr(a,!1)};
hr.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 UDc=function(){},Tq=function(a,b){this.apiKey=a;this.authUser=b};Tq.prototype.getHeaders=function(){var a={},b;(b=rJa([]))?(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};Tq.prototype.getQueryParameters=function(){return{key:this.apiKey}};Tq.prototype.domainType=function(){return 0};Tq.prototype.usesCredentialedRequests=function(){return!0};var Rq=function(a){this.oauthTokens=a};
Rq.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};Rq.prototype.getQueryParameters=function(){return{}};Rq.prototype.domainType=function(){return 1};Rq.prototype.usesCredentialedRequests=function(){return!0};var Sq=function(a,b){this.apiKey=a;this.appAuthTokens=b};Sq.prototype.getHeaders=function(){return{}};Sq.prototype.getQueryParameters=function(){return{key:this.apiKey}};Sq.prototype.domainType=function(){return 1};
Sq.prototype.usesCredentialedRequests=function(){return!1};var VDc=function(a,b,c){this.code=a;this.message=b;this.status=c},WDc=function(a,b){b=b===void 0?C$a():b;this.baseUri=a;this.xhrIo=b};WDc.prototype.post=function(a,b,c,d){d=d===void 0?{}:d;return this.request("POST",a,b,c,d)};
WDc.prototype.request=function(a,b,c,d,e){var f=this,h=new qp(this.baseUri);h.setPath(b);if(e.queryParams){b=l(Object.entries(e.queryParams));for(var k=b.next();!k.done;k=b.next()){var q=l(k.value);k=q.next().value;q=q.next().value;VJ(h,k,q)}}var t={"Content-type":"application/json+protobuf"};Object.assign(t,e.extraHeaders);var w=c.serialize();return new Promise(function(y,D){var G;f.xhrIo.send(h,function(){var I=this.getStatus()===-1?void 0:this.getStatus();if(this.isSuccess())try{y(Vqa(d,this.getResponseText()))}catch(N){D(new VDc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),I))}else D(new VDc(this.getLastErrorCode(),this.getLastError(),I))},a,w,t,(G=e.timeoutMs)!=null?G:2E4,e.withCredentials)})};var XDc=function(a,b,c){sz.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};V(XDc,sz);g=XDc.prototype;g.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};g.stop=function(){this.timer_&&(Yq(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(){sz.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_=Xq(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var YDc=null,ZDc=function(){return YDc=YDc||new lp},$Dc=function(a){tz.call(this,"serverreachability",a)};gu($Dc,tz);var aEc=function(a){var b=ZDc();b.dispatchEvent(new $Dc(b,a))},bEc=function(a,b){tz.call(this,"statevent",a);this.stat=b};gu(bEc,tz);var s_=function(a){var b=ZDc();b.dispatchEvent(new bEc(b,a))},cEc=function(a,b,c){tz.call(this,"timingevent",a);this.size=b;this.rtt=c};gu(cEc,tz);
var dEc=function(a,b,c){var d=ZDc();d.dispatchEvent(new cEc(d,a,b,c))},eEc=function(a,b){if(typeof a!=="function")throw Error("Ue");return Ba.setTimeout(function(){a()},b)};var t_=function(){this.redactEnabled_=!0};t_.prototype.disableRedact=function(){this.redactEnabled_=!1};
var fEc=function(a,b,c,d,e,f){a.info(function(){if(a.redactEnabled_)if(f){var h="";for(var k=f.split("&"),q=0;q<k.length;q++){var t=k[q].split("=");if(t.length>1){var w=t[0];t=t[1];var y=w.split("_");h=y.length>=2&&y[1]=="type"?h+(w+"="+t+"&"):h+(w+"=redacted&")}}}else h=null;else h=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},gEc=function(a,b,c,d,e,f,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+h})},u_=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+hEc(a,c)+(d?" "+d:"")})},iEc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};t_.prototype.debug=function(){};t_.prototype.info=function(){};t_.prototype.warning=function(){};
var hEc=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 k=1;k<f.length;k++)f[k]=""}}}return(new Ngc).serialize(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var v_=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 ds(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 jEc},jEc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},kEc=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"}},lEc={},mEc={};
v_.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};v_.prototype.setTimeout=function(a){this.timeout_=a};v_.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};v_.prototype.getPendingMessages=function(){return this.pendingMessages_};
var oEc=function(a,b,c){a.type_=1;a.baseUri_=XJ(b.clone());a.postData_=c;a.decodeChunks_=!0;nEc(a,null)},nEc=function(a,b){a.requestStartTime_=Date.now();pEc(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 jEc;a.xmlHttp_=qEc(a.channel_,c?b:null,!a.postData_);a.readyStateChangeThrottleMs_>0&&(a.readyStateChangeThrottle_=new XDc(eu(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?tc(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));aEc(1);fEc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
v_.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)};v_.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?rEc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),sEc(this)}finally{}};
var rEc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(b<3||b==3&&!sEc(a))){a.cancelled_||b!=4||c==7||(c==8||d<=0?aEc(3):aEc(2));tEc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=uEc(a);sEc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=e==200;gEc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
vEc(a))u_(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,wEc(a,d);else{a.successful_=!1;a.lastError_=3;s_(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");w_(a);xEc(a);return}a.decodeChunks_?yEc(a,b,c):(u_(a.channelDebug_,a.rid_,c,null),wEc(a,c));b==4&&w_(a);a.successful_&&!a.cancelled_&&(b==4?zEc(a.channel_,a):(a.successful_=!1,pEc(a)))}else a.xmlHttp_.getResponseHeaders(),e==400&&c.indexOf("Unknown SID")>
0?(a.lastError_=3,s_(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,s_(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),w_(a),xEc(a)}},vEc=function(a){return a.xmlHttp_&&(a=Mq(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!dq(a)?a:null},uEc=function(a){if(!AEc(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 w_(a),xEc(a),"";a.fetchResponseState_.textDecoder=new Ba.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},sEc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},AEc=function(a){return a.xmlHttp_?
a.verb_=="GET"&&a.type_!=2&&a.channel_.usesFetchStreams_:!1},yEc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=BEc(a,c),e==mEc){b==4&&(a.lastError_=4,s_(14),d=!1);u_(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==lEc){a.lastError_=4;s_(15);u_(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else u_(a.channelDebug_,a.rid_,e,null),wEc(a,e);AEc(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,s_(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),CEc(b),b.bpDetectionDone_=!0,s_(11))):(u_(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),w_(a),xEc(a))},BEc=function(a,
b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(d==-1)return mEc;c=Number(b.substring(c,d));if(isNaN(c))return lEc;d+=1;if(d+c>b.length)return mEc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};v_.prototype.cancel=function(){this.cancelled_=!0;w_(this)};
var pEc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;DEc(a,a.timeout_)},DEc=function(a,b){if(a.watchDogTimerId_!=null)throw Error("Ve");a.watchDogTimerId_=eEc(eu(a.onWatchDogTimeout_,a),b)},tEc=function(a){a.watchDogTimerId_&&(Ba.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
v_.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();a-this.watchDogTimeoutTime_>=0?(iEc(this.channelDebug_,this.requestUri_),this.type_!=2&&(aEc(3),s_(17)),w_(this),this.lastError_=2,xEc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),DEc(this,this.watchDogTimeoutTime_-a))};
var xEc=function(a){a.channel_.isClosed()||a.cancelled_||zEc(a.channel_,a)},w_=function(a){tEc(a);bi(a.readyStateChangeThrottle_);a.readyStateChangeThrottle_=null;a.eventHandler_.removeAll();if(a.xmlHttp_){var b=a.xmlHttp_;a.xmlHttp_=null;b.abort();b.dispose()}};v_.prototype.getLastError=function(){return this.lastError_};v_.prototype.getLastStatusCode=function(){return this.lastStatusCode_};v_.prototype.getRequestId=function(){return this.rid_};v_.prototype.getXhr=function(){return this.xmlHttp_};
var wEc=function(a,b){try{var c=a.channel_;if(c.state_!=0&&(c.backChannelRequest_==a||EEc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&EEc(c.forwardChannelRequestPool_,a)&&c.state_==3){try{var d=c.wireCodec_.parser_.parse(b)}catch(Z){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_)FEc(c),GEc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");HEc(c);s_(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_=eEc(eu(c.onBackChannelDead_,c),6E3))}}if(IEc(c.forwardChannelRequestPool_)<=
1&&c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(Z){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),x_(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&FEc(c),!dq(b))for(e=c.wireCodec_.parser_.parse(b),f=0;f<e.length;f++){var k=e[f];c.lastArrayId_=k[0];k=k[1];if(c.state_==2)if(k[0]=="c"){c.sid_=k[1];c.hostPrefix_=c.correctHostPrefix(k[2]);var q=k[3];q!=null&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var t=k[4];t!=null&&(c.serverVersion_=t,c.channelDebug_.info("SVER="+c.serverVersion_));var w=k[5];w!=null&&typeof w==="number"&&w>0&&(h=1.5*w,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var y=a.getXhr();if(y){var D=Mq(y,"X-Client-Wire-Protocol");if(D){var G=h.forwardChannelRequestPool_;b=D;!G.requestPool_&&(Ga(b,"spdy")||Ga(b,"quic")||Ga(b,"h2"))&&(G.maxSize_=G.maxPoolSizeConfigured_,G.requestPool_=new Set,G.request_&&(G.addRequest(G.request_),
G.request_=null))}if(h.httpSessionIdParam_){var I=Mq(y,"X-HTTP-Session-Id");I?(h.httpSessionId_=I,VJ(h.forwardChannelUri_,h.httpSessionIdParam_,I)):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 N=d=h,S=JEc(N,N.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);N.channelDebug_.debug("GetBackChannelUri: "+
S);d.backChannelUri_=S;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");KEc(h.forwardChannelRequestPool_,b);d=b;var W=h.backChannelRequestTimeoutMs_;W&&d.setTimeout(W);d.watchDogTimerId_&&(tEc(d),pEc(d));h.backChannelRequest_=b}else LEc(h);c.outgoingMaps_.length>0&&MEc(c)}else k[0]!="stop"&&k[0]!="close"||x_(c,7);else c.state_==3&&(k[0]=="stop"||k[0]=="close"?k[0]=="stop"?x_(c,7):c.disconnect():k[0]!="noop"&&c.handler_&&c.handler_.channelHandleArray(k),
c.backChannelRetryCount_=0)}aEc(4)}catch(Z){}};var NEc=function(a,b){this.mapId=a;this.map=b;this.context=null};var OEc=function(a){this.maxPoolSizeConfigured_=a||10;Ba.PerformanceNavigationTiming?(a=Ba.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(Ba.chrome&&Ba.chrome.loadTimes&&Ba.chrome.loadTimes()&&Ba.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;this.maxSize_>1&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},PEc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1},IEc=function(a){return a.request_?1:a.requestPool_?a.requestPool_.size:0},EEc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};OEc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var KEc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
OEc.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=l(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
OEc.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=l(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return Ta(this.pendingMessages_)};var QEc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var REc=function(a,b){var c=new t_;c.debug("TestLoadImage: loading "+a);if(Ba.Image){var d=new Image;d.onload=fu(y_,c,"TestLoadImage: loaded",!0,b,d);d.onerror=fu(y_,c,"TestLoadImage: error",!1,b,d);d.onabort=fu(y_,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=fu(y_,c,"TestLoadImage: timeout",!1,b,d);Ba.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},SEc=function(a,b){var c=new t_,d=new AbortController,e=setTimeout(function(){d.abort();y_(c,"TestPingServer: timeout",!1,
b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?y_(c,"TestPingServer: ok",!0,b):y_(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);y_(c,"TestPingServer: error",!1,b)})},y_=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 TEc=function(){this.replacer_=void 0};TEc.prototype.stringify=function(a){return Ba.JSON.stringify(a,this.replacer_)};TEc.prototype.parse=function(a){return Ba.JSON.parse(a,void 0)};var UEc=function(){this.parser_=new TEc},VEc=function(a,b,c){var d=c||"";try{lcc(a,function(e,f){var h=e;Wa(e)&&(h=(new Ngc).serialize(e));b.push(d+f+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var WEc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},z_=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new t_;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_=WEc("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_=WEc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=WEc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=WEc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
WEc("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 OEc(a&&a.concurrentRequestLimit);this.wireCodec_=new UEc;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};z_.prototype.channelVersion_=8;z_.prototype.state_=1;
z_.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");s_(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=JEc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;MEc(this)};
z_.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");XEc(this);if(this.state_==3){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();VJ(b,"SID",this.sid_);VJ(b,"RID",a);VJ(b,"TYPE","terminate");YEc(this,b);a=new v_(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=XJ(b.clone());b=!1;if(Ba.navigator&&Ba.navigator.sendBeacon)try{b=Ba.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&Ba.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=qEc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();pEc(a)}ZEc(this)};var GEc=function(a){a.backChannelRequest_&&(CEc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},XEc=function(a){GEc(a);a.backChannelTimerId_&&(Ba.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);FEc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&(typeof a.forwardChannelTimerId_==="number"&&Ba.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
g=z_.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 MEc=function(a){PEc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,Rz(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},aFc=function(a,b){if(IEc(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_=eEc(eu(a.onStartForwardChannelTimer_,a,b),$Ec(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
z_.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 v_(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=tc(c),rea(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=bFc(this,b,d);e=this.forwardChannelUri_.clone();VJ(e,"RID",a);this.clientVersion_>0&&VJ(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
VJ(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);YEc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(Dcc(c)))+"&"+d:this.httpHeadersOverwriteParam_&&Ecc(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&VJ(e,"TYPE","init");this.fastHandshake_?(VJ(e,"$req",d),VJ(e,"SID","null"),b.decodeInitialResponse_=!0,oEc(b,e,null)):oEc(b,e,d);this.state_=2}}else this.state_==3&&(a?cFc(this,a):this.outgoingMaps_.length==
0?this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):PEc(this.forwardChannelRequestPool_)||(cFc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var cFc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();VJ(d,"SID",a.sid_);VJ(d,"RID",c);VJ(d,"AID",a.lastArrayId_);YEc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&Ecc(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new v_(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=bFc(a,c,1E3);c.setTimeout(Math.round(a.forwardChannelRequestTimeoutMs_*
.5)+Math.round(a.forwardChannelRequestTimeoutMs_*.5*Math.random()));a.forwardChannelRequestPool_.addRequest(c);oEc(c,d,b)},YEc=function(a,b){a.extraParams_&&pc(a.extraParams_,function(c,d){VJ(b,d,c)});a.handler_&&lcc({},function(c,d){VJ(b,d,c)})},bFc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?eu(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 k=!0,q=0;q<
c;q++){var t=e[q].mapId,w=e[q].map;t-=f;if(t<0)f=Math.max(0,e[q].mapId-100),k=!1;else try{VEc(w,h,"req"+t+"_")}catch(y){d&&d(w)}}if(k){d=h.join("&");break a}}d=void 0}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},LEc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,Rz(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},HEc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||a.backChannelRetryCount_>=3)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=eEc(eu(a.onStartBackChannelTimer_,a),$Ec(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
z_.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;dFc(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_=eEc(eu(this.onBpDetectionTimer_,this),a)}};
z_.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;s_(10);GEc(this);dFc(this)}else this.channelDebug_.warning("Invalid operation.")};
var CEc=function(a){a.bpDetectionTimerId_!=null&&(a.channelDebug_.debug("Cancel the BP detection timer."),Ba.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},dFc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new v_(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();VJ(b,"RID","rpc");VJ(b,"SID",a.sid_);VJ(b,"AID",a.lastArrayId_);VJ(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&VJ(b,"TO",a.longPollingTimeout_);VJ(b,"TYPE","xmlhttp");YEc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&Ecc(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=XJ(b.clone());
c.postData_=null;c.decodeChunks_=!0;nEc(c,d);a.channelDebug_.debug("New Request created")};z_.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};z_.prototype.onBackChannelDead_=function(){this.deadBackChannelTimerId_!=null&&(this.deadBackChannelTimerId_=null,GEc(this),HEc(this),s_(19))};
var FEc=function(a){a.deadBackChannelTimerId_!=null&&(Ba.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},zEc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){FEc(a);CEc(a);a.backChannelRequest_=null;var d=2}else if(EEc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),KEc(a.forwardChannelRequestPool_,b),d=1;else return;if(a.state_!=0)if(b.successful_)d==1?(dEc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),MEc(a)):LEc(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: "+kEc(f,a.errorResponseStatusCode_)});if(d==1&&aFc(a,b)||d==2&&HEc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&c.length>0&&QEc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(f){case 1:x_(a,5);break;case 4:x_(a,10);break;case 3:x_(a,6);break;default:x_(a,2)}}},$Ec=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},x_=function(a,b){a.channelDebug_.info("Error code "+b);if(b==2){var c=eu(a.testNetworkCallback_,a),d=a.networkTestUrl_,e=!d;d=new qp(d||"//www.google.com/images/cleardot.gif");Ba.location&&Ba.location.protocol=="http"||OJ(d,"https");XJ(d);e?REc(d.toString(),
c):SEc(d.toString(),c)}else s_(2);a.onError_(b)};z_.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),s_(2)):(this.channelDebug_.info("Failed to ping google.com"),s_(1))};z_.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);ZEc(this);XEc(this)};
var ZEc=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}),Eba(a.nonAckedMapsAtChannelClose_,b),Eba(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,Ta(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
JEc=function(a,b,c){var d=YJ(c);d.getDomain()!=""?(b&&PJ(d,b+"."+d.getDomain()),d.setPort(d.getPort())):(d=Ba.location,d=Bcc(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&VJ(d,b,c);VJ(d,"VER",a.channelVersion_);YEc(a,d);return d},qEc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("We");b=a.usesFetchStreams_&&!a.xmlHttpFactory_?new Wq(new IZ({streamBinaryChunks:c})):new Wq(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};z_.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var eFc=function(){};g=eFc.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 fFc=function(){};fFc.prototype.createWebChannel=function(a,b){return new A_(a,b)};
var A_=function(a,b){lp.call(this);this.channel_=new z_(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)&&!dq(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!dq(b)&&(this.channel_.httpSessionIdParam_=b,kea(this.messageUrlParams_,b)&&sc(this.messageUrlParams_,b));this.channelHandler_=new B_(this)};gu(A_,lp);
A_.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};A_.prototype.close=function(){this.channel_.disconnect()};A_.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 Ngc).serialize(a),a=c);b.outgoingMaps_.push(new NEc(b.nextMapId_++,a));b.state_==3&&MEc(b)};
A_.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;A_.superClass_.disposeInternal.call(this)};var gFc=function(a){HDc.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)?pea(b,this.metadataKey):b}else this.data=a};gu(gFc,HDc);
var hFc=function(a){IDc.call(this);this.status=1;this.errorCode=a};gu(hFc,IDc);var B_=function(a){this.channel_=a};gu(B_,eFc);B_.prototype.channelOpened=function(){this.channel_.dispatchEvent("v")};B_.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new gFc(a))};B_.prototype.channelError=function(a){this.channel_.dispatchEvent(new hFc(a))};B_.prototype.channelClosed=function(){this.channel_.dispatchEvent("w")};var LDc=function(a){this.channel_=a};
LDc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};LDc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};LDc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var iFc=function(){this.changeList=[]};iFc.prototype.add=function(a){this.changeList.push(a)};
var jFc=function(a,b,c){this.authMethod=b;this.jspbClient=new WDc(a,c)},kFc=function(a,b){var c,d,e,f,h;return ge(function(k){if(k.nextAddress==1){var q=new wDc;c=Pj(q,g_,1,b);q=a.jspbClient;var t=q.post;var w=a.authMethod;w={queryParams:w.getQueryParameters(),extraHeaders:w.getHeaders(),withCredentials:w.usesCredentialedRequests()};return ie(k,t.call(q,"/punctual/v1/chooseServer",c,xDc,w),2)}d=k.yieldResult;e=Tj(d,1);if(e==null)throw Error("Ye");return k.return({gsessionid:e,affinitization:(f=d.getAffinitizationOrUndefined())!=
null?f:0,initialConnectionDelayMillis:(h=vu(d,3))!=null?h:0})})},lFc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},C_=function(a,b){this.channelDeps=a;this.options=b;this.causalStreams=new Map;this.limboStreams=new Map;this.nonCausalStreams=new Map;this.newStreamSubject=new yf;this.streamNumber=0;this.rawStatus=new yf;this.status=new rn(new GZ);this.skipBackoff=new ODc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Xja(function(e){return e.getCode()===
0?Promise.resolve():new Promise(function(f){Xq(f,500)})})).subscribe(this.status);this.delayGenerator=new z$a;var c,d;this.reconnectHint=(d=(c=b.reconnectHint)==null?void 0:c.pipe(lf(function(){return Yu}),Wja(Yu)))!=null?d:Yu;mFc(this)},nFc=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 qp}var f=e.clone().setPath("/punctual/multi-watch/channel"),h=new JDc(f.toString(),d,c.xmlHttpFactory!==void 0);
return{serverChooser:new jFc(e,d,C$a(c.xmlHttpFactory)),channelCreator:function(k,q,t){k=new KDc(k,q,h,function(w,y){return(new fFc).createWebChannel(w,y)},t);k.open();return k}}});return new C_(b,c)};C_.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 oFc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},pFc=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 hr&&d instanceof hr?c.equals(d):!1;return d})};C_.prototype.onOpen=function(){var a=new GZ;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};C_.prototype.onClose=function(){this.channelState=void 0;mFc(this)};
C_.prototype.onError=function(a,b){a=new GZ;a.setCode(B$a(b));try{this.rawStatus.next(a)}catch(c){}b=l(this.causalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2;b=l(this.nonCausalStreams.values());for(a=b.next();!a.done;a=b.next())a.value.streamInitiationReason=2};
var sFc=function(a,b,c){if(a.channelState){var d=qFc(c.project,c.interestSet);c instanceof rFc&&(Sl(d,1,c.knowledgeTimestamp.toString()),Ll(d,8,c.knowledgeTimestampChosenByPunctual));Ol(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new h_;var e=c.addAndReturnRequests();e.setStreamId(b.toString());gk(e,2,ADc,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},qFc=function(a,b){var c=new g_;c=Pj(c,f_,4,MDc);if(b instanceof hr){var d=new tDc;a!=null&&d.setProject(E$a(a));
d.setOwner(G$a(b));d.setPath(I$a(b));gk(c,2,vDc,d)}else d=new uDc,a!=null&&d.setProject(E$a(a)),d.setOwner(G$a(b.root)),d.setPrefix(I$a(b.root)),c.setPrefix(d);return c},tFc=function(a,b){var c=new h_,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new yDc);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},mFc=function(a){var b=rDc(a.delayGenerator);D$a(b).pipe(hka(a.reconnectHint.pipe(uf(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){uFc(a,c.serverChooser).then(function(d){Xq(function(){a.hasConnected=!0;vFc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){mFc(a)})},function(c){c=(new GZ).setCode(13).setMessage(c.toString());a.rawStatus.next(c)})})},uFc=function(a,b){var c,d,e,f,h,k;return ge(function(q){if(q.nextAddress==1)return ie(q,wFc(a),2);c=q.yieldResult;d=l(c);
e=d.next().value;f=d.next().value;h=e;k=f;return q.return(kFc(b,qFc(h,k)))})},wFc=function(a){var b,c,d,e,f,h,k;return ge(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=l(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,f=l(e.values()),h=f.next();!h.done;h=f.next())return k=h.value,q.return([k.project,k.interestSet]);return ie(q,JUb(Ir(a.newStreamSubject).pipe(uf())),1)})},vFc=function(a,b,c){a.channelState={channel:b(function(f){for(var h=l(f.getResponsesList()),k=h.next();!k.done;k=
h.next()){var q=a,t=k.value;if(k=t.getStreamId_legacyNullable_asLegacyNumberOrString())if(k=Number(k),t.hasClose()){a:{if(t=t.getClose())if(t=t.getStatus())break a;t=void 0}t&&q.handleClose(k,t)}else if(t=bk(t,j_,2,GDc))switch(xj(t,k_)){case 1:if(t=q.causalStreams.get(k)){try{t.observer.next(new pDc)}catch(N){}q.causalStreams.delete(k);q.limboStreams.set(k,t.start())}break;case 3:a:{if(t=bk(t,BDc,3,k_))if(t=zl(t,1)){var w=new qDc(ir(t));break a}w=void 0}if(w&&(t=k,k=w,(w=q.limboStreams.get(t))?(w=
w.advance(k.timestampMicros),q.limboStreams.delete(t),q.nonCausalStreams.set(t,w),q=w):q=q.nonCausalStreams.get(t),q)){t=q;w=k.timestampMicros;w>t.knowledgeTimestamp&&(t.knowledgeTimestamp=w,t.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(k)}catch(N){}}break;case 2:k=q.nonCausalStreams.get(k)||q.limboStreams.get(k);if(!k)break;q=k.interestSet;if(w=t.getChanges()){t=new iFc;w=l(Yj(w,CDc,1,Ai()));for(var y=w.next();!y.done;y=w.next()){var D=y.value,G=Gj(D,ar,6);y=zl(D,3);if(G&&y){var I=
void 0;D=(I=kr(D,2))==null?void 0:new Uint8Array(Rh(I)||0);I=D===null?void 0:D;(G=M$a(q,G))&&t.add(new oDc(G,ir(y),I))}}q=t}else q=void 0;if(q)for(q=l(q.changeList),t=q.next();!t.done;t=q.next()){t=t.value;t=new oDc(t.objectId,t.version,t.payload);try{k.observer.next(t)}catch(N){}}break;case 5:if(k=q.causalStreams.get(k)||q.limboStreams.get(k)||q.nonCausalStreams.get(k)){k instanceof rFc&&(oFc(q),(t=pFc(q,k))?(t.hasRecurred=!0,t.knowledgeTimestamp=k.knowledgeTimestamp,t.resyncMillis=Date.now()):q.recentResyncs.push(new lFc(k.project,
k.interestSet,k.knowledgeTimestamp)));try{k.observer.complete()}catch(N){}}}}if(f.hasStatus())switch(f.getStatus().getCodeOrUndefined()){case 1:f=l(a.causalStreams.values());for(h=f.next();!h.done;h=f.next())h.value.streamInitiationReason=3;f=l(a.nonCausalStreams.values());for(h=f.next();!h.done;h=f.next())h.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}},a,c.gsessionid),affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));
b.sort(function(f,h){return f[0]-h[0]});b=l(b);for(c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;sFc(a,c,d)}b=l(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=l(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;Xq(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
C_.prototype.watch=function(a,b){var c=this;b=b===void 0?{}:b;return new ce(function(d){var e=++c.streamNumber,f,h=(f=b.projectOverride)!=null?f:c.options.defaultProject;d=new xFc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});sFc(c,e,d);return function(){tFc(c,e)}})};
C_.prototype.watchWithStartTime=function(a,b,c){var d=this;c=c===void 0?{}:c;return new ce(function(e){var f=++d.streamNumber,h,k=(h=c.projectOverride)!=null?h:d.options.defaultProject,q=new rFc(e,k,a,b,!1);oFc(d);if((e=pFc(d,q))&&(e.hasRecurred||b.compare(e.knowledgeTimestamp)<=0)){var t=!0;Xq(function(){t&&q.observer.complete()},6E4);return function(){t=!1}}d.nonCausalStreams.set(f,q);d.newStreamSubject.next({});sFc(d,f,q);return function(){tFc(d,f)}})};
var xFc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};xFc.prototype.start=function(){return new yFc(this.observer,this.project,this.interestSet)};var yFc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};yFc.prototype.advance=function(a){return new rFc(this.observer,this.project,this.interestSet,a,!0)};
var rFc=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 zFc={firstPartyUri:new qp("https://signaler-pa.clients6.google.com"),thirdPartyUri:new qp("https://signaler-pa.googleapis.com")},AFc={firstPartyUri:new qp("https://punctual-dev.corp.google.com"),thirdPartyUri:new qp("https://signaler-staging.sandbox.google.com")},BFc=new Map([["prod",zFc],["preprod-dynamite-alpha-us",lr("preprod-dynamite-alpha-us")],["preprod-dynamite-alpha-eu",lr("preprod-dynamite-alpha-eu")],["preprod-dynamite-beta-us",lr("preprod-dynamite-beta-us")],["preprod-dynamite-beta-eu",
lr("preprod-dynamite-beta-eu")],["preprod-dynamite-gamma-us",lr("preprod-dynamite-gamma-us")],["preprod-dynamite-gamma-eu",lr("preprod-dynamite-gamma-eu")],["preprod-qual-dynamite-perftest",lr("preprod-qual-dynamite-perftest")],["prod-dynamite-prod-00-eu",lr("prod-dynamite-prod-00-eu")],["prod-dynamite-prod-01-eu",lr("prod-dynamite-prod-01-eu")],["prod-dynamite-prod-00-us",lr("prod-dynamite-prod-00-us")],["prod-dynamite-prod-01-us",lr("prod-dynamite-prod-01-us")],["prod-dynamite-prod-02-us",lr("prod-dynamite-prod-02-us")],
["prod-dynamite-prod-03-us",lr("prod-dynamite-prod-03-us")],["prod-dynamite-prod-04-us",lr("prod-dynamite-prod-04-us")],["prod-dynamite-prod-05-us",lr("prod-dynamite-prod-05-us")],["prod-dynamite-prod-06-us",lr("prod-dynamite-prod-06-us")],["prod-dynamite-prod-07-us",lr("prod-dynamite-prod-07-us")],["prod-dynamite-prod-08-us",lr("prod-dynamite-prod-08-us")],["prod-dynamite-prod-09-us",lr("prod-dynamite-prod-09-us")],["ytprod",{firstPartyUri:new qp("https://signaler-pa.youtube.com"),thirdPartyUri:new qp("https://signaler-pa.googleapis.com")}],
["dev",AFc]]);var CFc=function(a){this.projectPath=a;this.authParams=new UDc;this.fetchApi=!1};CFc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};CFc.prototype.useFetchApi=function(a){this.fetchApi=!0;this.worker=a;return this};
CFc.prototype.build=function(){var a=A$a(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("Ze`"+b);var c=b.substring(10).split("/");if(c.length!==2)throw Error("$e`"+b);b=l(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new qp(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=BFc.get(c);if(!d)throw Error("af`"+c);c=d}var e;this.fetchApi&&(e=new IZ({worker:this.worker}));return nFc(c,a,{reconnectHint:this.reconnectHint,
defaultProject:b,xmlHttpFactory:e})};var DFc={watch:function(){return pe()},watchWithStartTime:function(){return pe()},status:pe()},D_=function(a){this.activeSession=a;if(ep(this.activeSession,"enablePushUpdatesClient")){switch(this.activeSession.getEnvironmentType()){case "PROD":case "NIGHTLY":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 CFc(b)).setApiKey(a).build()}else this.punctualClient=DFc},EFc=function(a,b){return a.punctualClient.watch(J$a("new-comment-issue",b)).pipe(He(function(c){return c instanceof oDc}))};D_.\u0275fac=function(a){return new (a||D_)(n(as))};D_.\u0275prov=Fc({token:D_,factory:D_.\u0275fac,providedIn:"root"});var E_=function(a){this.punctualService=a;this.stream=new yf;this.isPaused=!1;this.closeStream$=new yf};E_.prototype.resume=function(){this.isPaused=!1};var FFc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new yf,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};E_.prototype.watch=function(a){var b=this;return EFc(this.punctualService,a).pipe(He(function(){var c=!b.isPaused;b.resume();return c}),pf(1E3),Df(this.closeStream$))};
E_.\u0275fac=function(a){return new (a||E_)(n(D_))};E_.\u0275prov=Fc({token:E_,factory:E_.\u0275fac,providedIn:"root"});var GFc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var HFc=function(a){return[a]},F_=function(a){this.matDialog=a};F_.prototype.show=function(a,b,c,d){this.dialog=this.matDialog.open(G_,{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 se(dH(this.dialog))};F_.\u0275fac=function(a){return new (a||F_)(n(jH))};F_.\u0275prov=Fc({token:F_,factory:F_.\u0275fac,providedIn:"root"});
var G_=function(a,b,c,d,e,f){Y.call(this);var h=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;this.bannedWordsChecker=f;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);
this.subscriptions.add(cS(e,function(){return h.isModified()},!1))};V(G_,Y);G_.\u0275dir=Y.\u0275dir;g=G_.prototype;g.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Df(this.destroyed$)).subscribe(function(b){b.key==="Escape"&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(Df(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};g.closeIfUnmodified=function(){if(!this.isModified()){var a;(a=this.dialogService.dialog)==null||a.close()}};
g.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};g.isModified=function(){return!ci(this.newComment,this.origComment)};
g.closeDialogForSave=function(){var a=this,b,c,d;return ge(function(e){if(e.nextAddress==1){if(!a.isModified())return e.return();a.enableRecaptcha&&(a.newComment.recaptchaToken=a.recaptchaResponse);return ie(e,a.bannedWordsChecker.check(a.newComment.text,a.newComment.audience==="EXTERNAL",a.newComment.componentId),2)}(b=e.yieldResult)?(d=a.dialogService.dialog)==null||d.close(a.newComment):(c=a.commentDraft)==null||klc(c);me(e)})};
G_.\u0275fac=function(a){return new (a||G_)(B(as),B(iH),B(F_),B(cH),B(bS),B(yZ))};
G_.\u0275cmp=p({type:G_,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&rg(mO,5);if(a&2){var c;vg(c=wg())&&(b.commentDraft=c.first)}},features:[Dg([yZ]),Lf],decls:19,vars:18,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"],["class","banned-words-warning break-word",4,"ngIf"],[1,"inline-block",3,"change","initialValue"],[3,"comment","issueId",
"audience","formattingMode",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",3,"click","disabled","color"],[1,"banned-words-warning","break-word"],["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","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(F(0,"h1",0),Q(1),
H(),F(2,"section",1)(3,"p",2),Q(4," Editing comments will not permanently remove old ones from database history. "),J(5,"br"),Q(6," For deletion of PII or other sensitive content, please "),F(7,"a",3),Q(8," file a support request."),H()(),F(9,"b-comment-draft",4),Cg("contentChange",function(c){Bg(b.newComment.text,c)||(b.newComment.text=c);return c}),O("onSubmit",function(){return b.closeDialogForSave()})("contentChange",function(){b.bannedWordsChecker.reset()}),H(),C(10,N$a,4,1,"p",5),F(11,"b-markdown-toggle",
6),O("change",function(c){return b.newComment.formattingMode=c}),H(),C(12,O$a,1,4,"b-live-preview",7),H(),C(13,P$a,3,0,"section",8),F(14,"footer",9)(15,"button",10),Q(16," Cancel "),H(),F(17,"button",11),O("click",function(){return b.closeDialogForSave()}),Q(18),H()());a&2&&(A(),zg("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),A(6),E("href",b.contentRemovalRequestLink,cf),A(2),Ag("content",b.newComment.text),E("audience",b.origComment.audience)("textareaClass",Hg(16,
HFc,b.bannedWordsChecker.showWarning()?"banned-words-warning":"")),A(),E("ngIf",b.bannedWordsChecker.showWarning()),A(),Wf("margin-bottom",(b.newComment==null?null:b.newComment.formattingMode)!==b.MARKDOWN),E("initialValue",b.origComment.formattingMode),A(),E("ngIf",(b.newComment==null?null:b.newComment.formattingMode)===b.MARKDOWN),A(),E("ngIf",b.enableRecaptcha),A(2),E("mat-dialog-close",void 0),A(2),E("disabled",!b.isModified()||!b.isCaptchaValid())("color",b.bannedWordsChecker.showWarning()?"warn":
"primary"),A(),R(" ",b.bannedWordsChecker.showWarning()?"Save Anyway":"Save"," "))},dependencies:[kH,mH,oH,nH,tv,kC,Ex,SL,RL,mO,DY],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 H_=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua){this.dismissalService=a;this.editIssueService=b;this.butterBar=c;this.issuePermissionService=d;this.issueCommentService=e;this.editCommentDialogService=f;this.issueFridge=h;this.matDialogService=k;this.paths=q;this.analytics=t;this.domSafe=w;this.confirmationDialogService=y;this.issueComments=D;this.errorHandler=G;this.eventsForIssueFridge=I;this.componentFridge=N;this.commentFormatter=S;this.confirmNoAccessService=W;this.activeSession=
Z;this.appEvents=fa;this.issuePicker=ma;this.eventsForIssueWatcher=ua;this.issueInteractionsTracking=Ua},Qr=function(a,b,c){var d,e,f,h,k,q,t;return ge(function(w){if(w.nextAddress==1)return ie(w,se(a.issueFridge.watch(b)),2);if(w.nextAddress!=3){d=w.yieldResult;f=(e=d)==null?void 0:e.snapshot[0].componentId;h=a.editIssueService.savingState(b);if(h.get("commentEdit"))return w.return();a.butterBar.dismiss();q=(k=a.issuePermissionService.audience())!=null?k:"EXTERNAL";return ie(w,a.editCommentDialogService.show(b,
q,c,f),3)}t=w.yieldResult;if(t==null)return w.return();nDc(a.issueCommentService,{issueId:b,newCommentId:t.id,newComment:t.text,newCommentFormattingMode:t.formattingMode,recaptchaToken:t.recaptchaToken});me(w)})},JFc=function(a,b,c){var d,e,f;return ge(function(h){if(h.nextAddress==1)return c?ie(h,IFc(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"},ie(h,a.issuePicker.open(d),
3);e=h.yieldResult;if((f=e)==null?0:f.length){var k=xp(e[0],{template_issue:b,template_comment:c,do_attribution:!0});a.analytics.trackEvent("editIssue","copyComment");a.domSafe.openInNewTab(k)}me(h)})},IFc=function(a,b){function c(W){return y.get(W)}var d,e,f,h,k,q,t,w,y,D,G,I,N,S;return ge(function(W){if(W.nextAddress==1)return ie(W,se(a.issueFridge.watch(b)),2);if(W.nextAddress!=3){d=W.yieldResult;if(!d)return W.return([]);f=(e=d.snapshot[0].duplicateIssueId)!=null?e:[];k=(h=d.snapshot[0].blockingIssueId)!=
null?h:[];t=(q=d.snapshot[0].blockedByIssueId)!=null?q:[];return ie(W,se(a.issueFridge.watchSet(Oi([].concat(r(f),r(k),r(t))))),3)}w=W.yieldResult;y=new Map(w.map(function(Z){return[Z.issueId,Z]}));D=t.map(c).filter(Gi).map(Q$a("BLOCKED_BY"));G=k.map(c).filter(Gi).map(Q$a("BLOCKING"));I=f.map(c).filter(Gi).map(Q$a("DUPLICATE"));N=[].concat(r(D),r(G),r(I));S=R$a(N);return W.return(S)})},LFc=function(a,b,c){var d;return ge(function(e){return e.nextAddress==1?c?ie(e,f$b(a.confirmationDialogService,{title:"Restore comment # "+
c+"?",content:Lh("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?ie(e,KFc(a,b,c),0):e.return()})},KFc=function(a,b,c){var d,e;return ge(function(f){switch(f.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return f.return();Xp(a.butterBar,"Restoring comment...",0);he(f,2,3);BI(d,"commentUndelete");return ie(f,a.issueComments.undelete(b,c),5);case 5:Xp(a.butterBar,"Comment restored successfully.");case 3:je(f);CI(d,"commentUndelete");
a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b);ke(f,0);break;case 2:e=le(f),Xp(a.butterBar,"Comment restoration failed."),gD(a.errorHandler,e),f.jumpTo(3)}})},OFc=function(a,b,c,d){var e,f,h,k;return ge(function(q){if(q.nextAddress==1){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():ie(q,MFc(a,b),2)}return q.nextAddress!=3?(f=q.yieldResult,a.butterBar.dismiss(),ie(q,se(dH(a.matDialogService.open(gDc,{width:"560px",data:{commentNumber:c,issueId:b,
deletionReasons:f}}))),3)):(h=q.yieldResult)?ie(q,NFc(a,b,c,h.value,(k=d)!=null?k:""),0):q.jumpTo(0)})},NFc=function(a,b,c,d,e){var f,h;return ge(function(k){switch(k.nextAddress){case 1:f=a.editIssueService.savingState(b);if(f.get("commentDelete"))return k.return();he(k,2,3);Xp(a.butterBar,"Deleting comment...",0);BI(f,"commentDelete");return ie(k,a.issueComments.delete(b,c,d,e),5);case 5:Xp(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),a.eventsForIssueFridge.poke(b);
case 3:je(k);CI(f,"commentDelete");a.issueFridge.poke(b);ke(k,0);break;case 2:h=le(k),Xp(a.butterBar,"Comment deletion failed."),gD(a.errorHandler,h),k.jumpTo(3)}})},MFc=function(a,b){var c,d,e,f,h,k,q,t;return ge(function(w){switch(w.nextAddress){case 1:return ie(w,se(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=w.yieldResult;e=((d=c)==null?void 0:d.snapshot[0].componentId)||void 0;if(!e){f=void 0;w.jumpTo(3);break}return ie(w,se(a.componentFridge.watch(e)),4);case 4:f=w.yieldResult;
case 3:return h=f,k=new GFc("Other","USER_REQUEST"),h&&h.commentEditState!=="DISABLED"||(k.enabled=!1,k.disabledReason="comment editing must be enabled"),q=new GFc("Spam or Abuse","ABUSE"),a.issuePermissionService.accessLevel()!=="EXTERNAL_PUBLIC"&&(q.enabled=!1,q.disabledReason="available on Public components"),t=new GFc("Personally Identifiable Information","RESTRICTED"),w.return([t,q,k])}})},PFc=function(a,b,c){var d,e;return ge(function(f){if(f.nextAddress==1)return d=jI(a.issuePermissionService,
yi(c.userPerformingActionUser)),a.analytics.trackEvent("restrictedContent","updateContentJudgement","comment"),ie(f,a.showContentJudgementDialog({severity:po(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.issueFridge.poke(b),a.eventsForIssueFridge.poke(b),GF(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});
me(f)})};H_.prototype.showContentJudgementDialog=function(a){return se(dH(this.matDialogService.open(b_,{panelClass:"no-jitter",width:"500px",data:a})))};
var QFc=function(a,b,c){var d;return ge(function(e){if(e.nextAddress==1)return ie(e,se(dH(a.matDialogService.open(c_,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(d===1)})},RFc=function(a,b,c,d){var e;ge(function(f){if(f.nextAddress==1){if(d==null)return f.return();a.analytics.trackEvent("restrictedContent","updateContentJudgement","attachment");return ie(f,a.showContentJudgementDialog({severity:po(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.issueFridge.poke(b),a.eventsForIssueFridge.poke(b),GF(a.issueFridge,[b],{markRead:!0,userActivityType:"EDIT"});me(f)})};
H_.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,f,h,k,q;ge(function(t){if(t.nextAddress==1){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return t.return();e=se;f=c.matDialogService;h=f.open;k=fDc;return ie(t,MFc(c,a),3)}return t.nextAddress!=2?ie(t,e(dH(h.call(f,k,{width:"560px",data:{deletionReasons:t.yieldResult,attachmentId:b.attachmentId}}))),2):(q=t.yieldResult)?ie(t,qac(c.editIssueService,a,b,q.value),0):t.jumpTo(0)})};
var SFc=function(a,b){var c=b.issueId;var d=b.componentId;var e=b.comment;var f,h,k;return ge(function(q){if(q.nextAddress==1){if(a.issuePermissionService.accessLevel()!=="INTERNAL"||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);he(q,2);var t=a.commentFormatter;var w={comment:e.value,issueId:c,audience:(f=a.issuePermissionService.audience())!=null?f:"EXTERNAL",formattingMode:e.formattingMode,idPrefix:"b"+c+"-draft"};t=w.formattingMode===
"LITERAL"||w.comment.trim()===""?pe([]):jfc(t,w).pipe(z(FIa));return ie(q,se(t),4)}if(q.nextAddress!=2)return h=q.yieldResult,q.return(QH(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));k=le(q);gD(a.errorHandler,k);return q.return(!1)})},TFc=function(a,b){b=b===void 0?"comment":b;var c,d;return ge(function(e){if((c=a.issuePermissionService.accessLevel())&&c==="INTERNAL"||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||
aB(a.activeSession)||a.dismissalService.isDismissed(s$a(b)))return e.return(!0);switch(b){case "comment":d=Lh("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=Lh("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:Bc(b)}return e.return(se(dH(a.matDialogService.open(TZ,{width:"500px",data:{content:d,action:b}}))))})};
H_.prototype.submitCommentBox=function(a,b,c,d){var e=this,f,h,k,q;return ge(function(t){if(t.nextAddress==1){f=e.editIssueService.savingState(b);if(!e.issuePermissionService.hasAclToComment()||!G$b(c)||f.get("comment"))return t.return();BI(f,"comment");h=function(){CI(f,"comment")};return ie(t,SFc(e,{issueId:b,componentId:a,comment:c}),2)}if(t.nextAddress!=3)return k=t.yieldResult,k?ie(t,TFc(e),3):(h(),t.return());q=t.yieldResult;if(!q)return h(),t.return();e.analytics.trackEvent("editIssue","addComment",
c.formattingMode==="MARKDOWN"?"markdown":"non markdown");gI(e.issueInteractionsTracking,b);e.eventsForIssueWatcher.isPaused=!0;return t.return(e.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(b,d).finally(function(){h();e.appEvents.commentSubmitted.next(b);e.appEvents.scrollToCommentBox.next()}))})};
H_.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,f,h,k;return ge(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",ie(q,b.showContentJudgementDialog({severity:h,contentJudgement:void 0,hasAclToCreate:!0}),2);(k=q.yieldResult)&&c.setJudgementForNewContent(k.contentJudgement);me(q)})};
H_.prototype.updateCommentReaction=function(a){var b=this,c;return ge(function(d){return d.nextAddress==1?a.hasReacted?ie(d,TFc(b,"reaction"),3):d.jumpTo(2):d.nextAddress==2||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};H_.\u0275fac=function(a){return new (a||H_)(n(SZ),n(EI),n(cD),n(kI),n(e_),n(F_),n(EF),n(jH),n(BP),n(CF),n(jJ),n(rH),n(NH),n(eD),n(HE),n(gB),n(QL),n(PH),n(as),n(iD),n(CT),n(E_),n(fI))};H_.\u0275prov=Fc({token:H_,factory:H_.\u0275fac,providedIn:"root"});var I_=function(a,b,c,d){this.editIssueService=a;this.issuePicker=b;this.analytics=c;this.butterBar=d},UFc=function(a,b){var c,d,e,f,h,k,q;return ge(function(t){if(t.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(),ie(t,a.issuePicker.open(e),2);h=t.yieldResult;if((k=h)==null||
!k.length)return c.status=d,t.return();if(b===h[0])return c.status=d,a.butterBar.showWarning("Cannot set issue as a duplicate of itself"),t.return();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");j8b(a.analytics,"DUPLICATE");return t.return(iac(a.editIssueService,b,h[0]))})};I_.\u0275fac=function(a){return new (a||I_)(n(EI),n(CT),n(CF),n(cD))};
I_.\u0275prov=Fc({token:I_,factory:I_.\u0275fac,providedIn:"root"});var J_=function(a,b,c,d){var e=this;this.componentFridge=a;this.issueEditComponentService=b;this.trackerHelpers=c;this.activeSession=d;this.componentId$=new xf(1);this.viewOnly=!1;this.compactMode$=new rn(!1);this.editing=!1;this.component$=this.componentId$.pipe(Cf(function(f){return e.componentFridge.watch(f).pipe(Bf(void 0))}));this.isArchived$=this.component$.pipe(z(function(f){return f==null?void 0:f.archived}));this.showPublicIndicator$=this.component$.pipe(z(function(f){var h;f=f==null?void 0:
(h=f.accessLimit)==null?void 0:h.accessLevel;return!ep(e.activeSession,"enableNewVisibilityChips")||f==null||e.activeSession.isExternalSession()?!1:e.activeSession.isInternalSession()||aB(e.activeSession)?f==="EXTERNAL_PUBLIC":!1}));this.showPartnerIndicator$=this.component$.pipe(z(function(f){var h;f=f==null?void 0:(h=f.accessLimit)==null?void 0:h.accessLevel;return!ep(e.activeSession,"enableNewVisibilityChips")||f==null||e.activeSession.isExternalSession()||aB(e.activeSession)?!1:e.activeSession.isInternalSession()?
f==="EXTERNAL_PARTNER":!1}));this.folder$=we([this.showPublicIndicator$,this.showPartnerIndicator$]).pipe(z(function(f){var h=l(f);f=h.next().value;h=h.next().value;return f?{icon:"folder_shared_24px",tooltip:"Public component. Issues can be made visible to public Google Search."}:h?{icon:"folder_shared_24px",tooltip:"Partner component. Issues can be made visible to Google partners."}:Np(e.activeSession)?{icon:"folder_special_24px",tooltip:"This component is inside a tracker"}:{icon:"folder",tooltip:""}}),
Bf({icon:"folder",tooltip:""}));this.componentPath$=we([this.componentId$,this.component$,this.compactMode$]).pipe(z(function(f){var h=l(f);f=h.next().value;var k=h.next().value;h=h.next().value;if(k==null)return nq({componentPathId:[Number(f)]});f=Gr(e.trackerHelpers,k.componentPathInfo);f=nq(f);if(h){h=[];k=0;for(var q=f.length-1;q>=0;q--){var t=f[q],w=q===f.length-1?48:32;if(k>=w)break;var y=String(t.name),D=void 0;if(k+[].concat(r(y)).length>w){var G=w-k;w="";y=y===void 0?"":y;G=G===void 0?48:
G;w=w===void 0?"...":w;D=[].concat(r(y));D.length<=G||(y=G-[].concat(r(w)).length,y=D.slice(-y).join(""),String.prototype.trimStart!=null&&(y=y.trimStart()),y=w+y);D=!0}k+=[].concat(r(y)).length;h.unshift(Object.assign({},t,{name:y,isTruncated:D}));if(D)break}f.length>h.length&&(h[0].isSpliced=!0);f=h}return f}));this.isEmpty$=this.component$.pipe(z(function(f){return!f}));this.isThinkingAndEmpty$=we([this.componentFridge.thinking$,this.isEmpty$]).pipe(z(function(f){var h=l(f);f=h.next().value;h=
h.next().value;return f&&h}));this.isReady$=this.isThinkingAndEmpty$.pipe(z(function(f){return!f}))};J_.prototype.ngOnInit=function(){};da.Object.defineProperties(J_.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)}}});J_.\u0275fac=function(a){return new (a||J_)(B(gB),B(RZ),B(HR),B(as))};
J_.\u0275cmp=p({type:J_,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[["componentPicker",""],["viewOnlyComponent",""],["card",""],["cardBody",""],[3,"isReady",4,"ngIf","ngIfElse"],[3,"isReady"],[1,"b-chip","squared","s"],["class","icon-xs","title","Component folder path",3,"svgIcon","matTooltip",4,"ngIf"],["class","component-path",4,"ngIf"],[4,"ngIf"],["mat-icon-button",
"","class","edit-btn","aria-label","Change Component","matTooltip","Change Component",3,"click",4,"ngIf"],["mat-icon-button","","class","small pop-out-btn","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],["title","Component folder path",1,"icon-xs",3,"svgIcon","matTooltip"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link","role","button",
3,"click",4,"ngIf"],["class","subtle-link",3,"routerLinkObj","onedevHovercardTrigger","muted",4,"ngIf","ngIfElse"],[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"],["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"],["svgIcon","pop-out",1,"icon-xs"],["placeholder","Choose Component",3,"selectedComponentChange","dropdownClosed","selectedComponent","isRequired","shouldFocus"]],template:function(a,b){a&1&&C(0,eab,13,22,"b-async-data-placeholder",4)(1,gab,2,5,"ng-template",null,0,Mg);a&2&&(a=M(2),E("ngIf",!b.editing)("ngIfElse",a))},
dependencies:[LR,sv,tv,RC,OD,kC,Hx,Gx,UV,xJ,yJ,DJ,zJ,KI,TI,PZ,yv],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 K_=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G){Y.call(this);var I=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.componentFridge=d;this.trackerFridge=e;this.eventsForIssueFridge=f;this.issuePermissionService=h;this.snackBar=k;this.dialogRef=q;this.data=t;this.analytics=w;this.confirmationDialogService=D;this.jspbPrincipalTypes=G;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.isImplicitAccessEnabled$=this.issuePermissionService.isImplicitAccessEnabled$;this.hasAclToAdmin$=this.issuePermissionService.hasAclToAdmin$;this.issueId=this.data.issueId;this.issue$=this.issueFridge.watch(this.issueId);this.currentAccessLimitLevel$=this.issue$.pipe(z(function(N){var S;return(S=N==null?void 0:N.snapshot[0].issueAccessLimitLevel)!=null?S:I.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new rn(this.defaultAccessLimitLevel);
this.hasAccessLimitLevelSelectionChanged$=we([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(z(function(N){var S=l(N);N=S.next().value;S=S.next().value;return N!==S}));this.componentId=this.data.componentId;this.component$=this.componentFridge.watch(this.componentId);this.trackerId$=this.component$.pipe(z(function(N){return N==null?void 0:N.trackerId}));this.tracker$=this.trackerId$.pipe(Cf(function(N){return N?I.trackerFridge.watch(N):pe(void 0)}));this.collaboratorGroupsEmailToDetailsMap=
new Map;this.addedCollaboratorGroups=new Set;this.removedCollaboratorGroups=new Set;this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(z(function(N){return N?"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."}));this.currentUserEmail=y.getUserEmail()};V(K_,Y);K_.\u0275dir=Y.\u0275dir;
K_.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);hab(a,b)}));this.subscriptions.add(we([this.tracker$,this.issue$]).subscribe(function(b){var c=l(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)};
K_.prototype.updateCollaboratorGroups=function(a,b){var c=this,d,e,f,h;ge(function(k){if(k.nextAddress==1){c.collaboratorGroupsEmailToDetailsMap.clear();c.addedCollaboratorGroups.clear();c.removedCollaboratorGroups.clear();if(a&&a.collaboratorGroups)for(d=l(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?ie(k,VFc(c,b.snapshot[0].collaboratorsUsers),
3):k.jumpTo(0)}h=k.yieldResult;h.forEach(function(q){c.collaboratorGroupsEmailToDetailsMap.set(q.emailAddress,{user:q,specifiedOnIssue:!0})});me(k)})};
var VFc=function(a,b){var c,d;return ge(function(e){if(e.nextAddress==1)return c=b.map(function(f){return f.emailAddress}).filter(Gi),ie(e,Z8b(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"}))})},WFc=function(a){return a?"Expanded access on":"Expanded access off"},kab=function(a,b){return a.addedCollaboratorGroups.size>0||a.removedCollaboratorGroups.size>0||b===
!0},hab=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=ap(c.writers);a.appenders=ap(c.appenders);a.readers=ap(c.readers)},function(c){gD(a.errorHandler,
c)})};g=K_.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=Xo({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:Lh(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){gD(a.errorHandler,b)})};g.didSave=function(){this.snackBar.open("Successfully saved access configuration",void 0,{duration:2500});this.issueFridge.poke(this.issueId);this.eventsForIssueFridge.poke(this.issueId)};g.onPressCancel=function(){this.dialogRef.close()};K_.\u0275fac=function(a){return new (a||K_)(B(eD),B(jC),B(EF),B(gB),B(NG),B(HE),B(kI),B(ZC),B(cH),B(iH),B(CF),B(as),B(rH),B(lG))};
K_.\u0275cmp=p({type:K_,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&O("keydown.escape",function(){return b.onEscape()})},features:[Lf],decls:39,vars:43,consts:[["closeButton",""],[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"],[4,"ngIf"],[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",""],[4,"ngIf","ngIfElse"],[1,"collaborator-groups-title"],[1,"collaborator-groups-checkboxes"],[4,"ngFor","ngForOf"],[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){if(a&1){var c=u();F(0,"div",1)(1,"span",2);J(2,"mat-icon",3);H();
F(3,"h2",4);Q(4,"Issue access level");H()();F(5,"mat-dialog-content")(6,"div");J(7,"b-component-breadcrumb-chip",5);F(8,"span",6);T(9,"async");F(10,"span",7);Q(11);T(12,"async");H();J(13,"mat-icon",8);T(14,"async");H()();F(15,"b-issue-access-limits-dropdown",9);T(16,"async");T(17,"async");T(18,"async");O("updatedAccessLimitLevel",function(k){v(c);b.updatedAccessLimitLevel$.next(k);hab(b,k);return x()});H();C(19,jab,8,4,"ng-container",10);T(20,"async");F(21,"div",11)(22,"div")(23,"div",12);Q(24,"Users who can edit, comment, and view");
H();J(25,"b-multi-user-input",13);H();F(26,"div")(27,"div",12);Q(28,"Users who can comment and view");H();J(29,"b-multi-user-input",14);H();F(30,"div")(31,"div",12);Q(32,"Users who can only view");H();J(33,"b-multi-user-input",15);H()()();F(34,"div",16);C(35,lab,6,3,"ng-container",17);T(36,"async");C(37,mab,2,0,"ng-template",null,0,Mg);H()}if(a&2){var d,e,f,h;a=M(38);A(7);E("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",
!0);A();Wf("expanded-access-on",U(9,27,b.isImplicitAccessEnabled$));A(3);yg(WFc((d=U(12,29,b.isImplicitAccessEnabled$))!==null&&d!==void 0?d:!1));A(2);E("matTooltip",(e=U(14,31,b.expandedAccessTooltip$))!==null&&e!==void 0?e:"");A(2);E("disabled",!U(16,33,b.hasAclToAdmin$))("defaultAccessLimitLevel",(f=U(17,35,b.currentAccessLimitLevel$))!==null&&f!==void 0?f:b.defaultAccessLimitLevel)("implicitAccessEnabled",(h=U(18,37,b.isImplicitAccessEnabled$))!==null&&h!==void 0?h:!1);A(4);E("ngIf",b.collaboratorGroupsEmailToDetailsMap.size>
0&&U(20,39,b.hasAclToAdmin$));A(6);E("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);Nf("disabled",!0);A(4);E("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);Nf("disabled",!0);A(4);E("users",b.readers)("includeAliases",!1)("includeViewAliases",!1);Nf("disabled",!0);A(2);E("ngIf",U(36,41,b.hasAclToAdmin$))("ngIfElse",a)}},dependencies:[WY,sv,tv,RC,J_,kC,Ex,oH,nH,KI,TI,NQ,oJ,pJ,yv,Dv],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 L_=function(a){this.dialog=a;this.dialogRef=null};L_.prototype.open=function(a){this.dialogRef=this.dialog.open(K_,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};L_.prototype.isOpen=function(){return this.dialogRef?this.dialogRef.getState()===0:!1};L_.\u0275fac=function(a){return new (a||L_)(n(jH))};L_.\u0275prov=Fc({token:L_,factory:L_.\u0275fac,providedIn:"root"});var XFc=["popOver"],oab=function(a){return{$implicit:a}},M_=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new bv;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=!0};V(M_,hP);g=M_.prototype;g.ngOnInit=function(){};g.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
g.valueChanged=function(){return tab(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=tab(this.editingValue),this.valueChange.emit(a))};g.writeValue=function(a){var b=tab(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};da.Object.defineProperties(M_.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a!=null?String(a):null)}}});M_.\u0275fac=function(a){return new (a||M_)(Jd("required"))};
M_.\u0275cmp=p({type:M_,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&rg(XFc,7);if(a&2){var c;vg(c=wg())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Dg([{provide:Wx,useExisting:Sc(function(){return M_}),multi:!0},{provide:hP,useExisting:Sc(function(){return M_}),multi:!0}]),Lf],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=u();F(0,"button",4,0);O("click",function(){v(c);return x(b.startEditing())})("focus",function(){v(c);return x(b.headerFocused=!0)})("blur",function(){v(c);return x(b.headerFocused=!1)});F(2,"span");C(3,pab,2,4,"ng-container",5)(4,qab,1,1,"ng-template",null,1,Mg);H();C(6,rab,2,0,"svg",6);H();F(7,"onedev-pop-over-edit-panel",7,2);O("closedWithAction",function(f){v(c);return x(b.stopEditing(f))});H();C(9,sab,1,1,"ng-template",
null,3,Mg)}if(a&2){a=M(1);var d=M(5),e=M(10);E("disabled",b.disabled);A(3);E("ngIf",b.valueTemplate)("ngIfElse",d);A(3);E("ngIf",!b.disabled&&b.displayEditIcon);A();E("anchor",a)("editorTemplate",e)}},dependencies:[tv,xv,Bh,ny,dy,ly,iP],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 zab=function(){return[]},N_=function(){this.disabled=this.thinking=!1;this.effortChange=new xF;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
N_.prototype.ngOnChanges=function(){if(this.getFieldType()==="DROPDOWN"){var a;this.effortSpec&&(a=this.effortSpec.enumSpec)!=null&&a.options&&this.effort&&this.effort.estimate?(a=YFc(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=ZFc(this)};N_.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=ZFc(this);this.effortChange.emit(this.effort)};N_.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
N_.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 ZFc=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"&&YFc(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},YFc=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 k;return h.label===((k=a.effort)==null?void 0:k.estimate)}))!=null?f:"incompatible"}};N_.\u0275fac=function(a){return new (a||N_)};
N_.\u0275cmp=p({type:N_,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[rd],decls:3,vars:1,consts:[["rawNumericValueTemplate",""],["warningHovercard","onedevHovercard"],["optionTemplate",""],["emptyOption",""],["regularNumeric",""],[4,"ngIf"],["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.",
"class","icon-xs effort-warning align-items-center",3,"onedevHovercardTrigger",4,"ngIf"],["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"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["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"],[1,"flex-kids-x",3,"valueChange","value","valueTemplate","disabled","displayEditIcon"],[3,"valueChange","value","options","includeEmptyOption","optionTemplate","disabled","displayArrowIcon"],[4,"ngIf","ngIfElse"]],template:function(a,b){a&1&&C(0,Cab,16,7,"onedev-edit-field",5)(1,Fab,3,2,"ng-template",null,0,Mg);a&2&&E("ngIf",b.effortSpec)},dependencies:[tv,uv,vv,wv,RC,xP,yP,zP,vW,M_,xJ,DJ],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 $Fc=function(a){return{"internal-only":a}},O_=function(a,b,c,d,e){Y.call(this);var f=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSloStartTimeChange=new xF;this.onSloEndTimeChange=new xF;this.showInternalOnlyFieldBadge=!1;this.providedSloId$=new xf(1);this.slo$=this.providedSloId$.pipe(Cf(function(h){return f.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.enableSloEndTime=
this.hasSloEndTime=this.hasSloStartTime=this.isAccordionExpanded=!1};V(O_,Y);O_.\u0275dir=Y.\u0275dir;O_.prototype.ngOnInit=function(){var a=this;aGc(this);this.userPreferencesManager.layoutPreferences$.pipe(Df(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};O_.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);aGc(this)};
var aGc=function(a){a.hasSlo=!!a.sloStatus&&O$b(a.sloStatus);a.hasClosureSlo=a.hasSlo&&P$b(a.sloStatus,"CLOSURE");a.enableSloEndTime=ep(a.session,"enableSloEndTime");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=dI(Fi(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=wp.editSlo.makeHref(a.sloId):a.editSloLink=void 0;a.componentId?
a.componentSloLink=wp.editComponent.makeHref(a.componentId):a.componentSloLink=void 0},bGc=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;r9b(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(Df(a.destroyed$)).subscribe();Jn("issueSlo","toggle",a.isAccordionExpanded?"open":"close")};O_.prototype.updateSloStartTime=function(a){this.onSloStartTimeChange.next(a)};O_.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};
O_.prototype.trackOpenSlo=function(){Jn("editSlo","open","fromIssueSloBox")};O_.\u0275fac=function(a){return new (a||O_)(B(as),B(PG),B(cI),B(BP),B(vG))};
O_.\u0275cmp=p({type:O_,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:[Lf,rd],decls:19,vars:23,consts:[["trigger","cdkOverlayOrigin"],[1,"slo-container",3,"ngClass"],
[1,"issue-slo-box-title",3,"click"],["svgIcon","shield_person_24px","class","icon-xs internal-only-badge","matTooltip","Visible to internal only","aria-label","Visible to internal only",4,"ngIf"],[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-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],[1,"slo-actions",3,"hidden"],["class","slo-action","id","start-time-row",4,"ngIf"],["class","slo-action","id","end-time-row",4,"ngIf"],["class","slo-action",4,"ngIf"],["svgIcon","shield_person_24px","matTooltip","Visible to internal only","aria-label","Visible to internal only",1,"icon-xs","internal-only-badge"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],
["id","start-time-row",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"],[4,"ngIf"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayOrigin",
"cdkConnectedOverlayOpen"],["mode","date",3,"timestamp"],[3,"closePicker","sloEditCommit","sloStatus","sloEditTime"],["id","end-time-row",1,"slo-action"],["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"],[1,"slo-action"],["aria-label","Navigate to the applied slo page","matTooltip","Navigate to the applied slo page","class","slo-link bv2-metadata-link slo-definition",
3,"click",4,"ngIf"],["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&&(F(0,"div",1)(1,"span",2),O("click",function(){return bGc(b)}),F(2,"label"),Q(3,"SLO Status"),H(),C(4,Gab,1,0,"mat-icon",3),H(),F(5,"div",4)(6,
"div",5)(7,"div",6),J(8,"b-aggregated-slo-status-indicator",7),H(),F(9,"div",6),J(10,"b-slo-status-summary",8),H(),F(11,"button",9),O("click",function(){return bGc(b)}),C(12,Hab,1,0,"mat-icon",10)(13,Iab,1,0,"mat-icon",11),H()(),F(14,"div",12),C(15,Mab,9,4,"div",13)(16,Rab,10,5,"div",14)(17,Uab,4,3,"div",15)(18,Vab,3,1,"div",15),H()()());a&2&&(E("ngClass",Hg(21,$Fc,b.showInternalOnlyFieldBadge)),A(4),E("ngIf",b.showInternalOnlyFieldBadge),A(3),E("hidden",b.isAccordionExpanded),A(),E("sloStatus",b.sloStatus)("sloStartTime",
b.sloStartTime)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),A(),E("hidden",!b.isAccordionExpanded),A(),E("sloStatus",b.sloStatus)("sloStartTime",b.sloStartTime)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),A(),Nf("aria-expanded",b.isAccordionExpanded),A(),E("ngIf",!b.isAccordionExpanded),A(),E("ngIf",b.isAccordionExpanded),A(),E("hidden",!b.isAccordionExpanded),A(),E("ngIf",b.isEditable),A(),E("ngIf",b.enableSloEndTime&&b.isEditable),A(),E("ngIf",b.editSloLink),A(),E("ngIf",
!b.editSloLink&&b.componentSloLink))},dependencies:[rv,tv,RC,KI,TI,kC,Gx,nZ,YP,eZ,OX,jx,ix,yv],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 cGc={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var P_=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.data=a;this.dialogRef=b;this.teamsService=c;this.componentActions=d;this.userPreferencesManager=e;this.snackBar=f;this.analytics=h;this.errorHandler=k;this.componentFridge=q;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=cGc;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;this.selectedTeam=
new dGc(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=wp.editComponent.makeHref(this.componentId);this.suggestedTeams$=m9b(this.teamsService,this.teamSuggestionIds).pipe(z(function(w){for(var y=[],D=l(t.teamSuggestionIds),G=D.next();!G.done;G=D.next()){G=G.value;var I=w.get(G);I&&y.push(new dGc(G,I.collapsedPathNames))}return y}),Bf([]));this.myTeams$=GG(this.teamsService,"").pipe(z(function(w){return w.map(function(y){return new dGc(y.teamId,y.pathNames)})}));we([this.suggestedTeams$,
this.myTeams$]).pipe(z(function(w){var y=l(w);w=y.next().value;y=y.next().value;return[].concat(r(w),r(y))}),z(fsa(function(w){return w.teamId})),Df(this.destroyed$)).subscribe(function(w){t.teamOptions=w;t.selectedTeam=w[0]})};V(P_,Y);P_.\u0275dir=Y.\u0275dir;P_.prototype.ngOnInit=function(){this.warningType==="MISSING"?this.header="Add team to the component":this.warningType==="DELETED"&&(this.header="Change team mapping for this component")};
P_.prototype.confirm=function(){var a=this;if(this.teamAction==="CHANGE")this.parentComponentId>0?this.componentActions.get(this.parentComponentId).then(function(c){var d;eGc(a,((d=c.team)==null?void 0:d.id)||"0",a.selectedTeam.teamId)}):eGc(this,"0",this.selectedTeam.teamId);else{var b=di(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});w9b(this.userPreferencesManager,b).pipe(Df(this.destroyed$)).subscribe(function(){a.analytics.trackEvent("teamWarning",
"dismiss","componentId",a.componentId);var c;(c=a.dialogRef)==null||c.close()},function(){})}};var eGc=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)})};
P_.prototype.selectOption=function(a){this.selectedTeam=a};P_.prototype.trackClick=function(a){this.analytics.trackEvent("teamWarning","click",a)};P_.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};P_.\u0275fac=function(a){return new (a||P_)(B(iH),B(cH),B(EG),B(PV),B(PG),B(ZC),B(CF),B(eD),B(gB))};
P_.\u0275cmp=p({type:P_,selectors:[["b-team-warning-dialog"]],features:[Lf],decls:11,vars:3,consts:[["suggestedTeamOption",""],["optionTemplate",""],["emptyOption",""],["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["mat-button","","mat-dialog-close","",1,"medium"],["mat-flat-button","","cdkFocusInitial","",3,"click"],["mat-dialog-content",""],["target","_blank",3,"click","href"],["aria-label","Quick team actions",3,"ngModelChange","ngModel"],["value","NONE"],["value","CHANGE"],[4,"ngTemplateOutlet"],
["target","_blank",3,"href"],["class","suggested-teams",4,"ngIf"],[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"],[4,"ngIf","ngIfElse"],[1,"suggested-team-option"]],template:function(a,b){if(a&1){var c=u();F(0,"h1",3);Q(1);H();C(2,Yab,13,3,"div",4)(3,$ab,6,2,"div",4)(4,ebb,1,1,"ng-template",null,0,Mg);F(6,"mat-dialog-actions")(7,
"button",5);Q(8," Cancel ");H();F(9,"button",6);O("click",function(){v(c);return x(b.confirm())});Q(10," Confirm ");H()()}a&2&&(A(),yg(b.header),A(),E("ngIf",b.warningType===b.WarningType.MISSING),A(),E("ngIf",b.warningType===b.WarningType.DELETED))},dependencies:[tv,xv,RC,dy,ly,kC,Ex,Hx,kH,mH,oH,nH,QI,RI,KI,TI,vW],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 dGc=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var Q_=function(a,b){Y.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new xF};V(Q_,Y);Q_.\u0275dir=Y.\u0275dir;Q_.prototype.ngOnInit=function(){};Q_.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")};
Q_.prototype.openDialog=function(){var a=this;this.analytics.trackEvent("teamWarning","open");dH(this.matDialogService.open(P_,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(Df(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};Q_.\u0275fac=function(a){return new (a||Q_)(B(jH),B(CF))};
Q_.\u0275cmp=p({type:Q_,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[Lf,rd],decls:4,vars:2,consts:[["messageType","caution","format","app"],[4,"ngIf"],["format","fill","mat-button","",3,"click"]],template:function(a,b){a&1&&(F(0,"b-callout",0)(1,"b-callout-body"),Q(2),H(),C(3,fbb,3,1,"b-callout-actions",1),H());
a&2&&(A(2),R(" ",b.warningMessage," "),A(),E("ngIf",!b.messageOnly))},dependencies:[sO,hS,iS,tv],encapsulation:2});var fGc=function(a){this.issueDetailsBrain=a;this.title=this.name="";this.values=null;this.collectionHovercardDescription=this.removeSelfActionLongDescription=this.removeSelfActionDescription=this.includeSelfActionLongDescription=this.includeSelfActionDescription="";this.valueChange=new xF;this.userInclusionToggle=new xF;this.iconName="";this.teamId$=this.issueDetailsBrain.teamId$;this.ListFieldType=ixc;this.inputValidator=null;this.toggleAccessLimits=new xF;this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},
new AJ,{position:[Jbc]})};fGc.\u0275fac=function(a){return new (a||fGc)(B(iI))};
fGc.\u0275cmp=p({type:fGc,selectors:[["b-multi-user-control"]],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"},outputs:{valueChange:"valueChange",userInclusionToggle:"userInclusionToggle",toggleAccessLimits:"toggleAccessLimits"},decls:14,vars:23,consts:[["listActions",""],["listField",""],["hovercard","onedevHovercard"],[1,"full-width",3,"valuesChange","toggleAccessLimits","defaultLineCount","readonly","title","type","isUser","values","users","listFieldDisabled","isCollapsible","isExpanded","onedevHovercardTrigger","onedevHovercardActive",
"onedevHovercardConfig","collapsiblePanelTitle","iconName","teamId","inputValidator"],["class","value-action",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"],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role","button",3,"disabled","matTooltip","click","keydown.enter","keydown.space",
4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"click","keydown.enter","keydown.space","matTooltip"],[4,"ngIf"]],template:function(a,b){if(a&1){var c=u();C(0,lbb,2,1,"ng-template",null,0,Mg);F(2,"b-list-field",3,1);T(4,"async");O("valuesChange",function(f){v(c);var h=M(3);b.valueChange.emit({editField:h,newUsers:f.values});return x()})("toggleAccessLimits",function(){v(c);return x(b.toggleAccessLimits.emit())});C(5,mbb,1,0,"ng-container",4);H();F(6,"onedev-hovercard",
null,2)(8,"div",5)(9,"div",6)(10,"span",7);Q(11);F(12,"a",8);Q(13,"Learn more.");H()()()()()}if(a&2){var d;a=M(1);var e=M(7);A(2);mg("collapsiblePanelTitle","",(b.values==null?null:b.values.length)||0," ",((b.values==null?null:b.values.length)||0)===1?"user":"users","");E("defaultLineCount",5)("readonly",!b.isAllowedToEditCollection)("title",b.title)("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",b.values)("users",b.users)("listFieldDisabled",!!b.isSaving)("isCollapsible",!0)("isExpanded",
!0)("onedevHovercardTrigger",e)("onedevHovercardActive",!0)("onedevHovercardConfig",b.USER_FIELD_HOVERCARD_CONFIG)("iconName",b.iconName)("teamId",(d=U(4,21,b.teamId$))!==null&&d!==void 0?d:"")("inputValidator",b.inputValidator);A(3);E("ngTemplateOutlet",a);A(6);R(" ",b.collectionHovercardDescription," ")}},dependencies:[tv,xv,EX,xJ,DJ,KI,TI,yv],encapsulation:2});var gGc=new ld("DevopsGraphLogger",{providedIn:"root",factory:function(){return ij}}),hGc=new ld("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return ge(function(b){switch(b.nextAddress){case 1:return he(b,2),ie(b,nbb(),4);case 4:a=b.yieldResult;Zt(b,3);break;case 2:return le(b),b.return();case 3:return he(b,5),ie(b,a.loadGraph(),7);case 7:Zt(b,6);break;case 5:return le(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var R_=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new yf;this.close$=new yf;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var f=e.getContainer();f!=null&&(f.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var f=e.getContainer();f!=null&&(f.classList.add("open"),e.open$.next())};this.init()};
R_.prototype.init=function(){var a=this,b,c,d,e,f;return ge(function(h){if(h.nextAddress==1)return b=a.getContainer(),!b||a.graphService&&a.graphController?h.return():ie(h,a.graphBuilder,2);c=h.yieldResult;d=obb(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(k){var q;
(q=a.graphController)==null||q.setTheme(k?"dark":"light")});me(h)})};var iGc=function(a,b){var c;return ge(function(d){switch(d.nextAddress){case 1:return he(d,2),ie(d,a.init(),4);case 4:return a.graphService==null?d.return(new Set):ie(d,a.graphService.getAvailableIssueContexts(Number(b)),6);case 6:return d.return(d.yieldResult);case 5:Zt(d,0);break;case 2:return c=le(d),a.logger(c),d.return(new Set)}})};
R_.prototype.openSidebar=function(a,b){var c=this,d;return ge(function(e){switch(e.nextAddress){case 1:return ie(e,c.init(),2);case 2:if(!c.graphController)return e.return();he(e,3);return ie(e,c.graphController.openIssueContext(Number(a),b),5);case 5:Zt(e,0);break;case 3:d=le(e),c.logger(d),me(e)}})};
R_.prototype.close=function(){var a=this,b;return ge(function(c){switch(c.nextAddress){case 1:return ie(c,a.init(),2);case 2:if(!a.graphController)return c.return();he(c,3);return ie(c,a.graphController.close(),5);case 5:Zt(c,0);break;case 3:b=le(c),a.logger(b),me(c)}})};R_.\u0275fac=function(a){return new (a||R_)(n(as),n(aW),n(gGc),n(hGc))};R_.\u0275prov=Fc({token:R_,factory:R_.\u0275fac,providedIn:"root"});var S_=function(a,b,c,d,e,f,h,k){Y.call(this);var q=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=f;this.activeSession=h;this.contextSensitiveRegistry=k;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(z(function(t){return t||void 0}));this.contexts$=this.id$.pipe(Cf(function(t){return ge(function(w){return q.devopsGraph.getContainer()!=null&&t?w.return(iGc(q.devopsGraph,t).then(function(y){return{issueId:t,availablePanels:y}})):w.return(void 0)})}),
zf({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(z(function(t){return t?t.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(z(function(t){return!!t&&t.availablePanels.size>0&&q.activeSession.isInternalSession()&&q.devopsGraph.getContainer()!=null}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(z(function(t){return!!t&&t.availablePanels.size>0&&q.activeSession.isInternalSession()&&q.devopsGraph.getContainer()!=null&&t.availablePanels.has("deployments")}));
this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(t){if(t){t=t.availablePanels;q.track("ingress-view-"+(t.size>0?"enabled":"disabled"));t.has("deployments")&&q.track("ingress-view-deployments-enabled");var w=q.paramsService.params.showInsights;w&&(w==="default"?t.size>0?q.openSidebar():q.butterBar.showWarning("Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):t.has(w)?q.openSidebar(w):q.butterBar.showWarning("Could not open "+
w+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else q.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){jGc(q,null)}))};V(S_,Y);S_.\u0275dir=Y.\u0275dir;S_.prototype.onClickButton=function(a){this.analytics.trackEvent("sidebar","ingress-click");this.openSidebar(a)};
S_.prototype.openSidebar=function(a){var b=this,c,d,e,f;return ge(function(h){c=ho(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;jGc(b,(f=a)!=null?f:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};S_.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var jGc=function(a,b){a.router.navigationTransitions.currentNavigation==null&&a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
S_.\u0275fac=function(a){return new (a||S_)(n(R_),n(YH),n(CF),n(cD),n(HD),n(qn),n(as),n(hI))};S_.\u0275prov=Fc({token:S_,factory:S_.\u0275fac,providedIn:"root"});var ubb=function(){return[]},rbb=function(a){return[a]},Pbb=function(a){return{$implicit:a}},T_=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S){var W=this;this.activeSession=a;this.editIssueService=b;this.issueService=c;this.issueFridge=d;this.issuePermissionService=e;this.issueDetailsBrain=f;this.constants=h;this.refreshMonitor=k;this.userPreferencesManager=q;this.documentationLinks=t;this.workspaceService=w;this.changelistApi=y;this.issueMarkAsDuplicateDialogService=D;this.analytics=G;this.issueInsightsSidebarService=
I;this.issueLimits=N;this.jspbPrincipalTypes=S;this.issueId$=new xf(1);this.distinctIssueId$=this.issueId$.pipe(sf());this.issue$=this.distinctIssueId$.pipe(Cf(function(Z){return W.editIssueService.editableIssue$(Z)}));this.enableTriageView=ep(this.activeSession,"enableTeamScope")&&this.activeSession.isInternalSession();this.enablePeoplekitAc=ep(this.activeSession,"enablePeoplekitUserAc");this.isGerritEnabled=ep(this.activeSession,"enableGerritChanges");this.sessionIsInternal=this.activeSession.isInternalSession();
this.sessionIsExternal=this.activeSession.isExternalSession();this.defaultAssigneeQuickActionEnabled=this.showSloStatus=this.sessionIsInternal;this.showCodeChanges=!this.sessionIsExternal||this.isGerritEnabled;this.HOTKEYS=mr;this.trackCustomField=function(Z,fa){return"{"+fa.componentId+", "+fa.customFieldId+"}"};this.FieldType=fP;this.ListFieldType=ixc;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(z(function(Z){return!W.activeSession.isExternalSession()&&!Z}));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(z(Wab));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;
this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.triagePhase$=this.issueId$.pipe(Cf(function(Z){return k7b(W.issueService,Z)}),z(function(Z){var fa,ma;return(ma=(fa=Z.triage)==null?void 0:fa.phase)!=null?ma:"UNSPECIFIED"}));this.triagePhaseUrl$=we([this.teamId$,this.triagePhase$]).pipe(z(function(Z){var fa=l(Z);Z=fa.next().value;fa=fa.next().value;return wp.viewTriagePhase.makeHref(Z!=null?Z:0,mYa.get(fa!=null?fa:"NEW"))}));this.issueFields$=this.distinctIssueId$.pipe(z(function(Z){return W.editIssueService.issueFields(Z)}),
zf({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(Cf(function(Z){return Z.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(Cf(function(Z){return Z.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(Cf(function(Z){return Z.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(Cf(function(Z){return Z.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(Cf(function(Z){return Z.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(Cf(function(Z){return Z.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(Cf(function(Z){return Z.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(Cf(function(Z){return Z.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(z(function(Z){return W.editIssueService.issueQuickActions(Z)}),zf({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(Cf(function(Z){return Z.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(Cf(function(Z){return Z.issueStatusQuickAction$}));this.trackerId$=this.component$.pipe(z(function(Z){return Z==null?void 0:Z.trackerId}));this.priorityChoices=this.constants.priorities.map(function(Z){return{value:Z,displayText:Z,hotkey:gbb(Z)}});this.severityChoices=this.constants.severities.map(function(Z){return{value:Z,displayText:Z}});this.typeChoices=this.constants.editIssueTypeChoices;this.phaseChoices=Object.values(P1b).map(function(Z){return{value:Z,
displayText:c2b.get(Z)}});this.teamHovercardInputs$=we([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(z(function(Z){var fa=l(Z);Z=fa.next().value;fa=fa.next().value;return{teamId:fa?String(fa):"0",componentId:Z?String(Z):"0"}}));this.isTeamWarningDismissed$=we([this.issue$,this.userPreferencesManager.preferences$]).pipe(z(function(Z){Z=l(Z);var fa=Z.next().value;var ma,ua;return(ma=Z.next().value.teamWarningPreferences)==null?void 0:(ua=ma.componentTeamWarnings)==null?void 0:ua.some(function(Ua){return Ua.componentId===
fa.componentId})}));this.shouldDisplayTeamSuggestions$=we([this.issuePermissionService.userIsComponentAdmin$,this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(z(function(Z){var fa=l(Z);Z=fa.next().value;var ma=fa.next().value;fa=fa.next().value;return Z&&!ma&&(fa==="MISSING"||fa==="DELETED")}));this.statusChoices$=this.canonicalIssueId$.pipe(z(function(Z){return[].concat(r(o2b.filter(function(fa){return fa.value!=="DUPLICATE"})),[{value:"DUPLICATE",displayText:Z?"Duplicate of "+Z:"Duplicate"}])}),
z(function(Z){return Z.map(function(fa){return Object.assign({},fa,{hotkey:hbb(fa.value)})})}));this.workspaces$=this.distinctIssueId$.pipe(Cf(function(Z){return aDc(W.workspaceService,Z)}),zf({refCount:!0,bufferSize:1}));this.pendingChangelists$=l8b(this.refreshMonitor,this.distinctIssueId$).pipe(Cf(function(Z){return W.changelistApi.getPendingChangelistsForIssue(Z)}),z(function(Z){return Z.changelistNumbers.map(String)}),z(function(Z){return{cls:Z,hasError:!1}}),lf(function(){return pe({cls:[],
hasError:!0})}),zf({refCount:!0,bufferSize:1}));this.pendingCodeChanges$=this.issue$.pipe(Cf(function(Z){return W.activeSession.isExternalSession()?pe({issue:Z,changelists:{cls:[],hasError:!1}}):W.pendingChangelists$.pipe(z(function(fa){return{issue:Z,changelists:fa}}))}),z(function(Z){var fa=Z.issue;Z=Z.changelists;fa=L9b(fa);return{changes:[].concat(r(Z.cls),r(fa)),hasError:Z.hasError}}));this.USER_FIELD_HOVERCARD_CONFIG=Object.assign({},new AJ,{position:[Jbc]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=
Object.assign({},new AJ,{position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.issueIsOnInternalComponent$=this.component$.pipe(z(function(Z){var fa;return(Z==null?void 0:(fa=Z.accessLimit)==null?void 0:fa.accessLevel)==="INTERNAL"}));this.shouldDisplayEffort$=this.issueIsOnInternalComponent$.pipe(z(function(Z){return W.sessionIsInternal&&Z||ep(W.activeSession,"enableEstimatedEffortExternalUi")}));this.collaboratorUserPrincipalValidator=function(Z){var fa,
ma,ua;return ge(function(Ua){if(Ua.nextAddress==1){if(!Z)return Ua.return("This field is required");fa=Z.split(",").map(function(ha){return ha.trim()}).filter(Boolean);return ie(Ua,Z8b(W.jspbPrincipalTypes,fa,!1),2)}ma=Ua.yieldResult;ua=fa.find(function(ha){var xa;return((xa=ma[ha])==null?void 0:xa.principalType)!=="USER"});return Ua.return(ua?"You can only add users to collaborators.":"")})};this.reconcileView={assignee:function(Z){var fa,ma;Z.value=(ma=(fa=ho(W.issue$))==null?void 0:fa.assignee)!=
null?ma:""},reporter:function(Z){var fa,ma;Z.value=(ma=(fa=ho(W.issue$))==null?void 0:fa.reporter)!=null?ma:""},verifier:function(Z){var fa,ma;Z.value=(ma=(fa=ho(W.issue$))==null?void 0:fa.verifier)!=null?ma:""},ccs:function(Z){var fa,ma;Z.values=(ma=(fa=ho(W.issue$))==null?void 0:fa.cc)!=null?ma:[]},collaborators:function(Z){var fa,ma;Z.values=(ma=(fa=ho(W.issue$))==null?void 0:fa.collaborators)!=null?ma:[]},issueType:function(Z){var fa,ma;Z.value=(ma=(fa=ho(W.issue$))==null?void 0:fa.type)!=null?
ma:null}};this.codeChangesValidator=function(Z){var fa;return ge(function(ma){return W.isGerritEnabled?(fa=Z&&(!!yFa(Z)||!!Hi(Z)))?ma.return(""):ma.return("Must be a CL number or Gerrit URL"):ma.return("")})}};T_.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var Lcb=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!jI(a.issuePermissionService,e)}):[].concat(r(c.cc),[a.activeSession.getUserEmail()]);return mac(a.editIssueService,a.issueId,d)},Jcb=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent("editIssue","toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!jI(a.issuePermissionService,e)}):[].concat(r(c.collaborators),[a.activeSession.getUserEmail()]);return nac(a.editIssueService,a.issueId,d)};T_.prototype.getTrackerId=function(){return ho(this.trackerId$)};
T_.prototype.toggleAccessLimits=function(){var a=this;return ge(function(b){if(a.issueLimits.isOpen())return b.return();a.issueLimits.open({componentId:Number(ho(a.issueDetailsBrain.componentId$)),issueId:a.issueId});me(b)})};T_.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var Gcb=function(a,b){return or(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.assignee(b.editField)})},Bcb=function(a,b){return ge(function(c){return c.return(Ccb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.reporter(b.editField)}))})},Hcb=function(a,b){return ge(function(c){return c.return(Icb(a.editIssueService,a.issueId,b.newEmail).finally(function(){a.reconcileView.verifier(b.editField)}))})},Mcb=function(a,b){return ge(function(c){return c.return(mac(a.editIssueService,
a.issueId,b.newUsers).finally(function(){a.reconcileView.ccs(b.editField)}))})},Kcb=function(a,b){return ge(function(c){return c.return(nac(a.editIssueService,a.issueId,b.newUsers).finally(function(){a.reconcileView.collaborators(b.editField)}))})},Dcb=function(a,b,c,d){return ge(function(e){return e.return(gac(a.editIssueService,a.issueId,c,d).finally(function(){a.reconcileView.issueType(b)}))})},nr=function(a,b){a.analytics.trackEvent("editIssue","quickAction (sidebar)",b==null?void 0:b.displayText);
return kac(a.editIssueService,a.issueId,b)},Fcb=function(a,b){var c;return ge(function(d){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}c=e;if(!c)return d.return();if(c==="DUPLICATE")return d.return(UFc(a.issueMarkAsDuplicateDialogService,a.issueId));j8b(a.analytics,c);return d.return(jac(a.editIssueService,a.issueId,c))})};
T_.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(z(function(c){return b.editIssueService.savingState(c)}),Cf(function(c){return zp(c.propertiesBeingSaved,wo(String(a)))}))};T_.prototype.getAccessLimitLevelDisplay=function(a){return Iq(a)};T_.\u0275fac=function(a){return new (a||T_)(B(as),B(EI),B(XE),B(EF),B(kI),B(iI),B(wH),B(DF),B(PG),B(bH),B(NZ),B(PA),B(I_),B(CF),B(S_),B(L_),B(lG))};
T_.\u0275cmp=p({type:T_,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[rd],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",""],[4,"ngIf"],[3,"valueChange","emailChange","issueId","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"],["class","phase-field-row",4,"ngIf"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled","effortChange",4,"ngIf"],[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"],["class","implicit-access-header flex-kids-x flex-cross-axis-centered flex-spread full-width",4,"ngIf"],[1,"flex-1",3,"onHotkey","valueChange",
"emailChange","issueId","name","title","hotkey","value","user","isSaving"],[1,"flex-1",3,"valueChange","emailChange","issueId","name","title","value","user","isSaving"],[3,"userInclusionToggle","valueChange","toggleAccessLimits","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","iconName","inputValidator"],
[3,"userInclusionToggle","valueChange","title","values","users","includeSelfActionDescription","includeSelfActionLongDescription","removeSelfActionDescription","removeSelfActionLongDescription","collectionHovercardDescription","isSaving","isCurrentUserInCollection","isAllowedToEditCollection","iconName"],[3,"readonly","defaultLineCount","title","type","values","tooltip",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","hidden-fields-separator",4,"ngIf"],[3,"titleWhenCollapsed","titleWhenExpanded",
4,"ngIf"],[4,"ngTemplateOutlet"],["class","issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge",4,"ngIf"],[1,"issue-metadata-field-long",3,"readonly","defaultLineCount","title","type","values","showInternalOnlyFieldBadge"],["class","issue-metadata-field-short",4,"ngIf"],[1,"issue-metadata-field-short"],[3,"updateTeam","warningType","componentId","parentComponentId","teamSuggestions"],["class","bv2-metadata-quick-action",4,"ngIf"],[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"],[1,"phase-field-row"],["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","flex-kids-x","flex-cross-axis-centered","flex-spread",
"full-width"],[1,"implicit-access-header-text"],[3,"panelTemplate"],["svgIcon","help-outline",1,"icon-s"],["target","_blank",3,"href"],["class","bv2-metadata-quick-action","tabindex","0","role","button",3,"hotkey","matTooltip","onHotkey","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-quick-action",3,"onHotkey","click","keydown.enter","keydown.space","hotkey","matTooltip"],["class","bv2-metadata-link",3,"disabled",4,"ngIf"],[1,"bv2-metadata-link"],
[3,"readonly","defaultLineCount","title","type","values","tooltip"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"hidden-fields-separator"],[3,"titleWhenCollapsed","titleWhenExpanded"],[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",4,"ngIf"],[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&&(C(0,Ncb,109,171,"ng-container",18),T(1,"async"));a&2&&E("ngIf",U(1,1,b.issue$))},dependencies:[wX,sv,tv,xv,RC,GX,eP,N_,cJ,xJ,yJ,DJ,zJ,bDc,UQ,O_,EX,KI,TI,eM,Q_,FQ,oV,AP,fGc,xI,yv],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 kGc=["descriptionArea"],lGc=["container"],U_=function(a,b,c,d,e,f,h,k,q,t,w,y,D){Y.call(this);var G=this;this.cdr=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.editStatusUpdateDialogService=d;this.statusUpdateService=e;this.issueCommentDialogsService=f;this.contextSensitiveRegistry=h;this.issuePermissionService=k;this.clipboard=q;this.snackBar=t;this.llmIssueSummaryService=w;this.analytics=y;this.userFeedback=D;this.closeSidebar=new xF;this.navigateToNextIssue=new xF;this.navigateToPreviousIssue=
new xF;this.issueId$=new xf(1);this.issue$=this.issueId$.pipe(Df(this.destroyed$),Cf(this.issueFridge.watch),zf({bufferSize:1,refCount:!0}));this.componentId$=this.issue$.pipe(z(function(I){return I==null?void 0:I.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(z(function(I){var N;return I==null?void 0:(N=I.accessLimit)==null?void 0:N.accessLevel}));this.events$=this.issueId$.pipe(Df(this.destroyed$),Cf(this.eventsForIssueFridge.watch),z(function(I){return(I==null?void 0:I.events)||
[]}));this.firstEvent$=this.events$.pipe(z(function(I){return I.length>0?I[0]:void 0}));this.statusUpdate$=this.issue$.pipe(z(function(I){return I==null?void 0:I.statusUpdate}));this.statusUpdateNote$=this.statusUpdate$.pipe(He(Gi),z(function(I){return{unlinkifiedComment:I.updateText,formattedComment:I.formattedText}}));this.userCanEditStatusUpdate$=this.issuePermissionService.hasAclToEdit$;this.hasStatusUpdate$=this.statusUpdate$.pipe(z(function(I){return!!I&&I.updateText!==""}));this.firstNote$=
this.events$.pipe(Df(this.destroyed$),z(function(I){if(I&&I.length>0&&I[0].commentNumber&&I[0].commentNumber>-1)return{commentNumber:I[0].commentNumber,unlinkifiedComment:I[0].unlinkifiedComment||"",formattedComment:I[0].formattedComment}}),zf({bufferSize:1,refCount:!0}));this.userCanEditDescription$=this.firstEvent$.pipe(Cf(function(I){return I?G.issuePermissionService.canEditComment$(I):pe(!1)}));this.hasDescription$=this.events$.pipe(Df(this.destroyed$),z(function(I){return I&&I.length>0&&I[0].unlinkifiedComment!==
""}));this.isFieldsExpanded=this.isDescriptionExpanded=this.isStatusUpdateExpanded=!0;this.editTitleMode=this.isSavingTitle=!1;this.draftTitle="";this.FormattingMode=$z;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(He(Gi),Ef(function(I){I.summary&&G.llmIssueSummaryService.trackEvent("display","issueSidebar")}),zf({bufferSize:1,refCount:!1}));this.containerScrolled=!1;this.destroyed$.subscribe(function(){pr(G)});this.issueId$.pipe(Df(this.destroyed$)).subscribe(function(){pr(G);G.hasRatedSummary=!1;G.summaryThumbsUp=!1;G.summaryThumbsDown=!1;G.showFullDescription=!1});this.firstNote$.pipe(Df(this.destroyed$)).subscribe(function(){mGc(G)})};
V(U_,Y);U_.\u0275dir=Y.\u0275dir;
U_.prototype.ngOnInit=function(){var a=this;this.stage$.pipe(Df(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:Bc(b,"stage had an unknown type")}a.cdr.detectChanges()});this.llmIssueSummaryService.summarizable$.pipe(Df(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueSidebar")})};
U_.prototype.ngAfterViewInit=function(){var a=this;this.issueId$.pipe(Df(this.destroyed$)).subscribe(function(){a.container.nativeElement.scrollTop=0})};var mGc=function(a){setTimeout(function(){var b;a.descriptionHasMore=((b=a.descriptionArea)==null?void 0:b.nativeElement.scrollHeight)>130;a.cdr.detectChanges()})};g=U_.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");Uxb(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");CZ(b,a,"COPY")}};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();CZ(this.llmIssueSummaryService,a,"FEEDBACK")};
g.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return ge(function(t){switch(t.nextAddress){case 1:return ie(t,se(a.issueId$),2);case 2:return b=t.yieldResult,ie(t,se(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=ho(a.statusUpdate$))!=null?e:d,ie(t,se(a.accessLevel$),4);case 4:return k=(h=t.yieldResult)&&h==="INTERNAL"?"INTERNAL":"EXTERNAL",ie(t,a.editStatusUpdateDialogService.show(f,k,c),5);case 5:q=t.yieldResult;if(!q)return t.return();a.statusUpdateService.update(q).subscribe(function(w){a.analytics.trackEvent("issueSidebar",
"edit","statusUpdate",w.updateText.length===0);AA(a.issueFridge,b,function(y){y.statusUpdate=w});a.issueFridge.poke(b)});me(t)}})};
var sdb=function(a){var b,c,d;return ge(function(e){switch(e.nextAddress){case 1:return ie(e,se(a.issueId$),2);case 2:return b=e.yieldResult,(c=ho(a.firstEvent$))?ie(e,Qr(a.issueCommentDialogsService,b,c),3):e.return();case 3:return ie(e,a.eventsForIssueFridge.poke(b),4);case 4:a.analytics.trackEvent("issueSidebar","edit","description",((d=c.unlinkifiedComment)==null?void 0:d.length)===0),me(e)}})},Qcb=function(a){var b;return ge(function(c){if(c.nextAddress==1)return ie(c,se(a.issue$),2);b=c.yieldResult;
if(!b)return c.return();a.draftTitle=b.snapshot[0].title;a.editTitleMode=!0;me(c)})},pr=function(a){a.isSavingTitle||(a.draftTitle="",a.editTitleMode=!1)};
U_.prototype.saveTitle=function(){var a=this,b;return ge(function(c){if(c.nextAddress==1)return ie(c,se(a.issue$),2);b=c.yieldResult;if(!b||b.snapshot[0].title===a.draftTitle)return pr(a),c.return();a.isSavingTitle=!0;o8b(a.issueFridge,b.issueId,a.draftTitle).subscribe(function(){a.analytics.trackEvent("issueSidebar","edit","title");a.isSavingTitle=!1;pr(a)});me(c)})};U_.prototype.upvoted=function(a){this.analytics.trackEvent("issueSidebar","toggle","vote",a)};
da.Object.defineProperties(U_.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,mGc(this))}}});
U_.\u0275fac=function(a){return new (a||U_)(B(yF,2),B(EF),B(HE),B(zZ),B(tZ),B(H_),B(hI),B(kI),B(mJ),B(ZC),B(BZ),B(CF),B(cW))};
U_.\u0275cmp=p({type:U_,selectors:[["issue-sidebar"]],viewQuery:function(a,b){a&1&&(rg(kGc,5),rg(lGc,5));if(a&2){var c;vg(c=wg())&&(b.content=c.first);vg(c=wg())&&(b.container=c.first)}},inputs:{issueId:"issueId"},outputs:{closeSidebar:"closeSidebar",navigateToNextIssue:"navigateToNextIssue",navigateToPreviousIssue:"navigateToPreviousIssue"},features:[Dg([yF]),Lf],decls:23,vars:15,consts:[["container",""],["spinner",""],["aiHelp",""],["plainTextSummary",""],["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"],[4,"ngIf"],[1,"action-buttons"],[3,"issueId","upvoted","voteCount","onVote",4,"ngIf"],["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"],["class","title",4,"ngIf"],[1,"details","flex-kids-y","padded-s-sides"],[4,"ngIf","ngIfElse"],[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,"title"],[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","","class","small",3,"click",4,"ngIf"],["mat-flat-button",
"","color","primary",1,"small",3,"click","disabled"],["mat-stroked-button","",1,"small",3,"click"],[1,"card-container"],[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","","class","small edit-button","aria-label","Edit the status update","matTooltip","Edit the status update","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","class","small expand-button",
"aria-label","Toggle the status update view for this issue","matTooltip","Toggle the status update view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],[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",
"class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],["class","fields-area margin-top flex-kids-y",4,"ngIf"],[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"],["class","issue-summary-area",4,"ngIf"],["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"],["svgIcon",
"arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[1,"issue-summary-area"],[3,"ngTemplateOutlet"],[3,"content",4,"ngIf","ngIfElse"],[1,"flex-kids-x","justify-flex-end","gap-s","margin-s-top"],["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"],[3,"content"],["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"],["class","status-update-area",4,"ngIf"],[1,"status-update-area"],[3,"issueId","note","issueAccessLevel","formattingMode",4,"ngIf"],[3,"issueId","note","issueAccessLevel","formattingMode"],
[1,"card","description"],["mat-icon-button","","class","small edit-button","aria-label","Edit the description","matTooltip","Edit the description","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["mat-icon-button","","class","small expand-button","aria-label","Toggle the description view for this issue","matTooltip","Toggle the description view for this issue","matTooltipPosition","above",3,"matTooltipShowDelay","click",4,"ngIf"],["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-area"],[1,"description-note"],["class","description-show-more margin-s-top",4,"ngIf"],[1,"description-show-more","margin-s-top"],[3,"click"],
[1,"fields-area","margin-top","flex-kids-y"],[3,"issueId"],[1,"text-center"]],template:function(a,b){if(a&1){var c=u();F(0,"div",5,0);O("scroll",function(){v(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return x()});F(2,"header")(3,"div",6)(4,"div",7);C(5,Ocb,7,3,"ng-container",8);T(6,"async");H();F(7,"div",9);C(8,Pcb,1,3,"b-app-vote-button",10);T(9,"async");F(10,"button",11);O("click",function(){v(c);return x(b.navigateToPreviousIssue.emit())});J(11,"mat-icon",12);H();F(12,
"button",13);O("click",function(){v(c);return x(b.navigateToNextIssue.emit())});J(13,"mat-icon",14);H();F(14,"button",15);O("click",function(){v(c);return x(b.closeSidebar.emit())});J(15,"mat-icon",16);H()()();C(16,Vcb,4,2,"div",17);T(17,"async");H();F(18,"div",18);C(19,Fdb,31,24,"ng-container",19);T(20,"async");H()();C(21,Gdb,2,0,"ng-template",null,1,Mg)}a&2&&(a=M(22),A(2),Wf("elevated",b.containerScrolled),A(3),E("ngIf",U(6,7,b.issueId$)),A(3),E("ngIf",U(9,9,b.issue$)),A(8),E("ngIf",U(17,11,b.issue$)),
A(3),E("ngIf",U(20,13,b.issue$))("ngIfElse",a))},dependencies:[kC,Ex,Gx,KI,TI,Bh,dy,ly,kM,Jy,yW,Qy,Ny,kV,jV,zV,tv,xv,RC,pQ,T_,GL,TL,pZ,TQ,yv],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 nGc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],V_=function(){this.compactMode=this.labelOnlyMode=!1};V_.prototype.ngOnInit=function(){};V_.\u0275fac=function(a){return new (a||V_)};
V_.\u0275cmp=p({type:V_,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&&(ig(nGc),F(0,"span",1)(1,"onedev-hovercard",null,0)(3,"div",2)(4,"div",3),jg(5),H()()(),F(6,"div",4)(7,"span",5),jg(8,1),H()()());if(a&2){var c;a=M(2);A(3);Nf("aria-label",b.hovercardAriaLabel);A(3);E("onedevHovercardTrigger",a)("onedevHovercardActive",!b.labelOnlyMode);A();Wf("compact-chip",b.compactMode);E("ngClass",(c=b.labelClass)!==null&&c!==void 0?c:"")}},dependencies:[rv,xJ,DJ],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 W_=function(a){this.documentationLinks=a;this.documentationLink=Wr()};W_.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=Pi(this.retentionState.scheduledDeletionTime):this.retentionExpireTime=void 0};W_.\u0275fac=function(a){return new (a||W_)(B(bH))};
W_.\u0275cmp=p({type:W_,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[rd],decls:1,vars:1,consts:[["indefinite",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],["target","_blank",3,"href"],[3,"mode","timestamp","paddingLeftPx"]],template:function(a,b){a&1&&C(0,Jdb,6,3,"ng-container",1);a&2&&E("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[tv,YP],encapsulation:2});var X_=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};X_.prototype.ngOnChanges=function(){var a;((a=this.retentionState)==null?void 0:a.scheduledDeletionTime)!=null?this.text=Eob(Pi(this.retentionState.scheduledDeletionTime),!this.compactMode):this.text="Indefinite"};X_.\u0275fac=function(a){return new (a||X_)(B(XP))};
X_.\u0275cmp=p({type:X_,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[rd],decls:1,vars:1,template:function(a,b){a&1&&Q(0);a&2&&yg(b.text)},encapsulation:2});var Y_=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};Y_.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=Ldb(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};Y_.\u0275fac=function(a){return new (a||Y_)(B(bH))};
Y_.\u0275cmp=p({type:Y_,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[rd],decls:1,vars:1,consts:[["hovercardAriaLabel","Retention Chip Hovercard",3,"compactMode","labelClass","labelOnlyMode",4,"ngIf"],["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&&C(0,Kdb,5,7,"b-base-chip",0);a&2&&E("ngIf",b.showRetentionInfo)},dependencies:[tv,V_,X_,W_],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 oGc=["issueSidenavContainer"],Ggb=function(){return[]},Deb=function(a,b,c){return{low:a,high:b,p0:c}},jfb=function(a){return{id:a}},Pfb=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},Z_=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N){var S=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=f;this.hotlistFridge=h;this.issueFridge=k;this.bLocation=q;this.issuePagination=t;this.paths=w;this.errorHandler=
y;this.$log=D;this.domSafe=G;this.trackerHelpers=I;this.anayltics=N;this.ISSUE_STATUS_JS_ICON_NAME=m2b;this.STATUS_JS_FULL_TEXT=ti;this.STATUS_JS_TERSE=h2b;this.lastCheckedIndex=null;this.focusedRowIndexChange=new xF;this.columns=[];this.columnsChange=new xF;this.enableColumnSaving=!1;this.sort=null;this.enableSidebar=!1;this.sortChange=new xF;this.rowClick=new xF;this.init=new xF;this.onRowDragDrop=new xF;this.onNextPage=new xF;this.onPrevPage=new xF;this.selectionCallbacks=[];this.GET_ISSUE_ACCESS_LEVEL_TITLE=
Iq;this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=ep(this.activeSession,"enableAggregationRules");this.enableNewVisibilityChips=ep(this.activeSession,"enableNewVisibilityChips");this.isIssueSidebarOpen=this.isIssueSidebarEnabled=!1;this.destroyed$=new xf(1);this.starInProgress={};this.readUnreadOptOut=ep(this.activeSession,"readUnreadOptOut");this.enableAddViewCountColumnsOnIlp=ep(this.activeSession,"enableAddViewCountColumnsOnIlp");b=Ta(q9a);a.isInternalSession()||(Qa(b,"minSlo"),Qa(b,"responseSlo"),
Qa(b,"assignmentSlo"),Qa(b,"closureSlo"),Qa(b,"deletionTime"),Qa(b,"team"),Qa(b,"estimate"),Qa(b,"estimateTotalOpen"),Qa(b,"estimateTotalComplete"));this.enableAddViewCountColumnsOnIlp||(Qa(b,"oneDayViewCount"),Qa(b,"sevenDayViewCount"),Qa(b,"thirtyDayViewCount"));this.availableColumns=b.map(r9a);this.dragDropLogic=new YBc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(W){return pGc(S,W)},onRowDragDrop:function(W){S.onRowDragDrop.emit(W)}})};g=Z_.prototype;
g.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(Df(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.isIssueSidebarEnabled=this.enableSidebar&&ep(this.activeSession,"enableIssueSidebar")||!1;this.init.emit(this)};
g.ngOnChanges=function(a){if(a.searchResults){var b,c=Zqa(((b=this.searchResults)==null?void 0:b.issues.map(function(e){return new Set([].concat(r(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(r(c)))}if(a.searchResults||a.columns)for(b=l(this.columns),c=b.next();!c.done;c=b.next())c.value.label==="TEAM"&&qGc(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}))||[]);pra(a,d)||qr(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=l(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}qr(this)};
var rGc=function(a){if(a.searchResults){for(var b=l(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}qr(a)};Z_.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};
var Xdb=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1},sGc=function(a){return a.searchResults?a.searchResults.issues.some(function(b){return b.selected}):!1},Wdb=function(a){if(!a.searchResults)return"unchecked";var b=!0,c=!1;a=l(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"};
Z_.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};
var uGc=function(a){if(tGc(a)&&a.focusedRowIndex!=null&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),qr(a))}},Vdb=function(a){if(a.searchResults){for(var b=!sGc(a),c=l(a.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected=b;a.cdr.detectChanges();qr(a)}},Mdb=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()&&otc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},Ndb=function(a){a.focusedRowIndex!=null&&a.focusedRowIndex>0?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&otc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},
a0=function(a,b){b=b===void 0?{}:b;var c=a.getFocusedIssue();c&&(b.openInNewTab?a.domSafe.openInNewTab(xp(c.issueId)):a.bLocation.setUrl(xp(c.issueId)))};Z_.prototype.getFocusedIssue=function(){return tGc(this)&&this.focusedRowIndex!=null&&this.searchResults?this.searchResults.issues[this.focusedRowIndex]:null};
var vGc=function(a,b){a.selectionCallbacks.push(b);b()},qr=function(a){a=l(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},wGc=function(a){tGc(a)&&a.focusedRowIndex!=null&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},xGc=function(a,b){b=b===void 0?!0:b;var c=a.getSelectedIssues();if(c.length!==0){for(var d=l(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();GF(a.issueFridge,c.map(function(f){return f.issueId}),{markRead:b,
userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(f){for(var h=l(c),k=h.next();!k.done;k=h.next()){var q=void 0;k.value.lastViewedTime=(q=f)!=null?q:null}}).catch(function(){for(var f=l(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()})}};
Z_.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,m8b(this.issueFridge,String(a.issueId),a.starred).pipe(qf(),Df(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()}))};
Z_.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var tGc=function(a){return a.searchResults!=null&&a.focusedRowIndex!=null&&a.focusedRowIndex>=0&&a.focusedRowIndex<a.searchResults.issues.length},pGc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},qGc=function(a){if(a.searchResults){for(var b=new Set,c=l(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,m9b(a.teamsService,[].concat(r(b))).pipe(Df(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var f=
l(a.searchResults.issues),h=f.next();!h.done;h=f.next()){h=h.value;var k=String(h.teamId);k!=="0"&&(k=e.get(k))&&(h.team=k.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};Z_.prototype.isIssueGridColumn=function(){return!0};Z_.prototype.getComponentPath=function(a){return fi(a)?a.join(" > "):(a=Gr(this.trackerHelpers,a))&&a.componentPathName?a.componentPathName.join(" > "):""};
Z_.\u0275fac=function(a){return new (a||Z_)(B(as),B(yF,2),B(Rd),B(EG),B(Me),B(PG),B(rE),B(EF),B(NM),B(UU),B(BP),B(eD),B(dD),B(jJ),B(HR),B(CF))};
Z_.\u0275cmp=p({type:Z_,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&(rg(gZ,7),rg(oGc,5));if(a&2){var c;vg(c=wg())&&(b.grid=c.first);vg(c=wg())&&(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:[Dg([yF]),rd],decls:6,vars:2,consts:[["issuesGrid",""],["issueWithHovercard",""],["issueSidenavContainer",""],["issueHovercard","onedevHovercard"],["cardBody",""],["hasBackdrop","false",3,"sidebar-enabled",4,"ngIf","ngIfElse"],["hasBackdrop","false"],["mode","side","position","end",3,"openedChange","opened","disableClose"],[3,"issueId","closeSidebar","navigateToNextIssue","navigateToPreviousIssue",4,"ngIf"],[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"],[4,"ngIf"],[1,"drag-handle"],[1,"selected-box"],["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","selectedColumnsChange",4,"ngIf"],[3,"column",4,"ngIf"],[3,"selectedColumnsChange","column","availableColumns","selectedColumns"],["draggable","true",1,"drag-handle"],["tabindex","-1","role","checkbox",3,"click","state"],[1,"star-cell"],["tabindex","-1",3,"starClicked","starred","disabled","starMessage","unStarMessage"],["data-template","issueId",1,"clickable","issue-id-cell"],[3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],["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,"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","class","navigate-to-idp icon-s",4,"ngIf"],["class","bv2-hotlist-chips",4,"ngIf"],["svgIcon","input_24px",1,"navigate-to-idp","icon-s"],[1,"bv2-hotlist-chips"],
[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",3,"svgIcon"],["data-stable-cell","type",1,"clickable"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"],[4,"ngFor","ngForOf"],[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",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime"],[3,"sloStatus","sloStartTime"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloStartTime","onlyShowMetric"],[3,"sloBounds"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],["class","animated-loading-bar",4,
"ngIf"],[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&&(F(0,"div"),C(1,Qdb,6,6,"mat-sidenav-container",5),H(),C(2,Hgb,54,61,"ng-template",null,0,Mg)(4,Jgb,5,2,"ng-template",null,1,Mg));a&2&&(a=M(3),A(),E("ngIf",b.isIssueSidebarEnabled)("ngIfElse",a))},dependencies:[$Bc,rv,sv,tv,xv,
uv,vv,wv,RC,wx,pU,oU,nU,gZ,lZ,hZ,iZ,jZ,dZ,fZ,YP,nZ,gL,qO,Y_,KR,GQ,DP,xJ,yJ,DJ,zJ,UQ,U_,WR,SR,SQ,mZ,oI,nI,vI,qI],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 b0=new Kq({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),yGc=new Kq({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),c0=new Kq({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),d0=new Kq({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),zGc=new Kq({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var e0=function(a,b,c){Y.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new xF;this.onCloseIssuePicker=function(e){e=e===void 0?[]:e;if(e.length!==0&&d.id!=null){var f=e.join(", ");d.snackBar.open(e.length===1?"Adding issue "+f+" to this hotlist":"Adding multiple issues to this hotlist: "+f,void 0,{duration:2500});d.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:d.id,actionType:"ADD"}],issueIds:e}]}).then(d.didSave,d.gotErr)}};
this.didSave=function(){d.issueAddedToHotlist.emit();d.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(e){var f,h,k,q,t=(q=(k=e==null?void 0:(f=e.error)==null?void 0:f.message)!=null?k:e==null?void 0:(h=e.data)==null?void 0:h.message)!=null?q:"Error adding issues to the hotlist";d.snackBar.open(t,"close",{panelClass:"error"})}};V(e0,Y);e0.\u0275dir=Y.\u0275dir;e0.\u0275fac=function(a){return new (a||e0)(B(ZC),B(CT),B(jC))};
e0.\u0275cmp=p({type:e0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:[0,"hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[Lf],decls:2,vars:0,consts:[["mat-button","","matTooltip","Add issues to this hotlist",1,"medium",3,"click"]],template:function(a,b){a&1&&(F(0,"button",0),O("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),Q(1," Add Issue(s) "),H())},dependencies:[kC,Ex,KI,TI],encapsulation:2});var f0=function(a,b,c,d){Y.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new xf(1);this.hotlist$=this.id$.pipe(Cf(function(f){return e.fridge.watchOne(f)}),zf({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(z(function(f){return!(f==null||!f.archived)}),sf());this.archiveActionLabel$=this.archived$.pipe(z(function(f){return f?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(z(function(f){return f?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(f){return function(){e.snackBar.open(f?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(f){return function(h){var k=f?"archiving":"unarchiving";e.snackBar.open(Zm(h)||"Error "+k+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(Df(this.destroyed$)).subscribe(function(f){e.latestHotlist=f})};V(f0,Y);f0.\u0275dir=Y.\u0275dir;
f0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};f0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var BGc=function(a){if(a.latestHotlist!=null){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:Lh("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){AGc(a,b)}}):AGc(a,b)}},AGc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
f0.\u0275fac=function(a){return new (a||f0)(B(rE),B(ZC),B(rH),B(iD))};
f0.\u0275cmp=p({type:f0,selectors:[["hotlist-archive-btn"]],inputs:{id:[0,"hotlistId","id"]},features:[Lf,rd],decls:4,vars:7,consts:[["mat-button","",1,"medium",3,"click","disabled","matTooltip"]],template:function(a,b){a&1&&(F(0,"button",0),T(1,"async"),O("click",function(){return BGc(b)}),Q(2),T(3,"async"),H());if(a&2){var c;E("disabled",b.isThinking(b.id))("matTooltip",(c=U(1,3,b.archiveActionTooltip$))!==null&&c!==void 0?c:"");A(2);R(" ",U(3,5,b.archiveActionLabel$)," ")}},dependencies:[kC,Ex,
KI,TI,yv],encapsulation:2});var g0=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I){GY.call(this,a,b,c,d,e,f,h,k,q,t,D,G,I);this.estadoService=w;this.refreshMonitor=y;this.init=new xF;this.onRefresh=new xF;this.isHotlistAdmin=!1;this.onExportCsv=new xF;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha();this.controllerName="gridControls";a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!Np(a.activeSession)};V(g0,GY);
g0.\u0275dir=GY.\u0275dir;g=g0.prototype;g.ngOnInit=function(){this.init.emit(this)};g.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&vGc(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 CGc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};
g0.\u0275fac=function(a){return new (a||g0)(B(gB),B(yF,2),B(as),B(CF),B($I),B(PV),B(sH),B(bX),B(jH),B(dD),B(cZ),B(DF),B(CT),B(PG),B(RQ))};
g0.\u0275cmp=p({type:g0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Dg([yF]),Lf,rd],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","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[4,"ngIf"],["class","compact","tooltip","Reporting","aria-label","Reporting",3,"size","format","onAction",4,"ngIf"],[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"],[1,"bv2-grid-hotlist-picker"],[3,"onApply","onCreate","onLoad","selectedHotlistIds","choices"],[3,"hotlistId","issueAddedToHotlist",4,"ngIf"],[3,"hotlistId",4,"ngIf"],[3,"issueAddedToHotlist","hotlistId"],
[3,"hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"onAction","size","format"],["name","bar-chart","size","large"],["class","bv2-estado-text",4,"ngIf"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],[3,"externalWarnings"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["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"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=u();F(0,"b-button",1);O("onAction",function(){v(c);return x(b.refresh())});J(1,"b-icon",2);H();C(2,Kgb,2,4,"b-app-bar-bulk-edit-menus",3)(3,Lgb,1,2,"b-copy-issue-id-button",4)(4,Mgb,2,2,"div",5)(5,Pgb,3,2,"ng-container",6)(6,Rgb,3,3,"b-button",7);F(7,"b-app-bar-more-menu",8);O("exportCsvClicked",function(){v(c);return x(b.onExportCsv.emit())})("flagAsSpamClicked",
function(){v(c);return x(WAc(b))});H();F(8,"b-state-modal",9);O("save",function(){v(c);return x(UAc(b))})("close",function(){v(c);return x(b.hotkeys.unpause())});H();C(9,Ugb,11,6,"ng-template",null,0,Mg)}a&2&&(A(2),E("ngIf",b.hasSelectedIssues()),A(),E("ngIf",b.hasSelectedIssues()),A(),E("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),A(),E("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),A(),E("ngIf",b.enableEstadoInAppBar),A(),E("showExportCsv",b.isNonPublicSession||d3b(b.activeSession))("showFlagIssuesAsSpam",
CGc(b)),A(),E("externalWarnings",b.externalWarnings))},dependencies:[HU,GU,sO,AY,tv,RW,f0,e0,SX,OO,kC,Ex,kH,mH,oH,nH,EY,DY,BY,yv],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var DGc=function(a){return{displayText:"Admins",values:a}},EGc=function(a){return[a]},FGc=function(a){return{displayText:"Appenders",values:a}},GGc=Lh("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?"),h0=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=f;this.permissions=h;this.userApi=k;this.activeSession=q;this.id$=new xf(1);this.idSubject$=go(this.id$.pipe(Df(this.destroyed$)));this.acl$=this.id$.pipe(Cf(function(w){return t.hotlistAccessPolicyFridge.watchOne(w)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=N9b(this.links);this.validity={};this.isValid=function(){return Object.values(t.validity).every(Boolean)};this.isInvalid=function(){return!t.isValid()};this.allAppenders=
[];this.onPressSave=function(){t.isRevokingAdmin()?t.dialog.open({title:"Change Hotlist Admins",content:GGc,isDestructive:!0,onConfirm:t.doSave}):t.doSave()};this.doSave=function(){var w=t.idSubject$.value;if(w!=null){var y=t.isRevokingAdmin();w={id:w,admins:dJa(t.admins),appenders:dJa(t.appenders),editors:null,readers:dJa(t.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};t.hotlistAccessPolicyFridge.save(w).subscribe({next:t.didSave(y,
w.id),error:t.gotErr})}};this.didSave=function(w,y){return function(){t.snackBar.open("Access control saved",void 0,{duration:2500});t.events.hotlistChanged.next();t.permissions.poke(y);w&&t.doStar()}};this.gotErr=function(w){t.snackBar.open(Zm(w)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var w=t.idSubject$.value;w&&t.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:w}).then(function(){t.events.hotlistChanged.next()})};this.onPressRevert=
function(){t.resetEdits()};this.gotAcl=function(w){t.latestPolicy=w;var y,D,G;t.latestCompactPolicy={admins:ap((y=t.latestPolicy)==null?void 0:y.admins),appenders:ap((D=t.latestPolicy)==null?void 0:D.appenders),readers:ap((G=t.latestPolicy)==null?void 0:G.readers)};t.resetEdits()};this.isChanged=function(){var w=t.latestCompactPolicy,y;if(!ci((y=w.admins)!=null?y:[],t.admins))return!0;var D;if(!ci((D=w.appenders)!=null?D:[],t.appenders))return!0;var G;return ci((G=w.readers)!=null?G:[],t.readers)?
!1:!0};this.hasNoChanges=function(){return!t.isChanged()};this.acl$.pipe(Df(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(cS(e,this.isChanged,!1))};V(h0,Y);h0.\u0275dir=Y.\u0275dir;var HGc=function(a){return[].concat(r(new Set([].concat(r(a.admins),r(a.appenders)))))};h0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
h0.prototype.resetEdits=function(){var a;this.admins=[].concat(r((a=this.latestCompactPolicy.admins)!=null?a:[]));var b;this.appenders=[].concat(r((b=this.latestCompactPolicy.appenders)!=null?b:[]));var c;this.readers=[].concat(r((c=this.latestCompactPolicy.readers)!=null?c:[]));this.allAppenders=HGc(this)};h0.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=(b=this.latestCompactPolicy.admins)!=null?b:[];return this.isRevokingDirectAdmin(a,c,this.activeSession.getUserEmail())};
h0.prototype.isRevokingDirectAdmin=function(a,b,c){c=c===void 0?"":c;if(isa(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};h0.\u0275fac=function(a){return new (a||h0)(B(OE),B(bH),B(ZC),B(iD),B(bS),B(rH),B(iG),B(qE),B(as))};
h0.\u0275cmp=p({type:h0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[Lf,rd],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"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[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&&(F(0,"form",0)(1,"label"),Q(2,"Admins"),H(),F(3,"p",1),Q(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),H(),F(5,"b-multi-user-input",2),O("usersChange",function(c){b.admins=c;b.allAppenders=HGc(b)})("isValid",function(c){return b.validity.admins=
c}),H(),F(6,"label"),Q(7,"View and append"),H(),F(8,"p",1),Q(9,"Reorder hotlist, add/remove issues"),H(),F(10,"b-multi-user-input",3),O("usersChange",function(c){b.appenders=c;b.allAppenders=HGc(b)})("isValid",function(c){return b.validity.appenders=c}),H(),F(11,"label"),Q(12,"View only"),H(),F(13,"p",1),Q(14,"View the hotlist"),H(),F(15,"b-multi-user-input",4),O("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),H()(),F(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 "),
F(18,"a",5),Q(19,"access control documentation"),H(),Q(20," for an explanation of the settings.\n"),H(),C(21,Vgb,5,4,"div",6));a&2&&(A(5),Wf("disabled",b.isReadOnly),E("users",b.admins),A(5),Wf("disabled",b.isReadOnly),E("users",b.appenders)("includeAliases",!0)("containerChips",Hg(18,EGc,Hg(16,DGc,b.admins))),A(5),Wf("disabled",b.isReadOnly),E("users",b.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Hg(22,EGc,Hg(20,FGc,b.allAppenders))),A(3),E("href",b.accessControlLink,
cf),A(3),E("ngIf",!b.isReadOnly))},dependencies:[tv,my,ey,jy,kC,Ex,KI,TI,NQ],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 IGc=["hotlistName"],i0=function(a,b,c,d){Y.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new xf(1);this.hotlist$=this.id$.pipe(Cf(function(f){return e.fridge.watchOne(f)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(f){e.latestHotlist=f;var h;e.isArchived=(h=f==null?void 0:f.archived)!=null?h:!1;e.resetEdits(f)};this.gotErr=function(f){e.snackBar.open(Zm(f)||"Error saving the hotlist","close",{panelClass:"error"})};this.didSave=
function(){e.snackBar.open("Hotlist saved",void 0,{duration:2500});e.events.hotlistChanged.next()};this.isChanged=function(){var f,h=(f=e.latestHotlist)!=null?f:{};return!ci(h,e.localEdits)};this.hasNoChanges=function(){return!e.isChanged()};this.save=function(){e.fridge.save(e.localEdits).subscribe({next:e.didSave,error:e.gotErr})};this.revert=function(){e.resetEdits(e.latestHotlist)};this.hotlist$.pipe(Df(this.destroyed$)).subscribe(function(f){e.gotHotlist(f)});this.subscriptions.add(cS(d,this.isChanged,
!1))};V(i0,Y);i0.\u0275dir=Y.\u0275dir;i0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;(b=a.hotlistName)==null||b.nativeElement.focus()})};i0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};i0.prototype.resetEdits=function(a){var b;this.localEdits=(b=di(a))!=null?b:{}};i0.\u0275fac=function(a){return new (a||i0)(B(rE),B(ZC),B(iD),B(bS))};
i0.\u0275cmp=p({type:i0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&rg(IGc,5);if(a&2){var c;vg(c=wg())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[Lf,rd],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"],["class","margin-top flex-kids-x gap-s",4,"ngIf"],[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=u();F(0,"form",1)(1,"label",2);Q(2,"Name");H();F(3,"input",3,0);Cg("ngModelChange",
function(d){v(c);Bg(b.localEdits.name,d)||(b.localEdits.name=d);return x(d)});H();F(5,"label",4);Q(6,"Description");H();F(7,"textarea",5);Cg("ngModelChange",function(d){v(c);Bg(b.localEdits.description,d)||(b.localEdits.description=d);return x(d)});Q(8,"  ");H();C(9,Wgb,7,7,"div",6);H()}a&2&&(A(3),E("disabled",b.isReadOnly||b.isArchived),Ag("ngModel",b.localEdits.name),A(4),E("disabled",b.isReadOnly||b.isArchived),Ag("ngModel",b.localEdits.description),A(2),E("ngIf",!b.isReadOnly))},dependencies:[tv,
my,Bh,dy,ey,vy,ly,jy,kC,Ex,KI,TI,f0,yv],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 j0=function(a,b){Y.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new xf(1);this.hotlist$=this.id$.pipe(Cf(function(d){return c.hotlists.watchOne(d)}))};V(j0,Y);j0.\u0275dir=Y.\u0275dir;j0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};j0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};j0.\u0275fac=function(a){return new (a||j0)(B(rE),B(OE))};
j0.\u0275cmp=p({type:j0,selectors:[["b-edit-hotlist-header"]],inputs:{id:[0,"hotlistId","id"]},features:[Lf,rd],decls:9,vars:8,consts:[[1,"flex-kids-x","align-items-center","gap-s","padded-x"],[1,"muted"],[4,"ngIf"],["class","color-bad-text",4,"ngIf"],[1,"color-bad-text"]],template:function(a,b){a&1&&(F(0,"header",0)(1,"h2")(2,"span",1),Q(3),H(),C(4,Xgb,2,1,"ng-container",2),T(5,"async"),H(),C(6,Ygb,2,0,"strong",3),T(7,"async"),C(8,Zgb,1,0,"b-spinner",2),H());if(a&2){var c;A(3);R(" Hotlist ",b.id,
": ");A();E("ngIf",U(5,4,b.hotlist$));A(2);E("ngIf",(c=U(7,6,b.hotlist$))==null?null:c.archived);A(2);E("ngIf",b.isThinking(b.id))}},dependencies:[tv,pQ,yv],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var k0=function(a){Y.call(this);this.activeSession=a;this.ROUTES=wp;this.id$=new xf(1);this.enableBulkEditUi=!this.activeSession.userRequiresCaptcha()};V(k0,Y);k0.\u0275dir=Y.\u0275dir;k0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};k0.prototype.onPressBack=function(){var a;(a=window.history)==null||a.back()};k0.\u0275fac=function(a){return new (a||k0)(B(as))};
k0.\u0275cmp=p({type:k0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:[0,"hotlistId","id"]},features:[Lf,rd],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",4,"ngIf"],[3,"hotlistId"]],template:function(a,b){a&1&&(F(0,
"section",0)(1,"b-button",1),O("onAction",function(){return b.onPressBack()}),J(2,"b-icon",2),H(),F(3,"a",3),Q(4," View Issues "),H(),C(5,$gb,2,3,"hotlist-add-issue-btn",4),H());a&2&&(A(3),E("href",b.ROUTES.viewHotlist.makeHref(b.id),cf),A(2),E("ngIf",b.enableBulkEditUi))},dependencies:[tv,kC,Fx,KI,TI,sO,OO,e0,yv],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var JGc=new Map([[403,"You do not have permission to view this Hotlist."],[404,"This Hotlist does not exist."]]),l0=function(a,b,c,d){this.routeParams=a;this.pageTitle=b;this.permissions=c;this.hotlists=d;this.id=this.routeParams.hotlistId;this.resourceId="hotlists/"+this.id;this.isAdmin$=this.permissions.watchOne(this.resourceId).pipe(z(function(e){return e==null?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(z(function(e){var f;return(f=e.status)!=null?f:-1}),z(function(e){var f;
return(f=JGc.get(e))!=null?f:"unknown error"}),Bf(void 0));this.tabIndex=0};l0.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};l0.\u0275fac=function(a){return new (a||l0)(B($H),B(VU),B(iG),B(rE))};
l0.\u0275cmp=p({type:l0,selectors:[["edit-hotlist"]],decls:4,vars:6,consts:[[4,"ngIf"],[3,"hotlistId"],[1,"bv2-view"],["gmat-tabs","",3,"selectedIndex"],["label","Basic Information"],[3,"hotlistId","isReadOnly"],["label","Access Control"],["class","muted padded-x",4,"ngIf"],[1,"muted","padded-x"],[1,"padded-x"]],template:function(a,b){a&1&&(C(0,bhb,13,14,"ng-container",0),T(1,"async"),C(2,chb,7,1,"ng-container",0),T(3,"async"));a&2&&(E("ngIf",U(1,2,b.hotlistErrorMsg$)===void 0),A(2),E("ngIf",U(3,
4,b.hotlistErrorMsg$)))},dependencies:[tv,HM,BM,CM,dM,h0,i0,j0,k0,yv],encapsulation:2});var m0=function(){};m0.\u0275fac=function(a){return new (a||m0)};m0.\u0275cmp=p({type:m0,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&C(0,dhb,3,1,"b-callout",0);a&2&&E("ngIf",b.error)},dependencies:[tv,hS,iS],encapsulation:2});var n0=function(){};n0.\u0275fac=function(a){return new (a||n0)};n0.\u0275mod=cd({type:n0});n0.\u0275inj=Gc({imports:[RD,rT]});var o0=function(){};o0.\u0275fac=function(a){return new (a||o0)};o0.\u0275mod=cd({type:o0});o0.\u0275inj=Gc({imports:[RD,zy,RH,bM,tO,sM,JM,QO,rQ,n0,$Q,hM]});var p0=function(){};p0.\u0275fac=function(a){return new (a||p0)};p0.\u0275mod=cd({type:p0});p0.\u0275inj=Gc({imports:[JU,tO,OY,RD,LQ,aX,o0,PY,QO,RH,VH,bM,RY,QY,CY]});var q0=function(a,b,c,d){Y.call(this);this.element=a;this.bLocation=b;this.hotkeys=c;this.cdr=d;this.focusedIndex=0;this.convertUserToString=yi;this.hotlists=[];this.registerKeys()};V(q0,Y);q0.\u0275dir=Y.\u0275dir;g=q0.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=aJ(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(wp.editHotlist.makeHref(a.hotlistId))};
q0.\u0275fac=function(a){return new (a||q0)(B(Rd),B(NM),B($I),B(yF,2))};
q0.\u0275cmp=p({type:q0,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Dg([yF]),Lf],decls:26,vars:1,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"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["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"],[4,"ngFor","ngForOf"],[1,"bv2-resource-list-cell","hotlist-id","clickable"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"table",0)(1,"thead")(2,"tr",1),J(3,"th",2),F(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," Hotlist name "),H()()()(),F(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),H()()()(),F(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),Q(18," Admins "),H()()()(),F(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),Q(23," ID "),H()()()()()(),F(24,"tbody"),C(25,ghb,11,9,"tr",6),H()());a&2&&(A(25),E("ngForOf",b.hotlists))},dependencies:[sv,tv],encapsulation:2});var r0=function(){};r0.\u0275fac=function(a){return new (a||r0)};r0.\u0275mod=cd({type:r0});r0.\u0275inj=Gc({imports:[RD]});var s0=function(a,b){this.bLocation=a;this.butterBar=b},KGc=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};s0.prototype.getCount=function(){var a=KGc(this,"c");return a?ii(a):null};var LGc=function(a){return(a=KGc(a,"p"))?ii(a):null};s0.prototype.getQuery=function(){return KGc(this,"q")};
s0.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(bq).filter(Gi):null};s0.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(VYa).filter(Gi):null};
var t0=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 MGc(e)}));b.sortColumns!==void 0&&d("s",b.sortColumns==null?null:(b.sortColumns||[]).map(function(e){var f=e.direction=="ASCENDING"?"asc":"desc";return MGc(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)},MGc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};s0.\u0275fac=function(a){return new (a||s0)(n(NM),n(cD))};s0.\u0275prov=Fc({token:s0,factory:s0.\u0275fac,providedIn:"root"});var u0=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};u0.prototype.fetch=function(a,b){a=this.getParameters(a,b===void 0?null:b);return{searchPreferences:Op({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
u0.prototype.getParameters=function(a,b){var c=this,d=b?function(){return NGc(b)}:function(){return OGc(c)},e=b?function(){return PGc(b)}:function(){return QGc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(k){return v0(k)}).then(null,d).then(function(k){return v0(k)}).then(null,Bz(a.displayColumns)).then(function(k){return RGc(c,k)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(k){return v0(k)}).then(null,e).then(function(k){return v0(k)}).then(null,
Bz(a.sortColumns));var f=Promise.resolve(this.urlPreferences.getCount()).then(function(k){return v0(k)}).then(null,function(){return SGc(c)}).then(function(k){return v0(k)}).then(null,Bz(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(k){return v0(k)}).then(null,function(){return TGc(b,function(k){return k.query})}).then(null,Bz(a.query));a=LGc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:f,query:h,page:a}};
var v0=function(a){return a==null?Promise.reject(null):a},NGc=function(a){return TGc(a,function(b){return b.displayColumn}).then(function(b){return UGc(b)})},PGc=function(a){return TGc(a,function(b){return b.sortOrder}).then(function(b){return VGc(b)})},QGc=function(a){return se(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return v0(b)}).then(function(b){return VGc(b)})},OGc=function(a){return se(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return v0(b)}).then(function(b){return UGc(b)})},
SGc=function(a){return se(a.userPreferencesManager.preferences$.pipe(z(function(b){var c;return(c=b.resultsPerPage)!=null?c:null}))).then(function(b){return v0(b)})},TGc=function(a,b){return a?a.then(function(c){c=b(c);return c==null?Promise.reject(null):c}):Promise.reject(null)},UGc=function(a){if(!a||!a.length)return null;a=Ni(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new aq({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:b.type})})},VGc=function(a){return a&&a.length?a.map(function(b){return b.column!==void 0?new eq(new aq(b.column),b.order):new eq(new aq(b.field),b.direction)}).filter(function(b){return b.fieldId.type!="CUSTOM_FIELD"||b.fieldId.customFieldId!=null}):null},RGc=function(a,b){function c(){for(var k=l(b),q=k.next();!q.done;q=k.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var t=d[q.customFieldId];q.customFieldName=t?t:"Custom field "+q.customFieldId}return b}if(!b)return Promise.resolve([]);
for(var d={},e=[],f=l(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(k){d[k.customFieldId]=k.name})));return Promise.all(e).then(c,c)};u0.\u0275fac=function(a){return new (a||u0)(n(s0),n(PG),n(FE))};u0.\u0275prov=Fc({token:u0,factory:u0.\u0275fac,providedIn:"root"});var w0=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S){Y.call(this);var W=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=f;this.issuePagination=h;this.gridPreferencesFetcher=k;this.paths=q;this.errorHandler=t;this.domSafe=w;this.timeout=y;this.hotkeys=D;this.appSearchState=I;this.componentFridge=N;this.issueFridge=S;this.ANALYTICS_CATEGORY="panel";this.resource=this.searchResults=this.initialSortPreferences=this.initialIssueColumns=this.displayColumns=null;this.isLoading=
!1;this.page=1;this.issueColumnsInternal=[];this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new xF;this.resultsLoaded=new xF;this.selectionChange=new xF;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.currentUserEmail=d.getUserEmail();this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",onPress:function(){var Z;(Z=W.issuesGrid)==null||Mdb(Z)}},{keys:["k"],displayAs:"k",
description:"Move to the previous issue in the current panel",onPress:function(){var Z;(Z=W.issuesGrid)==null||Ndb(Z)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Z;(Z=W.issuesGrid)==null||uGc(Z)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Z;(Z=W.issuesGrid)==null||wGc(Z)}},{keys:[Ao("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Z;(Z=W.issuesGrid)==null||xGc(Z,!0)}},
{keys:[Ao("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var Z;(Z=W.issuesGrid)==null||xGc(Z,!1)}},{keys:[Bo("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var Z;(Z=W.issuesGrid)==null||Z.selectAll()}},{keys:[Bo("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var Z;(Z=W.issuesGrid)==null||rGc(Z)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",
onPress:function(Z){var fa=G.document.activeElement;if(Z===1&&(fa==null?void 0:fa.tagName)==="A")if(fa.href)Z=W.paths.getBaseUrl(),fa.href.startsWith(Z)?b.setUrl(fa.href.slice(Z.length)):W.domSafe.openInNewTab(fa.href);else{var ma;(ma=W.issuesGrid)==null||a0(ma)}else{var ua;(ua=W.issuesGrid)==null||a0(ua)}}}];this.destroyed$.subscribe(function(){var Z;(Z=W.unregisterHotkeys)==null||Z.call(W)})};V(w0,Y);w0.prototype.columnsChange=function(a){this.issueColumns=a};
w0.prototype.ngOnInit=function(){this.getIssues();WGc(this)};var WGc=function(a){var b;(b=a.unregisterHotkeys)==null||b.call(a);a.isFocused?a.unregisterHotkeys=aJ(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},Dhb=function(a,b){a.issuesGrid=b;vGc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:(c=a.issuesGrid)==null?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};g=w0.prototype;
g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=bq(a);if(d==null)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new eq(d,b=="ASC"?"ASCENDING":"DESCENDING");Ra(this.sortPreferences,function(f){return ci(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):gi(a.fieldId.type),direction:a.direction=="ASCENDING"?"ASC":"DESC"};ci(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(r(b),r(u9a(a)));this.initialIssueColumns=di(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=xp(a),c&&Yk(c)?this.domSafe.openInNewTab(a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.page=a;this.getIssues()};g.refreshResults=function(){ntc(this.issuePagination);this.getIssues()};g.exportCsv=function(){kJ(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 ktc(b.issuePagination,e)});a.catch(function(e){typeof e==="number"?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return Op({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=di(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 Yd;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(He(Gi),Df(this.destroyed$)).subscribe(function(d){var e;return ge(function(f){if(f.nextAddress==1)return b.searchResults?ie(f,se(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();etc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();me(f)})}))};g.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:XGc,sortColumns:[],query:"",resultsPerPage:25}};
g.save=function(){var a=this,b=v9a(this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):YGc).length)).map(function(c){return new aq(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;Xp(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=di(a.issueColumns);a.initialSortPreferences=di(a.sortPreferences);a.cdr.detectChanges()})};
g.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(r(this.initialIssueColumns||[]));this.initialSortPreferences&&!ci(this.initialSortPreferences,this.sortPreferences)&&(Dba(this.sortPreferences),fu(Gba,this.sortPreferences,void 0,0).apply(null,this.initialSortPreferences),this.refreshResults())};
g.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!ci(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!ci(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 YGc};
g.getSearchParams=function(a){a=di(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.getUrl();return a};
da.Object.defineProperties(w0.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){ci(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&&WGc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return this.focusedRowIndex!==null}}});var YGc=[b0,c0,d0],XGc=GBc.map(bq).filter(Gi);w0.\u0275fac=function(a){return new (a||w0)(B(yF),B(NM),B(dD),B(as),B(cD),B(CF),B(UU),B(u0),B(BP),B(eD),B(jJ),B(EB),B($I),B(Window),B(xQ),B(gB),B(EF))};
w0.\u0275dir=ed({type:w0,viewQuery:function(a,b){a&1&&rg(Z_,5);if(a&2){var c;vg(c=wg())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[Lf]});var x0=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};x0.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:Lh("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)}})};x0.\u0275fac=function(a){return new (a||x0)(B(rH),B(iD))};
x0.\u0275cmp=p({type:x0,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","","class","bv2-panel-move-to-top-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-up-menuitem",3,"click",4,"ngIf"],["mat-menu-item","",
"class","bv2-panel-move-down-menuitem",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-panel-move-to-bottom-menuitem",3,"click",4,"ngIf"],["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&&(F(0,
"div")(1,"button",1),J(2,"mat-icon",2),H(),F(3,"mat-menu",null,0),C(5,lhb,6,4,"ng-template",3),H()());a&2&&(a=M(4),A(),E("matMenuTriggerFor",a))},dependencies:[tv,RC,JI,NI,LI,MI,OI,kC,Gx],encapsulation:2});var y0=function(){};y0.\u0275fac=function(a){return new (a||y0)};y0.\u0275mod=cd({type:y0});y0.\u0275inj=Gc({imports:[RD,aM,RH]});var z0=function(){};z0.\u0275fac=function(a){return new (a||z0)};z0.\u0275mod=cd({type:z0});z0.\u0275inj=Gc({imports:[RD,VL]});var A0=function(){};A0.\u0275fac=function(a){return new (a||A0)};A0.\u0275mod=cd({type:A0});A0.\u0275inj=Gc({imports:[RD,z0]});var B0=function(){};B0.\u0275fac=function(a){return new (a||B0)};B0.\u0275mod=cd({type:B0});B0.\u0275inj=Gc({imports:[RD,VL,A0]});var C0=function(){};C0.\u0275fac=function(a){return new (a||C0)};C0.\u0275mod=cd({type:C0});C0.\u0275inj=Gc({imports:[RD,z0]});var ZGc=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new xF};ZGc.\u0275fac=function(a){return new (a||ZGc)};
ZGc.\u0275cmp=p({type:ZGc,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(" "),[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"button",0),O("click",function(){b.openSidebar.emit({panel:void 0})}),Fd(),F(1,"svg",1)(2,"g",2),J(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),H()(),C(13,mhb,2,0,"ng-container",13),H());a&2&&(Wf("icon-only-mode",b.iconOnly),
E("ngClass",b.buttonClassname)("disabled",b.availablePanels.size===0),A(13),E("ngIf",!b.iconOnly))},dependencies:[rv,tv,kC,Ex,KI,TI],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 D0=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};D0.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};D0.\u0275fac=function(a){return new (a||D0)(B(S_))};
D0.\u0275cmp=p({type:D0,selectors:[["insights-graph-menu-smart"]],inputs:{iconOnly:"iconOnly",buttonClassname:"buttonClassname"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"availablePanels","iconOnly","buttonClassname","openSidebar",4,"ngIf"],[3,"openSidebar","availablePanels","iconOnly","buttonClassname"]],template:function(a,b){a&1&&(C(0,ohb,3,3,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.availablePanels$))},dependencies:[tv,ZGc,yv],encapsulation:2,changeDetection:0});var E0=function(){};E0.\u0275fac=function(a){return new (a||E0)};E0.\u0275mod=cd({type:E0});E0.\u0275inj=Gc({imports:[RD,RH,aM,bM]});var F0=function(){};F0.\u0275fac=function(a){return new (a||F0)};F0.\u0275mod=cd({type:F0});F0.\u0275inj=Gc({imports:[RD,RH,LQ]});var G0=function(){};G0.\u0275fac=function(a){return new (a||G0)};G0.\u0275mod=cd({type:G0});G0.\u0275inj=Gc({imports:[pT,RD,RH,XV,VL,bM,F0]});var H0=function(){};H0.\u0275fac=function(a){return new (a||H0)};H0.\u0275mod=cd({type:H0});H0.\u0275inj=Gc({imports:[aZ,RD,G0,QO,RH,VH,aM,bM,$Q,jM]});var I0=function(){};I0.\u0275fac=function(a){return new (a||I0)};I0.\u0275mod=cd({type:I0});I0.\u0275inj=Gc({imports:[Gv,zy,dQ]});var J0=function(){};J0.\u0275fac=function(a){return new (a||J0)};J0.\u0275mod=cd({type:J0});J0.\u0275inj=Gc({imports:[RD,bM,kQ,DW,I0,VL]});var K0=function(){};K0.\u0275fac=function(a){return new (a||K0)};K0.\u0275mod=cd({type:K0});K0.\u0275inj=Gc({imports:[RD,iJ,dP,Ay,qM]});var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=cd({type:L0});L0.\u0275inj=Gc({imports:[RD,bM,RH,C0,uQ,A0,K0,kx]});var M0=function(){};M0.\u0275fac=function(a){return new (a||M0)};M0.\u0275mod=cd({type:M0});M0.\u0275inj=Gc({imports:[tO,rT,RD,zy,RH,VH,sQ,sM,bM,DW]});var $Gc={},aHc=($Gc.COMFORTABLE=330,$Gc.COZY=300,$Gc.COMPACT=270,$Gc),N0=function(a){Y.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(z(function(c){var d;return(d=c.themePreferences)==null?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(z(function(c){var d;return(d=c.layoutPreferences)==null?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=new yf;
this.currentSidebarWidth$=we([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(Bf(void 0))]).pipe(z(function(c){var d=l(c);c=d.next().value;var e=d.next().value;d=d.next().value;return d!=null?d:e!=null?e:aHc[c!=null?c:"COMFORTABLE"]}));we([this.rightSidebarWidthChanged$.pipe(sf()),this.sidebarWidthPreference$]).pipe(He(function(c){var d=l(c);c=d.next().value;return d.next().value!==c}),Cf(function(c){var d=l(c);c=d.next().value;d.next();return r9b(b.userPreferencesManager,
{rightSidebarWidth:c})}),Df(this.destroyed$)).subscribe()};V(N0,Y);N0.\u0275dir=Y.\u0275dir;N0.prototype.ngOnInit=function(){};N0.\u0275fac=function(a){return new (a||N0)(B(PG))};
N0.\u0275cmp=p({type:N0,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[Lf],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",4,"ngIf"],[3,"issueId"]],template:function(a,b){a&1&&(F(0,"h3",0),Q(1,"Issue metadata"),H(),F(2,"b-resizable-sidebar",1),T(3,"async"),O("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),
F(4,"div",2)(5,"div",3),C(6,phb,1,1,"edit-issue-metadata",4),H()()());if(a&2){var c;A(2);E("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",(c=U(3,5,b.currentSidebarWidth$))!==null&&c!==void 0?c:0);A(4);E("ngIf",b.issueId)}},dependencies:[tv,fM,T_,yv],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var O0=function(){};O0.\u0275fac=function(a){return new (a||O0)};O0.\u0275mod=cd({type:O0});O0.\u0275inj=Gc({imports:[BO,RD,jO,FX,kQ,VL,WL,AI,bM,RO,gQ]});var P0=function(){};P0.\u0275fac=function(a){return new (a||P0)};P0.\u0275mod=cd({type:P0});P0.\u0275inj=Gc({imports:[AI,xX,RD,HX,gP,J0,kQ,dJ,VL,E0,cR,L0,FX,bM,hM,M0,gQ,KQ,AV,HV,H0,lQ,O0]});var Q0=function(){};Q0.\u0275fac=function(a){return new (a||Q0)};Q0.\u0275mod=cd({type:Q0});Q0.\u0275inj=Gc({imports:[RH,bM,zy,lM,zW,Py,yV,AV,RD,cQ,RO,AI,rQ,P0,KM,qZ,bR]});var R0=function(){};R0.prototype.getValue=function(){return this.row[this.column.name]||""};R0.prototype.isCustomField=function(){return this.column.isCustomField};R0.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 ci(this.customFieldValue,a)||(this.customFieldValue=a),this.customFieldValue};
R0.\u0275fac=function(a){return new (a||R0)};R0.\u0275cmp=p({type:R0,selectors:[["pop-grid-default-cell"]],inputs:{row:"row",column:"column"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"customFieldValue",4,"ngIf"],[3,"customFieldValue"]],template:function(a,b){a&1&&C(0,qhb,2,2,"span",0)(1,rhb,1,1,"b-custom-field-value-display",1);a&2&&(E("ngIf",!b.isCustomField()),A(),E("ngIf",b.isCustomField()))},dependencies:[tv,KX],encapsulation:2,changeDetection:0});var S0=function(){};S0.\u0275fac=function(a){return new (a||S0)};S0.\u0275mod=cd({type:S0});S0.\u0275inj=Gc({imports:[RD,bM,LX]});dma(gZ,[sv,tv,xv,lZ,R0],[]);var T0=function(){};T0.\u0275fac=function(a){return new (a||T0)};T0.\u0275mod=cd({type:T0});T0.\u0275inj=Gc({imports:[RD,VL]});var U0=function(){};U0.\u0275fac=function(a){return new (a||U0)};U0.\u0275mod=cd({type:U0});U0.\u0275inj=Gc({imports:[RD,T0,uQ]});var V0=function(){};V0.\u0275fac=function(a){return new (a||V0)};V0.\u0275mod=cd({type:V0});V0.\u0275inj=Gc({imports:[oZ,RD,aM,cP,bM,RH,VH,zx,qU,QO,S0,z0,B0,uQ,C0,AI,WL,bQ,U0,oT,LQ,xV,JX,VL,cR,Q0,nT,kT,aR]});var W0=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
W0.prototype.repositionIssue=function(a,b,c,d,e,f){var h=this,k=b[0].position,q=k>b[1].position,t=b[c],w=b[d].position;Mba(b,c,d);f==null||f();Xp(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,t.issueId,w).then(function(){for(var y=k,D=l(b),G=D.next();!G.done;G=D.next())G.value.position=y,y+=q?-1:1;f==null||f();Xp(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
W0.\u0275fac=function(a){return new (a||W0)(n(jE),n(cD),n(iD))};W0.\u0275prov=Fc({token:W0,factory:W0.\u0275fac,providedIn:"root"});var X0=function(){this.pageChange=new xF;this.resultsPerPageChange=new xF;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};X0.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};X0.prototype.prevPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page-1})};
da.Object.defineProperties(X0.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}})}}});X0.\u0275fac=function(a){return new (a||X0)};
X0.\u0275cmp=p({type:X0,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",4,"ngIf"],["aria-live","polite","role","alert","class","bv2-appbar-pagenums",4,"ngIf"],["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"],["header","Results per page:","buttonLabel","Results per page","buttonIcon","arrow-dropdown",3,"menuItems"],["aria-live",
"polite","role","alert",1,"bv2-appbar-pagenums"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,shb,1,1,"b-actions-menu",1)(2,thb,6,3,"span",2),F(3,"button",3),O("click",function(){return b.prevPage()})("keydown.enter",function(c){b.prevPage();return c.stopPropagation()}),J(4,"mat-icon",4),H(),F(5,"button",5),O("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),J(6,"mat-icon",6),H()());a&2&&(A(),E("ngIf",b.searchResults&&b.searchResults.issues.length>
0&&!b.resultsPerPageFixed),A(),E("ngIf",b.searchResults&&b.searchResults.issues.length>0),A(),E("disabled",!(b.searchResults==null?0:b.searchResults.hasPreviousPage())),A(2),E("disabled",!(b.searchResults==null?0:b.searchResults.hasNextPage())))},dependencies:[tv,RC,kC,Gx,LT,CP],encapsulation:2});var Y0=function(){};Y0.\u0275fac=function(a){return new (a||Y0)};Y0.\u0275mod=cd({type:Y0});Y0.\u0275inj=Gc({imports:[RD,RH,aU,wV]});var Z0=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa){w0.call(this,c,e,f,h,k,q,t,w,y,d,D,I,N,S,W,Z,fa);this.hotlists=a;this.hotlistApi=b;this.appEvents=G;this.ROUTES=wp;this.resource=null};V(Z0,w0);Z0.\u0275dir=w0.\u0275dir;g=Z0.prototype;g.ngOnInit=function(){w0.prototype.ngOnInit.call(this)};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?w0.prototype.setSort.call(this,a,b,!1):w0.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"});Xp(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({},w0.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"?bHc:cHc};g.getSearchParams=function(a){a=w0.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")})};Z0.\u0275fac=function(a){return new (a||Z0)(B(W0),B(jE),B(yF,2),B(eD),B(NM),B(dD),B(as),B(cD),B(CF),B(UU),B(u0),B(BP),B(jJ),B(iD),B(EB),B($I),B($G),B(xQ),B(gB),B(EF))};
Z0.\u0275cmp=p({type:Z0,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Dg([yF]),Lf],decls:9,vars:8,consts:[[1,"bv2-panel","bv2-view-hotlist-grid"],[1,"bv2-view-hotlist-title"],[1,"bv2-view-hotlist-title-text"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"pageChange","searchResults","resultsPerPageFixed"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],["tabindex","0"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences have changed",4,"ngIf"],
[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["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"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0",4,"ngIf"],["class","bv2-grid-container",
4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","onRowDragDrop","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2),C(3,uhb,2,0,"div",3)(4,vhb,2,0,"div",3)(5,yhb,8,5,"div",3),H(),C(6,zhb,5,0,"div",4),F(7,"b-pagination",5),O("pageChange",function(c){return b.goToPage(c.page)}),
H()(),C(8,Fhb,4,3,"div",3),H());a&2&&(Nf("aria-busy",b.isLoading),A(3),E("ngIf",!b.resource&&!b.isLoading),A(),E("ngIf",!b.resource&&b.isLoading),A(),E("ngIf",b.resource),A(),E("ngIf",b.hasParamChanges()),A(),E("searchResults",b.searchResults)("resultsPerPageFixed",!0),A(),E("ngIf",b.resource))},dependencies:[tv,Z_,kC,Ex,KI,TI,X0,x0,pQ],encapsulation:2});var cHc=[b0,c0,d0,zGc],bHc=[b0,yGc,c0,d0,zGc],a1=function(){};a1.\u0275fac=function(a){return new (a||a1)};a1.\u0275mod=cd({type:a1});
a1.\u0275inj=Gc({imports:[RD,V0,RH,bM,Y0,y0,rQ]});var b1=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W){w0.call(this,b,d,e,f,h,k,q,t,w,c,y,D,G,I,N,S,W);this.savedSearchApi=a;this.resource=null};V(b1,w0);b1.\u0275dir=w0.\u0275dir;b1.prototype.ngOnInit=function(){w0.prototype.ngOnInit.call(this)};b1.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};
b1.prototype.saveResource=function(){return Promise.resolve()};b1.\u0275fac=function(a){return new (a||b1)(B(vE),B(yF,2),B(eD),B(NM),B(dD),B(as),B(cD),B(CF),B(UU),B(u0),B(BP),B(jJ),B(EB),B($I),B($G),B(xQ),B(gB),B(EF))};
b1.\u0275cmp=p({type:b1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Dg([yF]),Lf],decls:8,vars:7,consts:[[1,"bv2-panel","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],[1,"bv2-view-savedsearch-title-text"],[4,"ngIf"],["tabindex","0",4,"ngIf"],[3,"pageChange","searchResults","resultsPerPageFixed"],["tabindex","0"],["class","bv2-panel-controls",3,"panelId",4,"ngIf"],[3,"href"],[3,"matTooltip"],["matTooltip","Display preferences or search query have changed",
4,"ngIf"],[1,"bv2-panel-controls",3,"panelId"],["matTooltip","Display preferences or search query have changed"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","0","role","region",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],[3,"large"],["tabindex","0","role","region",1,"bv2-view-loading"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex",
"columns","enableColumnSaving","sort"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2),C(3,Ghb,2,0,"div",3)(4,Hhb,2,0,"div",3)(5,Khb,8,5,"div",4),H(),F(6,"b-pagination",5),O("pageChange",function(c){return b.goToPage(c.page)}),H()(),C(7,Phb,4,3,"div",3),H());a&2&&(Nf("aria-busy",b.isLoading),A(3),E("ngIf",!b.resource&&!b.isLoading),A(),E("ngIf",!b.resource&&b.isLoading),A(),E("ngIf",b.resource),A(),E("searchResults",b.searchResults)("resultsPerPageFixed",!0),A(),E("ngIf",b.resource))},
dependencies:[tv,Z_,KI,TI,X0,x0,pQ],encapsulation:2});var c1=function(){};c1.\u0275fac=function(a){return new (a||c1)};c1.\u0275mod=cd({type:c1});c1.\u0275inj=Gc({imports:[RD,V0,bM,Y0,y0,rQ]});var d1=function(){this.label="Team"};d1.prototype.ngOnInit=function(){};d1.\u0275fac=function(a){return new (a||d1)};
d1.\u0275cmp=p({type:d1,selectors:[["b-team-breadcrumb"]],inputs:{teamPath:"teamPath",label:"label"},decls:3,vars:2,consts:[["role","navigation",1,"breadcrumb"],[1,"breadcrumb-items"],["class","breadcrumb-item",4,"ngFor","ngForOf"],[1,"breadcrumb-item"],[1,"keep-focus-ring",3,"routerLink","preserveFragment"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"span",1),C(2,Qhb,3,4,"span",2),H()());a&2&&(Nf("aria-label",b.label),A(2),E("ngForOf",b.teamPath))},dependencies:[sv,JD],encapsulation:2});var e1=function(){};e1.\u0275fac=function(a){return new (a||e1)};e1.\u0275mod=cd({type:e1});e1.\u0275inj=Gc({imports:[RD,mT]});var dHc=["form"],eHc=["numberInput"],fHc=/^\d+\.?\d*$/,gHc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},f1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new xF;this.displayUnits=0;this.TimeUnit=gHc};
f1.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()})};f1.prototype.ngAfterViewInit=function(){};
f1.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))};f1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};f1.\u0275fac=function(a){return new (a||f1)};
f1.\u0275cmp=p({type:f1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(rg(dHc,7),rg(eHc,7));if(a&2){var c;vg(c=wg())&&(b.form=c.first);vg(c=wg())&&(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=u();F(0,"form",null,0)(2,"div",2)(3,"mat-form-field",3)(4,"mat-label");Q(5," Custom Duration ");H();F(6,"input",4,1);O("keydown",function(d){v(c);switch(d.key){case "-":case "e":case "E":d.preventDefault()}return x()})("paste",function(d){v(c);var e=d.clipboardData.getData("Text");fHc.test(e)||d.preventDefault();return x()});
H()();F(8,"mat-form-field",3)(9,"mat-select",5)(10,"mat-option",6);Q(11,"days");H();F(12,"mat-option",6);Q(13,"year(s)");H()()()()()}a&2&&(A(6),E("ngModel",b.displayNumber)("disabled",b.disabled),Nf("aria-label",b.ariaLabel),A(3),E("ngModel",b.displayUnits)("disabled",b.disabled),A(),E("value",b.TimeUnit.DAYS),A(2),E("value",b.TimeUnit.YEARS))},dependencies:[my,Bh,ny,dy,ey,uy,ly,jy,yW,Qy,Jy,Dy,kM,mM,nM,xx],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 g1=function(){};g1.\u0275fac=function(a){return new (a||g1)};g1.\u0275mod=cd({type:g1});g1.\u0275inj=Gc({imports:[RD,zy,zW,lM,qM,qZ]});var h1=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};h1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};h1.prototype.onNoClick=function(){this.dialogRef.close(!1)};h1.\u0275fac=function(a){return new (a||h1)(B(cH),B(iH),B(bH))};
h1.\u0275cmp=p({type:h1,selectors:[["b-field-state-change-confirmation-dialog"]],decls:22,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["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&&(F(0,"h1",0),Q(1),H(),F(2,"div",1)(3,"p"),Q(4," The "),F(5,"strong"),Q(6),
H(),Q(7," field will change state from "),F(8,"strong"),Q(9),H(),Q(10," to "),F(11,"strong"),Q(12),H(),Q(13,". "),H(),C(14,Rhb,6,2,"p",2),F(15,"p"),Q(16,"Are you sure?"),H()(),F(17,"div",3)(18,"button",4),O("click",function(){return b.onNoClick()}),Q(19," Cancel "),H(),F(20,"button",5),Q(21," Confirm "),H()());a&2&&(A(),R("Field State Change for ",b.data.fieldName,""),A(5),yg(b.data.fieldName),A(3),yg(b.data.oldFieldState),A(3),yg(b.data.newFieldState),A(2),E("ngIf",b.data.noteText),A(6),E("mat-dialog-close",
!0))},dependencies:[tv,kC,Ex,kH,mH,oH,nH],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var hHc=["fieldStateMenuButton"],iHc=function(a){return{"mat-stroked-button":a}},i1=function(a){this.dialog=a;this.fieldName="";this.fieldState="INHERIT";this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new xF;this.FieldState=A1b;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."}};i1.prototype.ngOnInit=function(){this.updateMenuButton()};
i1.prototype.ngOnChanges=function(){this.updateMenuButton()};
var kHc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?jHc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},jHc=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);dH(a.dialog.open(h1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:lHc(a,a.fieldState),
newFieldState:lHc(a,b),noteText:e}})).pipe(qf()).subscribe(function(f){f?(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};i1.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=lHc(this,this.fieldState)};
var lHc=function(a,b){switch(b){case "INHERIT":return a.defaultLabel;case "DISABLED":return a.msgs.hiddenName;case "ENABLED":return a.msgs.visibleName;default:Bc(b,"Unknown FieldState.")}};i1.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};i1.\u0275fac=function(a){return new (a||i1)(B(jH))};
i1.\u0275cmp=p({type:i1,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&rg(hHc,5,Rd);if(a&2){var c;vg(c=wg())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[rd],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=u();F(0,"div")(1,"button",2,0)(3,"div",3);J(4,"span",4)(5,"b-icon",5);H()()();F(6,"mat-menu",null,1)(8,"div",6)(9,"div",7)(10,"button",8);O("click",function(){v(c);return x(kHc(b,b.FieldState.INHERIT))});J(11,"b-icon",9);F(12,"div",10);Q(13);H();F(14,"div",11);Q(15);H()()();J(16,"mat-divider");F(17,"button",12);O("click",function(){v(c);return x(kHc(b,b.FieldState.DISABLED))});F(18,"div",
13)(19,"div",14);J(20,"b-icon",9);F(21,"div",10);Q(22);H();F(23,"div",11);Q(24);H()()()();F(25,"button",12);O("click",function(){v(c);return x(kHc(b,b.FieldState.ENABLED))});F(26,"div",13)(27,"div",14);J(28,"b-icon",9);F(29,"div",10);Q(30);H();F(31,"div",11);Q(32);H()()()()()()}a&2&&(a=M(7),A(),E("ngClass",Hg(16,iHc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",a),A(3),E("innerHTML",b.menuLabel,bf),A(6),Wf("b-menu-item-checked",b.fieldState===b.FieldState.INHERIT),A(3),R(" ",b.defaultLabel,
" "),A(2),R(" ",b.msgs.inheritDescription," "),A(2),Wf("b-menu-item-checked",b.fieldState===b.FieldState.DISABLED),A(5),R(" ",b.msgs.hiddenName," "),A(2),R(" ",b.msgs.hiddenDescription," "),A(),Wf("b-menu-item-checked",b.fieldState===b.FieldState.ENABLED),A(5),R(" ",b.msgs.visibleName," "),A(2),R(" ",b.msgs.visibleDescription," "))},dependencies:[rv,kC,Ex,TO,JI,NI,LI,OI,OO],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 j1=function(){};j1.\u0275fac=function(a){return new (a||j1)};j1.\u0275mod=cd({type:j1});j1.\u0275inj=Gc({imports:[RD,RH,VH,cP,aM,QO,tO]});var k1=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};k1.prototype.close=function(){this.dialogRef.close(!1)};k1.\u0275fac=function(a){return new (a||k1)(B(iH),B(cH))};
k1.\u0275cmp=p({type:k1,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&&(F(0,"h1",0),Q(1,"Unsubscribe From Issue"),H(),F(2,"mat-dialog-content")(3,"div",1),Q(4," Are you sure you would like to unsubscribe from the following issue? "),H(),J(5,"br"),F(6,"div",2)(7,
"a",3)(8,"span"),Q(9),H()(),Q(10," - "),F(11,"span"),Q(12),H()(),J(13,"br"),F(14,"div",1),Q(15," By unsubscribing, you will no longer receive email updates about this issue. "),H()(),F(16,"mat-dialog-actions")(17,"button",4),O("click",function(){return b.close()}),Q(18," Cancel "),H(),F(19,"button",5),O("click",function(){b.dialogRef.close(!0)}),Q(20," Unsubscribe "),H()());a&2&&(A(7),kg("href","/issues/",b.issueId,"",cf),A(2),R("b/",b.issueId,""),A(3),yg(b.issueTitle))},dependencies:[kC,Ex,mH,oH,
nH],encapsulation:2});var mHc=function(a,b){return{small:a,medium:b}},nHc=function(a){return{black:a}},l1=function(a,b,c,d,e){this.activeSession=a;this.matDialogService=b;this.issueFridge=c;this.analytics=d;this.routeParams=e;this.iconOnly=!1;this.subscriptionChange=new xF;this.showNotificationSettings=new xF;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=F1b;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"}]])};l1.prototype.ngOnInit=function(){oHc(this)};l1.prototype.ngOnChanges=function(){this.updateMenuButton()};l1.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};l1.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var oHc=function(a){var b,c;ge(function(d){if(d.nextAddress==1)return a.routeParams.unsubscribe!=="true"||a.subscription&&a.subscription==="UNSUBSCRIBED"?d.return():ie(d,se(a.issueFridge.watch(a.issueId)),2);if(d.nextAddress!=3){b=d.yieldResult;if(!b)return d.return();a.matDialogService.closeAll();return ie(d,se(dH(a.matDialogService.open(k1,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3)}if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent("editIssue",
"unsubscribeUsingDialog");me(d)})};da.Object.defineProperties(l1.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){a!=null&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});l1.\u0275fac=function(a){return new (a||l1)(B(as),B(jH),B(EF),B(CF),B($H))};
l1.\u0275cmp=p({type:l1,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[rd],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"],[4,"ngIf"],[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=u();F(0,"div")(1,"button",5)(2,"div",6);J(3,"b-icon",7);C(4,Shb,3,1,"ng-container",8);H()()();F(5,
"mat-menu",null,0)(7,"div",9)(8,"div",10)(9,"button",11);O("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION))});J(10,"b-icon",12);F(11,"div",13);Q(12," Default ");H();F(13,"div",14);Q(14," receive emails based on your default settings. ");H()();J(15,"mat-divider",15);F(16,"button",16);O("click",function(f){v(c);return x(b.showNotificationSettings.emit(f))});J(17,"b-icon",17);H()();J(18,"mat-divider");F(19,"div",18)(20,"button",19);O("click",function(){v(c);
return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))});F(21,"div",20);J(22,"b-icon",12);F(23,"div",13);Q(24," All Updates ");H();F(25,"div",14);Q(26," receive emails for major and minor updates. ");H()()();F(27,"button",21);O("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES))})("focus",function(){v(c);var f=M(29);return x(f.toggle(!0))})("blur",function(){v(c);var f=M(29);return x(f.toggle(!1))});F(28,"xap-bubble",
22,1);J(30,"mat-icon",23);C(31,Thb,13,0,"ng-template",null,2,Mg);H()()();F(33,"div",18)(34,"button",24);O("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))});F(35,"div",20);J(36,"b-icon",12);F(37,"div",13);Q(38," Major Updates ");H();F(39,"div",14);Q(40," receive emails for major updates only. ");H()()();F(41,"button",21);O("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES))})("focus",
function(){v(c);var f=M(43);return x(f.toggle(!0))})("blur",function(){v(c);var f=M(43);return x(f.toggle(!1))});F(42,"xap-bubble",22,3);J(44,"mat-icon",23);C(45,Uhb,17,0,"ng-template",null,4,Mg);H()()();F(47,"button",25);O("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY))});F(48,"div",18)(49,"div",20);J(50,"b-icon",12);F(51,"div",13);Q(52," Closure Only ");H();F(53,"div",14);Q(54," only receive emails when the issue is closed. ");H()()()();
F(55,"button",25);O("click",function(){v(c);return x(b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED))});F(56,"div",18)(57,"div",20);J(58,"b-icon",12);F(59,"div",13);Q(60," None ");H();F(61,"div",14);Q(62," unsubscribe from further email updates. ");H()()()()()()}if(a&2){a=M(6);var d=M(32),e=M(46);A();Wf("icon-only",b.iconOnly);E("ngClass",Ig(26,mHc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",a)("disabled",b.isAnonymous);Nf("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||
"UNKNOWN_SUBSCRIPTION").label);A(2);E("name",b.menuIcon)("ngClass",Hg(29,nHc,b.menuIcon==="notifications-off"));A();E("ngIf",!b.iconOnly);A(5);Wf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);A(6);E("vertical",!0);A(5);Wf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);A(7);Nf("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.");
A();E("panelTemplate",d)("overlayPositions",b.bubblePosition);A(6);Wf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);A(7);Nf("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.");A();E("panelTemplate",e)("overlayPositions",b.bubblePosition);A(5);Wf("b-menu-item-checked",b.subscriptionInternal===
b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);A(8);Wf("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[rv,tv,RC,kC,Ex,TO,JI,NI,LI,OI,OO,FQ,KI,TI],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 m1=function(){};m1.\u0275fac=function(a){return new (a||m1)};m1.\u0275mod=cd({type:m1});m1.\u0275inj=Gc({imports:[RD,RH,cP,aM,QO,tO,KQ,bM]});var n1=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new xF;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},pHc=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()};
n1.prototype.displayFn=function(a){return(a==null?void 0:a.name)||(a==null?void 0:a.sloId)||""};n1.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
da.Object.defineProperties(n1.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)}}});n1.\u0275fac=function(a){return new (a||n1)(B(uG),B(yF,2))};
n1.\u0275cmp=p({type:n1,selectors:[["slo-picker"]],inputs:{isDisabled:[0,"bv2Disabled","isDisabled"],placeholder:[0,"bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Dg([yF])],decls:6,vars:6,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"],["class","slo-search-result",3,"value",4,"ngFor","ngForOf"],[1,"slo-search-result",3,"value"]],template:function(a,b){if(a&1){var c=u();F(0,"div",2)(1,"input",3,0);Cg("ngModelChange",function(d){v(c);Bg(b.selectedSlo,d)||(b.selectedSlo=d);return x(d)});O("click",function(){v(c);var d=M(2);return x(pHc(b,d.value))})("input",function(){v(c);var d=M(2);return x(pHc(b,d.value))});H();F(3,"mat-autocomplete",4,1);O("optionSelected",function(d){v(c);return x(b.updateSelectionOnChange(d))});
C(5,Vhb,2,2,"mat-option",5);H()()}a&2&&(a=M(4),A(),E("placeholder",b.placeholder),Ag("ngModel",b.selectedSlo),E("disabled",b.isDisabled)("matAutocomplete",a),A(2),E("displayWith",b.displayFn),A(2),E("ngForOf",b.dropdownChoices))},dependencies:[sv,eR,fR,xx,gR,Bh,dy,ly],encapsulation:2});var o1=function(){};o1.\u0275fac=function(a){return new (a||o1)};o1.\u0275mod=cd({type:o1});o1.\u0275inj=Gc({imports:[RD,iR,zy]});var qHc=function(a){return{"empty-list-field-indication":a}},p1=function(a,b){this.documentationLinks=a;this.activeSession=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new xF;this.validChange=new xF;this.RetentionSelection=M1b;this.indefiniteRetentionComponentsAllowlist=new Set(this.activeSession.getIndefiniteRetentionComponentsAllowlist())};
p1.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};rr(this)};p1.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);rr(this)};
var rr=function(a){var b;if(b=sr(a))b=(b=a.model.piiRetentionSelection)&&b!==a.RetentionSelection.UNSPECIFIED_RETENTION&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!rHc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||sHc(a));a.validChange.emit(b)},tHc=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},sr=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)},Xhb=function(a){return a?Qi(a):"[unset period]"},sHc=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},bib=function(a){if(!sr(a)||sHc(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 "+Xhb(e):"Restricted+ retention must not exceed Restricted retention."},rHc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||a.model.retentionPeriodDays<60)},eib=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};p1.\u0275fac=function(a){return new (a||p1)(B(bH),B(as))};
p1.\u0275cmp=p({type:p1,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"],["class","duration-error",4,"ngIf"],["class","custom-duration",4,"ngIf"],["class","warning-box","id","custom-retention-warning-box",4,"ngIf"],[3,"disabled","value"],["class","warning-box","id","indefinite-retention-warning-box",4,"ngIf"],["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"],["class","warning-box","id","indefinite-pii-retention-warning-box",4,"ngIf"],[1,"duration-error"],[1,"custom-duration"],["ariaLabel","Custom duration",3,"durationDaysChange","disabled","durationDays"],[1,"duration-description"],["id","custom-retention-warning-box",1,"warning-box"],["id","indefinite-retention-warning-box",1,"warning-box"],[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"],["class","warning-box","id","custom-pii-retention-warning-box",4,"ngIf"],["id","custom-pii-retention-warning-box",1,"warning-box"],["id","indefinite-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(F(0,"mat-radio-group",0),O("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),F(1,"p")(2,"b"),Q(3,"Issue Retention"),H()(),F(4,"mat-radio-button",1),Q(5,
" Buganizer default retention period (for minimal or no PII/SPII): 10 years "),H(),F(6,"mat-radio-button",2),Q(7," Custom retention period "),C(8,Whb,2,0,"span",3)(9,Yhb,4,3,"div",4)(10,Zhb,13,0,"div",5),H(),F(11,"mat-radio-button",6),Q(12),C(13,$hb,13,0,"div",7),H()(),F(14,"mat-radio-group",8),O("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);rr(b)}),F(15,"p"),J(16,"br"),F(17,"b"),Q(18,
"Restricted Comments/Attachments Retention "),H(),F(19,"a",9),Q(20,"Learn more "),H()(),F(21,"mat-radio-button",1),Q(22," Buganizer default retention period : 60 days "),C(23,aib,2,0,"span",3),H(),F(24,"mat-radio-button",10),Q(25," Custom retention period "),C(26,cib,2,1,"span",3)(27,fib,16,7,"div",4),H(),F(28,"mat-radio-button",6),Q(29," Match Issue Retention "),C(30,gib,3,0,"div",11),H()());a&2&&(E("ngClass",Hg(29,qHc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",
b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),A(4),E("value",b.RetentionSelection.BUGANIZER_DEFAULT),A(2),E("value",b.RetentionSelection.CUSTOM_PERIOD),A(2),E("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&b.model.retentionPeriodDays>=30&&b.model.retentionPeriodDays<=7300)),A(),E("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),A(),E("ngIf",!!b.model.retentionPeriodDays&&b.model.retentionPeriodDays>
3650),A(),E("disabled",!tHc(b))("value",b.RetentionSelection.INDEFINITE_RETENTION),A(),R(" Indefinite retention period ",tHc(b)?"":"(Internal components only)"," "),A(),E("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),A(),E("ngClass",Hg(31,qHc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),A(5),E("rel",b.EXTERNAL_LINK_REL),Nf("href",b.documentationLinks.getRestrictedAccessHelpLink(),
cf),A(2),E("value",b.RetentionSelection.BUGANIZER_DEFAULT),A(2),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&rHc(b)),A(),E("aria-label","Custom Retention Period,"+bib(b))("disabled",!sr(b))("value",b.RetentionSelection.CUSTOM_PERIOD),A(2),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!sHc(b)),A(),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),A(),E("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),
A(2),E("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&eib(b)))},dependencies:[rv,tv,dy,ly,QI,RI,f1],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 q1=function(){};q1.\u0275fac=function(a){return new (a||q1)};q1.\u0275mod=cd({type:q1});q1.\u0275inj=Gc({imports:[RD,zy,sQ,g1]});var uHc=function(){this.type="component";this.includeChildren=!1},vHc=function(){this.type="tracker"},wHc=function(){this.type="team";this.includeChildren=!1},xHc=function(){this.type="hotlist"},yHc=function(){this.type="savedsearch"},zHc=function(){this.type="customfield"};var AHc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},BHc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),CHc=BHc.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 star status t targetedto thirtydayviewcount title type verified verifiedin verifier vote votecount nearestslo".split(" ")),
DHc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),EHc="(?:\\s|^)(-?)(customfield\\d+|"+CHc.join("|")+")(:|>|<|>=|<=|=)";var r1=function(a,b,c,d,e,f,h,k,q,t){Y.call(this);var w=this;this.appSearchState=a;this.trackerFridge=b;this.trackerHelpers=c;this.customFieldsApi=d;this.hotlistApi=e;this.savedSearchApi=f;this.componentActions=h;this.teamsService=k;this.activeSession=q;this.currentUserBookmarksFridge=t;this.query="";this.requestIndex=0;this.producers=[{match:function(y){return FHc(w,y)}},{updateHeader:function(y){return GHc(w,y)}},{updateHeader:function(y){return HHc(w,y)}},{updateHeader:function(y){return IHc(w,
y)}},{updateHeader:function(y){return JHc(w,y)}},{updateHeader:function(y){return KHc(w,y)}},{updateHeader:function(y){return LHc(w,y)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new yf;this.refreshRequest$=new yf;this.refreshRequest$.pipe(pf(250),Df(this.destroyed$)).subscribe(function(y){MHc(w,y.currentRequestIndex,y.currentSearchContext)});this.sessionIsInternal=q.isInternalSession();a=new Set(CHc);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=
l(DHc),c=b.next();!c.done;c=b.next())a.delete(c.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};V(r1,Y);r1.\u0275dir=Y.\u0275dir;r1.prototype.isTrackerSearchEnabled=function(){return!Np(this.activeSession)};
var MHc=function(a,b,c){for(var d=!1,e=!1,f=[],h=l(a.producers),k=h.next();!k.done;k=h.next())k=k.value,k.match&&f.push(k.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,r(q))}).catch(function(q){return q})),k.updateHeader&&f.push(k.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()})},FHc=
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 NHc(a,b);if(b.label){if(b.label.customFieldId)return OHc(a,b);switch(b.label.val){case "archived":return Promise.resolve(vr(PHc,b.value,!0));case "componentid":case "c":return QHc(a,b);case "deleted":return RHc(b);case "deletionreason":return Promise.resolve(vr(SHc,
b.value,!0));case "hotlistid":case "h":return THc(a,b);case "savedsearchid":return UHc(a,b);case "status":case "is":return Promise.resolve(vr(VHc,b.value,!0));case "trackerid":return WHc(a,b);case "teamid":return XHc(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(vr(YHc,b.value,!0));case "severity":case "s":return Promise.resolve(vr(ZHc,b.value,!0));case "inprod":case "star":case "mute":return RHc(b);case "accesslevel":return Promise.resolve(vr($Hc,
b.value,!0));default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];d=jib(b.value.val);e=l(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(k,q){return zr(k.name,q.name)});return Promise.resolve(c)},
NHc=function(a,b){var c=b.value.val.replace(/^(cf|customfield)/,""),d=boc(a.appSearchState);if(!c&&!d)return Promise.reject(null);var e=ypc(a.trackerHelpers)||[];return a.customFieldsApi.query({query:d?"componentid:"+d+" "+c:c,trackerIds:e}).then(function(f){return aIc(a,b,f)})},aIc=function(a,b,c){var d=c.customFields.map(function(h){return h.componentId}).filter(Gi);d.length>0&&a.componentActions.bulkLoad(d);d=[];c=l(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(k){var q=h.customField$jscomp$21,t=b.value.val,w=q.customFieldId,y=b.value.idx;return{id:w,componentPathNames:k,name:q.name,trackId:"customField:"+w,completionCfg:{type:"customField",startIdx:y,endIdx:y+t.length,completionValue:"customfield"+w+":",matchingString:t}}}}(f)),d.push(e);return Promise.all(d)};
r1.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 OHc=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 vr(d,b.value,!1,!1)}):Promise.reject(null)};
r1.prototype.matchType=function(a){return Promise.resolve(vr(bIc,a.value,!0))};
var RHc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(vr([{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))},QHc=function(a,b){var c=b.value.val;return!c||ur(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
r1.prototype.processResponse=function(a,b){var c=a.value.val,d=[];b=l(b);for(var e=b.next(),f={};!e.done;f={paths$jscomp$48: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$48=Gr(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$48.componentPathId.map(function(k){return function(q,t){return{trackId:"subcomponent:"+q,id:""+q,name:String(k.paths$jscomp$48.componentPathName[t]),completionCfg:{type:"component",completionValue:String(q),startIdx:k.startIdx$jscomp$4,endIdx:k.endIdx$jscomp$4}}}}(f))};d.push(f)}return d};
var XHc=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||ur(c,!0))return Promise.reject(null);var d=Li();GG(a.teamsService,c).pipe(Df(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e);for(var q=e.next(),t={};!q.done;t={pathNames$jscomp$3:void 0},q=e.next())q=q.value,t.pathNames$jscomp$3=q.pathNames,t={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(w){return function(y,D){return{trackId:"team:"+y,id:y,name:w.pathNames$jscomp$3[D],completionCfg:{type:"team",completionValue:String(y),startIdx:f,endIdx:h}}}}(t))},k.push(t);d.resolve(k)},function(){d.reject()});return d.promise},GHc=function(a,b){if(!b.label||b.label.val!=="componentid"&&b.label.val!=="c")return Promise.reject(null);var c=new uHc;b=b.value.val;return ur(b,!0)?(hu(b,"+")&&(b=b.slice(0,
b.length-1),c.includeChildren=!0),a.componentActions.get(Number(b)).then(function(d){var e;Np(a.activeSession)&&d.trackerId!==((e=a.activeSession.getTracker())==null?void 0:e.trackerId)||(c.component=d);return c})):Promise.resolve(c)},JHc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||b.label.val!=="trackerid")return Promise.reject(null);var c=new vHc,d=Li();b=b.value.val;ur(b)?a.trackerFridge.watchOne(b).pipe(Df(a.destroyed$)).subscribe(function(e){c.tracker=e;d.resolve(c)}):b&&d.resolve(c);
return d.promise},LHc=function(a,b){if(!a.sessionIsInternal||!b.label||b.label.val!=="teamid")return Promise.reject(null);var c=new wHc,d=Li(),e=b.value.val;ur(e,!0)?(hu(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),GG(a.teamsService,e).pipe(Df(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},HHc=function(a,b){if(!b.label||b.label.val!=="hotlistid"&&b.label.val!=="h")return Promise.reject(null);var c=new xHc;b=b.value.val;return ur(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},IHc=function(a,b){if(!b.label||b.label.val!=="savedsearchid")return Promise.reject(null);var c=new yHc;b=b.value.val;return ur(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=d;return c}):b?Promise.reject(null):Promise.resolve(c)},
KHc=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]),Jn("search-usage","customfield");else return Promise.reject(null);var d=new zHc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},WHc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||ur(c,!0))return Promise.reject(null);var d=Li();a.trackerFridge.watchMany({filter:c,
pageSize:5}).pipe(Df(a.destroyed$)).subscribe(function(e){var f=b.value.idx,h=f+c.length,k=[];e=l(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,k.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(k)});return d.promise},THc=function(a,b){return ur(b.value.val)?Promise.reject(null):se(zE(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 vr(c,b.value,!1,!0)})},UHc=function(a,b){return ur(b.value.val)?Promise.reject(null):se(AE(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 vr(c,b.value,!1,!0)})};
r1.\u0275fac=function(a){return new (a||r1)(n(xQ),n(NG),n(HR),n(FE),n(jE),n(vE),n(PV),n(EG),n(as),n(xE))};r1.\u0275prov=Fc({token:r1,factory:r1.\u0275fac,providedIn:"root"});
var VHc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return wr({name:a,label:"Status",type:"status"})}),bIc="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue program project feature milestone epic story task".split(" ").map(function(a){return wr({name:a,label:"Type",type:"type",trackIdPrefix:"bugType"})}),YHc=["p0","p1","p2","p3","p4"].map(function(a){return wr({name:a,
label:"Priority",type:"priority"})}),ZHc=["s0","s1","s2","s3","s4"].map(function(a){return wr({name:a,label:"Severity",type:"severity"})}),PHc=["all","true","false"].map(function(a){return wr({name:a,label:"Archived",type:"archived"})}),SHc=["abuse","pii","user_request","retention"].map(function(a){return wr({name:a,label:"Deletion Reason",type:"deletionreason",trackIdPrefix:"deletionReason"})}),$Hc=[["limit_none","Default access"],["limit_view","Limited visibility"],["limit_append","Limited commenting"],
["limit_view_trusted","Limited visibility + Google"]].map(function(a){var b=l(a);a=b.next().value;b=b.next().value;return wr({name:b,label:"Issue access level",type:"accesslevel",id:a})});var s1=function(a){this.cdr=a;this.optionsChange=new xF};s1.prototype.ngOnInit=function(){kib(this)};
var kib=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},lib=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},cIc=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);lib(a)},dIc=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(", ")};s1.\u0275fac=function(a){return new (a||s1)(B(yF,2))};
s1.\u0275cmp=p({type:s1,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Dg([yF])],decls:16,vars:12,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","","class","bv2-property-picker-options","role","menuitemcheckbox",4,"ngFor","ngForOf"],["class","bv2-property-picker-error-message",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",1,"bv2-property-picker-options"],["title","option",1,"bv2-property-picker-option-row",3,"click"],[3,"change","click","checked"],[1,"bv2-property-picker-error-message"]],template:function(a,b){if(a&1){var c=u();F(0,
"div")(1,"button",1)(2,"div",2)(3,"span",3);Q(4);Q(5," \u00a0 ");H();J(6,"mat-icon",4);H()();F(7,"mat-menu",null,0)(9,"div",5);O("click",function(d){v(c);return x(cIc(b,d))});F(10,"mat-checkbox",6);O("change",function(d){v(c);b.selectAllValue=d.checked;return x(cIc(b))});Q(11);H()();J(12,"mat-divider");C(13,mib,4,3,"div",7);T(14,"keyvalue");H();C(15,nib,2,1,"div",8);H()}a&2&&(a=M(8),A(),Wf("ng-invalid",!!b.errorString),E("matMenuTriggerFor",a),A(3),R(" ",dIc(b)," "),A(5),Nf("aria-checked",b.selectAllValue),
A(),E("checked",!!b.selectAllValue)("indeterminate",b.selectAllValue===null),A(),R(" ",b.selectAllText," "),A(2),E("ngForOf",U(14,10,b.options.propertyValues)),A(2),E("ngIf",!!b.errorString))},dependencies:[sv,tv,RC,oJ,pJ,JI,NI,LI,OI,TO,kC,Ex,Dv],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 eIc=function(a,b){this.displayString=a;this.value=b},fIc=function(a){this.propertyValues=a},gIc=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},Qib=function(a){for(var b=l(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};fIc.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var t1=function(){};t1.\u0275fac=function(a){return new (a||t1)};t1.\u0275mod=cd({type:t1});t1.\u0275inj=Gc({imports:[RD,jM,aM,cP,RH]});var hIc=function(a,b){this.name=a;this.secondsPerUnit=b},xr=new hIc("minute",60),yr=new hIc("hour",3600),vib=new hIc("day",86400),u1=function(){this.errorString=null;this.objectiveDurationChange=new xF;this.objectiveBusinessDaysChange=new xF;this.intervalUnit=vib};u1.prototype.ngOnInit=function(){iIc(this)};u1.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&iIc(this)};
var qib=function(a,b){b=b.name;ii(a.intervalString)!==1&&(b+="s");return b},uib=function(a){return a.dayType==="BUSINESS"},iIc=function(a){!uib(a)&&jIc(a,vib)||jIc(a,yr)||jIc(a,xr);if(a.objectiveBusinessDays!=0||a.businessDayString!="")a.businessDayString=""+a.objectiveBusinessDays},jIc=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):(uib(a)?[xr,yr]:[xr,yr,vib]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},oib=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);sib(a);tib(a)},sib=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(ii(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},tib=function(a){a.objectiveBusinessDays=ii(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};u1.\u0275fac=function(a){return new (a||u1)};
u1.\u0275cmp=p({type:u1,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[rd],decls:2,vars:2,consts:[["class","enabled bv2-slo-objective",4,"ngIf"],["class","disabled",4,"ngIf"],[1,"enabled","bv2-slo-objective"],["class","bv2-slo-objective-interval",
4,"ngIf"],[1,"bv2-slo-objective-interval"],["type","text",3,"ngModelChange","ngModel"],[1,"bv2-slo-objective-unit",3,"ngModelChange","selectionChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[1,"bv2-slo-objective-unit"],[3,"value"],[1,"disabled"],["class","bv2-slo-objective-biz-day-text",4,"ngIf"],[4,"ngIf"],[1,"bv2-slo-objective-biz-day-text"]],template:function(a,b){a&1&&C(0,wib,6,6,"span",0)(1,Aib,3,2,"span",1);a&2&&(E("ngIf",!b.isDisabled),A(),E("ngIf",b.isDisabled))},dependencies:[sv,tv,Bh,
dy,ly,mM,nM,xx],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 v1=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"]])},nIc=function(a,b){var c=new kIc,d=lIc(b,"type",function(f){var h=f.toUpperCase(),k=new mIc;a.typeStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid type';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(var e=d.next();!e.done;e=d.next())c.types.push(a.typeStringToEnum.get(e.value));d=lIc(b,"priority",function(f){var h=
f.toUpperCase(),k=new mIc;a.priorityStringToEnum.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid priority';return k});if(d.error)return c.error=d.error,c;d=l(d.values);for(e=d.next();!e.done;e=d.next())c.priorities.push(a.priorityStringToEnum.get(e.value));b=lIc(b,"postmortem",function(f){var h=f.toUpperCase(),k=new mIc;a.postmortemValuesToCanonical.has(h)?k.value=h:k.error='The string "'+f+'" is not a valid postmortem value';return k});if(b.error)c.error=b.error;else for(b=l(b.values),
d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},lIc=function(a,b,c){var d=new oIc;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};v1.\u0275fac=function(a){return new (a||v1)(n(wH),n(as))};v1.\u0275prov=Fc({token:v1,factory:v1.\u0275fac,providedIn:"root"});
var kIc=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},oIc=function(){this.values=[];this.error=""},mIc=function(){this.error=this.value=""};var w1=function(){};w1.prototype.validate=function(a){for(var b={},c=l(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};w1.\u0275fac=function(a){return new (a||w1)};w1.\u0275dir=ed({type:w1,selectors:[["","customValidators",""]],inputs:{validators:[0,"customValidators","validators"]},features:[Dg([{provide:Xx,useExisting:w1,multi:!0}])]});var x1=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new xF;this.onValidation=new xF;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat($8b);this.dayTypes=["CALENDAR","BUSINESS"];$8b.map(function(d,e){return[d,e]});this.selectedMetric=
"METRIC_UNSPECIFIED";this.selectedDayType="CALENDAR";this.selectedMetric=this.metricChoices[0];this.selectedDayType="CALENDAR";this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.anyNoneDisplayValues=new Map([["ANY","Has postmortem"],["NONE","No postmortem"]]);this.canPerformActions=!0},ljb=function(a,b,c){Rib(a);a=l(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},ojb=function(a,b,c){c=rjb(a,b,c);var d=c.newOffset;
c.valid&&(Rib(a),Qa(a.collection,b),Qa(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),pIc(a))},rjb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:b>=0&&b<a.collection.length,newOffset:b}},Rib=function(a){a=l(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},qIc=function(a,b){var c=b.map(function(d){return new y1(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
Jib=function(a){return a==="METRIC_UNSPECIFIED"?" - ":a9b.get(a)},Xib=function(a,b){return b!=="TYPE_UNSPECIFIED"&&a.constants.issueTypesDisplayNames.has(b)?a.constants.issueTypesDisplayNames.get(b):" - "},bjb=function(a,b){return b!=="PRIORITY_UNSPECIFIED"&&a.constants.issuePrioritiesDisplayNames.has(b)?a.constants.issuePrioritiesDisplayNames.get(b):" - "},Sib=function(a,b){Rib(a);Qa(a.collection,b);Qa(a.boundCollection,b.sloElement);pIc(a)},Dib=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:Lh("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];pIc(a)},onDismiss:function(){}});b.stopPropagation()},Bib=function(a,b){var c=new y1({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);ljb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);pIc(a)};
x1.prototype.onDrop=function(a){ojb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var pIc=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
da.Object.defineProperties(x1.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){qIc(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=l(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});x1.\u0275fac=function(a){return new (a||x1)(B(wH),B(v1),B(rH))};
x1.\u0275cmp=p({type:x1,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"],["class","bv2-slo-elements-actionbar",4,"ngIf"],["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","cdkDropListDropped",4,"ngIf"],["class","bv2-slo-elements-table-empty-list-description",4,"ngIf"],[1,"bv2-slo-elements-actionbar"],[1,"slo-picker-actions"],[1,"slo-picker-icon-action-icon-container"],["class","hoverable","matTooltip","Add a new rule",3,"name","size","click",4,"ngIf"],["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"],["class","bv2-slo-element-row","cdkDrag","",3,"draggable",4,"ngFor","ngForOf"],["cdkDrag","",1,"bv2-slo-element-row"],["class","bv2-slo-element-row-counter editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-type-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-priority-column bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-postmortem-column bv2-editable-slo-element editable-row",
4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-metric bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-objective bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-picker-column bv2-slo-element-daytype bv2-editable-slo-element editable-row",4,"ngIf"],["class","bv2-slo-element-action editable-row",4,"ngIf"],["class","bv2-slo-element-row-counter display-row",4,"ngIf"],["class","bv2-slo-element-type-column bv2-slo-element-picker-column display-row",
4,"ngIf"],["class","bv2-slo-element-priority-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-postmortem-column bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-metric bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-objective bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-daytype bv2-slo-element-picker-column display-row",4,"ngIf"],["class","bv2-slo-element-action display-row",
4,"ngIf"],[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-type-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-priority-column","bv2-editable-slo-element","editable-row"],[1,"bv2-priority-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-postmortem-column",
"bv2-editable-slo-element","editable-row"],[1,"bv2-postmortem-property-picker",3,"optionsChange","selectAllText","validator","options"],[1,"bv2-slo-element-picker-column","bv2-slo-element-metric","bv2-editable-slo-element","editable-row"],["appearance","outline","subscriptSizing","dynamic"],["required","true",1,"bv2-enum-field","bv2-slo-elements-picker-metric-selector",3,"ngModelChange","ngModel","customValidators"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-slo-element-picker-column","bv2-slo-element-objective",
"bv2-editable-slo-element","editable-row"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","validator","isDisabled"],[1,"bv2-slo-element-picker-column","bv2-slo-element-daytype","bv2-editable-slo-element","editable-row"],[1,"bv2-enum-field","bv2-slo-elements-picker-daytype-selector",3,"ngModelChange","selectionChange","ngModel"],[1,"bv2-slo-element-action","editable-row"],["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-slo-element-row-counter","display-row"],[1,"bv2-slo-element-type-column","bv2-slo-element-picker-column","display-row"],[4,"ngIf"],["class","bv2-property-display-chips",4,"ngIf"],[1,"bv2-property-display-chips"],["class","bv2-property-display-chip-container",4,"ngFor","ngForOf"],[1,"bv2-property-display-chip-container"],[1,"matcher-chip-content"],[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"],["required","",3,"objectiveDurationChange","objectiveBusinessDaysChange","dayType","objectiveDuration","objectiveBusinessDays","isDisabled"],[1,"bv2-slo-element-daytype","bv2-slo-element-picker-column","display-row"],[1,"bv2-slo-element-action","display-row"],
["class","hoverable bv2-slo-element-action-edit","matTooltip","Edit this rule",3,"name","size","click",4,"ngIf"],["class","hoverable bv2-slo-element-action-more-settings","matTooltip","More options",3,"name","size","matMenuTriggerFor",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-down",3,"click",4,"ngIf"],["mat-menu-item","","class","bv2-slo-element-action-more-settings-move-up",3,"click",4,"ngIf"],["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"],["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",3,"click"],["mat-menu-item","",1,"bv2-slo-element-action-more-settings-move-up",
3,"click"],[1,"bv2-slo-elements-table-empty-list-description"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"div")(2,"div")(3,"label",2),Q(4,"Rules"),H(),F(5,"a",3),J(6,"b-icon",4),H(),C(7,Eib,6,3,"span",5),H(),F(8,"table",6)(9,"thead")(10,"tr",7)(11,"th",8),Q(12,"Order"),H(),F(13,"th",9),Q(14,"Type"),H(),F(15,"th",10),Q(16,"Priority"),H(),F(17,"th",11),Q(18,"Postmortem"),H(),F(19,"th",12),Q(20,"Metric"),H(),F(21,"th",13),Q(22,"Objective"),H(),F(23,"th",14),Q(24," Day Type "),H(),J(25,"th",15),H()(),
C(26,ujb,2,3,"tbody",16),H(),F(27,"div"),C(28,vjb,2,0,"div",17),H()()());a&2&&(A(6),E("name","help-outline")("size","small"),A(),E("ngIf",!b.isDisabled),A(19),E("ngIf",b.collection&&b.collection.length!=0),A(2),E("ngIf",!b.collection||b.collection.length==0))},dependencies:[sv,tv,w1,CX,BX,dy,vy,ly,OO,kM,Jy,JI,NI,LI,OI,mM,nM,xx,KI,TI,s1,u1],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 y1=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=gIc(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=e===null;return e};this.validateTypePicker=function(){var e=gIc(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
e===null;return e};this.validatePostmortemPicker=function(){var e=gIc(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=rIc(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return sIc(d,e)}};tIc(this);this.typePickerValues=uIc(this.controllerReference.sloParseService.enumTypeToString.keys(),function(e){return d.parseResult.types.length===
0||d.parseResult.types.includes(e)},function(e){return Xib(d.controllerReference,e)});this.priorityPickerValues=uIc(this.controllerReference.sloParseService.enumPriorityToString.keys(),function(e){return d.parseResult.priorities.length===0||d.parseResult.priorities.includes(e)},function(e){return bjb(d.controllerReference,e)});this.postmortemPickerValues=uIc(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();sIc(this,this.selectedMetric)},rIc=function(a){return a?a:{seconds:86400,nanos:0}};y1.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};var sIc=function(a,b){b=b!=="METRIC_UNSPECIFIED";return a.metricSelectorValid=b};
y1.prototype.stopEditing=function(){if(this.isEditingInternal&&(this.isValid()||this.isNewElement)){this.controllerReference.openRow=null;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.isEditingInternal=this.isNewElement=!1;this.canEdit=!0;vIc(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;tIc(this)}};
var vIc=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=wIc(b,function(f){return a.controllerReference.sloParseService.enumTypeToString.get(f)});c=wIc(c,function(f){return a.controllerReference.sloParseService.enumPriorityToString.get(f)});d=wIc(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};y1.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 wIc=function(a,b){if(a.length===0)return"";if(a.length===1)return b(a[0]);var c=[];a=l(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
y1.prototype.startEditing=function(){if(!this.isEditingInternal){this.controllerReference.canPerformActions=!1;this.controllerReference.openRow=this;var a=this.controllerReference;a.canPerformActions=!a.openRow;this.canEdit=!1;this.isEditingInternal=!0;tIc(this)}};var tIc=function(a){a.parseResult=nIc(a.controllerReference.sloParseService,a.matcherText)},uIc=function(a,b,c){var d={};a=l(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=b(e),h=c(e);d[""+e]=new eIc(h,f)}return new fIc(d)};var z1=function(){};z1.\u0275fac=function(a){return new (a||z1)};z1.\u0275mod=cd({type:z1});z1.\u0275inj=Gc({imports:[RD,zy,qM]});var A1=function(){};A1.\u0275fac=function(a){return new (a||A1)};A1.\u0275mod=cd({type:A1});A1.\u0275inj=Gc({imports:[RD]});var B1=function(){};B1.\u0275fac=function(a){return new (a||B1)};B1.\u0275mod=cd({type:B1});B1.\u0275inj=Gc({imports:[RD,A1,DX,zy,QO,lM,aM,qM,bM,t1,z1]});var C1=function(a,b,c,d){Y.call(this);this.element=a;this.cdr=b;this.location=c;this.hotkeys=d;this.focusedIndex=0;this.slos=[]};V(C1,Y);C1.\u0275dir=Y.\u0275dir;g=C1.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=aJ(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(wp.editSlo.makeHref(a.sloId))};
C1.\u0275fac=function(a){return new (a||C1)(B(Rd),B(yF,2),B(NM),B($I))};
C1.\u0275cmp=p({type:C1,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Dg([yF]),Lf],decls:16,vars:1,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"],["class","bv2-resource-list-row","tabindex","0",3,"grid-focus","click","focus",4,"ngFor","ngForOf"],["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&&(F(0,"table",0)(1,"thead")(2,"tr",1),J(3,"th",2),F(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),Q(8," SLO name "),H()()()(),F(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),Q(13," Description "),H()()()()()(),F(14,"tbody"),C(15,wjb,7,7,"tr",6),H()());a&2&&(A(15),E("ngForOf",b.slos))},dependencies:[sv],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 D1=function(){};D1.\u0275fac=function(a){return new (a||D1)};D1.\u0275mod=cd({type:D1});D1.\u0275inj=Gc({imports:[RD]});var E1=function(a,b){this.log=a;this.dateFormatter=b},yIc=function(a,b){var c=z3a(b.addMask.paths),d=z3a(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},f=b.add;b=b.remove;for(var h=l(new Set([].concat(r(c),r(d)))),k=h.next();!k.done;k=h.next()){var q=k.value;k=b9b.get(q);if(q==="name"){var t=lq(d,q,b.name);q=lq(c,q,f.name);e.diffs.push(mq(k,t,q))}else if(q==="description")t=lq(d,q,b.description),q=lq(c,q,f.description),e.diffs.push(mq(k,t,q));else if(q==="parentId")t=
lq(d,q,String(b.parentId)),q=lq(c,q,String(f.parentId)),e.diffs.push(mq(k,t,q));else if(q==="elements"){var w=f.elements;t=A3a(d,q,b.elements.map(function(y){return xIc(y)}));q=A3a(c,q,w.map(function(y){return xIc(y)}));e.diffs.push({fieldName:k,diffType:"COLLECTION",diff:{removed:t,added:q}})}else a.log.error("Unsupported diff field.")}return e},xIc=function(a){var b=a.matcher,c=a9b.get(a.metric),d=Nib.get(a.dayType),e=[];a.businessDays>0&&e.push(a.businessDays+" day"+(a.businessDays>1?"s":""));
a.objective.seconds>0&&e.push(Gnc(a.objective.seconds*1E3));return'("'+b+'", '+c+") - "+(d+" days - "+e.join(", "))};E1.\u0275fac=function(a){return new (a||E1)(n(dD),n(XP))};E1.\u0275prov=Fc({token:E1,factory:E1.\u0275fac,providedIn:"root"});var F1=function(){};F1.\u0275fac=function(a){return new (a||F1)};F1.\u0275mod=cd({type:F1});F1.\u0275inj=Gc({imports:[RD,RH,VH]});var BIc=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=l(zIc);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"?mi(f):""}):e=typeof d==="string"?mi(d):"";this.templateAttributes[c]=e}b=l(AIc);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=l(a),b=a.next();!b.done;b=a.next())b=b.value.split(":"),
c=b.slice(1).join(":"),dq(c)||(this.templateCustomFields[b[0]]=c)},DIc=function(a){return Object.keys(a.templateCustomFields||{}).length!==0||CIc.some(function(b){return a.templateAttributes[b]!=null})},IIc=function(a,b,c){c!=null&&(EIc(a,c),FIc(a,b,c),GIc(b,c));c=l(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=l(d.value);d=e.next().value;e=e.next().value;HIc[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},FIc=function(a,b,c){b.customField==null&&(b.customField=
[]);for(var d={},e=l(b.customField),f=e.next();!f.done;f=e.next())f=f.value,d[f.customFieldId]=f;e=l(Object.entries(a.templateCustomFields));var h=e.next();for(f={};!h.done;f={customFieldId$jscomp$22:void 0},h=e.next()){var k=l(h.value);h=k.next().value;k=k.next().value;f.customFieldId$jscomp$22=ii(h);k={customFieldId:f.customFieldId$jscomp$22,value:k};h=a.getCustomFieldValue(k,c);d[f.customFieldId$jscomp$22]!=null?(f=b.customField.findIndex(function(q){return function(t){return t.customFieldId===
q.customFieldId$jscomp$22}}(f)),b.customField[f]=h):(b.customField.push(h),d[k.customFieldId]=h)}};
BIc.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=Jya(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=Kya(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 Jya(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 Kya(e)}).filter(function(e){return e!==null});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};BIc.prototype.getCustomFieldType=function(a,b){var c,d;return(d=(c=b[a.customFieldId])==null?void 0:c.type)!=null?d:""};
var EIc=function(a,b){a.templateCustomFields=qc(a.templateCustomFields,function(c,d){return!!b[d]})},GIc=function(a,b){if(a.customField!=null){a=l(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(k){return h.allowedValues.includes(k)}}(d)),
!c.repeatedEnumValue.values.length&&f&&(c.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):d.allowedValues.includes(c.enumValue)||(c.enumValue=f?e.typedDefaultValue.enumValue:"")}}}},zIc="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),AIc=["inProd"],CIc="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),G1={},HIc=(G1.cc=function(a,b){a.ccUsers=
Ajb(b,a.ccUsers||[])},G1.collaborators=function(a,b){a.collaboratorsUsers=Ajb(b,a.collaboratorsUsers||[])},G1.title=function(a,b){typeof b==="string"&&(a.title=b)},G1.assignee=function(a,b){zjb(b,function(c){a.assigneeUser=c})},G1.reporter=function(a,b){zjb(b,function(c){a.reporterUser=c})},G1.verifier=function(a,b){zjb(b,function(c){a.verifierUser=c})},G1.hotlistIds=function(a,b){if(b=xjb(b)){a.hotlistId||(a.hotlistId=[]);b=l(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},G1.blockingIssueIds=
function(a,b){if(b=xjb(b))a.blockingIssueId=b.map(String)},G1.blockedByIssueIds=function(a,b){if(b=xjb(b))a.blockedByIssueId=b.map(String)},G1.foundIn=function(a,b){typeof b==="string"&&(a.foundInVersion=b.split(","))},G1.targetedTo=function(a,b){typeof b==="string"&&(a.targetedToVersion=b.split(","))},G1.inProd=function(a,b){a.inProd=b==="true"},G1.priority=function(a,b){if(b=yjb(j$b,b))a.priority=ri(b)},G1.severity=function(a,b){if(b=yjb(m$b,b))a.severity=xra(b)},G1.type=function(a,b){if(b=yjb(l$b,
b))a.type=wra(b)},G1);var H1=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
H1.prototype.bulkEdit=function(a){var b=this,c,d,e,f,h,k,q,t,w,y,D,G,I;return ge(function(N){switch(N.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;f=c.actionType;if(f!=="ADD"&&f!=="REMOVE")throw Error("cf");h={};k=[];q=[];t=msa(e);w=l(t.reverse());y=w.next();case 2:if(y.done){N.jumpTo(4);break}D=y.value;he(N,5);return f==="ADD"?(G=D.map(function(S){return{targetIssueId:S,afterIssueId:void 0}}),ie(N,se(x8b(b.issueRelationshipApi,d,G)),8)):ie(N,se(y8b(b.issueRelationshipApi,d,D)),
8);case 8:return ie(N,b.issueApi.batchGetIssues(D).then(function(S){return S.map(function(W){return h[W.issueId]=W})}),11);case 11:Zt(N,3);break;case 5:I=le(N);if(!Ym(I))throw I;q.push(I);k.push.apply(k,r(D));case 3:y=w.next();N.jumpTo(2);break;case 4:return N.return({finishedIssues:h,notFinishedIssueIds:k,errors:q})}})};H1.\u0275fac=function(a){return new (a||H1)(n(VF),n(jC))};H1.\u0275prov=Fc({token:H1,factory:H1.\u0275fac,providedIn:"root"});var I1=function(a,b){Y.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};V(I1,Y);I1.\u0275dir=Y.\u0275dir;I1.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()}))};I1.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};I1.prototype.hasPreviousPage=function(){return this.history.length>1};
var J1=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("/")};I1.\u0275fac=function(a){return new (a||I1)(n(BF),n(NM))};I1.\u0275prov=Fc({token:I1,factory:I1.\u0275fac,providedIn:"root"});var K1=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},JIc=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&hu(d,"id=")||hu(d,"bugId="))d+=c;kJ(a.domSafe,d)}else{var e;a.bLocation.replaceUrl((e=d)!=null?e:b)}};K1.\u0275fac=function(a){return new (a||K1)(n(NM),n($H),n(jJ))};K1.\u0275prov=Fc({token:K1,factory:K1.\u0275fac,providedIn:"root"});var KIc={provide:$6b,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},LIc={provide:$6b,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var L1=function(a){this.activeSession=a};L1.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)};L1.\u0275fac=function(a){return new (a||L1)(n(as))};L1.\u0275prov=Fc({token:L1,factory:L1.\u0275fac,providedIn:"root"});var MIc={provide:HC,useClass:L1,multi:!0};var M1=function(a){this.http=a};V(M1,pA);g=M1.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=gea(c);c=(e=c)!=null?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(z(Bjb(b.responseConstructor)))};
M1.\u0275fac=function(a){return new (a||M1)(n(FC))};M1.\u0275prov=Fc({token:M1,factory:M1.\u0275fac,providedIn:"root"});var N1=function(a){this.jspbExecutor=a};V(N1,qA);N1.prototype.get=function(a){return se(this.jspbExecutor.get(a))};N1.prototype.delete=function(a){return se(this.jspbExecutor.delete(a))};N1.prototype.post=function(a){return se(this.jspbExecutor.post(a))};N1.prototype.put=function(a){return se(this.jspbExecutor.put(a))};N1.\u0275fac=function(a){return new (a||N1)(n(M1))};
N1.\u0275prov=Fc({token:N1,factory:N1.\u0275fac,providedIn:"root"});var O1=function(){};O1.\u0275fac=function(a){return new (a||O1)};O1.\u0275mod=cd({type:O1});O1.\u0275inj=Gc({providers:[{provide:pA,useClass:M1},{provide:qA,useClass:N1}],imports:[RD]});var P1=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new xf(1);this.accessCheckIsThinking$=new rn(!0);this.component$=this.providedComponentId$.pipe(Cf(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(Cf(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return KB(c.userAccess,"reader","components/"+d).then(function(e){return e},function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));
this.manageComponentLink="";this.isReady$=we([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(z(function(d){var e=l(d);d=e.next().value;e=e.next().value;return!d&&!e}),Bf(!1))};P1.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};P1.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};P1.\u0275fac=function(a){return new (a||P1)(B(gB),B(IB))};
P1.\u0275cmp=p({type:P1,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[rd],decls:6,vars:7,consts:[["notComponentReader",""],[3,"isReady"],[3,"href",4,"ngIf","ngIfElse"],[3,"href"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),T(1,"async"),C(2,Cjb,3,4,"a",2),T(3,"async"),C(4,Djb,2,1,"ng-template",null,0,Mg),H());a&2&&(a=M(5),E("isReady",U(1,3,b.isReady$)),A(2),E("ngIf",U(3,5,b.userIsComponentReader$))("ngIfElse",a))},dependencies:[tv,LR,yv],encapsulation:2});var Q1=function(a,b,c){this.documentationLinks=a;this.activeSession=b;this.loginRedirector=c;this.showIssueMetadataContainer=!1;this.isAnonymous=this.activeSession.isAnonymous();this.enableSignInAnonymousAccessDenied=ep(this.activeSession,"enableSignInAnonymousAccessDenied")};
da.Object.defineProperties(Q1.prototype,{issueMetadata:{configurable:!0,enumerable:!0,set:function(a){if(a){this.issueId=a.issueId;this.issueLastModified=Pi(a.modifiedTime);a.teamId&&a.teamId!==0&&(this.issueTeamId=String(a.teamId));if(a=a.issueState)this.issueType=si(a.type),this.issueStatus=ti[a.status],this.issuePriority=a.priority,this.issueSeverity=l2b[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=Iq(a.accessLimitLevel);this.showIssueMetadataContainer=!0}else this.showIssueMetadataContainer=
!1}}});Q1.\u0275fac=function(a){return new (a||Q1)(B(bH),B(as),B(R1))};
Q1.\u0275cmp=p({type:Q1,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&&(F(0,"div",2)(1,"h3",3),Q(2," Access is denied to this issue "),H(),C(3,Fjb,1,1,"ng-container")(4,Hjb,1,1,"ng-container"),H(),C(5,Kjb,40,13,"ng-template",null,0,Mg)(7,Mjb,3,1,"ng-template",null,1,Mg));a&2&&(A(3),$f(b.showIssueMetadataContainer?3:-1),A(),$f(b.isAnonymous?4:-1))},dependencies:[xv,P1,rO,WR,kC,Ex,Bv],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 R1=function(a){this.bLocation=a};R1.prototype.redirect=function(){var a=xc("/loginRedirect?continue="+encodeURIComponent(this.bLocation.getUrl())),b=window.location;a=yc(a);a!==void 0&&b.replace(a)};R1.\u0275fac=function(a){return new (a||R1)(n(NM))};R1.\u0275prov=Fc({token:R1,factory:R1.\u0275fac,providedIn:"root"});var S1=function(){};S1.\u0275fac=function(a){return new (a||S1)};S1.\u0275mod=cd({type:S1});S1.\u0275inj=Gc({imports:[RD,pT]});var T1=function(){};T1.\u0275fac=function(a){return new (a||T1)};T1.\u0275mod=cd({type:T1});T1.\u0275inj=Gc({imports:[RD,S1,cQ,nT,RH]});var NIc=Symbol("ef"),OIc=RegExp("today([+-]\\d+)?"),U1=function(a){this.ruleConfigService=a};
U1.prototype.build=function(a){if(a.customField)var b=a.customField.type==="DATE"?new V1(a,W1(this.ruleConfigService)):a.customField.type==="ENUM"?new PIc(a,W1(this.ruleConfigService)):a.customField.type==="REPEATED_ENUM"?new QIc(a,W1(this.ruleConfigService)):a.customField.type==="NUMERIC"?new X1(a,W1(this.ruleConfigService)):new Y1(a,W1(this.ruleConfigService));else b=a.label.field,b=W1(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||Z1)(a,W1(this.ruleConfigService));b[NIc](a);return b};
var wlb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};U1.\u0275fac=function(a){return new (a||U1)(n(a2))};U1.\u0275prov=Fc({token:U1,factory:U1.\u0275fac,providedIn:"root"});
var RIc=["OR","AND","NAND"],SIc=["OR","NAND"],TIc="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),UIc=["AND","OR","NAND"],VIc=["OR","LT","GT","LE","GE"],Z1=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};Z1.prototype[NIc]=function(a){this.initType(a);this.initValues(a)};
Z1.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]};Z1.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var WIc=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}};
Z1.prototype.toString=function(){var a=WIc(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=XIc(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var XIc=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,c!=null)?c:gi(b).toLowerCase()+(a.label.customFieldId||"")};Z1.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
Z1.prototype.getWidgetType=function(){return"default"};Z1.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};Z1.prototype.getLegalTypes=function(){return RIc};var YIc=[],b2=function(a,b){Z1.call(this,a,b);this.enumValues={}};V(b2,Z1);g=b2.prototype;g.getLegalTypes=function(){return SIc};g.getWidgetType=function(){return"enum"};
g.initValues=function(a){this.enumValues={};for(var b=l(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=l(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[Njb(b.value.simpleValues[0].value)]=!0};g.valuesToStrings=function(){return Object.keys(qc(this.enumValues,function(a){return a}))};g.getOptions=function(){return YIc};var ZIc=Lba().map(function(a){return{id:"p"+a,label:"P"+a}}),$Ic=function(a,b){b2.call(this,a,b)};V($Ic,b2);
$Ic.prototype.getOptions=function(){return ZIc};var aJc=Lba().map(function(a){return{id:"s"+a,label:"S"+a}}),bJc=function(a,b){b2.call(this,a,b)};V(bJc,b2);bJc.prototype.getOptions=function(){return aJc};
var cJc=[{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"}],dJc=function(a,b){b2.call(this,a,b)};V(dJc,b2);dJc.prototype.getOptions=function(){return cJc};
var eJc=[{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"}],fJc=function(a,b){b2.call(this,a,b)};V(fJc,b2);fJc.prototype.getOptions=function(){return eJc};
var gJc=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],hJc=function(a,b){b2.call(this,a,b)};V(hJc,b2);hJc.prototype.getOptions=function(){return gJc};var iJc=[{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"}],jJc=function(a,b){b2.call(this,a,b)};V(jJc,b2);jJc.prototype.getOptions=function(){return iJc};
var PIc=function(a,b){b2.call(this,a,b);this.allowedValues=[]};V(PIc,b2);PIc.prototype[NIc]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:Njb(b)}});b2.prototype[NIc].call(this,a)};PIc.prototype.valuesToStrings=function(){return Object.keys(qc(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};PIc.prototype.getOptions=function(){return this.allowedValues};
var QIc=function(a,b){Z1.call(this,a,b);this.allowedValues=[];var c,d;this.allowedValues=(d=(c=a.customField)==null?void 0:c.allowedValue)!=null?d:[]};V(QIc,Z1);QIc.prototype.getWidgetType=function(){return"repeated-enum"};QIc.prototype.getOptions=function(){return this.allowedValues};var Fr=function(a,b){Z1.call(this,a,b);this.csv=""};V(Fr,Z1);Fr.prototype.getWidgetType=function(){return"csv"};Fr.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};
Fr.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};var c2=function(a,b){Fr.call(this,a,b)};V(c2,Fr);c2.prototype.getWidgetType=function(){return"id"};c2.prototype.valuesToStrings=function(){return Fr.prototype.valuesToStrings.call(this).map(function(a){return a.toLowerCase()==="none"?"none":a.toLowerCase()==="any"?"any":String(ii(a))})};var kJc=function(a,b){Fr.call(this,a,b)};V(kJc,c2);kJc.prototype.getLegalTypes=function(){return SIc};
var d2=function(a,b){Fr.call(this,a,b)};V(d2,Fr);d2.prototype.getWidgetType=function(){return"user"};var e2=function(a,b){Fr.call(this,a,b)};V(e2,d2);e2.prototype.getLegalTypes=function(){return SIc};var V1=function(a,b){Z1.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};V(V1,Z1);var blb=function(a){return a&&typeof a==="string"?a:""};
V1.prototype.initType=function(a){Z1.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&(b.type==="RANGE"?this.type=a.negated?"NRANGE":"RANGE":hu(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};V1.prototype.getWidgetType=function(){return"date"};
V1.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=lJc(b),this.type==="RANGE"||this.type==="NRANGE")this.dateTo=lJc(a.values[0].simpleValues[1].value)}};
V1.prototype.valuesToStrings=function(){if(this.type==="DURATION"||this.type==="NDURATION"){var a=ii(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if(this.type==="RANGE"||this.type==="NRANGE"){a=this.dateFrom&&mJc(this.dateFrom)||(new hi).toIsoString(!0);var b=this.dateTo&&mJc(this.dateTo)||(new hi).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&mJc(this.dateFrom)||(new hi).toIsoString(!0)]};
var nJc=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},lJc=function(a){if(OIc.test(a))return a;var b=new Ri(2E3);a=mi(a);var c=a.indexOf("T")==-1?" ":"T";a=a.split(c);var d=a[0].match(fWb);if(d){var e=Number(d[2]),f=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var k=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new qv("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new qv("d",(d<=4?1-d:8-d)+
(Number(k)+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(hWb);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(gWb)){if(a){a=b.getYear();c=b.getMonth();k=b.getDate();d=Number(h[1]);e=Number(h[2])||0;f=Number(h[3])||0;var t=h[4]?Number(h[4])*1E3:0;(h=a>=0&&a<100)&&(a+=400);a=Date.UTC(a,c,k,d,e,f,t);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 nJc(c?b:null)},mJc=function(a){if(OIc.test(a))return a;a=a.split("/").map(Number);return(new hi(a[2],a[0]-1,a[1])).toIsoString(!0)};V1.prototype.getLegalTypes=function(){return TIc};var f2=function(a,b){Z1.call(this,a,b)};V(f2,Z1);f2.prototype.getWidgetType=function(){return"bool"};
f2.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"};f2.prototype.toString=function(){return XIc(this)+":"+(this.type==="OR")};f2.prototype.getLegalTypes=function(){return SIc};var g2=function(a,b){Z1.call(this,a,b)};V(g2,Z1);g2.prototype.getWidgetType=function(){return"boolwithall"};
g2.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")};g2.prototype.toString=function(){var a=XIc(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
g2.prototype.getLegalTypes=function(){return UIc};var Y1=function(a,b){Z1.call(this,a,b)};V(Y1,Z1);Y1.prototype.getWidgetType=function(){return"text"};Y1.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}})};Y1.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value.indexOf(" ")>-1?'"'+a.value+'"':a.value})};
var oJc=function(a,b){Z1.call(this,a,b)};V(oJc,Z1);oJc.prototype.getWidgetType=function(){return"component"};oJc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};hu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};oJc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var pJc=function(a,b){Z1.call(this,a,b)};V(pJc,Z1);pJc.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};hu(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};pJc.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var qJc=function(a,b){Z1.call(this,a,b)};V(qJc,Z1);qJc.prototype.getWidgetType=function(){return"tracker"};
var rJc=function(a,b){Z1.call(this,a,b)};V(rJc,pJc);rJc.prototype.getWidgetType=function(){return"team"};var sJc=function(a,b){Z1.call(this,a,b)};V(sJc,Z1);sJc.prototype.getWidgetType=function(){return"hotlist"};var tJc=function(a,b){Z1.call(this,a,b)};V(tJc,Z1);tJc.prototype.getWidgetType=function(){return"savedsearch"};var X1=function(a,b){Fr.call(this,a,b)};V(X1,Fr);X1.prototype.getWidgetType=function(){return"number"};X1.prototype.getLegalTypes=function(){return VIc};
var uJc=function(a,b){V1.call(this,a,b)};V(uJc,V1);uJc.prototype.initType=function(a){V1.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var h2={},vJc=(h2.ATTACHMENT={ruleCtor:Y1,name:"Attachment name"},h2.COMMENT={ruleCtor:Y1},h2.TITLE={ruleCtor:Y1},h2.ASSIGNEE={ruleCtor:e2},h2.MODIFIER={ruleCtor:d2},h2.REPORTER={ruleCtor:e2},h2.VERIFIER={ruleCtor:e2},h2.CC={ruleCtor:d2},h2.COLLABORATOR={ruleCtor:d2},h2.COMPONENT_ID={ruleCtor:oJc,name:"Component"},h2.TRACKER_ID={ruleCtor:qJc,name:"Tracker"},h2.TYPE={ruleCtor:dJc},h2.STATUS={ruleCtor:fJc},h2.PRIORITY={ruleCtor:$Ic},h2.SEVERITY={ruleCtor:bJc},h2.BLOCKED_BY_ID={ruleCtor:c2},h2.BLOCKING_ID=
{ruleCtor:c2},h2.PARENT_ID={ruleCtor:c2},h2.CANONICAL_ID={ruleCtor:kJc},h2.ID={ruleCtor:kJc},h2.FOUND_IN={ruleCtor:Fr},h2.TARGETED_TO={ruleCtor:Fr},h2.VERIFIED_IN={ruleCtor:Fr},h2.CL={ruleCtor:Fr,name:"Changelists"},h2.MODIFIED={ruleCtor:V1},h2.RESOLVED={ruleCtor:uJc},h2.CREATED={ruleCtor:V1},h2.VERIFIED={ruleCtor:uJc},h2.DELETION_TIME={ruleCtor:V1,name:"Deletion time"},h2.SAVED_SEARCH_ID={ruleCtor:tJc,name:"Saved search"},h2.HOTLIST_ID={ruleCtor:sJc,name:"Hotlist"},h2.STAR={ruleCtor:f2,name:"Starred"},
h2.MUTE={ruleCtor:f2,name:"Muted"},h2.VOTE={ruleCtor:f2,name:"Upvoted by me"},h2.IN_PROD={ruleCtor:f2,name:"In production"},h2.CC_COUNT={ruleCtor:X1},h2.COLLABORATOR_COUNT={ruleCtor:X1},h2.DUPLICATE_COUNT={ruleCtor:X1},h2.VOTE_COUNT={ruleCtor:X1},h2.COMMENT_COUNT={ruleCtor:X1},h2.DESCENDANT_COUNT={ruleCtor:X1},h2.OPEN_DESCENDANT_COUNT={ruleCtor:X1},h2.ONE_DAY_VIEW_COUNT={ruleCtor:X1},h2.SEVEN_DAY_VIEW_COUNT={ruleCtor:X1},h2.THIRTY_DAY_VIEW_COUNT={ruleCtor:X1},h2.LAST_MODIFIER={ruleCtor:e2,name:"Last Modified By"},
h2.COMMENTER={ruleCtor:d2},h2.LAST_COMMENTER={ruleCtor:e2},h2.ARCHIVED={ruleCtor:g2},h2.IS_DELETED={ruleCtor:f2,name:"Deleted",queryLabel:"deleted"},h2.DELETION_REASON={ruleCtor:hJc,name:"Deletion reason"},h2.ACCESS_LEVEL={ruleCtor:jJc,name:"Issue access level"},h2._TEXT_={ruleCtor:Y1,queryLabel:"",name:"All fields"},h2),wJc=Object.assign({},vJc,{EFFORT_LABEL:{ruleCtor:Fr},MENTION:{ruleCtor:d2},MIN_SLO_TARGET:{ruleCtor:V1,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:Fr,name:"Postmortems"},
TEAM_ID:{ruleCtor:rJc,name:"Team"}}),a2=function(a){this.activeSession=a},W1=function(a){return a.activeSession.isExternalSession()?vJc:wJc};a2.\u0275fac=function(a){return new (a||a2)(n(as))};a2.\u0275prov=Fc({token:a2,factory:a2.\u0275fac,providedIn:"root"});var xJc=function(a){this.internalArray_=m(a)};V(xJc,X);g=xJc.prototype;g.getField=function(){return Kj(this,1,0)};g.clearField=function(){return ro(this,1)};g.getCustomFieldId_asLegacyNumberOrString=function(){return wu(this,2)};g.getCustomFieldId_asString=function(){return Al(this,2)};g.setCustomFieldId=function(a){return Sl(this,2,a)};g.hasCustomFieldId=function(){return zl(this,2)!=null};var Tjb=function(a){this.internalArray_=m(a)};V(Tjb,X);g=Tjb.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return Ol(this,1,a)};g.hasType=function(){return wl(this,1)};g.getValue=function(){return Zh(this,2)};g.setValue=function(a){return Sj(this,2,a)};g.hasValue=function(){return vl(this,2)};var i2=function(a){this.internalArray_=m(a)};V(i2,X);g=i2.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return Ol(this,1,a)};g.hasType=function(){return wl(this,1)};g.getValuesList=function(a){return Yj(this,i2,2,Ai(a))};g.setValuesList=function(a){return Dk(this,2,a)};g.setValues=function(a,b){pu(this,2,i2,a,b)};i2.repeatedFields_=[2,3];var akb=function(a){this.internalArray_=m(a)};V(akb,X);g=akb.prototype;g.getType=function(){return Kj(this,1,0)};g.setType=function(a){return Ol(this,1,a)};g.hasType=function(){return wl(this,1)};g.getValuesList=function(a){return Yj(this,i2,2,Ai(a))};g.setValuesList=function(a){return Dk(this,2,a)};g.setValues=function(a,b){pu(this,2,i2,a,b)};g.getLabel=function(){return Gj(this,xJc,4)};g.setLabel=function(a){return Pj(this,xJc,4,a)};g.hasLabel=function(){return Ak(this,xJc,4)};
akb.repeatedFields_=[2];var Ar=function(a){this.internalArray_=m(a,0,Ar.messageId)};V(Ar,X);Ar.prototype.getType=function(){return Kj(this,1,0)};Ar.prototype.setType=function(a){return Ol(this,1,a)};Ar.prototype.hasType=function(){return wl(this,1)};Ar.repeatedFields_=[2];Ar.messageId="b.QueryBuilderResponse";var Yjb=function(a){this.internalArray_=m(a,0,Yjb.messageId)};V(Yjb,X);Yjb.messageId="b.SyntaxErrorResponse";var yJc=function(a){this.internalArray_=m(a,0,yJc.messageId)};V(yJc,X);yJc.prototype.getKindCase=function(){return xj(this,Zjb)};var Zjb=[1,2];yJc.messageId="b.QueryBuilderResponseOrError";var j2=function(a){this.executor=a},zJc=function(a,b){b=al(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:yJc}).then(bkb).then(function(c){var d;(d=c.syntaxErrorResponse)!=null?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(Ojb)});return c})};j2.\u0275fac=function(a){return new (a||j2)(n(qA))};j2.\u0275prov=Fc({token:j2,factory:j2.\u0275fac,providedIn:"root"});var k2=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new xF;this.onEmptyQuery=new xF;this.searchQuery$=new yf;this.teamSuggestions$=this.searchQuery$.pipe(pf(300),sf(),Cf(function(c){return GG(b.teamsService,c)}),z(function(c){return c.map(function(d){return new dkb(d.pathIds,d.pathNames,d.description)})}))};k2.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
k2.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};k2.prototype.displayFn=function(a){return a?a.name:""};k2.prototype.ngAfterViewInit=function(){};k2.\u0275fac=function(a){return new (a||k2)(B(EG))};
k2.\u0275cmp=p({type:k2,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&rg(gR,7);if(a&2){var c;vg(c=wg())&&(b.autocompleteTrigger=c.first)}},inputs:{teamSelected:"teamSelected",placeholder:"placeholder",panelWidth:"panelWidth",disabled:"disabled"},outputs:{onTeamSelect:"onTeamSelect",onEmptyQuery:"onEmptyQuery"},decls:7,vars:10,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"],["class","team-search-result",3,"value",4,"ngFor","ngForOf"],[1,"team-search-result",3,"value"],[4,"ngFor","ngForOf"],[1,"description",3,"matTooltip"],[1,"path-names",3,"click","matTooltip"],["class","path-names-separator",4,"ngIf"],[1,"path-names-separator"]],template:function(a,b){if(a&1){var c=u();F(0,"div",2)(1,"input",3,0);O("click",function(){v(c);var d=M(2);return x(b.search(d.value))})("input",
function(){v(c);var d=M(2);return x(b.search(d.value))});H();F(3,"mat-autocomplete",4,1);O("optionSelected",function(d){v(c);return x(b.updateSelectionOnChange(d))});C(5,gkb,6,8,"mat-option",5);T(6,"async");H()()}a&2&&(a=M(4),A(),lg("placeholder",b.placeholder),E("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",a),Nf("aria-disabled",b.disabled),A(2),E("panelWidth",b.panelWidth)("displayWith",b.displayFn),A(2),E("ngForOf",U(6,8,b.teamSuggestions$)))},dependencies:[sv,tv,eR,fR,xx,
gR,KI,TI,Bh,dy,ly,yv,Fv],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 dkb=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 AJc(a.slice(0,e+1),b.slice(0,e+1))})},AJc=function(a,b){this.pathIds=a;this.pathNames=b;this.name=b.length>0?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var l2=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new xF;this.searchQuery$=new yf;this.trackerSuggestions$=this.searchQuery$.pipe(pf(300),sf(),Cf(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),z(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};l2.prototype.ngAfterViewInit=function(){};l2.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
l2.prototype.search=function(a){this.searchQuery$.next(a)};l2.\u0275fac=function(a){return new (a||l2)(B(NG))};
l2.\u0275cmp=p({type:l2,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&rg(gR,7);if(a&2){var c;vg(c=wg())&&(b.autocompleteTrigger=c.first)}},inputs:{selectedTracker:"selectedTracker",placeholder:"placeholder",disabled:"disabled"},outputs:{onTrackerSelect:"onTrackerSelect"},decls:6,vars:9,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"],["class","tracker-search-result",3,"value",4,"ngFor","ngForOf"],[1,"tracker-search-result",3,"value"],[1,"tracker-name"]],template:function(a,b){if(a&1){var c=u();F(0,"input",2,0);O("click",function(){v(c);var d=M(1);return x(b.search(d.value))})("input",function(){v(c);var d=M(1);return x(b.search(d.value))});H();F(2,"mat-autocomplete",3,1);O("optionSelected",function(d){v(c);return x(b.updateSelectionOnChange(d))});C(4,hkb,3,2,"mat-option",4);
T(5,"async");H()}a&2&&(a=M(3),E("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",a),Nf("aria-disabled",b.disabled),A(2),E("displayWith",b.displayFn),A(2),E("ngForOf",U(5,7,b.trackerSuggestions$)))},dependencies:[sv,eR,fR,xx,gR,Bh,dy,ly,yv],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 m2=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N){Y.call(this);this.analytics=a;this.customFieldsApi=b;this.savedSearchApi=c;this.hotlistApi=d;this.trackerFridge=e;this.issueSearchResources=f;this.activeSession=h;this.elementRef=k;this.errorHandler=q;this.componentActions=t;this.teamsService=w;this.searchRuleConfigService=y;this.searchRuleFactory=D;this.cdr=G;this.trackerHelpers=I;this.currentUserBookmarksFridge=N;this.isTrackerSearchEnabled=!1;this.availableLabels=[];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;this.trackByIndex=function(S){return S};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=BJc;this.globalTypeLabels=CJc;this.state="INIT"};V(m2,Y);m2.\u0275dir=Y.\u0275dir;
var DJc=function(a){var b=[];pc(W1(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,iFa(d)]))},a);b.sort(function(c,d){return Iba(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};m2.prototype.schedule=function(a){this.subscriptions.add(Ee.schedule(a))};m2.prototype.ngOnInit=function(){this.cdr.detectChanges()};
m2.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=DJc(this))};
var GJc=function(a,b){a.reset();b?EJc(a,b):(a.expressions=FJc.map(function(c){return wlb(a.searchRuleFactory,c)}),a.state="SUCCESS");se(AE(a.currentUserBookmarksFridge)).then(function(c){a.userSavedSearches=c;c=l(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});se(zE(a.currentUserBookmarksFridge)).then(function(c){a.userHotlists=c;c=l(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()},EJc=function(a,b){zJc(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 HJc(a,d)});return Promise.all(c).then(function(d){if(d.every(function(f){return!!f})){a.state="SUCCESS";d=l(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()})},HJc=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?IJc(a,b.label.customFieldId).then(function(c){b.customField=
c;return JJc(a,b)}):Promise.resolve(JJc(a,b))},IJc=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},JJc=function(a,b){b=b.type==="ERR"?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;KJc(a,b);return b},KJc=function(a,b){switch(b.label.field){case "COMPONENT_ID":b=l(b.values);for(var c=b.next();!c.done;c=b.next())c=yk(c.value.value),a.components[c]||a.fetchComponent(c);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(b=
l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.trackers[c]||LJc(a,c);break;case "TEAM_ID":if(a.sessionIsInternal)for(b=l(b.values),c=b.next();!c.done;c=b.next())c=c.value.value,a.teams[c]||MJc(a,c);break;case "SAVED_SEARCH_ID":b=l(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=l(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})}};m2.prototype.fetchComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){var d;Np(b.activeSession)&&c.trackerId!==((d=b.activeSession.getTracker())==null?void 0:d.trackerId)||(b.components[a]=c)})};
var LJc=function(a,b){a.trackerFridge.watch(b).pipe(Df(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},MJc=function(a,b){GG(a.teamsService,b).pipe(lf(function(){return pe([])}),Df(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:""}})},NJc=function(a){var b=a.expressionType==="AND"?" ":" | ";return JSb(a.expressions.map(function(c){return c.label?
c.toString():""}),U_b).join(b)};m2.prototype.getState=function(){return this.state};m2.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var zlb=function(a,b){var c=a.expressions[b],d=c.label;d.field==="CUSTOM_FIELD"?c.isPendingCustomField=!0:(a.expressions[b]=wlb(a.searchRuleFactory,d.field),xlb(a,a.expressions[b]));a.cdr.detectChanges()},xlb=function(a,b){var c=b.getWidgetType();c==="component"||c==="savedsearch"||c==="hotlist"||c==="text"||c==="team"||c==="tracker"||c==="repeatedenum"?Dr(a,b):c==="date"&&(b.dateFrom||(b.dateFrom=nJc(new hi)),b.dateTo||(b.dateTo=nJc(new hi)))};
m2.prototype.removeExpression=function(a){Qa(this.expressions,a);this.cdr.detectChanges()};var Dr=function(a,b){var c={value:""};b.values.push(c);b.label.field==="COMPONENT_ID"?Fkb(a,c):b.label.field==="TRACKER_ID"?Mkb(a,c):b.label.field==="TEAM_ID"?Tkb(a,c):b.label.field==="CUSTOM_FIELD"?nkb(a,c):Er(a,c);a.cdr.detectChanges()},Cr=function(a,b,c){Qa(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()};
m2.prototype.getDateValue=function(a){var b,c=a.match(OIc);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 Er=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},Fkb=function(a,b){Er(a,b);a.componentUnderEdit=b.value?di(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},nkb=function(a,b){Er(a,b);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-adv-search-custom-repeated-enum-chip input").focus()})},Mkb=function(a,b){Er(a,b);a.trackerUnderEdit=b.value?di(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},
Tkb=function(a,b){Er(a,b);a.teamUnderEdit=b.value?di(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},Br=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},Vkb=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;Br(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};
m2.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]};m2.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||String(a):""};m2.prototype.getComponentPath=function(a){if(!a)return"";var b=Gr(this.trackerHelpers,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var CJc={AND:"Match all (AND)",OR:"Match any (OR)"},BJc={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"}},FJc=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];m2.\u0275fac=function(a){return new (a||m2)(B(CF),B(FE),B(vE),B(jE),B(NG),B(j2),B(as),B(Rd),B(eD),B(PV),B(EG),B(a2),B(U1),B(yF,2),B(HR),B(xE))};
m2.\u0275cmp=p({type:m2,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Dg([yF]),Lf,rd],decls:1,vars:1,consts:[["newExpressionMenu","matMenu"],["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title-container"],[1,"bv2-adv-search-title"],["appearance","outline","subscriptSizing","dynamic",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[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",3,"click",4,"ngFor","ngForOf"],["appearance","outline","subscriptSizing","dynamic"],["color","primary",1,"bv2-adv-search-join-type",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModelChange",
"selectionChange","ngModel"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],["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-rule-content"],["class","bv2-adv-search-chip-container",4,"ngIf"],["class","bv2-adv-search-enum-rule",
4,"ngIf"],[4,"ngIf"],[1,"bv2-adv-search-chip-container"],[4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],["class","bv2-adv-search-chip bv2-adv-search-custom-repeated-enum-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-custom-repeated-enum-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["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-adv-search-chip-content"],[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-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[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"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],[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"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[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"],["class","bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"onTrackerSelect","selectedTracker"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",4,"ngIf"],[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"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline","class","bv2-adv-search-bookmark-item-form-field","subscriptSizing","dynamic",4,"ngIf"],["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"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&C(0,Clb,12,6,"div",
1);a&2&&E("ngIf",b.getState()==="SUCCESS")},dependencies:[sv,tv,RC,iO,IX,Bh,dy,wy,ly,VY,kC,Ex,kM,Jy,JI,NI,LI,OI,mM,nM,xx,oJ,pJ,k2,l2,UV,uX,Dv,rI],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%]{--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;margin-right:5px;text-align:center;display:inline-block}.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 n2=function(){};n2.\u0275fac=function(a){return new (a||n2)};n2.\u0275mod=cd({type:n2});n2.\u0275inj=Gc({imports:[RD,iR,jM,bM,zy]});var o2=function(){};o2.\u0275fac=function(a){return new (a||o2)};o2.\u0275mod=cd({type:o2});o2.\u0275inj=Gc({imports:[RD,iR,jM,bM,zy]});var p2=function(){};p2.\u0275fac=function(a){return new (a||p2)};p2.\u0275mod=cd({type:p2});p2.\u0275inj=Gc({imports:[RD,jO,JX,zy,$Y,RH,lM,zW,aM,qM,jM,AI,n2,o2,XV,vX]});var q2=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},Dlb=function(a){Eo(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};q2.\u0275fac=function(a){return new (a||q2)(B(jJ))};
q2.\u0275cmp=p({type:q2,selectors:[["b-whats-new-button"]],inputs:{buttonLabel:"buttonLabel",menuMode:"menuMode",alertMode:"alertMode"},decls:2,vars:2,consts:[["mat-icon-button","","aria-label","Open release notes in a new tab",3,"matTooltip","click",4,"ngIf"],["mat-menu-item","","aria-label","Open release notes in a new tab",3,"click",4,"ngIf"],["mat-icon-button","","aria-label","Open release notes in a new tab",3,"click","matTooltip"],[3,"svgIcon"],["mat-menu-item","","aria-label","Open release notes in a new tab",
3,"click"]],template:function(a,b){a&1&&C(0,Elb,3,3,"button",0)(1,Flb,2,1,"button",1);a&2&&(E("ngIf",!b.menuMode),A(),E("ngIf",b.menuMode))},dependencies:[tv,RC,kC,Gx,LI,KI,TI],styles:["[_nghost-%COMP%] { display: flex; }"]});var OJc=function(){};OJc.\u0275fac=function(a){return new (a||OJc)};
OJc.\u0275cmp=p({type:OJc,selectors:[["b-feature-stage-label"]],inputs:{featureStage:"featureStage"},decls:3,vars:3,consts:[[3,"ngSwitch"],["class","badged teamfood",4,"ngSwitchCase"],["class","badged early-access",4,"ngSwitchCase"],[1,"badged","teamfood"],[1,"badged","early-access"]],template:function(a,b){a&1&&(K(0,0),C(1,Glb,1,0,"div",1)(2,Hlb,1,0,"div",2),L());a&2&&(E("ngSwitch",b.featureStage),A(),E("ngSwitchCase","TEAM_FOOD"),A(),E("ngSwitchCase","EARLY_ACCESS"))},dependencies:[uv,vv],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var r2=function(a,b,c){Y.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.ThemePreferencesDensity=y1b;this.density="COMFORTABLE";this.enableWhatsNewDialog=ep(a,"enableWhatsNewDialog");this.enableBeap=ep(a,"enableBeap")};V(r2,Y);r2.\u0275dir=Y.\u0275dir;g=r2.prototype;g.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(Df(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})};r2.\u0275fac=function(a){return new (a||r2)(B(as),B(iD),B(PG))};
r2.\u0275cmp=p({type:r2,selectors:[["b-app-settings-menu"]],features:[Lf],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",4,"ngIf"],[4,"ngIf"],["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=u();
F(0,"button",1);J(1,"mat-icon",2);H();F(2,"mat-menu",null,0)(4,"div",3);Q(5,"Display Density");H();F(6,"button",4);O("click",function(){v(c);return x(b.setDensity(b.ThemePreferencesDensity.COMFORTABLE))});F(7,"span",5);J(8,"mat-icon",6);H();Q(9," Comfortable ");H();F(10,"button",7);O("click",function(){v(c);return x(b.setDensity(b.ThemePreferencesDensity.COZY))});F(11,"span",5);J(12,"mat-icon",6);H();Q(13," Cozy ");H();F(14,"button",8);O("click",function(){v(c);return x(b.setDensity(b.ThemePreferencesDensity.COMPACT))});
F(15,"span",5);J(16,"mat-icon",6);H();Q(17," Compact ");H();J(18,"mat-divider");F(19,"button",9);O("click",function(d){v(c);return x(b.browseComponents(d))});Q(20,"Browse components");H();F(21,"button",9);O("click",function(d){v(c);return x(b.manageHotlists(d))});Q(22,"Manage hotlists");H();C(23,Ilb,2,0,"button",10);F(24,"button",9);O("click",function(d){v(c);b.appsEvents.topBarEvents.openSettings.next({newTab:d.ctrlKey||d.metaKey});return x()});Q(25,"Settings");H();C(26,Jlb,3,0,"a",11)(27,Klb,3,
1,"ng-container",12);H()}a&2&&(a=M(3),E("disabled",b.session.isAnonymous())("matMenuTriggerFor",a),A(6),Wf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),Nf("aria-checked",b.density===b.ThemePreferencesDensity.COMFORTABLE),A(4),Wf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COZY),Nf("aria-checked",b.density===b.ThemePreferencesDensity.COZY),A(4),Wf("b-menu-item-checked",b.density===b.ThemePreferencesDensity.COMPACT),Nf("aria-checked",b.density===b.ThemePreferencesDensity.COMPACT),
A(12),E("ngIf",b.enableBeap),A(),E("ngIf",b.enableWhatsNewDialog))},dependencies:[tv,RC,JI,NI,LI,OI,kC,Gx,TO,KI,TI,q2,mW,OJc],encapsulation:2,changeDetection:0});var s2=function(a){this.theme=a;this.isDark=!1;this.iconName="dark-mode-filled"};s2.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();PJc(this)};var PJc=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"dark-mode-filled"};s2.\u0275fac=function(a){return new (a||s2)(B(aW))};
s2.\u0275cmp=p({type:s2,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&&(F(0,"button",0),O("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&acc(c.clientStreamzService,"toggleDarkmode",!c.clientDarkmodeSubject.getValue());Quc(c,!c.clientDarkmodeSubject.getValue());PJc(b)}),
J(1,"mat-icon",1),H());a&2&&(A(),E("svgIcon",b.iconName))},dependencies:[RC,kC,Gx,KI,TI],encapsulation:2});var t2=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=ep(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=ep(a,"majorReleaseNotesUpdated")};t2.prototype.openFeedbackDialog=function(){this.userFeedback.startFeedback()};t2.\u0275fac=function(a){return new (a||t2)(B(as),B(cW),B(jJ),B(bH))};
t2.\u0275cmp=p({type:t2,selectors:[["b-app-actions"]],decls:6,vars:1,consts:[["id","whatsNewButton",3,"alertMode",4,"ngIf"],["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"],["id","whatsNewButton",3,"alertMode"],["mat-icon-button","","matTooltip","Send feedback","aria-label","send feedback",1,"feedback-button",3,"click"],
["svgIcon","feedback-outline"]],template:function(a,b){a&1&&(J(0,"theme-change-btn"),C(1,Llb,1,1,"b-whats-new-button",0)(2,Mlb,2,0,"button",1),F(3,"button",2),O("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)}),J(4,"mat-icon",3),H(),J(5,"b-app-settings-menu"));a&2&&(A(),E("ngIf",b.enableWhatsNewDialog))},dependencies:[tv,RC,kC,Gx,KI,TI,q2,mW,s2,
r2],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 Olb=function(a){return[a]},Plb=function(){return[]},u2=function(a){this.activeSession=a;this.clickMenu=new xF;this.showMenu=!1;this.clickLogo=new xF;this.chips=[]};u2.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};u2.\u0275fac=function(a){return new (a||u2)(B(as))};
u2.\u0275cmp=p({type:u2,selectors:[["app-logo"]],inputs:{imgSrc:"imgSrc",imgSrcDark:"imgSrcDark",href:"href",name:"name",chips:"chips"},outputs:{clickMenu:"clickMenu",clickLogo:"clickLogo"},ngContentSelectors:["*"],decls:8,vars:6,consts:[["mat-icon-button","","class","menu","aria-label","Expand/Collapse Navigation",3,"click",4,"ngIf"],[3,"click"],["alt","",1,"logo","light",3,"src"],["alt","",1,"logo","dark",3,"src"],["class","b-chip",3,"ngClass",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label",
"Expand/Collapse Navigation",1,"menu",3,"click"],["svgIcon","menu-18px"],[1,"b-chip",3,"ngClass"]],template:function(a,b){a&1&&(ig(),C(0,Nlb,2,0,"button",0),F(1,"a",1),O("click",function(){return b.clickLogo.emit()}),J(2,"img",2)(3,"img",3),F(4,"h1"),Q(5),H()(),jg(6),C(7,Qlb,2,5,"output",4));a&2&&(E("ngIf",b.showMenu),A(),Nf("href",b.href?b.href:void 0,cf),A(),E("src",b.imgSrc,cf),A(),E("src",b.imgSrcDark||b.imgSrc,cf),A(2),yg(b.name),A(2),E("ngForOf",b.chips))},dependencies:[rv,sv,tv,RC,kC,Gx],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 v2=function(a,b){this.events=a;this.imageUrls=b;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};v2.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"})};
v2.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};v2.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:Bc(this.frontendAccessMode,"unknown frontend access mode.")}};
da.Object.defineProperties(v2.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"}}});v2.\u0275fac=function(a){return new (a||v2)(B(iD),B(sR))};
v2.\u0275cmp=p({type:v2,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",href:"href"},features:[rd],decls:1,vars:5,consts:[[3,"clickMenu","name","href","chips","imgSrc","imgSrcDark"]],template:function(a,b){a&1&&(F(0,"app-logo",0),O("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),H());a&2&&E("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark)},dependencies:[u2],
encapsulation:2,changeDetection:0});var w2=function(){this.isActive=!1;this.optionClicked=new xF};w2.prototype.ngOnInit=function(){};w2.prototype.onClick=function(){this.optionClicked.emit(this.index)};w2.\u0275fac=function(a){return new (a||w2)};
w2.\u0275cmp=p({type:w2,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&O("click",function(){return b.onClick()});a&2&&Wf("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&&(ig(),F(0,"div",0),jg(1),H())},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 x2=function(a,b,c){this.ref=a;this.hostElement=b;this.trackerHelpers=c;this.items=[];this.header=null;this.itemSelected=new xF;this.activeItemChanged=new xF;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component customField team tracker".split(" ")};x2.prototype.ngOnChanges=function(a){a.items&&(this.items.length>0?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};x2.prototype.ngAfterViewInit=function(){};
var qmb=function(a){var b=P(3);Bmb(a);b.itemSelected.emit(a)};x2.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(),QJc(this))};
x2.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(),QJc(this))};var RJc=function(a){a.activeItemIndex!=null&&a.itemSelected.emit(a.items[a.activeItemIndex])};x2.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var SJc=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}},QJc=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&DNb(b.nativeElement,a.hostElement.nativeElement)},Bmb=function(a){Jn("search","autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};x2.\u0275fac=function(a){return new (a||x2)(B(yF,2),B(Rd),B(HR))};
x2.\u0275cmp=p({type:x2,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&rg(w2,5,Rd);if(a&2){var c;vg(c=wg())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Dg([yF]),rd],decls:3,vars:2,consts:[["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["class","header gmat-caption",
4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["role","option",3,"optionClicked","index","isActive"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"click","title"],[1,"item-description","item-de-emphasized"]],
template:function(a,b){a&1&&(C(0,kmb,7,6,"div",6),F(1,"div",7),C(2,Cmb,10,13,"b-app-search-auto-complete-option",8),H());a&2&&(E("ngIf",b.header&&b.header.type),A(2),E("ngForOf",b.items))},dependencies:[sv,tv,GQ,KR,w2,zv],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 TJc=["box"],UJc=["initialFocus"],VJc=["finalFocus"],y2=function(a,b,c){this.documentationLinks=a;this.appSearchState=b;this.activeSession=c;this.placeholder="";this.isSearchDisabled=!1;this.autoCompleteItems=[];this.autoCompleteHeader=null;this.onAdvancedSearchOpen=new xF;this.onAdvancedSearchClose=new xF;this.onAdvancedSearchSubmit=new xF;this.onSaveSearch=new xF;this.dropdownStatus="closed";this.searchName="";this.destroyed$=new yf;this.autoCompleteItemSelected$=new yf;this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+
"/guides/search-editor";this.currentQuery$=this.appSearchState.queryState$.pipe(z(function(d){return d.query}));this.isAnonymous=this.activeSession.isAnonymous()};
y2.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(Ff(this.currentQuery$),Df(this.destroyed$)).subscribe(function(b){var c=l(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()})};
y2.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(He(function(b){return!b.setViaInteraction}),Df(this.destroyed$)).subscribe(function(b){var c=b.query;b=b.cursorPosition;a.inputBox.nativeElement.value=c;b!=null&&(c=a.inputBox.nativeElement,dkc(c)&&(c.selectionStart=b,c.selectionEnd=b))})};y2.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var WJc=function(a){a.appSearchState.searchTriggered$.next("keyboard")},XJc=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
y2.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!z2(this))return;YJc(this);break;case "ArrowUp":if(!z2(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!z2(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!z2(this)){XJc(this,this.inputBox.nativeElement.value);return}RJc(this.acList);break;case "ArrowLeft":XJc(this,this.inputBox.nativeElement.value);return;case "Enter":z2(this)?this.acList.activeItemIndex!=null?RJc(this.acList):
WJc(this):WJc(this);break;default:return}a.preventDefault();a.stopPropagation()};y2.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();ZJc(this)};y2.prototype.getCursorPosition=function(){var a=ekc(this.inputBox.nativeElement,!0)[0];if(a===ekc(this.inputBox.nativeElement,!1)[1])return a};
var YJc=function(a){a.dropdownStatus==="auto_complete"&&(a.dropdownStatus="closed")},ZJc=function(a){a.dropdownStatus==="advanced_search"&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},z2=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteItems.length>0},$Jc=function(a){return a.dropdownStatus==="auto_complete"&&a.autoCompleteHeader!=null},aKc=function(a){return a.dropdownStatus==="advanced_search"};
y2.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",ZJc(this))};var bKc=function(a,b){b.shiftKey&&b.key==="Tab"&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},Dmb=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};y2.\u0275fac=function(a){return new (a||y2)(B(bH),B(xQ),B(as))};
y2.\u0275cmp=p({type:y2,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(rg(x2,7),rg(TJc,5),rg(UJc,7,Rd),rg(VJc,7));if(a&2){var c;vg(c=wg())&&(b.acList=c.first);vg(c=wg())&&(b.inputBox=c.first);vg(c=wg())&&(b.advancedSearchInitialFocus=c.first);vg(c=wg())&&(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"],["class","save-search-container",4,"ngIf"],[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=u();ig();F(0,"div",3);O("clickOutside",function(){v(c);YJc(b);return x()});F(1,"div",4)(2,"button",5);O("click",function(){v(c);return x(WJc(b))});J(3,"mat-icon",6);H();F(4,"textarea",7,0);O("keydown",function(d){v(c);return x(b.handleKeydown(d))})("input",
function(){v(c);var d=M(5);return x(XJc(b,d.value))})("click",function(){v(c);var d=M(5);return x(XJc(b,d.value))})("focus",function(){v(c);b.dropdownStatus="auto_complete";return x()});H();F(6,"button",8);O("click",function(){v(c);b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit();return x()});J(7,"mat-icon",9);H()();F(8,"aside",10)(9,"b-app-search-auto-complete-list",11);O("itemSelected",function(d){v(c);return x(b.autoCompleteItemSelected$.next(d))});H();F(10,"div",12)(11,"div",13)(12,
"button",14,1);O("keydown",function(d){v(c);return x(bKc(b,d))})("click",function(){v(c);return x(ZJc(b))});J(14,"mat-icon",15);H()();F(15,"div",16);jg(16);H();F(17,"div",17)(18,"button",18);O("click",function(){v(c);return x(b.submitAdvancedSearch())});Q(19," Search ");H();F(20,"a",19);Q(21,"Search help ");J(22,"mat-icon",20);H();C(23,Emb,5,2,"div",21);H()()()()}a&2&&(Wf("dropdown-opened",z2(b)||$Jc(b)||aKc(b)),A(),Wf("hidden",aKc(b)),A(3),E("placeholder",b.placeholder),Nf("aria-activedescendant",
SJc(b.acList))("aria-expanded",z2(b)||$Jc(b)),A(4),Wf("advanced-search-open",aKc(b)),A(),Wf("hidden",!(z2(b)||$Jc(b))),E("items",b.autoCompleteItems)("header",b.autoCompleteHeader),A(),Wf("hidden",!aKc(b)),A(2),E("disabled",b.isSearchDisabled),A(6),E("disabled",b.isSearchDisabled),A(2),Nf("href",b.searchHelpLink,cf),A(3),E("ngIf",!b.isAnonymous))},dependencies:[tv,RC,Sw,kC,Ex,Gx,KI,TI,Bh,dy,ly,hJ,Ny,x2],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 cKc=function(a){this.activeSession=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new xF;this.searchBoxOnAdvancedSearchClose=new xF;this.searchBoxOnAdvancedSearchSubmit=new xF;this.searchBoxOnSaveSearch=new xF;this.currentTracker=this.activeSession.getTracker()},dKc=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()})};cKc.\u0275fac=function(a){return new (a||cKc)(B(as))};
cKc.\u0275cmp=p({type:cKc,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&&(ig(),
J(0,"b-app-logo",0),F(1,"div",1)(2,"button",2),O("click",function(){return dKc()})("keydown.enter",function(){return dKc()}),Q(3," Skip Navigation "),H()(),F(4,"b-app-search-box",3),O("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)}),
jg(5),H(),J(6,"b-app-actions"));a&2&&(E("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",b.currentTracker),A(4),E("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[kC,Ex,v2,t2,y2],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 A2=function(){};A2.\u0275fac=function(a){return new (a||A2)};A2.\u0275mod=cd({type:A2});A2.\u0275inj=Gc({imports:[RD,VH,RH,qQ]});var B2=function(){};B2.\u0275fac=function(a){return new (a||B2)};B2.\u0275mod=cd({type:B2});B2.\u0275inj=Gc({imports:[RD,RH,aM,bM]});var C2=function(){};C2.\u0275fac=function(a){return new (a||C2)};C2.\u0275mod=cd({type:C2});C2.\u0275inj=Gc({imports:[RD,RH,bM]});var D2=function(){};D2.\u0275fac=function(a){return new (a||D2)};D2.\u0275mod=cd({type:D2});D2.\u0275inj=Gc({imports:[RD]});var E2=function(){};E2.\u0275fac=function(a){return new (a||E2)};E2.\u0275mod=cd({type:E2});E2.\u0275inj=Gc({providers:[aW]});var F2=function(){};F2.\u0275fac=function(a){return new (a||F2)};F2.\u0275mod=cd({type:F2});F2.\u0275inj=Gc({imports:[RD,RH,bM,E2]});var G2=function(){};G2.\u0275fac=function(a){return new (a||G2)};G2.\u0275mod=cd({type:G2});G2.\u0275inj=Gc({imports:[RD,aM,RH,cP,bM,Xw,zy,iJ,B2,oW,C2,LQ,Py,D2,F2,A2,oT]});var H2=function(){};H2.\u0275fac=function(a){return new (a||H2)};H2.\u0275mod=cd({type:H2});H2.\u0275inj=Gc({imports:[RD,RH,VH]});var I2=function(){};I2.\u0275fac=function(a){return new (a||I2)};I2.\u0275mod=cd({type:I2});I2.\u0275inj=Gc({imports:[RD,zy,RH,zW,lM,VH,XV]});var J2=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 xF;this.selectedChange=new xF;this.cardTitleChange=new xF;this.onSaveButtonClicked=new xF;this.onCancelButtonClicked=
new xF;this.isInheritedChange=new xF;this.isExpanded=!1};J2.prototype.expand=function(){this.isExpanded=!0};J2.prototype.collapse=function(){this.isExpanded=!1};J2.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};J2.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};J2.\u0275fac=function(a){return new (a||J2)};
J2.\u0275cmp=p({type:J2,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:11,vars:14,consts:[["expandedCardHeader",""],[1,"carded"],[1,"flex-kids-x","flex-cross-axis-centered","card-header"],[1,"collapsible-card-checkbox",3,"change","disabled",
"checked","aria-label"],[4,"ngIf","ngIfElse"],["mat-icon-button","",3,"click","ngClass"],["svgIcon","chevron-left",4,"ngIf"],["svgIcon","arrow-down",4,"ngIf"],["class","expanded-card-container",4,"ngIf"],["class","expanded-card-actions",4,"ngIf"],[1,"card-title","heading-s"],["svgIcon","chevron-left"],["svgIcon","arrow-down"],["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"],["class","type-dropdown","appearance","outline",4,"ngIf"],["appearance","outline",1,"type-dropdown"],[3,"valueChange","selectionChange","disabled","value"],[4,"ngIf"],["class","ee-config-option",3,"value",4,"ngFor","ngForOf"],[1,"icon-s",3,"svgIcon"],[1,"ee-config-option",3,"value"],["class","icon-s",3,"svgIcon",4,"ngIf"],[1,"expanded-card-container"],[1,"expanded-card-actions"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-button",
"","color","primary",1,"cancel-button",3,"click","disabled"],["mat-icon-button","","aria-label","Delete","class","delete-button",3,"disabled",4,"ngIf"],[3,"vertical",4,"ngIf"],["labelPosition","before",3,"disabled",4,"ngIf"],["class","inherited-toggle","labelPosition","before",3,"checked","disabled","matTooltip","matTooltipDisabled","change",4,"ngIf"],["mat-icon-button","","aria-label","Delete",1,"delete-button",3,"disabled"],["svgIcon","delete",1,"icon-m"],[3,"vertical"],["labelPosition","before",
3,"disabled"],["labelPosition","before",1,"inherited-toggle",3,"change","checked","disabled","matTooltip","matTooltipDisabled"]],template:function(a,b){if(a&1){var c=u();ig();F(0,"div",1)(1,"div",2)(2,"mat-checkbox",3);O("change",function(d){v(c);b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected);return x()});H();C(3,Fmb,3,3,"ng-container",4);F(4,"button",5);O("click",function(){v(c);b.isExpanded?b.collapse():b.expand();return x()});C(5,Gmb,1,0,"mat-icon",6)(6,Hmb,1,0,"mat-icon",7);
H();C(7,Mmb,3,7,"ng-template",null,0,Mg);H();C(9,Nmb,2,0,"div",8)(10,Smb,9,6,"div",9);H()}a&2&&(a=M(8),Nf("aria-expanded",b.isExpanded),A(2),Wf("expanded-checkbox",b.isExpanded),E("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle),A(),E("ngIf",!b.isExpanded)("ngIfElse",a),A(),E("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle"),Nf("aria-label",b.isExpanded?"Collapse editor":"Expand editor"),A(),E("ngIf",b.isExpanded),A(),E("ngIf",!b.isExpanded),A(3),E("ngIf",b.isExpanded),
A(),E("ngIf",b.isExpanded))},dependencies:[rv,sv,tv,RC,Bh,dy,vy,wy,ly,oJ,pJ,kC,Ex,Gx,uO,vO,mM,Jy,Dy,nM,oM,xx,kM,TO,yW,Qy,KI,TI],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 K2=function(){};K2.\u0275fac=function(a){return new (a||K2)};K2.\u0275mod=cd({type:K2});K2.\u0275inj=Gc({imports:[RD,zy,jM,RH,xO,qM,cP,zW,bM]});var eKc=function(a,b){this.dialogRef=a;this.options=[];b&&b.sharedFields.length>0&&(this.selected=b.sharedFields[0],this.options=b.sharedFields)};eKc.\u0275fac=function(a){return new (a||eKc)(B(cH),B(iH))};
eKc.\u0275cmp=p({type:eKc,selectors:[["activate-shared-field-dialog"]],decls:12,vars:3,consts:[["empty",""],["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],["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){if(a&1){var c=
u();F(0,"h1",1);Q(1,"Activate a shared field");H();F(2,"div",2);C(3,Umb,4,1,"mat-form-field",3)(4,Vmb,1,0,"ng-template",null,0,Mg)(6,Wmb,4,0,"div",4);H();F(7,"footer",5)(8,"button",6);O("click",function(){v(c);return x(b.dialogRef.close())});Q(9,"Cancel");H();F(10,"button",7);O("click",function(){v(c);return x(b.dialogRef.close(b.selected))});Q(11,"Confirm");H()()}a&2&&(a=M(5),A(3),E("ngIf",b.options.length>0)("ngIfElse",a),A(3),E("ngIf",b.options.length>0))},dependencies:[tv,kC,Ex,mM,Jy,nM,xx,kM,
mH,oH,nH],encapsulation:2});var L2=function(a){this.internalArray_=m(a,0,L2.messageId)};V(L2,X);L2.prototype.getIt=function(){return Gj(this,hl,4)};L2.prototype.setIt=function(a){return Pj(this,hl,4,a)};L2.messageId="b.FieldConfig";var M2=function(a){this.internalArray_=m(a)};V(M2,X);g=M2.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Ij(this,1,a)};g.setFieldId=function(a){return pu(this,2,Wj,a)};M2.repeatedFields_=[2];var N2=function(a){this.internalArray_=m(a,0,N2.messageId)};V(N2,X);N2.prototype.getIt=function(){return Gj(this,M2,2)};N2.prototype.setIt=function(a){return Pj(this,M2,2,a)};N2.messageId="b.ReorderFieldsRequest";var O2=function(a){this.executor=a};O2.prototype.updateCustomFieldState=function(a,b,c){var d={customFieldId:b};var e=new L2;var f=e.setIt;d=(new hl).setFieldId(Mta(d));c=uj(d,4,B1b[c]);c=jk(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:L2}).pipe(z(Xmb))};
O2.prototype.reorder=function(a,b){var c=new N2,d=c.setIt;var e=(new M2).setComponentId(a);b=b.map(Mta);e=Dk(e,2,b);c=d.call(c,e);return this.executor.post({url:"action/components/"+a+"/reorder",body:c,responseConstructor:null})};O2.\u0275fac=function(a){return new (a||O2)(n(pA))};O2.\u0275prov=Fc({token:O2,factory:O2.\u0275fac,providedIn:"root"});var fKc=function(a){this.internalArray_=m(a)};V(fKc,X);g=fKc.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Ij(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getCustomFieldId_asString=function(){return xu(this,2)};g.setCustomFieldId=function(a){return Ij(this,2,a)};var gKc=function(a){this.internalArray_=m(a)};V(gKc,X);g=gKc.prototype;g.getComponentId=function(){return Jj(this,1)};g.getComponentId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getComponentId_asString=function(){return xu(this,1)};g.setComponentId=function(a){return Ij(this,1,a)};g.getCustomFieldId_asLegacyNumberOrString=function(){return Jj(this,2)};g.getCustomFieldId_asString=function(){return xu(this,2)};g.setCustomFieldId=function(a){return Ij(this,2,a)};var P2=function(a){this.internalArray_=m(a,0,P2.messageId)};V(P2,X);P2.prototype.getIt=function(){return Gj(this,fKc,1)};P2.prototype.setIt=function(a){return Pj(this,fKc,1,a)};P2.messageId="b.AddSharedCustomFieldToComponentRequest";var Q2=function(a){this.internalArray_=m(a,0,Q2.messageId)};V(Q2,X);Q2.prototype.getIt=function(){return Gj(this,gKc,1)};Q2.prototype.setIt=function(a){return Pj(this,gKc,1,a)};Q2.messageId="b.RemoveSharedCustomFieldFromComponentRequest";var R2=function(a){this.executor=a};R2.prototype.add=function(a,b){var c="/action/components/"+a+"/add_shared_custom_field";a=(new P2).setIt((new fKc).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};R2.prototype.remove=function(a,b){var c="/action/components/"+a+"/remove_shared_custom_field";a=(new Q2).setIt((new gKc).setComponentId(a).setCustomFieldId(b));return this.executor.post({url:c,body:a,responseConstructor:null})};
R2.\u0275fac=function(a){return new (a||R2)(n(qA))};R2.\u0275prov=Fc({token:R2,factory:R2.\u0275fac,providedIn:"root"});var hKc=["fieldStateMenu"],anb=function(a){return{type:a}},iKc=["SILENT","MINOR","MAJOR"],jKc=[{customFieldId:1049928,name:"Start Date"},{customFieldId:1049953,name:"End Date"},{customFieldId:1049954,name:"Risk"},{customFieldId:1255458,name:"Commitment Level"}],kKc=[{customFieldId:209963,name:"Start Date"},{customFieldId:209989,name:"End Date"},{customFieldId:210015,name:"Risk"},{customFieldId:207778,name:"Commitment Level"}],S2=function(a,b,c,d,e,f,h,k,q,t,w,y,D){Y.call(this);var G=this;this.customFieldsApi=
a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=f;this.fieldConfigService=h;this.sharedCustomFieldApi=k;this.documentationLinks=q;this.paths=t;this.confirmationDialog=w;this.appEvents=y;this.dialog=D;this.ROUTES=wp;this.FieldType=fP;this.ListFieldType=ixc;this.getSingleEditFieldType=iMa;this.getListFieldType=n6a;this.isRepeated=Gta;this.typeChoices=["TEXT","DATE","ENUM","NUMERIC"];this.secondaryTypes=["Single","Multiple"];this.customFields=[];this.inheritedCustomFields=
[];this.sharedFields=[];this.componentIdsToNames={};this.isLoading=!1;this.editableField=null;this.allowedValues=[];this.originalEditableFieldValue=null;this.msgFieldStateTip="Whether the field is visible in this component";this.significanceChoices=iKc;this.componentId=ii(this.routeParams.componentId);this.subscriptions.add(cS(b,function(){return G.hasUnsavedChanges()},!0))};V(S2,Y);S2.\u0275dir=Y.\u0275dir;S2.prototype.ngOnInit=function(){this.loadCustomFields()};
S2.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};
S2.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||Npc(this.checkBeforeExit))this.editableField=di(this.customFields[a]),this.originalEditableFieldValue=di(this.editableField),this.serverError=null,this.setType(this.editableField.type),enb(this,this.editableField.allowedValue)};
var qnb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:Lh("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)}})};
S2.prototype.doDelete=function(a){var b=this;Xp(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");Xp(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
S2.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=Zm(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)};
S2.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,f){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(Df(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 k,
q;(k=d.fieldStateMenus)==null||(q=k.get(c))==null||q.focus()})}).then(function(){e(void 0)})},function(h){d.serverError=Zm(h);d.isLoading=!1;f(h)})})};S2.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var hnb=function(a,b){var c=a.editableField.type,d=c==="TEXT"&&ei(b)?b:void 0,e=c==="DATE"&&b&&Iya(b)?b:void 0,f=c==="ENUM"&&ei(b)?b:void 0,h=c==="NUMERIC"&&jra(b)?b:void 0,k=c==="REPEATED_TEXT"&&fi(b)?{values:b}:void 0,q;if(q=c==="REPEATED_DATE")q=Array.isArray(b)&&b.every(Iya);q=q?{values:b}:void 0;var t=c==="REPEATED_ENUM"&&fi(b)?{values:b}:void 0;b=c==="REPEATED_NUMERIC"&&kra(b)?{values:b}:void 0;a.editableField.typedDefaultValue={customFieldId:a.editableField.customFieldId,textValue:d,dateValue:e,
enumValue:f,numericValue:h,repeatedTextValue:k,repeatedDateValue:q,repeatedEnumValue:t,repeatedNumericValue:b}};
S2.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 enb=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}}):[]};S2.prototype.hasUnsavedChanges=function(){return this.editableField&&!ci(this.editableField,this.originalEditableFieldValue)?!0:!1};
S2.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(k,q){return zr(k.name,q.name)};b.customFields=e.filter(function(k){return b.componentId===k.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(k){return b.componentId!==k.componentId&&!k.shared}).sort(c);b.sharedFields=e.filter(function(k){return b.componentId!==k.componentId&&k.shared});b.appEvents.customFieldsModified.next(e)})};var wnb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};
S2.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};var inb=function(a){var b;return(a=(b=a.editableField)==null?void 0:b.typedDefaultValue)?Rm(a):null};S2.prototype.getListFieldValues=function(){var a,b=(a=this.editableField)==null?void 0:a.typedDefaultValue,c,d;return(d=(c=b?Rm(b):null)==null?void 0:c.values)!=null?d:null};S2.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
var Gnb=function(a){var b={sharedFields:Hnb(a)};dH(a.dialog.open(eKc,{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()})})},Bnb=function(a,b){a.confirmationDialog.open({title:"Deactivate shared field",content:Lh("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()})}})},Hnb=function(a){var b=b===void 0?km():b;if(!Ji())return[];b=b?jKc:kKc;var c=a.sharedFields.map(function(d){return d.customFieldId});return b.filter(function(d){return!c.includes(d.customFieldId)})};S2.\u0275fac=function(a){return new (a||S2)(B(FE),B(bS),B(cD),B(CF),B($H),B(PV),B(O2),B(R2),B(bH),B(BP),B(rH),B(iD),B(jH))};
S2.\u0275cmp=p({type:S2,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&rg(hKc,5);if(a&2){var c;vg(c=wg())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[Lf,rd],decls:4,vars:3,consts:[["typeHelp",""],["enumMenu","matMenu"],["secondaryMenu","matMenu"],["significanceHelp",""],["significanceMenu","matMenu"],["card","onedevHovercard"],["cardBody",""],["fieldStateMenu",""],[1,"edit-resource-panel",
"edit-component-field-parent"],["class","edit-custom-field-panel",4,"ngIf"],["class","custom-fields-loader",4,"ngIf"],[4,"ngIf"],[1,"edit-custom-field-panel"],["class","bv2-validation-error-banner",4,"ngIf"],["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",4,"ngFor","ngForOf"],["matMenuContent",""],["class","edit-field",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-default-label",4,"ngIf"],["aria-labelledby","field-default-label",3,"name","type","tooltip","value","choices","showEnumTitle","disabled","truncate","clearable","valueChange",4,"ngIf"],["class","bv2-component-custom-field-label","id","field-repeated-default-label",4,"ngIf"],["aria-labelledby","field-repeated-default-label",3,"defaultLineCount",
"type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate","valuesChange",4,"ngIf"],["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",3,"click",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary","type","button",3,"click","disabled"],["mat-stroked-button","","type","button",3,"click"],[1,"bv2-validation-error-banner"],["mat-menu-item","",3,"matMenuTriggerFor",
"matMenuTriggerData"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["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"],["id","field-default-label",1,"bv2-component-custom-field-label"],["aria-labelledby","field-default-label",3,"valueChange","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,"valuesChange","defaultLineCount","type","tooltip","values","enumChoices","isDefaultOrAllowedValues","listFieldDisabled","truncate"],["mat-menu-item","","type","button",3,"click"],[1,"custom-fields-loader"],[3,"large"],[1,"custom-fields-table"],[3,"ngClass",4,"ngFor","ngForOf"],["class","edit-button-row",4,"ngIf"],[3,"ngClass"],
[3,"customFieldValue"],["class","action-buttons",4,"ngIf"],[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","fieldStateChange",4,"ngIf"],[3,"onedevIsHovercardReady","componentId"],[3,"fieldStateChange","fieldName","fieldState","enabledOnParent",
"disabled","matTooltip"],["class","enabled-field",4,"ngFor","ngForOf"],[1,"enabled-field"],["mat-stroked-button","",3,"click","disabled","matTooltip"],["routerLink","./","fragment","fieldOrdering",1,"keep-underline"],[1,"edit-button-row"],["mat-raised-button","","color","primary",3,"click"],["mat-flat-button","",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"div",8),C(1,nnb,68,32,"div",9)(2,onb,2,1,"div",10)(3,Jnb,28,9,"div",11),H());a&2&&(A(),E("ngIf",b.editableField&&!b.isLoading),A(),
E("ngIf",b.isLoading),A(),E("ngIf",!b.isLoading))},dependencies:[rv,sv,tv,JD,my,Bh,dy,ey,vy,ly,jy,EX,eP,OO,i1,xJ,yJ,DJ,zJ,JW,KI,TI,JI,NI,LI,MI,OI,kC,Ex,pZ,KX,pQ,oI,nI,qI],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 T2=function(){};T2.\u0275fac=function(a){return new (a||T2)};T2.\u0275mod=cd({type:T2});T2.\u0275inj=Gc({imports:[RD,zy,FX,gP,QO,j1,VL,NW,bM,aM,RH,qM,qZ,LX,AI,rQ,VH]});var U2=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new xF;this.addRow=new xF;this.optionsChange=new xF};U2.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};U2.prototype.drop=function(a){rq(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};U2.\u0275fac=function(a){return new (a||U2)};
U2.\u0275cmp=p({type:U2,selectors:[["b-config-grid"]],inputs:{options:"options",disabled:"disabled"},outputs:{removeAtIndex:"removeAtIndex",addRow:"addRow",optionsChange:"optionsChange"},decls:11,vars:7,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","",4,"ngFor","ngForOf"],["mat-button","","class","add-row-button",3,"click",4,"ngIf"],["cdkDrag",""],[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","",3,"click",4,"ngIf"],["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&&(F(0,"div",2)(1,"div",3)(2,"span",4),Q(3," Dropdown value "),H()(),F(4,"div",5)(5,"span",6),Q(6," Average days "),H(),J(7,"mat-icon",7),H()(),F(8,"div",8),O("cdkDropListDropped",function(c){return b.drop(c)}),C(9,Lnb,12,13,"div",9),H(),C(10,Mnb,2,0,"button",10));a&2&&(A(2),Wf("muted",b.disabled),A(3),Wf("muted",b.disabled),A(2),E("matTooltip","All estimated effort types map to an average number of days."),A(2),E("ngForOf",b.options),A(),E("ngIf",!b.disabled))},dependencies:[sv,tv,RC,yW,Qy,Jy,kM,
kC,Ex,Gx,KI,TI,CX,BX,yX],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 V2=function(){this.disabled=!1;this.valueChange=new xF};V2.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};V2.\u0275fac=function(a){return new (a||V2)};
V2.\u0275cmp=p({type:V2,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=u();F(0,"div",1)(1,"div",2)(2,"span",3);Q(3," Time ");H();F(4,"span",4);Q(5,"1");H()();F(6,"div",2)(7,"div",5)(8,"span",6);Q(9," Average days ");H();J(10,"mat-icon",7);H();
F(11,"mat-form-field",8)(12,"input",9,0);O("change",function(d){v(c);return x(b.onValueChange(d))});H()()()()}a&2&&(A(2),Wf("muted",b.disabled),A(6),Wf("muted",b.disabled),A(2),E("matTooltip","All estimated effort types map to an average number of days."),A(),E("appearance","outline"),A(),E("disabled",b.disabled)("value",b.value))},dependencies:[RC,yW,Qy,Jy,kM,KI,TI],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 X2=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new xF;this.configurationOptions=[lKc,mKc,W2];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=T1b;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=ep(this.activeSession,"enableAggregationRules")};
X2.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=W2)};X2.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=di(this.effortSpec),this.setValues(this.effortSpec))};
X2.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=W2;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(k){return{label:k.label,value:k.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 nKc=function(a){var b,c,d;if(((b=a.effortSpec)==null?0:b.enumSpec)&&!a.selectedEffortConfig||((c=a.selectedEffortConfig)==null?void 0:c.displayText)===lKc.displayText||((d=a.selectedEffortConfig)==null?void 0:d.displayText)===mKc.displayText)return"enum";var e;return((e=a.selectedEffortConfig)==null?void 0:e.displayText)===W2.displayText?"numeric":"empty"};X2.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
X2.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=l(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 oKc=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};X2.\u0275fac=function(a){return new (a||X2)(B(as))};
X2.\u0275cmp=p({type:X2,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[rd],decls:8,vars:14,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,"ngSwitch"],[4,"ngSwitchCase"],["class","margin-top",4,"ngIf"],[4,"ngTemplateOutlet"],[3,"valueChange","disabled","value"],[1,"margin-top"],["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=u();F(0,"b-collapsible-card",1);Cg("cardTitleChange",function(d){v(c);Bg(b.name,d)||(b.name=d);return x(d)});O("dropdownSelectionChanged",
function(d){v(c);b.selectedEffortConfig=d;d.displayText===lKc.displayText?(b.enumSpecOptions=[].concat(r(pKc)),b.name="Story points"):d.displayText===mKc.displayText?(b.enumSpecOptions=[].concat(r(qKc)),b.name="T-shirt sizes"):d.displayText===W2.displayText&&(b.numericSpecMultiplier=1,b.name="Days");b.estimatedEffortFieldEnabled=!0;return x()})("onSaveButtonClicked",function(){v(c);if(b.estimatedEffortFieldEnabled){var d={name:b.name,inherit:b.inherit};b.enableAggregationRules&&(d.aggregationType=
b.selectedAggregationRule);b.originalEffortSpec&&b.originalEffortSpec.customFieldId!==0&&(d.customFieldId=b.originalEffortSpec.customFieldId);var e;if(((e=b.selectedEffortConfig)==null?void 0:e.displayText)===W2.displayText)d.numericSpec={multiplier:b.numericSpecMultiplier};else if(b.enumSpecOptions.length>0){e=[];for(var f=l(b.enumSpecOptions),h=f.next();!h.done;h=f.next())h=h.value,h.label&&h.value!==null&&e.push({label:h.label,value:h.value});d.enumSpec={options:e}}b.updateEffortSpec.emit(d)}else b.updateEffortSpec.emit({name:"",
inherit:!1});return x()})("selectedChange",function(d){v(c);b.estimatedEffortFieldEnabled=d;b.estimatedEffortFieldEnabled||oKc(b);return x()})("onCancelButtonClicked",function(){v(c);b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,oKc(b));return x()})("isInheritedChange",function(d){v(c);(d=d.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=
b.parentEffortSpec,b.effortSpec||oKc(b)):b.effortSpec&&(b.setValues({}),oKc(b));b.inherit=d;return x()});F(1,"div",2);C(2,Onb,2,1,"ng-container",3)(3,Pnb,2,2,"ng-container",3)(4,Qnb,1,0,"ng-container",3);H();C(5,Rnb,23,13,"div",4);H();C(6,Snb,1,2,"ng-template",null,0,Mg)}a&2&&(Ag("cardTitle",b.name),E("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),A(),E("ngSwitch",nKc(b)),A(),E("ngSwitchCase","enum"),A(),E("ngSwitchCase","numeric"),A(),E("ngSwitchCase","empty"),A(),E("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[tv,xv,uv,vv,RC,Jy,kM,kC,Hx,J2,KI,TI,mM,nM,oM,xx,U2,V2,Y2]},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 pKc=[{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}],qKc=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],lKc={displayText:"Story points",icon:"story-point-24px"},mKc={displayText:"T-shirt sizes",icon:"t-shirt-24px"},W2={displayText:"Time",icon:"time-24px"},Y2=function(){};
Y2.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};Y2.\u0275fac=function(a){return new (a||Y2)};Y2.\u0275pipe=fd({name:"aggregationRuleText",type:Y2,pure:!0});var rKc=function(){this.disabled=!1;this.updateComponent=new xF};rKc.\u0275fac=function(a){return new (a||rKc)};
rKc.\u0275cmp=p({type:rKc,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&&(F(0,"div",0)(1,"div",1),Q(2,"Once activated, standard fields appear in the right panel of all issues."),H(),F(3,"b-estimated-effort-config",
2),O("updateEffortSpec",function(c){b.updateComponent.emit(c)}),H()());a&2&&(A(3),E("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[X2],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var Z2=function(){};Z2.\u0275fac=function(a){return new (a||Z2)};Z2.\u0275mod=cd({type:Z2});Z2.\u0275inj=Gc({imports:[RD,zW,RH,jM,K2,bM,qM,DX]});var a3=function(){};a3.\u0275fac=function(a){return new (a||a3)};a3.\u0275mod=cd({type:a3});a3.\u0275inj=Gc({imports:[RD,K2,Z2]});var b3=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new xF;this.inherit=!1;this.selectedTeam$=new yf;this.teamIdChanged$=new xf(1);this.placeholder$=this.teamIdChanged$.pipe(z(function(c){return c==="0"?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),Bf(""));this.teamFromId$=this.teamIdChanged$.pipe(Cf(function(c){return c==="0"?pe(new dkb([c],
[""],"")):FG(b.teamsService,c).pipe(z(function(d){return new dkb([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=Ge(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(Cf(function(c){return c==="0"?pe("MISSING"):b.teamsService.getTeam(c).pipe(z(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
b3.prototype.updateSelectionOnChange=function(a){Jn("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);sKc(this)};var sKc=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};b3.prototype.ngOnInit=function(){Object.assign({},this.model);sKc(this)};var Wnb=function(a){return a.model.id&&a.model.id!=="0"};
b3.prototype.getMomaTeamLink=function(){return Wnb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};b3.\u0275fac=function(a){return new (a||b3)(B(EG))};
b3.\u0275cmp=p({type:b3,selectors:[["b-component-team-picker"]],inputs:{parentModel:"parentModel",model:"model",anchorTarget:"anchorTarget",isAdmin:"isAdmin",isTopLevel:"isTopLevel",useInternalLink:"useInternalLink"},outputs:{modelChange:"modelChange"},decls:13,vars:13,consts:[["externalLink",""],[4,"ngIf"],["class","edit-field",4,"ngIf"],[1,"edit-field","component-team-id-select"],["for","component-team-id"],["id","component-team-id","panelWidth","479px",3,"onTeamSelect","onEmptyQuery","placeholder",
"disabled","teamSelected"],[4,"ngIf","ngIfElse"],["class","team-warning",4,"ngIf"],[1,"team-warning"],[3,"warningType","messageOnly"],[1,"edit-field"],[3,"change","disabled","checked"],["mat-icon-button","","class","small","aria-label","Go to Team page.","matTooltip","Go to Team page.",3,"routerLink","target","click",4,"ngIf"],["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",
"","class","small","target","_blank","aria-label","Go to Moma Team page.","matTooltip","Go to Moma Team page.",3,"click",4,"ngIf"],["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){if(a&1){var c=u();F(0,"div");C(1,Unb,2,1,"ng-container",1);T(2,"async");C(3,Vnb,3,2,"div",2);F(4,"div",3)(5,"label",4);Q(6,"Team selection");H();F(7,"b-team-picker",5);T(8,"async");T(9,"async");O("onTeamSelect",
function(d){v(c);return x(b.updateSelectionOnChange(d))})("onEmptyQuery",function(){v(c);b.model.id="0";b.modelChange.emit(b.model);sKc(b);return x()});H();C(10,Ynb,2,1,"ng-container",6);H()();C(11,$nb,1,1,"ng-template",null,0,Mg)}a&2&&(a=M(12),A(),E("ngIf",U(2,7,b.warningType$)),A(2),E("ngIf",!b.isTopLevel),A(4),E("placeholder",U(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",U(9,11,b.displayedTeam$)),A(3),E("ngIf",b.useInternalLink)("ngIfElse",a))},dependencies:[tv,
RC,JD,oJ,pJ,KI,TI,k2,Q_,kC,Hx,yv],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 c3=function(){};c3.\u0275fac=function(a){return new (a||c3)};c3.\u0275mod=cd({type:c3});c3.\u0275inj=Gc({imports:[RD,iR,jM,bM,n2,M0,zy,RH]});var d3=function(){};d3.\u0275fac=function(a){return new (a||d3)};d3.\u0275mod=cd({type:d3});d3.\u0275inj=Gc({imports:[RD,dP,VH,K0]});var e3=function(){};e3.\u0275fac=function(a){return new (a||e3)};e3.\u0275mod=cd({type:e3});e3.\u0275inj=Gc({imports:[RD,zy,RH,VH,zW,lM,DW]});var f3=function(){};f3.\u0275fac=function(a){return new (a||f3)};f3.\u0275mod=cd({type:f3});f3.\u0275inj=Gc({imports:[RD,zy,RH,zW,lM,VH]});var g3=function(a,b,c){this.data=a;this.dialogRef=b;this.liveAnnouncer=c;this.originalFields=[];this.fields=[];this.fieldOrdering="FIELD_ORDERING_UNSPECIFIED";this.grabbed=this.hasChanges=!1;this.originalFields=a.fields.concat();this.fields=a.fields.concat();this.fieldOrdering=a.orderingCustomized},tKc=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};g3.prototype.drop=function(a){rq(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var aob=function(a,b){return b>0?(rq(a.fields,b,b-1),a.detectChanges(),!0):!1},bob=function(a,b){return b<a.fields.length-1?(rq(a.fields,b,b+1),a.detectChanges(),!0):!1};g3.prototype.trackByFn=function(){return-1};g3.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.")};
g3.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();uKc(this,b);break;case "Tab":this.grabbed&&uKc(this,b);break;case "ArrowUp":vKc(this,a);break;case "ArrowDown":vKc(this,a)}};
var uKc=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."))},vKc=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&a.grabbedIndex!==void 0){if(b.key==="ArrowUp"){if(aob(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else bob(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."))}}};g3.prototype.detectChanges=function(){this.hasChanges=!ci(this.fields,this.originalFields)};g3.\u0275fac=function(a){return new (a||g3)(B(iH),B(cH),B(iw))};
g3.\u0275cmp=p({type:g3,selectors:[["b-field-reorder-dialog"]],decls:14,vars:3,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",3,"keydown","focus",4,"ngFor","ngForOf","ngForTrackBy"],["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&&
(F(0,"div",0)(1,"div",1)(2,"h1",2),Q(3," Reorder custom fields "),H(),F(4,"button",3),O("click",function(){return tKc(b)}),J(5,"mat-icon",4),H()()(),F(6,"div",5)(7,"ol",6),O("cdkDropListDropped",function(c){return b.drop(c)}),C(8,cob,9,7,"li",7),H()(),F(9,"div",8)(10,"button",9),O("click",function(){return b.dialogRef.close()}),Q(11," Cancel "),H(),F(12,"button",10),O("click",function(){return b.dialogRef.close(b.fields)}),Q(13," Save "),H()());a&2&&(A(8),E("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),
A(4),E("disabled",b.fieldOrdering==="CUSTOMIZED"&&!b.hasChanges))},dependencies:[sv,RC,kC,Ex,Gx,mH,oH,nH,CX,BX,yX,KI,TI],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 h3=function(a,b,c,d,e){this.matDialog=a;this.confirmationDialog=b;this.fieldConfigService=c;this.analytics=d;this.butterBar=e;this.fields=[];this.isAdmin=!1;this.onReload=new xF;this.displayedColumn=["index","name","type","required","customFieldId"]},qob=function(a){return dH(a.matDialog.open(g3,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&wKc(a,b)})},rob=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:Lh("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()}})},wKc=function(a,b){a.analytics.trackEvent("fieldOrdering","reorderFields");var c=b.map(function(d){return{customFieldId:d.customFieldId}});a.componentId?(Xp(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){Xp(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.")};
h3.prototype.reset=function(){var a=this;this.analytics.trackEvent("fieldOrdering","resetFields");this.componentId?(Xp(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:null}).subscribe(function(){Xp(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.")};
h3.\u0275fac=function(a){return new (a||h3)(B(jH),B(rH),B(O2),B(CF),B(cD))};
h3.\u0275cmp=p({type:h3,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"],["class","no-data-row",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],[1,"no-data-row"],[1,"edit-button-row"],["mat-flat-button","","color","primary",1,"medium",3,"click","disabled"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"table",2),K(3,3),C(4,dob,2,0,"th",4)(5,eob,2,1,"td",5),L(),K(6,6),C(7,fob,2,0,"th",4)(8,gob,2,1,"td",5),L(),K(9,7),
C(10,hob,2,0,"th",4)(11,iob,3,3,"td",5),L(),K(12,8),C(13,job,2,0,"th",4)(14,kob,2,1,"td",5),L(),K(15,9),C(16,lob,2,0,"th",4)(17,mob,2,1,"td",5),L(),C(18,nob,1,0,"tr",10)(19,oob,1,0,"tr",11),H(),C(20,pob,2,0,"div",12),H(),C(21,sob,6,2,"div",13),H());a&2&&(A(2),E("dataSource",b.fields),A(16),E("matHeaderRowDef",b.displayedColumn),A(),E("matRowDefColumns",b.displayedColumn),A(),E("ngIf",b.fields.length===0),A(),E("ngIf",b.isAdmin))},dependencies:[tv,kC,Ex,nS,gT,US,$S,WS,TS,bT,XS,ZS,cT,eT,HQ],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 i3=function(){};i3.\u0275fac=function(a){return new (a||i3)};i3.\u0275mod=cd({type:i3});i3.\u0275inj=Gc({providers:[rH],imports:[RD,RH,VH]});var j3=function(){};j3.\u0275fac=function(a){return new (a||j3)};j3.\u0275mod=cd({type:j3});j3.\u0275inj=Gc({imports:[RD,RH,tO,VH,vT,DX,bM,QO,i3,JQ]});var k3=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},uob=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="+xKc+a.issueId+yKc;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
k3.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};k3.\u0275fac=function(a){return new (a||k3)(B(CF))};
k3.\u0275cmp=p({type:k3,selectors:[["b-file-mention"]],inputs:{issueId:"issueId",packageName:"packageName",filename:"filename",lineNumbers:"lineNumbers",changeNumber:"changeNumber"},decls:5,vars:4,consts:[[1,"bv2-file-mention"],["target","_blank",1,"bv2-file-mention-filename",3,"click","href"],[4,"ngIf"],[1,"bv2-file-mention-line-number-list"],["class","bv2-file-mention-line-number",4,"ngFor","ngForOf"],[1,"bv2-file-mention-line-number"],["target","_blank",3,"click","href"]],template:function(a,b){a&
1&&(F(0,"div",0)(1,"a",1),O("click",function(){return b.trackClick("fileName")}),Q(2),H(),C(3,tob,2,1,"span",2)(4,wob,5,1,"span",2),H());a&2&&(A(),E("href",uob(b,b.lineNumbers),cf),A(),R(" ",b.filename," "),A(),E("ngIf",!(b.lineNumbers.length<=10&&b.packageName!="wiki")),A(),E("ngIf",b.lineNumbers.length<=10&&b.packageName!="wiki"))},dependencies:[sv,tv],encapsulation:2});var xKc=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),yKc=encodeURIComponent("(\\b|$)");var l3=function(){};l3.\u0275fac=function(a){return new (a||l3)};l3.\u0275mod=cd({type:l3});l3.\u0275inj=Gc({imports:[RD]});var zKc=function(){return{width:400}},AKc=function(){return[]},m3=function(a,b,c,d,e,f){var h=this;this.bLocation=b;this.analytics=c;this.activeSession=d;this.componentActions=e;this.cdr=f;this.includeArchived$=new rn(!1);this.createComponentPath=wp.createComponent.makeHref();this.trackerRootComponent$=Be(function(){return pe(h.activeSession.getTracker())}).pipe(Cf(function(k){return k?h.componentActions.get(Number(k.componentId)):pe(void 0)}));this.topLevelComponents$=we([this.trackerRootComponent$,
this.includeArchived$]).pipe(Cf(function(k){var q=l(k);k=q.next().value;q=q.next().value;var t;return h.componentActions.getChildren((t=k==null?void 0:k.parentComponentId)!=null?t:0,q)}));a.componentId&&zob(this,Number(a.componentId),se(this.topLevelComponents$));this.isInternalSession=d.isInternalSession()},zob=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Fba(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),f={0:c},h=l(e),k=h.next();!k.done;k=
h.next())k=k.value,f[k]=a.componentActions.getChildren(k,a.includeArchived);return Op(f).then(function(q){for(var t=q[0],w=0,y=l(e),D=y.next(),G={};!D.done;G={parentId$jscomp$27:void 0},D=y.next()){G.parentId$jscomp$27=D.value;D=void 0;var I=(D=t.find(function(N){return function(S){return S.componentId===N.parentId$jscomp$27}}(G)))!=null?D:null;I&&(I.children=q[G.parentId$jscomp$27],I.showChildren=!0,t=I.children,w=I.componentId)}d.archived&&!a.includeArchived&&(b=w);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};
da.Object.defineProperties(m3.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});m3.\u0275fac=function(a){return new (a||m3)(B($H),B(NM),B(CF),B(as),B(PV),B(yF,2))};
m3.\u0275cmp=p({type:m3,selectors:[["b-list-components-page"]],features:[Dg([yF])],decls:16,vars:15,consts:[["componentPickerTemplate",""],[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-appbar-left"],["mat-button","",3,"href",4,"ngIf"],["mat-button","","dialogLabel","Components","panelClass","overflow-visible-inline-dialog-panel",3,"xapInlineDialogClick","overlaySize"],["id","bv2-issue-showarchived-button",4,"ngIf"],[1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],[1,"top-tree",3,"init",
"components","includeArchived"],["mat-button","",3,"href"],[1,"component-picker-dialog"],["ariaLabel","Choose a component to navigate to that component.",3,"selectedComponentChange","includeArchived","placeholder","shouldFocus","isRequired"],["id","bv2-issue-showarchived-button"],["label","Show archived",3,"modelChange","model","tooltip"],[1,"bv2-view-loading"],["size","small"]],template:function(a,b){if(a&1){var c=u();F(0,"h2",1);Q(1,"Browse Components");H();F(2,"div",2)(3,"div",3);C(4,xob,2,1,"a",
4);F(5,"button",5);Q(6," Search Components ");H();C(7,yob,4,6,"ng-template",null,0,Mg)(9,Aob,3,4,"div",6);H()();F(10,"div",7);C(11,Bob,2,0,"div",8);T(12,"async");F(13,"component-tree-list",9);T(14,"async");T(15,"async");O("init",function(h){v(c);return x(b.componentTree=h)});H()()}if(a&2){var d,e,f;a=M(8);A(4);E("ngIf",b.isInternalSession);A();E("xapInlineDialogClick",a)("overlaySize",Gg(13,zKc));A(4);E("ngIf",b.isInternalSession);A(2);E("ngIf",!((d=U(12,7,b.topLevelComponents$))!==null&&d!==void 0&&
d));A(2);E("components",(e=U(14,9,b.topLevelComponents$))!==null&&e!==void 0?e:Gg(14,AKc))("includeArchived",(f=U(15,11,b.includeArchived$))!==null&&f!==void 0?f:!1)}},dependencies:[tv,pQ,kV,jV,nV,yO,kC,Fx,Ex,kX,UV,yv],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var n3=function(){};n3.\u0275fac=function(a){return new (a||n3)};n3.\u0275mod=cd({type:n3});n3.\u0275inj=Gc({imports:[RD,rQ,xV,yV,AV,iR,zO,RH,mX,XV]});var BKc=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};BKc.\u0275fac=function(a){return new (a||BKc)};
BKc.\u0275cmp=p({type:BKc,selectors:[["b-package-mentions-listing"]],inputs:{issueId:"issueId",packageMentionSet:"packageMentionSet",displayPackageName:"displayPackageName"},decls:4,vars:2,consts:[[1,"bv2-package-mention-set"],["class","bv2-package-mention-set-package-name",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"bv2-package-mention-set-package-name"],[3,"issueId","packageName","filename","lineNumbers","changeNumber"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,Cob,2,1,"p",1),F(2,"ul"),C(3,Dob,2,5,
"li",2),H()());a&2&&(A(),E("ngIf",b.displayPackageName),A(2),E("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[sv,tv,k3],encapsulation:2});var o3=function(){};o3.\u0275fac=function(a){return new (a||o3)};o3.\u0275mod=cd({type:o3});o3.\u0275inj=Gc({imports:[RD,l3]});var p3=function(){};p3.\u0275fac=function(a){return new (a||p3)};p3.\u0275mod=cd({type:p3});p3.\u0275inj=Gc({imports:[RD,zy,RH,VH,zW,jO,lM]});var q3=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=L1b;this.label="Restricted";this.contentType="item"};q3.prototype.getRetentionPeriod=function(){return this.retentionState&&this.retentionState.retentionPeriod?Qi(Math.floor(this.retentionState.retentionPeriod.seconds*1E3/864E5)):""};
var Fob=function(a){var b=new Date(864E13);return a.retentionState&&a.retentionState.scheduledDeletionTime?new Date(Pi(a.retentionState.scheduledDeletionTime)||b):b},CKc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?Pi(a.retentionState.scheduledDeletionTime)-Date.now()<12096E5:!1};q3.\u0275fac=function(a){return new (a||q3)(B(bH),B(XP))};
q3.\u0275cmp=p({type:q3,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=u();F(0,"xap-bubble",
2,0)(2,"div",3);O("focus",function(){v(c);var d=M(1);return x(d.toggle(!0))})("blur",function(){v(c);var d=M(1);return x(d.toggle(!1))});J(3,"mat-icon",4);Q(4);H();C(5,Mob,8,4,"ng-template",null,1,Mg);H()}a&2&&(a=M(6),E("panelTemplate",a),A(2),Wf("warning",CKc(b)),A(),E("svgIcon",CKc(b)?"delete-alert":"delete-clock"),A(),R(" ",b.label," "))},dependencies:[RC,FQ,Bv],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 r3=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};r3.prototype.onNoClick=function(){this.dialogRef.close(!1)};r3.\u0275fac=function(a){return new (a||r3)(B(cH),B(bH),B(iH))};
r3.\u0275cmp=p({type:r3,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&&(F(0,"h1",0),Q(1),H(),F(2,"div",1)(3,"p"),Q(4),F(5,"a",2),Q(6," Learn More "),H()()(),F(7,"div",3)(8,"button",4),O("click",function(){return b.onNoClick()}),Q(9," Cancel "),H(),F(10,"button",5),Q(11," Confirm "),H()());a&2&&(A(),yg(b.data.title),A(3),R(" ",b.data.content," "),A(),E("rel",b.EXTERNAL_LINK_REL),Nf("href",b.documentationLinks.getRestrictedAccessHelpLink(),cf),A(5),E("mat-dialog-close",!0))},dependencies:[kC,Ex,kH,mH,oH,nH],encapsulation:2});var s3=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new xF};
s3.prototype.openDialog=function(){var a=this;dH(this.dialog.open(r3,{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()})};s3.\u0275fac=function(a){return new (a||s3)(B(jH),B(bH))};
s3.\u0275cmp=p({type:s3,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&&(F(0,"span")(1,"button",0),O("click",function(){return b.openDialog()}),Q(2," Show Restricted Content "),H(),F(3,"a",1),Q(4," Learn More "),
H()());a&2&&(A(),E("disabled",b.disabled),A(2),E("rel",b.EXTERNAL_LINK_REL),Nf("href",b.documentationLinks.getRestrictedAccessHelpLink(),cf))},dependencies:[kC,Ex],styles:[".mat-mdc-outlined-button[_ngcontent-%COMP%]{margin-right:1em}/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var t3=function(){};t3.\u0275fac=function(a){return new (a||t3)};t3.\u0275mod=cd({type:t3});t3.\u0275inj=Gc({imports:[RD,aM,RH,VH,cP,lM,mR,bM,vT,sQ,jM,zy,KQ]});var u3=function(a){this.activeSession=a};u3.prototype.ngOnInit=function(){};var DKc=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};u3.\u0275fac=function(a){return new (a||u3)(B(as))};
u3.\u0275cmp=p({type:u3,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"],["class","padded-s-y",4,"ngIf"],["mat-menu-item","",3,"href"],[1,"padded-s-y"]],template:function(a,b){a&1&&(J(0,"button",1),F(1,"mat-menu",
2,0)(3,"div",3),C(4,Nob,2,1,"div",4),J(5,"hr"),F(6,"a",5),Q(7,"Switch accounts"),H(),J(8,"hr"),F(9,"a",5),Q(10,"Sign out of all accounts"),H()()());a&2&&(a=M(2),E("matMenuTriggerFor",a),A(4),E("ngIf",b.activeSession.getUserEmail()),A(2),E("href","https://accounts.google.com/AccountChooser?hl=en&osid=1&continue="+encodeURIComponent(DKc(b)),cf),A(3),E("href","https://accounts.google.com/Logout?hl=en&continue="+encodeURIComponent(DKc(b)),cf))},dependencies:[tv,JI,NI,LI,OI],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 v3=function(){Y.apply(this,arguments);this.trackerCheckboxValues={}};V(v3,Y);v3.\u0275dir=Y.\u0275dir;v3.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=l((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 EKc=function(a){return Object.keys(qc(a.trackerCheckboxValues,function(b){return b}))};
v3.\u0275fac=function(){var a;return function(b){return(a||(a=Od(v3)))(b||v3)}}();
v3.\u0275cmp=p({type:v3,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[Lf,rd],decls:8,vars:4,consts:[[1,"bv2-tracker-search"],[1,"bv2-adv-search-rule","bv2-adv-tracker-search-rule"],[1,"bv2-adv-tracker-search-rule-title"],["class","bv2-adv-tracker-search-rule-error",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",4,"ngFor","ngForOf"],[1,"bv2-adv-tracker-search-rule-error"],[1,"bv2-adv-search-enum-item"],
["gmat-checkbox","",3,"change","checked"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"div",2)(3,"span"),Q(4,"Select a tracker"),H(),C(5,Oob,2,0,"span",3),H(),F(6,"div",4),C(7,Pob,3,2,"div",5),H()()());a&2&&(Wf("hidden",!(b.availableTrackers&&b.availableTrackers.length>1)),A(5),E("ngIf",EKc(b).length===0),A(2),E("ngForOf",b.availableTrackers))},dependencies:[sv,tv,oJ,pJ],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 w3=function(a,b,c,d,e,f){Y.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=f;this.prefsManager.preferences$.pipe(Df(this.destroyed$)).subscribe(function(k){h.prefs=k});a.topBarEvents.browseComponents.pipe(Df(this.destroyed$)).subscribe(function(k){k=k.newTab;FKc(h,wp.listComponents.makeHref(),k)});a.topBarEvents.manageHotlists.pipe(Df(this.destroyed$)).subscribe(function(k){k=k.newTab;FKc(h,wp.listHotlists.makeHref(),k)});a.topBarEvents.manageSlos.pipe(Df(this.destroyed$)).subscribe(function(k){k=
k.newTab;FKc(h,wp.listSlos.makeHref(),k)});a.topBarEvents.setDensity.pipe(Df(this.destroyed$)).subscribe(function(k){h.setDensity(k)});a.topBarEvents.openSettings.pipe(Df(this.destroyed$)).subscribe(function(k){var q=k.newTab;FKc(h,d.settings(k.settingsTabName),q)})};V(w3,Y);w3.\u0275dir=Y.\u0275dir;var FKc=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.setUrl(b)};
w3.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(qf(),Df(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};w3.\u0275fac=function(a){return new (a||w3)(n(iD),n(CF),n(NM),n(BP),n(PG),n(jJ))};w3.\u0275prov=Fc({token:w3,factory:w3.\u0275fac,providedIn:"root"});var x3=function(a,b,c,d,e,f,h,k,q,t,w,y){Y.call(this);var D=this;this.activeSession=a;this.searchAcData=b;this.savedSearchApi=c;this.butterBar=d;this.bLocation=e;this.paths=f;this.analytics=h;this.appEvents=q;this.appSearchState=t;this.trackerFridge=w;this.errorHandler=y;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=ep(this.activeSession,"enableTrackersAccountHack");this.currentTracker=this.activeSession.getTracker();this.associatedTrackers$=Be(function(){var G,
I;return pe((I=(G=D.currentTracker)==null?void 0:G.associatedTrackerIds)!=null?I:[])}).pipe(Cf(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(z(function(G){return D.currentTracker?[D.currentTracker].concat(r(G)):[]}));this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();this.searchAcData.acRefreshed$.pipe(Df(this.destroyed$)).subscribe(function(){D.items=D.searchAcData.items;D.acHeader=
D.searchAcData.acHeader});this.trackerFridge.error$.pipe(Df(this.destroyed$)).subscribe(function(G){G.status!==403&&D.errorHandler.errorHandler(null,G)})};V(x3,Y);x3.\u0275dir=Y.\u0275dir;var GKc=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"}};
x3.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(Df(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("bf");e=new AHc(f,h);if(f){var k=f.slice(0,h);for(var q=!1,t=-1,w=-1;(t=k.indexOf('"',t+1))>-1;)q=!q,w=t;k=q?w:-1;if(k>-1)e.value={val:f.slice(k,h),idx:k};else if(k=f.slice(h),q=k.search("\\s"),
(k=iib(f.slice(0,h)+(q>-1?k.slice(0,q):k),EHc))?(k={negated:!!k[1],val:k[2].toLowerCase(),operator:k[3],idx:k.index-k[1].length-k[2].length-k[3].length},k.val.startsWith("customfield")&&(k.customFieldId=k.val.slice(11),k.val="customfield")):k=null,k){q=k.idx+(k.negated?1:0)+k.val.length+k.operator.length+(k.customFieldId?k.customFieldId.length:0);f=f.slice(q);t=Math.max(h-q,0);w=k;if(f.charAt(0)==="("){b:{w=[];for(var y=/[()]/g,D;(D=y.exec(f))!=null;){var G=w[w.length-1];if(G&&G!==D[0]){if(w.pop(),
!w.length){w=D.index>=t;break b}}else w.push(D[0])}w=!0}w=w?2:0}else w=BHc.includes(w.val)&&f.search("^\\d")===-1?1:0;switch(w){case 2:h=BHc.includes(k.val)?tr(f,t,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):tr(f,t,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(h.val)&&(h.val="",h.idx=t);e.value=h;break;case 1:e.value=tr(f,t,"[()|]","[()|,\\s]");break;case 0:e.value=tr(f,t,"[\\s()|]");f.slice(0,t).search("[\\s()|]")>-1&&(k=null,t=iib(f,"(?:\\s|^)(?:-?)(customfield|cf)"))&&(e.value=hib(f,
t.index-t[1].length,h));break;default:Bc(w,"unknown ValueType.")}e.value.idx+=q;e.label=k}else k=iib(f,"(?:\\s|^)(?:-?)(customfield|cf)"),e.value=k?hib(f,k.index-k[1].length,h):tr(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(z(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(Ff(b),
Df(this.destroyed$)).subscribe(function(c){c=l(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=d===void 0?"":d;var f=AOa(c),h=f.filters,k=f.text,q=f.complexSyntax,t=f.resourceIds;f=[h,k,t].reduce(Si);h=[h?"filters":void 0,k?"text":void 0,t?"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)})};
x3.prototype.ngAfterViewInit=function(){GJc(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var HKc=function(a){if(a.advancedSearchCtrl)return a.advancedSearchCtrl.getState()!=="SUCCESS"?a.currentQuery:NJc(a.advancedSearchCtrl).trim()};g=x3.prototype;g.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(HKc(this)!==this.currentQuery||this.advancedSearchCtrl.getState()!=="SUCCESS")&&GJc(this.advancedSearchCtrl,this.currentQuery)};
g.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next((b=(a=this.trackerSearchCtrl)==null?void 0:EKc(a))!=null?b:[]);this.advancedSearchCtrl&&(a=HKc(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:EKc(a))!=null?b:[]);this.advancedSearchCtrl&&(a=HKc(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=HKc(this);c!==void 0&&(Xp(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;Xp(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(Zm(d))}))}};
g.isSearchDisabled=function(){return!!this.trackerSearchCtrl&&EKc(this.trackerSearchCtrl).length===0};x3.\u0275fac=function(a){return new (a||x3)(B(as),B(r1),B(vE),B(cD),B(NM),B(BP),B(CF),B(w3),B(iD),B(xQ),B(NG),B(eD))};
x3.\u0275cmp=p({type:x3,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(rg(m2,5),rg(v3,5));if(a&2){var c;vg(c=wg())&&(b.advancedSearchCtrl=c.first);vg(c=wg())&&(b.trackerSearchCtrl=c.first)}},features:[Lf],decls:7,vars:12,consts:[[3,"searchBoxOnAdvancedSearchOpen","searchBoxOnAdvancedSearchClose","searchBoxOnAdvancedSearchSubmit","searchBoxOnSaveSearch","logoFrontendAccessMode","logoEnvironmentType","searchBoxPlaceholder","searchBoxAutoCompleteItems","searchBoxAutoCompleteHeader","isSearchDisabled"],
[3,"currentTrackerId","availableTrackers",4,"ngIf"],[3,"isTrackerSearchEnabled"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[3,"trackerInternalBaseUrl","trackerExternalBaseUrl",4,"ngIf"],[3,"currentTrackerId","availableTrackers"],[1,"bv2-view-loading"],[1,"bv2-validation-error-banner"],["class","warning-container",4,"ngIf"],[4,"ngIf"],[1,"warning-container"],["svgIcon","alert"],[3,"trackerInternalBaseUrl","trackerExternalBaseUrl"]],template:function(a,b){a&
1&&(F(0,"b-app-top-bar",0),O("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(c){return b.saveSearch(c)}),C(1,Qob,2,4,"b-tracker-search",1),J(2,"b-advanced-search",2),C(3,Rob,4,0,"div",3)(4,Uob,3,2,"div",4)(5,Vob,2,0,"div",4),H(),C(6,Wob,1,2,"b-tracker-account-menu-hack",5));a&2&&(E("logoFrontendAccessMode",
b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",GKc(b,b.currentTracker))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled()),A(),E("ngIf",b.currentTracker),A(),E("isTrackerSearchEnabled",!b.currentTracker),A(),E("ngIf",(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="INIT"),A(),E("ngIf",(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="NOT_REPRESENTABLE"||
(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SYNTAX_ERROR"),A(),E("ngIf",(b.advancedSearchCtrl==null?null:b.advancedSearchCtrl.getState())==="SERVER_ERROR"),A(),E("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&b.currentTracker))},dependencies:[tv,RC,m2,v3,cKc,pQ,u3,yv],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 y3=function(){};y3.\u0275fac=function(a){return new (a||y3)};y3.\u0275mod=cd({type:y3});y3.\u0275inj=Gc({imports:[RD,jM]});var z3=function(){};z3.\u0275fac=function(a){return new (a||z3)};z3.\u0275mod=cd({type:z3});z3.\u0275inj=Gc({imports:[RD,p2,y3,G2,rQ,aM]});var A3=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=vi;this.DiffType=S1b;this.updateDiffs=b.updateDiffs};A3.prototype.close=function(){this.dialogRef.close()};A3.\u0275fac=function(a){return new (a||A3)(B(cH),B(iH))};
A3.\u0275cmp=p({type:A3,selectors:[["b-update-history-modal"]],decls:6,vars:1,consts:[["mat-dialog-content","",1,"update-history-modal"],["tabindex","0",1,"update-history-list"],["class","bv2-event",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",1,"medium",3,"click"],[1,"bv2-event"],[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"],
["class","bv2-diff-detail",4,"ngFor","ngForOf"],[1,"bv2-diff-detail"],[4,"ngIf"],[1,"bv2-diff-arrow"],[4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"ul",1),C(2,epb,10,4,"li",2),H()(),F(3,"div",3)(4,"button",4),O("click",function(){return b.close()}),Q(5," Close "),H()());a&2&&(A(2),E("ngForOf",b.updateDiffs))},dependencies:[sv,tv,kC,Ex,oH,nH,MO,JO,YP],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 B3=function(){};B3.\u0275fac=function(a){return new (a||B3)};B3.\u0275mod=cd({type:B3});B3.\u0275inj=Gc({imports:[RD,RH,VH,RO,uQ]});var C3=function(a,b){this.$window=a;this.activeSession=b;this.faviconUrl=this.defaultFaviconUrl=xc("https://www.gstatic.com/buganizer/img/v4/favicon.png")};C3.\u0275fac=function(a){return new (a||C3)(n($G),n(as))};C3.\u0275prov=Fc({token:C3,factory:C3.\u0275fac,providedIn:"root"});var IKc=b3b("edited-ids"),JKc=mxa("edited-ids"),KKc=b3b("viewed-ids"),LKc=mxa("viewed-ids"),D3=function(a){var b=this;this.appEvents=a;this.stop$=new yf;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){fpb(b.viewed,c);KKc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){fpb(b.edited,c);IKc(Array.from(b.edited.keys()).join(","))}};D3.\u0275fac=function(a){return new (a||D3)(n(iD))};D3.\u0275prov=Fc({token:D3,factory:D3.\u0275fac,providedIn:"root"});var MKc=/^\s*[^:/?#]+:/i,NKc=/^#/i,E3=function(a){var b=this;this.bLocation=a;this.linkClickHandler=function(c){if(!(c.ctrlKey||c.metaKey||c.shiftKey||c.which===2||c.button===2||c.defaultPrevented)){var d;a:{for(d=c.target;d;){if(d.tagName==="A")break a;d=d.parentElement}d=void 0}if(d&&(!d.hasAttribute("target")||d.getAttribute("target")==="_self")&&(d=d.getAttribute("href"))&&!MKc.test(d))if(NKc.test(d)){b.bLocation.hash(d.substring(1));var e;(e=document.getElementById(d.substring(1)))==null||e.scrollIntoView();
c.stopPropagation();c.preventDefault()}else c.preventDefault(),b.bLocation.setUrl(d)}}};E3.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};E3.\u0275fac=function(a){return new (a||E3)(n(NM))};E3.\u0275prov=Fc({token:E3,factory:E3.\u0275fac,providedIn:"root"});var OKc=[],PKc=!1,F3=function(a,b,c,d,e,f,h,k,q){Y.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=f;this.issueLru=h;this.faviconService=k;this.imageUrls=q};V(F3,Y);F3.\u0275dir=Y.\u0275dir;F3.prototype.tearDown=function(){Y.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};
F3.\u0275fac=function(a){return new (a||F3)(n(BT),n(QC),n(as),n(I1),n(WT),n(E3),n(D3),n(C3),n(sR))};F3.\u0275prov=Fc({token:F3,factory:F3.\u0275fac,providedIn:"root"});
var QKc={provide:vVb,useFactory:function(a){return function(){PKc||(a.iconRegistry._addSvgIconSetConfig("",new K4b(a.imageUrls.ICON_URL)),PKc=!0);if(a.session.isInternalSession()){brc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(qf(),Df(a.destroyed$)).subscribe();for(var b=l(OKc),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;ep(a.session,c.flagName)&&brc(a.hatsService,d).pipe(qf(),Df(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();a.linkClickHandler.install();
b=a.issueLru;gpb(b.viewed,LKc());gpb(b.edited,JKc());b.appEvents.issueViewed.pipe(Df(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(Df(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?xc(d):c.defaultFaviconUrl;var e;d=c.activeSession.getTracker();if(d==null?0:(e=d.branding)==null?0:e.logoUrl){var f;e=xc(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 Du)b.href=Cc(f).toString(),b.rel="icon";else{if(QTb.indexOf("icon")===-1)throw Error("da`icon");f=yc(f);f!==void 0&&(b.href=f,b.rel="icon")}}},deps:[F3],multi:!0};var G3=function(a,b){this.paths=a;this.bLocation=b};G3.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=xp(a.issueId)+(b?"#"+b:"");this.bLocation.setUrl(a)};G3.\u0275fac=function(a){return new (a||G3)(n(BP),n(NM))};G3.\u0275prov=Fc({token:G3,factory:G3.\u0275fac,providedIn:"root"});var RKc={provide:uJ,useExisting:G3};var SKc=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 H3=function(a){sz.call(this);this.errorHandlerFn_=a};gu(H3,sz);H3.prototype.wrap=function(a){return TKc(this,a)};var I3=function(a,b){return(b?"__wrapper_":"__protected_")+Xa(a)+"__"},TKc=function(a,b){var c=I3(a,!0);b[c]||((b[c]=UKc(a,b))[I3(a,!1)]=b);return b[c]},UKc=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[I3(a,!1)]=b;return c};
H3.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 VKc(a);};
var WKc=function(a,b){var c=Ba.window||Ba.globalThis,d=c[b];if(!d)throw Error("ff`"+b);c[b]=function(e,f){typeof e==="string"&&(e=fu(jSb,e));e&&(arguments[0]=e=TKc(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(arguments.length>2){var k=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,k)}}return d(h,f)};c[b][I3(a,!1)]=d};
H3.prototype.disposeInternal=function(){var a=Ba.window||Ba.globalThis;var b=a.setTimeout;b=b[I3(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[I3(this,!1)]||b;a.setInterval=b;H3.superClass_.disposeInternal.call(this)};var VKc=function(a){ya.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)};gu(VKc,ya);var YKc=function(a,b,c){lp.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=XKc;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new H3(eu(this.handleException,this));WKc(this.errorHandler_,"setTimeout");WKc(this.errorHandler_,"setInterval");a=this.errorHandler_;b=Ba.window||Ba.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&WKc(a,
e)}a=this.errorHandler_;A_b=!0;b=eu(a.wrap,a);for(c=0;c<y_b.length;c++)y_b[c](b);z_b.push(a)}};gu(YKc,lp);var ZKc=function(a,b){tz.call(this,"z");this.error=a;this.context=b};gu(ZKc,tz);var XKc=function(a,b,c,d){if(d instanceof Map){var e={};d=l(d);for(var f=d.next();!f.done;f=d.next()){var h=l(f.value);f=h.next().value;h=h.next().value;e[f]=h}}else e=d;W1a(a,null,b,c,e)};
YKc.prototype.handleException=function(a,b){a=a.error||a;b=b?tc(b):{};a instanceof Error&&rea(b,a.__closure__error__context__984382||{});var c=STb(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(e){}var d=c.message.substring(0,1900);a instanceof ya&&!a.reportErrorToServer||$Kc(this,d,c.fileName,c.lineNumber,c.stack,b);try{this.dispatchEvent(new ZKc(c,b))}catch(e){}};
var $Kc=function(a,b,c,d,e,f){try{var h=MMa(a.handlerUrl_,"script",c,"error",b,"line",d);rc(a.additionalArguments_)||(h=OMa(h,a.additionalArguments_));b={};b.trace=e;if(f)for(var k in f)b["context."+k]=f[k];var q=scc(b);a.xhrSender_(h,"POST",q,a.extraHeaders_)}catch(t){}};YKc.prototype.disposeInternal=function(){bi(this.errorHandler_);YKc.superClass_.disposeInternal.call(this)};var J3=function(){this.jsBuild="653733023";this.buildLabel="buganizer.frontend_20240717.11_p1"};J3.\u0275fac=function(a){return new (a||J3)};J3.\u0275prov=Fc({token:J3,factory:J3.\u0275fac,providedIn:"root"});var K3=function(){};K3.prototype.reportingEnabled=function(){return SKc!==4};K3.\u0275fac=function(a){return new (a||K3)};K3.\u0275prov=Fc({token:K3,factory:K3.\u0275fac,providedIn:"root"});
var L3=function(){var a=this;this.appContext=Xc(K3);this.context={};this.reportingExtensions=[];var b=Xc(J3);this.jsDebugErrorReporter=new YKc("/jserror",function(c,d){d.js_build=b.jsBuild;d.buildLabel=b.buildLabel;d["build-label"]=b.buildLabel;c=l(a.reportingExtensions);for(var e=c.next();!e.done;e=c.next())e.value.enhanceContext(d)},!0)},aLc=function(a,b){b="Error: "+b;console.error("ErrorReporter: ",b);if(a.appContext.reportingEnabled())try{throw Error(b);}catch(c){for(hpb(c),$Kc(a.jsDebugErrorReporter,
b,c.fileName,c.lineNumber,c.stack,a.context),a=l(a.reportingExtensions),b=a.next();!b.done;b=a.next())b.value.onReportedError()}};L3.prototype.reportError=function(a){console.error("ErrorReporter: ",(a==null?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){hpb(a);this.jsDebugErrorReporter.handleException(a);a=l(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};L3.\u0275fac=function(a){return new (a||L3)};
L3.\u0275prov=Fc({token:L3,factory:L3.\u0275fac,providedIn:"root"});var M3=function(a){this.reporter=a};
M3.prototype.handleError=function(a){if(Ym(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)gj("omitting eye3 reporting of",a);else if(typeof a==="string")aLc(this.reporter,a);else if(a instanceof Error||!Ym(a)){b=STb(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 aLc(this.reporter,
Zm(a))};M3.\u0275fac=function(a){return new (a||M3)(n(L3))};M3.\u0275prov=Fc({token:M3,factory:M3.\u0275fac,providedIn:"root"});var N3=function(a){this.activeSession=a};V(N3,K3);N3.prototype.reportingEnabled=function(){return ep(this.activeSession,"reportErrors")};N3.\u0275fac=function(a){return new (a||N3)(n(as))};N3.\u0275prov=Fc({token:N3,factory:N3.\u0275fac,providedIn:"root"});var bLc={provide:gf,useClass:M3},cLc={provide:K3,useClass:N3},dLc={provide:J3,useValue:{jsBuild:"653733023",buildLabel:"buganizer.frontend_20240717.11_p1"}};var O3=function(){};O3.\u0275fac=function(a){return new (a||O3)};O3.\u0275cmp=p({type:O3,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var P3=function(){};P3.\u0275fac=function(a){return new (a||P3)};P3.\u0275mod=cd({type:P3});P3.\u0275inj=Gc({});var Q3=function(){};V(Q3,DD);Q3.prototype.store=function(){};Q3.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&ci(a.params,b.params)};Q3.\u0275fac=function(){var a;return function(b){return(a||(a=Od(Q3)))(b||Q3)}}();Q3.\u0275prov=Fc({token:Q3,factory:Q3.\u0275fac,providedIn:"root"});var R3=function(a){this.router=a};
R3.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=l(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return ID(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&a.queryParamMap.get("showInsights")==="1"){b=l(b.url.split("?")).next().value;var d={};return ID(this.router,[b],{queryParams:Object.assign({},lJa(a.queryParamMap),(d.showInsights="deployments",d)),fragment:(c=a.fragment)!=
null?c:void 0})}return b.url==="/attention"?ID(this.router,["home"]):!0};R3.\u0275fac=function(a){return new (a||R3)(n(HD))};R3.\u0275prov=Fc({token:R3,factory:R3.\u0275fac,providedIn:"root"});var eLc=/^(\d+)$/,S3=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(N2b))};S3.prototype.validate=function(a){for(var b=l(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=yk(d);if(!eLc.test(d)||isNaN(e)||!Number.isInteger(e))return this.butterBar.showWarning("The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};S3.\u0275fac=function(a){return new (a||S3)(n(cD))};
S3.\u0275prov=Fc({token:S3,factory:S3.\u0275fac,providedIn:"root"});var T3=function(a){this.routeParamsValidator=a};T3.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};T3.\u0275fac=function(a){return new (a||T3)(n(S3))};T3.\u0275prov=Fc({token:T3,factory:T3.\u0275fac,providedIn:"root"});var U3=function(a,b){this.activeSession=a;this.router=b};U3.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:ID(this.router,["issues"])};U3.\u0275fac=function(a){return new (a||U3)(n(as),n(HD))};U3.\u0275prov=Fc({token:U3,factory:U3.\u0275fac,providedIn:"root"});var V3=function(a,b){this.activeSession=a;this.router=b};V3.prototype.canActivate=function(){return this.activeSession.getTracker()?ID(this.router,["issues"]):!0};V3.\u0275fac=function(a){return new (a||V3)(n(as),n(HD))};V3.\u0275prov=Fc({token:V3,factory:V3.\u0275fac,providedIn:"root"});var W3=function(a,b){this.userPreferences=a;this.activeSession=b},fLc=function(a){var b=a.activeSession.isInternalSession();a=ho(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"}};W3.\u0275fac=function(a){return new (a||W3)(n(PG),n(as))};W3.\u0275prov=Fc({token:W3,factory:W3.\u0275fac,providedIn:"root"});var X3=function(a,b){this.router=a;this.homepageRedirection=b};X3.prototype.canActivate=function(){return ID(this.router,[fLc(this.homepageRedirection)])};X3.\u0275fac=function(a){return new (a||X3)(n(HD),n(W3))};X3.\u0275prov=Fc({token:X3,factory:X3.\u0275fac,providedIn:"root"});var gLc={ANDROID:"Android",CHROME:"ChromeOS",IOS:"iOS",LINUX:"Linux",MAC:"Mac",UNKNOWN:"Unknown",WINDOWS:"Windows"};var DRb={default:1363614,apps:1456886,blink:1456407,devtools:1457055,enterprise:1456152,extensions:1456110,installer:1456937,media:1456190,network:1456527,sync:1457192,ui:1457123,webstore:1457238},CRb={default:402888,apps:422083,blink:421442,devtools:422123,enterprise:421726,extensions:422130,installer:421863,media:421886,network:421924,sync:422168,ui:422198,webstore:422443},hLc=["media-bugs@chromium.org"],iLc=["chrome-sync-monorail@google.com"];var jLc={USER:"USER",DEVELOPER:"DEVELOPER",VULN_REPORTER:"VULN_REPORTER",CONTRIBUTOR:"CONTRIBUTOR"},kLc={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},lLc=new ld("CustomQuestionsConfig"),mLc=new ld("ComponentIds"),nLc=new ld("CustomFieldIds"),oLc=new ld("HotlistIds");var Y3=function(a){this.componentIds=a;this.persona="USER";this.categoryChange=new xF;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:hLc},{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:iLc},{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)};Y3.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)})};Y3.\u0275fac=function(a){return new (a||Y3)(B(mLc))};
Y3.\u0275cmp=p({type:Y3,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},features:[rd],decls:5,vars:3,consts:[["appearance","outline","aria-label","Which of the following describes your issue?"],["panelClass","oversized","aria-label","Choose issue category",3,"valueChange","value"],["class","multiline",3,"value",4,"ngFor","ngForOf"],[1,"multiline",3,"value"],[1,"description"]],template:function(a,b){a&1&&(F(0,"mat-form-field",
0)(1,"mat-select",1),O("valueChange",function(d){b.category=d;b.categoryChange.emit(b.category)}),F(2,"mat-select-trigger"),Q(3),H(),C(4,jpb,5,3,"mat-option",2),H()());if(a&2){var c;A();E("value",b.category);A(2);R(" ",(c=b.category==null?null:b.category.title)!==null&&c!==void 0?c:""," ");A();E("ngForOf",b.options[b.persona])}},dependencies:[sv,Jy,kM,mM,nM,oM,xx],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 Hr=function(a){return{question:a}},Z3=function(a){this.config=a;this.CustomQuestionType=kLc;this.responses=new xF;this.model=Object.assign({},a)};Z3.prototype.ngOnInit=function(){};var ppb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};Z3.\u0275fac=function(a){return new (a||Z3)(B(lLc))};
Z3.\u0275cmp=p({type:Z3,selectors:[["wizard-custom-questions"]],inputs:{category:"category"},outputs:{responses:"responses"},decls:9,vars:1,consts:[["customQuestion",""],["input",""],["text",""],["select",""],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"innerHtml"],["appearance","outline"],["matInput","",3,"ngModelChange","ngModel"],["appearance","outline",1,"textarea"],["required","",3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],
[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&C(0,kpb,2,4,"ng-container",4)(1,opb,4,4,"ng-template",null,0,Mg)(3,qpb,3,3,"ng-template",null,1,Mg)(5,rpb,4,3,"ng-template",null,2,Mg)(7,vpb,5,5,"ng-template",null,3,Mg);a&2&&E("ngForOf",b.model[b.category])},dependencies:[sv,tv,xv,uv,vv,Bh,dy,ly,yW,Qy,Jy,kM,mM,nM,xx],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 pLc=function(){this.Persona=jLc;this.persona="USER";this.personaChange=new xF};pLc.\u0275fac=function(a){return new (a||pLc)};
pLc.\u0275cmp=p({type:pLc,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&&(F(0,"div")(1,"mat-radio-group",0),O("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),F(2,"mat-radio-button",1),Q(3," End User "),F(4,"div",2),Q(5," I am trying to use a website. "),
H()(),F(6,"mat-radio-button",1),Q(7," Web Developer "),F(8,"div",2),Q(9," I am trying to build something on a website. "),H()(),F(10,"mat-radio-button",3),Q(11," Vulnerability Reporter "),F(12,"div",2),Q(13," I am reporting a possible security vulnerability. "),H()(),F(14,"mat-radio-button",1),Q(15," Chromium Contributor "),F(16,"div",2),Q(17," I know about a problem in specific tests or code. "),H()()()());a&2&&(A(),E("ngModel",b.persona),A(),E("value",b.Persona.USER),A(4),E("value",b.Persona.DEVELOPER),
A(4),E("value",b.Persona.VULN_REPORTER),A(4),E("value",b.Persona.CONTRIBUTOR))},dependencies:[dy,ly,QI,RI],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 qLc=new ld("GMAT_CARD_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var rLc=function(a){this.options=a};rLc.\u0275fac=function(a){return new (a||rLc)(B(qLc))};rLc.\u0275dir=ed({type:rLc,selectors:[["mat-card"]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("gmat-mdc-card",!b.options.disableGmatStyle)}});var sLc=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],tLc=new ld("MAT_CARD_CONFIG"),uLc=function(a){this.appearance=(a==null?void 0:a.appearance)||"raised"};uLc.\u0275fac=function(a){return new (a||uLc)(B(tLc,8))};
uLc.\u0275cmp=p({type:uLc,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(a,b){a&2&&Wf("mat-mdc-card-outlined",b.appearance==="outlined")("mdc-card--outlined",b.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[Fg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),jg(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);border-color:var(--mdc-elevated-card-container-color);border-radius:var(--mdc-elevated-card-container-shape);box-shadow:var(--mdc-elevated-card-container-elevation)}.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)}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color);border-radius:var(--mdc-outlined-card-container-shape);border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color);box-shadow:var(--mdc-outlined-card-container-elevation)}.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);line-height:var(--mat-card-title-text-line-height);font-size:var(--mat-card-title-text-size);letter-spacing:var(--mat-card-title-text-tracking);font-weight:var(--mat-card-title-text-weight)}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color);font-family:var(--mat-card-subtitle-text-font);line-height:var(--mat-card-subtitle-text-line-height);font-size:var(--mat-card-subtitle-text-size);letter-spacing:var(--mat-card-subtitle-text-tracking);font-weight:var(--mat-card-subtitle-text-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 vLc=function(){};vLc.\u0275fac=function(a){return new (a||vLc)};vLc.\u0275dir=ed({type:vLc,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0});var wLc=function(){};wLc.\u0275fac=function(a){return new (a||wLc)};
wLc.\u0275cmp=p({type:wLc,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[Fg],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&&(ig(sLc),jg(0),F(1,"div",0),jg(2,1),H(),jg(3,2))},encapsulation:2,changeDetection:0});var a4=function(a){this._elementRef=a};a4.prototype.focus=function(){this._elementRef.nativeElement.focus()};a4.\u0275fac=function(a){return new (a||a4)(B(Rd))};a4.\u0275dir=ed({type:a4,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});var b4=function(a){this.template=a};b4.\u0275fac=function(a){return new (a||b4)(B(og))};b4.\u0275dir=ed({type:b4,selectors:[["","cdkStepLabel",""]],standalone:!0});var xLc=0,yLc=new ld("STEPPER_GLOBAL_OPTIONS"),c4=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new bv;this.editable=!0;this.optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1};g=c4.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);this.stepControl&&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};da.Object.defineProperties(c4.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}}});
c4.\u0275fac=function(a){return new (a||c4)(B(Sc(function(){return d4})),B(yLc,8))};
c4.\u0275cmp=p({type:c4,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&sg(c,b4,5);if(a&2){var d;vg(d=wg())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&rg(og,7);if(a&2){var c;vg(c=wg())&&(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",Tg],optional:[2,"optional","optional",Tg],completed:[2,
"completed","completed",Tg],hasError:[2,"hasError","hasError",Tg]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[Mf,rd,Fg],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(ig(),C(0,wpb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});
var d4=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new yf;this.steps=new qg;this._sortedHeaders=new qg;this.linear=!1;this._selectedIndex=0;this.selectionChange=new bv;this.selectedIndexChange=new bv;this._orientation="horizontal";this._groupId=xLc++};g=d4.prototype;g.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(Bf(this._steps),Df(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));ug(a.steps)})};
g.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(Bf(this._stepHeader),Df(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}));ug(a._sortedHeaders)});this._keyManager=sw(uw(rw(new xw(this._sortedHeaders))),this._orientation==="vertical");(this._dir?this._dir.change:pe()).pipe(Bf(this._layoutDirection()),Df(this._destroyed)).subscribe(function(b){return tw(a._keyManager,
b)});vw(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):vw(this._keyManager,a);this._selectedIndex=a;this.selectedIndexChange.emit(this._selectedIndex);this._stateChanged()};
g._onKeydown=function(a){var b=oh(a),c=a.keyCode,d=this._keyManager;if(d.activeItemIndex==null||b||c!==32&&c!==13)kXb(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=mh();return a===b||a.contains(b)};g._isValidIndex=function(a){return a>-1&&(!this.steps||a<this.steps.length)};
da.Object.defineProperties(d4.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&&sw(this._keyManager,a==="vertical")}}});d4.\u0275fac=function(a){return new (a||d4)(B(Hw,8),B(Wg),B(Rd))};
d4.\u0275dir=ed({type:d4,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(sg(c,c4,5),sg(c,a4,5));if(a&2){var d;vg(d=wg())&&(b._steps=d);vg(d=wg())&&(b._stepHeader=d)}},inputs:{linear:[2,"linear","linear",Tg],selectedIndex:[2,"selectedIndex","selectedIndex",Ug],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"],standalone:!0,features:[Mf]});var e4=function(a){this._stepper=a;this.type="submit"};e4.\u0275fac=function(a){return new (a||e4)(B(d4))};e4.\u0275dir=ed({type:e4,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(){return b._stepper.next()});a&2&&eg("type",b.type)},inputs:{type:"type"},standalone:!0});var f4=function(a){this._stepper=a;this.type="button"};f4.\u0275fac=function(a){return new (a||f4)(B(d4))};
f4.\u0275dir=ed({type:f4,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(){return b._stepper.previous()});a&2&&eg("type",b.type)},inputs:{type:"type"},standalone:!0});var g4=function(){};g4.\u0275fac=function(a){return new (a||g4)};g4.\u0275mod=cd({type:g4});g4.\u0275inj=Gc({imports:[Iw]});var h4=function(){e4.apply(this,arguments)};V(h4,e4);h4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(h4)))(b||h4)}}();h4.\u0275dir=ed({type:h4,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&eg("type",b.type)},standalone:!0,features:[Lf]});var i4=function(){f4.apply(this,arguments)};V(i4,f4);i4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(i4)))(b||i4)}}();
i4.\u0275dir=ed({type:i4,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&eg("type",b.type)},standalone:!0,features:[Lf]});var j4=function(a){this.templateRef=a};j4.\u0275fac=function(a){return new (a||j4)(B(og))};j4.\u0275dir=ed({type:j4,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});var zLc=function(a){this._template=a};zLc.\u0275fac=function(a){return new (a||zLc)(B(og))};zLc.\u0275dir=ed({type:zLc,selectors:[["ng-template","matStepContent",""]],standalone:!0});var k4=function(){b4.apply(this,arguments)};V(k4,b4);k4.\u0275fac=function(){var a;return function(b){return(a||(a=Od(k4)))(b||k4)}}();k4.\u0275dir=ed({type:k4,selectors:[["","matStepLabel",""]],standalone:!0,features:[Lf]});var l4=function(){this.changes=new yf;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};l4.\u0275fac=function(a){return new (a||l4)};l4.\u0275prov=Fc({token:l4,factory:l4.\u0275fac,providedIn:"root"});var ALc={provide:l4,deps:[[new Lu,new Mu,l4]],useFactory:function(a){return a||new l4}};var m4=function(a,b,c,d){this._elementRef=c;this._intl=a;this._focusMonitor=b;this._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()})};V(m4,a4);m4.\u0275dir=a4.\u0275dir;g=m4.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?Tv(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};
g._stringLabel=function(){return this.label instanceof k4?null:this.label};g._templateLabel=function(){return this.label instanceof k4?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};m4.\u0275fac=function(a){return new (a||m4)(B(l4),B(Sv),B(Rd),B(Wg))};
m4.\u0275cmp=p({type:m4,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(a,b){a&2&&Xf("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:[Lf,Fg],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&&(J(0,"div",0),F(1,"div")(2,"div",1),C(3,xpb,1,2,"ng-container",2)(4,Cpb,2,1),H()(),F(5,"div",3),C(6,Dpb,2,1,"div",4)(7,Epb,2,1,"div",4)(8,Fpb,2,1,"div",5)(9,Gpb,2,1,"div",6),H());
if(a&2){var c;E("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple);A();Zf("mat-step-icon-state-",b.state," mat-step-icon");Wf("mat-step-icon-selected",b.selected);A(2);$f(b.iconOverrides&&b.iconOverrides[b.state]?3:4);A(2);Wf("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error",b.state=="error");A();$f((c=b._templateLabel())?6:b._stringLabel()?7:-1,c);A(2);$f(b.optional&&b.state!="error"?8:-1);A();$f(b.state==="error"?9:-1)}},dependencies:[vx,
xv,RC],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);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .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)}.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);background-color:var(--mat-stepper-header-icon-background-color)}.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);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.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);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-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);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.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);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}\n'],
encapsulation:2,changeDetection:0});var BLc=Eh("horizontalStepTransition",[Hh("previous",Gh({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Hh("current",Gh({transform:"none",visibility:"inherit"})),Hh("next",Gh({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Jh("* => *",Ipa([Fh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Jpa()]),{params:{animationDuration:"500ms"}})]),CLc=Eh("verticalStepTransition",[Hh("previous",Gh({height:"0px",visibility:"hidden"})),Hh("next",Gh({height:"0px",visibility:"hidden"})),
Hh("current",Gh({height:"*",visibility:"inherit"})),Jh("* <=> current",Ipa([Fh("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Jpa()]),{params:{animationDuration:"225ms"}})]);var DLc=["*"],Lpb=function(a,b){return{step:a,i:b}},Opb=function(a){return{animationDuration:a}},Npb=function(a,b){return{value:a,params:b}},n4=function(a,b,c,d){c4.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=Yd.EMPTY;this.stepLabel=void 0};V(n4,c4);
n4.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(Cf(function(){return a._stepper.selectionChange.pipe(z(function(b){return b.selectedStep===a}),Bf(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new Bw(a._lazyContent._template,a._viewContainerRef))})};n4.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
n4.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};n4.\u0275fac=function(a){return new (a||n4)(B(Sc(function(){return o4})),B(rx,4),B(pg),B(yLc,8))};
n4.\u0275cmp=p({type:n4,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(sg(c,k4,5),sg(c,zLc,5));if(a&2){var d;vg(d=wg())&&(b.stepLabel=d.first);vg(d=wg())&&(b._lazyContent=d.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[Dg([{provide:rx,useExisting:n4},{provide:c4,useExisting:n4}]),Lf,Fg],ngContentSelectors:DLc,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(ig(),C(0,Ipb,2,1,"ng-template"))},dependencies:[Fw],
encapsulation:2,changeDetection:0});var o4=function(a,b,c){d4.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new qg;this.animationDone=new bv;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new yf;this._animationDuration="";this._isServer=!Xc(Nv).isBrowser;this.orientation=c.nativeElement.nodeName.toLowerCase()==="mat-vertical-stepper"?"vertical":"horizontal"};V(o4,d4);o4.\u0275dir=d4.\u0275dir;
o4.prototype.ngAfterContentInit=function(){var a=this;d4.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(Df(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(sf(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),Df(this._destroyed)).subscribe(function(b){b.toState==="current"&&a.animationDone.emit()})};
o4.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};o4.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"};da.Object.defineProperties(o4.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
o4.\u0275fac=function(a){return new (a||o4)(B(Hw,8),B(Wg),B(Rd))};
o4.\u0275cmp=p({type:o4,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(sg(c,n4,5),sg(c,j4,5));if(a&2){var d;vg(d=wg())&&(b._steps=d);vg(d=wg())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&rg(m4,5);if(a&2){var c;vg(c=wg())&&(b._stepHeader=c)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(a,b){a&2&&(Nf("aria-orientation",b.orientation),Wf("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:[Dg([{provide:d4,useExisting:o4}]),Lf,Fg],ngContentSelectors:DLc,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&&(ig(),C(0,Jpb,1,0)(1,Qpb,7,0,"div",1)(2,Spb,2,0)(3,Tpb,1,23,"ng-template",null,0,Mg));if(a&2){var c;$f(b._isServer?0:-1);A();$f((c=b.orientation)==="horizontal"?
1:c==="vertical"?2:-1)}},dependencies:[xv,m4],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.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)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 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)}.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)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 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) - 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) - 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}.cdk-high-contrast-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}.cdk-high-contrast-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);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 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:[BLc,CLc]},changeDetection:0});var ELc=["summary"],FLc=["reproSteps"],GLc=["description"],HLc=function(a){return{nonEmptyValidator:a}},ILc=function(a,b){return{reproStepsValidator:a,nonEmptyValidator:b}},Xpb=function(){return{noWizard:"true"}},JLc=[Ci("security@chromium.org")],p4=function(a,b,c,d,e,f,h,k,q,t,w){this.activeSession=a;this.analytics=b;this.butterBar=c;this.currentUser=d;this.componentIds=e;this.customFieldIds=f;this.hotlistIds=h;this.issueApi=k;this.paths=q;this.redirectUrl=t;this.userAccess=w;this.Persona=jLc;this.PlatformOs=
gLc;a=ipb();var y;b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(b.length>0){var D;b=(D=b[0])==null?void 0:D.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a?[a]:[],channel:"Not sure",version:(y=b)!=null?y:"",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},Vpb=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:Bc(b)}};g=p4.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){Qa(this.uploads,a)};
g.getAttachments=function(){for(var a=[],b=l(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,c.state===2&&c.blobRef&&a.push(di(c.blobRef));return a};
g.submit=function(){var a=this,b,c,d,e,f;return ge(function(h){switch(h.nextAddress){case 1:var k="BUG",q=null,t=null,w="P2",y="S2",D=a.hotlistIds.unconfirmed?[a.hotlistIds.unconfirmed]:null,G,I,N,S=(N=(G=a.model.category)==null?void 0:(I=G.ccEmails)==null?void 0:I.map(Ci).filter(Gi))!=null?N:[],W;((W=a.model.category)==null?void 0:W.value)==="SECURITY"&&(k="VULNERABILITY",w="P4",y="S4",q="LIMIT_VIEW",t=JLc);var Z;G=((Z=a.model.category)==null?void 0:Z.componentId)||a.componentIds.default;Z=a.model.summary;
I=gqb(a.model,a.customFieldIds);N=a.model;var fa;W="\n# Steps to reproduce the problem\n"+N.reproSteps+"\n\n# Problem Description\n"+N.description+"\n\n"+(N.comments.length>0?"\n# Additional Comments\n"+N.comments:"")+"\n\n# Summary\n"+N.summary+"\n\n"+iqb(N.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+((fa=N.category)==null?void 0:fa.title)+" \\\nChrome Channel: "+N.channel+" \\\nRegression: "+N.regression;W=W.replace(/^\n/,"");b={componentId:G,type:k,status:"NEW",priority:w,severity:y,
title:Z,customField:I,comment:W.replace(/\n{3,}/g,"\n\n"),formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:a.currentUser.user,issueAccessLimitLevel:q,collaboratorsUsers:t,ccUsers:[a.currentUser.user].concat(r(S)),hotlistId:D,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};Xp(a.butterBar,"Saving...",0);he(h,2);return ie(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("gf");a.butterBar.dismiss();a.analytics.trackEvent("createIssue","fileAndRedirect","wizard",!0);return ie(h,KB(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?JIc(a.redirectUrl,
xp(d),String(d)):(Xp(a.butterBar,"New issue created: "+d+" (view access not granted)",0),JIc(a.redirectUrl,a.paths.listIssues()));Zt(h,0);break;case 2:f=le(h),Xp(a.butterBar,"Failed to create issue: "+f),me(h)}})};p4.\u0275fac=function(a){return new (a||p4)(B(as),B(CF),B(cD),B(ZV),B(mLc),B(nLc),B(oLc),B(jC),B(BP),B(K1),B(IB))};
p4.\u0275cmp=p({type:p4,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&(rg(ELc,5),rg(FLc,5),rg(GLc,5),rg(hY,5));if(a&2){var c;vg(c=wg())&&(b.summaryControl=c.first);vg(c=wg())&&(b.reproStepsControl=c.first);vg(c=wg())&&(b.descriptionControl=c.first);vg(c=wg())&&(b.attachmentUploader=c.first)}},inputs:{fullScreen:"fullScreen"},decls:117,vars:47,consts:[["contributor",""],["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"],[4,"ngIf","ngIfElse"],[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"],[4,"ngIf"],["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","responses",4,"ngIf"],["matInput","","aria-label","Additional comments",3,"ngModelChange","ngModel"],[3,"onUploadComplete","onUploadCancel","uploads"],[1,"attachment-selector"],[3,"onSelect","includeTextLabel"],["class","wizard-recaptcha",4,"ngIf"],["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"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){if(a&1){var c=u();F(0,"mat-stepper",4)(1,"mat-step",5)(2,"h2");Q(3,"Report an issue with Chromium");
H();F(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. ");H();J(6,"br");F(7,"h4",6);Q(8,"Please select your following role:");H();F(9,"wizard-persona-picker",7);O("personaChange",function(h){v(c);b.model.category=void 0;b.model.persona=h;return x()});H();C(10,Wpb,21,6,"ng-container",8)(11,Ypb,10,2,"ng-template",null,0,Mg);H();F(13,"mat-step",9)(14,"h2");
Q(15);H();F(16,"h3");Q(17,"Please confirm that the following version information is correct.");H();F(18,"h4",10);Q(19,"Operating System:");H();F(20,"mat-form-field",11)(21,"mat-select",12);Cg("ngModelChange",function(h){v(c);Bg(b.model.os,h)||(b.model.os=h);return x(h)});F(22,"mat-option",13);Q(23,"Android");H();F(24,"mat-option",13);Q(25,"Chrome OS");H();F(26,"mat-option",13);Q(27,"iOS");H();F(28,"mat-option",13);Q(29,"Linux");H();F(30,"mat-option",13);Q(31,"Mac OS");H();F(32,"mat-option",13);Q(33,
"Windows");H();F(34,"mat-option",13);Q(35,"Unknown/Other");H()()();F(36,"h4",14);Q(37,"Channel:");H();F(38,"mat-form-field",15)(39,"mat-select",16);Cg("ngModelChange",function(h){v(c);Bg(b.model.channel,h)||(b.model.channel=h);return x(h)});F(40,"mat-option",17);Q(41,"Not sure");H();F(42,"mat-option",18);Q(43,"Stable");H();F(44,"mat-option",19);Q(45,"Beta");H();F(46,"mat-option",20);Q(47,"Dev");H();F(48,"mat-option",21);Q(49,"Canary");H()()();J(50,"br");F(51,"h4",10);Q(52,"Chrome version:");H();F(53,
"mat-form-field",22)(54,"input",23);Cg("ngModelChange",function(h){v(c);Bg(b.model.version,h)||(b.model.version=h);return x(h)});H()();F(55,"h4",6);Q(56,"Please enter a one line summary (100 character limit)");H();F(57,"mat-form-field",24)(58,"textarea",25,1);Cg("ngModelChange",function(h){v(c);Bg(b.model.summary,h)||(b.model.summary=h);return x(h)});Q(60,"      ");H();C(61,Zpb,2,0,"mat-error",26);H();F(62,"h4",6);Q(63,"Steps to reproduce problem (5000 character limit)");H();F(64,"mat-form-field",
24)(65,"textarea",27,2);Cg("ngModelChange",function(h){v(c);Bg(b.model.reproSteps,h)||(b.model.reproSteps=h);return x(h)});Q(67,"      ");H();C(68,$pb,2,0,"mat-error",26);H();F(69,"h4",6);Q(70,"Please describe the problem (5000 character limit)");H();F(71,"mat-form-field",24)(72,"textarea",28,3);Cg("ngModelChange",function(h){v(c);Bg(b.model.description,h)||(b.model.description=h);return x(h)});Q(74,"      ");H();C(75,aqb,2,0,"mat-error",26);H();F(76,"h4");Q(77,"Did this work before?");H();F(78,"mat-form-field",
29)(79,"mat-select",16);Cg("ngModelChange",function(h){v(c);Bg(b.model.regression,h)||(b.model.regression=h);return x(h)});F(80,"mat-option",30);Q(81,"Not applicable or don't know");H();F(82,"mat-option",31);Q(83,"Yes - This is a regression");H();F(84,"mat-option",32);Q(85,"No - I think it never worked");H()()();F(86,"div",33)(87,"button",34);J(88,"mat-icon",35);Q(89," Back ");H();F(90,"button",36);Q(91," Next ");J(92,"mat-icon",37);H()()();F(93,"mat-step",38)(94,"h2");Q(95,"Extra information about the issue");
H();C(96,bqb,1,1,"wizard-custom-questions",39);F(97,"h4");Q(98,"Additional comments");H();F(99,"mat-form-field",24)(100,"textarea",40);Cg("ngModelChange",function(h){v(c);Bg(b.model.comments,h)||(b.model.comments=h);return x(h)});H()();F(101,"h4");Q(102,"Upload any relevant attachments");H();F(103,"b-attachment-uploader",41);O("onUploadComplete",function(){v(c);return x(b.enableSubmit())})("onUploadCancel",function(h){v(c);b.removeUpload(h);return x(b.enableSubmit())});H();F(104,"div",42)(105,"b-attachment-selector",
43);O("onSelect",function(h){v(c);b.uploadFile(h);b.isSubmitEnabled=!1;return x()});H();Q(106," You can include multiple attachments. ");H();C(107,cqb,2,0,"div",44);F(108,"div",33)(109,"button",34);J(110,"mat-icon",35);Q(111," Back ");H();F(112,"button",45);O("click",function(){v(c);return x(b.submit())});Q(113," Submit ");H()()();C(114,dqb,0,0,"ng-template",46)(115,eqb,0,0,"ng-template",47)(116,fqb,0,0,"ng-template",48);H()}if(a&2){a=M(12);var d=M(59),e=M(66),f=M(73);Wf("bv2-view",b.fullScreen)("hide-dots",
b.model.persona===b.Persona.CONTRIBUTOR);E("disableRipple",!0);A();E("completed",Vpb(b,0));A(8);E("persona",b.model.persona);A();E("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",a);A(3);kg("aria-label","Details for problems with ",b.model.category==null?null:b.model.category.title,"");E("completed",Vpb(b,1));A(2);R("Details for problems with ",b.model.category==null?null:b.model.category.title,"");A(6);Ag("ngModel",b.model.os);A();E("value",b.PlatformOs.ANDROID);A(2);E("value",b.PlatformOs.CHROME);
A(2);E("value",b.PlatformOs.IOS);A(2);E("value",b.PlatformOs.LINUX);A(2);E("value",b.PlatformOs.MAC);A(2);E("value",b.PlatformOs.WINDOWS);A(2);E("value",b.PlatformOs.UNKNOWN);A(5);Ag("ngModel",b.model.channel);A(15);Ag("ngModel",b.model.version);A(4);Ag("ngModel",b.model.summary);E("customValidators",Hg(40,HLc,b.nonEmptyValidator));A(3);E("ngIf",d.invalid&&(d.dirty||d.touched));A(4);Ag("ngModel",b.model.reproSteps);E("customValidators",Ig(42,ILc,b.reproStepsValidator,b.nonEmptyValidator));A(3);E("ngIf",
e.invalid&&(e.dirty||e.touched));A(4);Ag("ngModel",b.model.description);E("customValidators",Hg(45,HLc,b.nonEmptyValidator));A(3);E("ngIf",f.invalid&&(f.dirty||f.touched));A(4);Ag("ngModel",b.model.regression);A(11);E("disabled",!Vpb(b,1));A(6);E("ngIf",b.model.category);A(4);Ag("ngModel",b.model.comments);A(3);E("uploads",b.uploads);A(2);E("includeTextLabel",!0);A(2);E("ngIf",b.enableRecaptcha);A(5);E("disabled",!b.isSubmitEnabled||!b.isCaptchaValid())}},dependencies:[eY,hY,tv,RC,w1,Bh,dy,vy,wy,
ly,kC,Ex,rLc,uLc,vLc,wLc,oJ,pJ,yW,Qy,Jy,By,kM,mM,nM,xx,n4,o4,h4,i4,j4,DY,Y3,Z3,pLc],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 q4=function(a,b,c,d){this.activeSession=a;this.routeParams=b;this.router=c;this.userAccess=d;this.rootComponentId=a.getEnvironmentType()==="QA"?CRb.default:DRb.default};
q4.prototype.canActivate=function(){var a=this,b,c;return ge(function(d){if(d.nextAddress==1)return(c=ep(a.activeSession,"enableChromeWizard")&&((b=a.activeSession.getTracker())==null?void 0:b.trackerId)==="157"&&!a.routeParams.template&&!a.routeParams.noWizard)?ie(d,KB(a.userAccess,"writer","components/"+a.rootComponentId+"/issueDefaults"),3):d.jumpTo(2);d.nextAddress!=2&&(c=!d.yieldResult);return c?d.return(ID(a.router,["issues/wizard"])):d.return(!0)})};
q4.\u0275fac=function(a){return new (a||q4)(n(as),n($H),n(HD),n(IB))};q4.\u0275prov=Fc({token:q4,factory:q4.\u0275fac,providedIn:"root"});var r4=function(a,b,c,d){var e=this;this.userResources=a;this.history=b;this.router=c;this.activeSession=d;this.viewIssues=uo;this.createIssue=tEa;this.componentSettings=uEa;this.currentTracker=this.activeSession.getTracker();var f;this.trackerId=(f=this.currentTracker)==null?void 0:f.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(h){return h.filter(function(k){return e.filterTrackerComponents(k)})}).finally(function(){e.isThinking=!1})};r4.prototype.back=function(){J1(this.history)};r4.prototype.filterTrackerComponents=function(a){return!this.trackerId||a.trackerId===this.trackerId};r4.\u0275fac=function(a){return new (a||r4)(B(qE),B(I1),B(HD),B(as))};
r4.\u0275cmp=p({type:r4,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","class","gmat-button medium",4,"ngIf"],["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"],[4,"ngIf"],[1,"muted","margin-s-top","margin-left"],["routerLink","/components/all",1,"muted","hover-link"],["mat-button","","routerLink","/components/new",1,"gmat-button","medium"],["class","muted",4,"ngIf"],[1,"unstyled-list","reverse-padded-sides","recent-components"],
[4,"ngFor","ngForOf"],[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&&(F(0,"article",2)(1,"header",3)(2,"div",4)(3,"button",5),O("click",function(){return b.back()}),J(4,"mat-icon",6),H(),F(5,"h2"),Q(6,"Components"),H()(),F(7,"div",7),C(8,jqb,2,0,"a",8),F(9,"b-slide-toggle",9),O("modelChange",function(c){return b.includeArchived=c}),H()()(),F(10,"section",10)(11,"h3"),Q(12,"Search"),H(),F(13,"b-team-component-picker",11),O("selectedComponentChange",function(c){c!=null&&Or(b.router,uEa(c.componentId).path)}),
H(),F(14,"h3",12),Q(15,"Recent Components"),H(),F(16,"div",13),C(17,nqb,4,2,"ng-container",14),T(18,"async"),H(),F(19,"p",15)(20,"a",16),Q(21,"See all Components"),H()()()());a&2&&(A(8),E("ngIf",b.isInternalSession),A(),E("model",b.includeArchived),A(4),E("includeArchived",b.includeArchived)("placeholder",b.placeholder)("ariaLabel",b.placeholder),A(4),E("ngIf",U(18,6,b.recentComponents$)))},dependencies:[kC,Fx,Gx,KI,TI,sv,tv,RC,JD,OD,UV,PZ,xJ,yJ,DJ,zJ,yO,GQ,KR,yv],encapsulation:2});var KLc=["bookmarkGroupName"],LLc=function(a){return{"bv2-edit-resource-readonly":a}},s4=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=f;this.errorHandler=h;this.appEvents=q;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new iy({name:new ky("",Zx),description:new ky("")});this.subscriptions.add(cS(k,function(){return!(!t.name()&&!t.description())},!1))};V(s4,Y);s4.\u0275dir=Y.\u0275dir;
g=s4.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(){J1(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:""};s4.\u0275fac=function(a){return new (a||s4)(B(NM),B(I1),B(ZC),B(HA),B(BP),B(CF),B(eD),B(bS),B(iD))};
s4.\u0275cmp=p({type:s4,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&rg(KLc,5);if(a&2){var c;vg(c=wg())&&(b.bookmarkGroupName=c.first)}},features:[Lf],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=u();F(0,"div",1)(1,"div",
2)(2,"button",3);O("click",function(){v(c);return x(b.back())});J(3,"mat-icon",4);H();F(4,"h2");Q(5,"Create a new bookmark group");H()()();F(6,"div",5)(7,"div",6)(8,"form",7);J(9,"b-error-banner",8);F(10,"div",9)(11,"label",10);Q(12,"Name");H();J(13,"input",11,0);H();F(15,"div",9)(16,"label",12);Q(17,"Description");H();F(18,"textarea",13);Q(19,"        ");H()();F(20,"p",14);Q(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. ");H();
F(22,"div",15)(23,"button",16);O("click",function(){v(c);return x(b.save())});Q(24," Save ");H();F(25,"button",17);O("click",function(){v(c);return x(b.revertChanges())});Q(26," Revert changes ");H()()()()()}a&2&&(A(8),E("formGroup",b.bookmarkGroupUnderEdit),A(),E("error",b.error),A(),E("ngClass",Hg(7,LLc,b.isSaving)),A(3),E("disabled",b.isSaving),A(2),E("ngClass",Hg(9,LLc,b.isSaving)),A(3),E("disabled",b.isSaving),A(5),E("disabled",b.isSaving))},dependencies:[rv,RC,kC,Ex,Gx,KI,TI,my,Bh,dy,ey,vy,
ry,sy,m0],encapsulation:2});var MLc=["form"],t4=function(a,b,c,d,e,f,h,k,q){Y.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=f;this.documentationLinks=h;this.componentActions=q;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;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.sessionIsExternal=f.isExternalSession();k.parentId&&this.loadParentComponent(ii(k.parentId))};V(t4,Y);t4.\u0275dir=Y.\u0275dir;g=t4.prototype;g.ngAfterViewInit=function(){};
g.create=function(){var a=this;this.validate()&&(Xp(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){Xp(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(wp.editComponent.makeHref(b.componentId))},a.activeSession.getCreateComponentRedirectDelay())}).catch(function(b){a.butterBar.showWarning(Zm(b),0);a.isSaving=!1}))};g.back=function(){J1(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;NLc(this)};g.accessCheckComplete=function(a){this.componentIsValid=a;NLc(this)};
var NLc=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled=a.component.commentEditState==="ENABLED"):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};da.Object.defineProperties(t4.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;NLc(this)}}});
t4.\u0275fac=function(a){return new (a||t4)(B(cD),B(BP),B(CF),B(I1),B(NM),B(as),B(bH),B($H),B(PV))};
t4.\u0275cmp=p({type:t4,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&rg(MLc,5);if(a&2){var c;vg(c=wg())&&(b.createComponentForm=c.first)}},features:[Lf],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","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["for","retention-settings",1,"required"],["target","_blank",
1,"keep-underline","keep-focus-ring",3,"href"],["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=u();F(0,"div",1)(1,"div",2)(2,"b-button",3);O("onAction",function(){v(c);return x(b.back())});J(3,"b-icon",4);H()()();F(4,"div",5)(5,"h2",
6);Q(6,"Create component");H();F(7,"div",7)(8,"form",8,0);J(10,"b-error-banner",9);F(11,"div",10)(12,"label",11)(13,"span",12);Q(14,"Name");H()();F(15,"input",13);Cg("ngModelChange",function(d){v(c);Bg(b.component.name,d)||(b.component.name=d);return x(d)});H()();F(16,"div",10)(17,"label",14)(18,"span",12);Q(19,"Description");H()();F(20,"textarea",15);Cg("ngModelChange",function(d){v(c);Bg(b.component.description,d)||(b.component.description=d);return x(d)});Q(21,"        ");H()();F(22,"div",10)(23,
"label",16)(24,"span",12);Q(25,"Parent Component");H()();F(26,"b-team-component-picker",17);O("selectedComponentChange",function(d){v(c);return x(b.onComponentSelect(d!==null&&d!==void 0?d:null))})("accessCheckComplete",function(d){v(c);return x(b.accessCheckComplete(d))});H()();F(27,"div",18)(28,"div",19)(29,"mat-checkbox",20);O("change",function(d){v(c);return x(b.setCommentEditState(d.checked))});H()();F(30,"div")(31,"strong",21);Q(32,"Editable Comments");H();F(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. ");
C(35,pqb,2,1,"a",23);H()()();F(36,"div",10)(37,"label",24)(38,"span",12);Q(39,"Retention Settings");H()();F(40,"div",21)(41,"p");Q(42,"Please choose a period of time to retain the data stored in this component.");J(43,"br");F(44,"a",25);Q(45," Learn more ");H()()();F(46,"div",26)(47,"b-retention-settings-form",27);O("modelChange",function(d){v(c);return x(b.component.retentionSettings=d)})("validChange",function(d){v(c);return x(b.retentionIsValid=d)});H()()();F(48,"p",28);Q(49," Advanced settings such as custom field and access controls may be defined once the component is created. ");
H();F(50,"div",29)(51,"b-button",30);O("onAction",function(){v(c);return x(b.create())});Q(52," Save ");H();F(53,"b-button",31);O("onAction",function(){v(c);return x(b.back())});Q(54," Discard ");H()()()()()}a&2&&(A(8),Wf("show-errors",b.error),A(2),E("error",b.error),A(),Wf("bv2-edit-resource-readonly",b.isSaving),A(4),E("bFocus",!0),Ag("ngModel",b.component.name),E("disabled",b.isSaving)("required",!0),A(),Wf("bv2-edit-resource-readonly",b.isSaving),A(4),Ag("ngModel",b.component.description),E("disabled",
b.isSaving),A(2),Wf("bv2-edit-resource-readonly",b.isSaving),A(4),E("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),A(),Wf("bv2-edit-resource-readonly",b.isSaving),A(2),E("checked",b.commentEditsEnabled),A(6),E("ngIf",!b.sessionIsExternal),A(9),E("href",Wr(),cf),A(2),Wf("bv2-edit-resource-readonly",b.isSaving),A(),E("issueRetentionDisabled",b.isSaving)("isExternal",xq(b.parentComponent))("componentPathInfo",b.parentComponent==null?null:
b.parentComponent.componentPathInfo)("initialModel",b.component.retentionSettings),A(4),E("disabled",b.isSaving||!b.componentIsValid),A(2),E("disabled",b.isSaving))},dependencies:[sO,tv,m0,pZ,my,Bh,dy,ey,vy,ly,jy,OO,oJ,pJ,p1,UV],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var OLc=["hotlistName"],PLc=function(a){return{"bv2-edit-resource-readonly":a}},u4=function(a,b,c,d,e,f,h,k){Y.call(this);var q=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.analytics=e;this.errorHandler=f;this.appEvents=k;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new iy({name:new ky("",Zx),description:new ky("")});this.subscriptions.add(cS(h,function(){return!(!q.name()&&!q.description())},!1))};V(u4,Y);u4.\u0275dir=Y.\u0275dir;g=u4.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(wp.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(){J1(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:""};
u4.\u0275fac=function(a){return new (a||u4)(B(NM),B(I1),B(ZC),B(jE),B(CF),B(eD),B(bS),B(iD))};
u4.\u0275cmp=p({type:u4,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&rg(OLc,5);if(a&2){var c;vg(c=wg())&&(b.hotlistName=c.first)}},features:[Lf],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=u();F(0,"div",1)(1,"div",2)(2,"button",3);O("click",function(){v(c);
return x(b.back())});J(3,"mat-icon",4);H();F(4,"h2");Q(5,"Create a new hotlist");H()()();F(6,"div",5)(7,"div",6)(8,"form",7);J(9,"b-error-banner",8);F(10,"div",9)(11,"label",10);Q(12,"Name");H();J(13,"input",11,0);H();F(15,"div",9)(16,"label",12);Q(17,"Description");H();F(18,"textarea",13);Q(19,"        ");H()();F(20,"p",14);Q(21," Advanced settings such as access controls may be defined once the hotlist is created. ");H();F(22,"div",15)(23,"button",16);O("click",function(){v(c);return x(b.save())});
Q(24," Save ");H();F(25,"button",17);O("click",function(){v(c);return x(b.revertChanges())});Q(26," Revert changes ");H()()()()()}a&2&&(A(8),E("formGroup",b.hotlistUnderEdit),A(),E("error",b.error),A(),E("ngClass",Hg(7,PLc,b.isSaving)),A(3),E("disabled",b.isSaving),A(2),E("ngClass",Hg(9,PLc,b.isSaving)),A(3),E("disabled",b.isSaving),A(5),E("disabled",b.isSaving))},dependencies:[rv,RC,kC,Ex,Gx,KI,TI,my,Bh,dy,ey,vy,ry,sy,m0],encapsulation:2});var v4=function(a){this.internalArray_=m(a,0,v4.messageId)};V(v4,X);v4.prototype.getContent=function(){return Zh(this,1)};v4.prototype.setContent=function(a){return Sj(this,1,a)};v4.prototype.hasContent=function(){return vl(this,1)};v4.messageId="b.LlmGenericRequest";var QLc=function(a){this.internalArray_=m(a,0,QLc.messageId)};V(QLc,X);QLc.messageId="b.LlmGenericResponse";var w4=function(a){this.executor=a};w4.prototype.suggestIssueTitle=function(a){a=(new v4).setContent(a);return this.executor.post({url:"/action/llm/suggest_title",body:a,responseConstructor:QLc}).then(function(b){var c;return(c=Zh(b,1))!=null?c:""})};w4.\u0275fac=function(a){return new (a||w4)(n(qA))};w4.\u0275prov=Fc({token:w4,factory:w4.\u0275fac,providedIn:"root"});var x4=function(){this.isGeneratingTitle=new rn(!1);this.generatedTitle=new rn(null);this.suggestTitleRequested=new yf};x4.\u0275fac=function(a){return new (a||x4)};x4.\u0275prov=Fc({token:x4,factory:x4.\u0275fac,providedIn:"root"});var y4=function(a,b,c,d,e){Y.call(this);var f=this;this.activeSession=a;this.butterBar=b;this.analytics=c;this.llmSuggestTitleService=d;this.llmApi=e;this.suggestedTitle=new xF;this.enableSuggestTitle=ep(this.activeSession,"enableSuggestTitle")||!1;Ir(this.llmSuggestTitleService.suggestTitleRequested).pipe(Df(this.destroyed$)).subscribe(function(){f.suggestIssueTitle()})};V(y4,Y);y4.\u0275dir=Y.\u0275dir;
y4.prototype.suggestIssueTitle=function(){var a=this,b;return ge(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 ie(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);Xp(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);me(c)})};y4.\u0275fac=function(a){return new (a||y4)(B(as),B(cD),B(CF),B(x4),B(w4))};
y4.\u0275cmp=p({type:y4,selectors:[["llm-suggest-title-button"]],inputs:{description:"description"},outputs:{suggestedTitle:"suggestedTitle"},features:[Lf],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&&(F(0,"button",0),O("click",function(){return b.suggestIssueTitle()}),J(1,"mat-icon",1),Q(2," Suggest title\n"),H());a&2&&E("matTooltip",b.description.value===""?"Enter a description to suggest a title":"Generate AI-suggested title for this issue")("disabled",b.description.value==="")},dependencies:[RC,kC,Ex,KI,TI],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 RLc=[[["","mainSegment",""]],[["","dropdownSegment",""]]],z4=function(){this.mainSegment=!0};z4.\u0275fac=function(a){return new (a||z4)};z4.\u0275dir=ed({type:z4,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&Wf("main-segment",b.mainSegment)}});var A4=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.size="large";this.dialogClosed=new xF;this.dialogOpened=new xF};A4.prototype.ngAfterContentInit=function(){};
A4.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};da.Object.defineProperties(A4.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.trigger)==null?void 0:a.isOpen)!=null?b:!1}}});A4.\u0275fac=function(a){return new (a||A4)};
A4.\u0275cmp=p({type:A4,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&sg(c,z4,5);if(a&2){var d;vg(d=wg())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&rg(RR,5);if(a&2){var c;vg(c=wg())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Wf("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled",size:"size"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[rd],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=u();ig(RLc);jg(0);F(1,"button",2,0);O("click",
function(){v(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 x()})("onedevPopupPanelTriggerOpened",function(){v(c);return x(b.dialogOpened.emit())})("onedevPopupPanelTriggerClosed",function(){v(c);return x(b.dialogClosed.emit())});J(3,"mat-icon",3);H();F(4,"onedev-popup-panel",4,1)(6,"div",5);jg(7,1);H()()}a&2&&(a=M(5),A(),Zf("dropdown-button ",b.size,""),E("onedevPopupPanelTriggerFor",a)("matTooltip",
b.dropdownTooltip)("disabled",b.disabled),Nf("aria-label",b.dropdownAriaLabel))},dependencies:[RC,kC,Gx,KI,TI,QR,RR],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 SLc=new Map([["TOTALLY_INCORRECT","Totally incorrect"],["MISSING_IMPORTANT_INFO","Missing important info"],["OTHER","Other"]]),B4=function(a,b,c){Y.call(this);this.butterBar=a;this.analytics=b;this.llmSuggestTitleService=c;this.suggestionAccepted=new xF;this.isGeneratingTitle$=Ir(this.llmSuggestTitleService.isGeneratingTitle).pipe(zf({refCount:!0,bufferSize:1}));this.suggestedTitle$=Ir(this.llmSuggestTitleService.generatedTitle).pipe(zf({refCount:!0,bufferSize:1}));this.isVisible$=we([Ir(this.llmSuggestTitleService.isGeneratingTitle),
Ir(this.llmSuggestTitleService.generatedTitle)]).pipe(Df(this.destroyed$),z(function(d){var e=l(d);d=e.next().value;e=e.next().value;return d||e}));this.suggestedTitleRejectionReasons=["TOTALLY_INCORRECT","MISSING_IMPORTANT_INFO","OTHER"];this.REJECT_REASON_TO_DISPLAY=SLc};V(B4,Y);B4.\u0275dir=Y.\u0275dir;B4.prototype.close=function(){this.llmSuggestTitleService.generatedTitle.next(null)};B4.\u0275fac=function(a){return new (a||B4)(B(cD),B(CF),B(x4))};
B4.\u0275cmp=p({type:B4,selectors:[["llm-suggest-title-preview"]],outputs:{suggestionAccepted:"suggestionAccepted"},features:[Lf],decls:4,vars:3,consts:[["spinner",""],["splitButton",""],["class","suggest-title flex-kids-x carded margin-s-top",4,"ngIf"],[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"],[4,"ngIf","ngIfElse"],[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","","class","rejection-reason",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",1,"rejection-reason",3,"click"]],template:function(a,b){a&1&&(C(0,sqb,25,15,"div",2),T(1,"async"),C(2,tqb,1,0,"ng-template",null,0,Mg));a&2&&E("ngIf",U(1,1,b.isVisible$))},dependencies:[sv,tv,RC,kC,Ex,Gx,KI,TI,pQ,A4,z4,LI,yv],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 C4=function(a,b){Y.call(this);var c=this;this.similarIssuesApi=a;this.analytics=b;this.hasSearched=this.isLoading=!1;this.loadedIssueCount=0;this.componentId$=new xf(1);this.contextRaw$=new xf(1);this.tableColumns=["title","priority","createdTime"];this.isInternal=Ji();this.tableOptions={hideColumnHeaders:!0,enableIssueHovercard:!0,rowLimit:3,navigationOptions:{alwaysOpenNewTab:!0},modes:{createdTime:"relativepastshort"}};this.searchString$=this.contextRaw$.pipe(z(function(d){return d.trim()}),
He(function(d){return d.length>=7}),pf(200));this.issues$=we([this.componentId$,this.searchString$]).pipe(Cf(function(d){var e=l(d);d=e.next().value;e=e.next().value;c.isLoading=!0;return XG(c.similarIssuesApi,{scope:"componentId:"+d+" modified:365d status:open",scopeSortOrder:"vote_count desc",maxResults:15,keyword:e})}),lf(function(d){ij("similarIssuesApi.lookupSimilarIssues() error: ",d);var e,f,h=(f=d==null?void 0:(e=d.error)==null?void 0:e.status)!=null?f:d==null?void 0:d.status;c.analytics.trackEvent("similarIssues",
"error",h);return pe({similarIssues:[],scores:[]})}),z(function(d){return xqb(d)}),Ef(function(d){c.isLoading=!1;c.hasSearched=!0;c.loadedIssueCount=d.length}));this.issueIds$=this.issues$.pipe(z(function(d){return d.map(function(e){return e.issueId})}));this.subscriptions.add(this.issues$.pipe(z(function(d){return d.length})).subscribe(function(d){b.trackEvent("similarIssues","loaded","possible-dupes-"+d,d)}))};V(C4,Y);C4.\u0275dir=Y.\u0275dir;
da.Object.defineProperties(C4.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 ho(this.componentId$)}},context:{configurable:!0,enumerable:!0,set:function(a){this.contextRaw$.next(a!=null?a:"")}}});
C4.\u0275fac=function(a){return new (a||C4)(B(WG),B(CF))};
C4.\u0275cmp=p({type:C4,selectors:[["similar-issues"]],hostVars:4,hostBindings:function(a,b){a&2&&Wf("thinking-on-empty",b.isThinkingOnEmpty)("is-empty-state",b.isEmpty)},inputs:{componentId:"componentId",context:"context"},features:[Lf],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","class","xs muted","matTooltip","Learn more",
"aria-label","Learn more",4,"ngIf"],[4,"ngIf"],[3,"issueIds","tableColumns","options"],["mat-icon-button","","href","http://go/similar-issues-buganizer","target","_blank","matTooltip","Learn more","aria-label","Learn more",1,"xs","muted"],["svgIcon","help-outline"]],template:function(a,b){a&1&&(F(0,"div",0),J(1,"mat-icon",1),F(2,"h3",2),Q(3,"Possible duplicates"),H(),C(4,uqb,2,0,"a",3)(5,vqb,1,0,"b-spinner",4),H(),C(6,wqb,1,3,"b-issues-table",5),T(7,"async"));if(a&2){var c;A(4);E("ngIf",b.isInternal);
A();E("ngIf",b.isLoading&&!b.isThinkingOnEmpty);A();$f((c=U(7,3,b.issueIds$))?6:-1,c)}},dependencies:[tv,RC,pQ,UT,KI,TI,kC,Hx,yv],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 TLc=["popOver"],zqb=function(a){return{$implicit:a}},Hqb=function(a){return{editingValue:a}},D4=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new bv;this.editorOpen=new bv;this.required=this.editing=this.headerFocused=!1;this.editingValue=new ky("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(a===""||a==="true"||a==="required")this.required=
!0};V(D4,hP);g=D4.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};da.Object.defineProperties(D4.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
D4.\u0275fac=function(a){return new (a||D4)(Jd("required"))};
D4.\u0275cmp=p({type:D4,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&rg(TLc,7);if(a&2){var c;vg(c=wg())&&(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:[Dg([{provide:Wx,useExisting:Sc(function(){return D4}),multi:!0},{provide:hP,useExisting:Sc(function(){return D4}),multi:!0}]),Lf],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=u();F(0,"button",5,0);O("click",function(){v(c);return x(b.startEditing())})("focus",function(){v(c);return x(b.headerFocused=!0)})("blur",function(){v(c);return x(b.headerFocused=!1)});F(2,"span");C(3,Aqb,2,4,"ng-container",6)(4,
Bqb,1,1,"ng-template",null,1,Mg);H();C(6,Cqb,2,2,"svg",7);H();F(7,"onedev-pop-over-edit-panel",8,2);O("closedWithAction",function(f){v(c);return x(b.stopEditing(f))});H();C(9,Jqb,2,2,"ng-template",null,3,Mg)}if(a&2){a=M(1);var d=M(5),e=M(10);Nf("aria-labelledby",b.labelledById);A(3);E("ngIf",b.valueTemplate)("ngIfElse",d);A(3);E("ngIf",!b.disabled);A();E("anchor",a)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[tv,xv,Bh,dy,Ny,iP,qy],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 ULc=Eh("indicatorRotate",[Hh("collapsed, void",Gh({transform:"rotate(0deg)"})),Hh("expanded",Gh({transform:"rotate(180deg)"})),Jh("expanded <=> collapsed, void => collapsed",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),VLc=Eh("bodyExpansion",[Hh("collapsed, void",Gh({height:"0px",visibility:"hidden"})),Hh("expanded",Gh({height:"*",visibility:""})),Jh("expanded <=> collapsed, void => collapsed",Fh("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var WLc=new ld("CdkAccordion");var XLc=0,E4=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=Yd.EMPTY;this.closed=new bv;this.opened=new bv;this.destroyed=new bv;this.expandedChange=new bv;this.id="cdk-accordion-child-"+XLc++;this.disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,f){d.accordion&&!d.accordion.multi&&d.accordion.id===f&&d.id!==e&&(d.expanded=!1)});this.accordion&&
(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};g=E4.prototype;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)})};da.Object.defineProperties(E4.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())}}});
E4.\u0275fac=function(a){return new (a||E4)(B(WLc,12),B(Wg),B(Uw))};E4.\u0275dir=ed({type:E4,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",Tg],disabled:[2,"disabled","disabled",Tg]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[Dg([{provide:WLc,useValue:void 0}]),Mf]});var F4=function(){};F4.\u0275fac=function(a){return new (a||F4)};F4.\u0275mod=cd({type:F4});F4.\u0275inj=Gc({});var YLc=new ld("MAT_ACCORDION");var ZLc=new ld("MAT_EXPANSION_PANEL");var $Lc=function(a,b){this._template=a;this._expansionPanel=b};$Lc.\u0275fac=function(a){return new (a||$Lc)(B(og),B(ZLc,8))};$Lc.\u0275dir=ed({type:$Lc,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});var aMc=["body"],bMc=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],cMc=0,dMc=new ld("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),G4=function(a,b,c,d,e,f,h){E4.call(this,a,b,c);this._viewContainerRef=d;this._animationMode=f;this._hideToggle=!1;this.afterExpand=new bv;this.afterCollapse=new bv;this._inputChanges=new yf;this._headerId="mat-expansion-panel-header-"+cMc++;this.accordion=a;this._document=e;this._animationsDisabled=f==="NoopAnimations";h&&(this.hideToggle=h.hideToggle)};V(G4,E4);
G4.\u0275dir=E4.\u0275dir;g=G4.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(Bf(null),He(function(){return a.expanded&&!a._portal}),qf()).subscribe(function(){a._portal=new Bw(a._lazyContent._template,a._viewContainerRef)})};g.ngOnChanges=function(a){this._inputChanges.next(a)};g.ngOnDestroy=function(){E4.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"))};
da.Object.defineProperties(G4.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}}});G4.\u0275fac=function(a){return new (a||G4)(B(YLc,12),B(Wg),B(Uw),B(pg),B(vh),B(Pu,8),B(dMc,8))};
G4.\u0275cmp=p({type:G4,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&sg(c,$Lc,5);if(a&2){var d;vg(d=wg())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&rg(aMc,5);if(a&2){var c;vg(c=wg())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&Wf("mat-expanded",b.expanded)("_mat-animation-noopable",b._animationsDisabled)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",Tg],
togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[Dg([{provide:YLc,useValue:void 0},{provide:ZLc,useExisting:G4}]),Mf,Lf,rd,Fg],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=u();ig(bMc);jg(0);
F(1,"div",1,0);O("@bodyExpansion.start",function(d){v(c);return x(b._animationStarted(d))})("@bodyExpansion.done",function(d){v(c);return x(b._animationDone(d))});F(3,"div",2);jg(4,1);C(5,Kqb,0,0,"ng-template",3);H();jg(6,2);H()}a&2&&(A(),E("@bodyExpansion",b._getExpandedState())("id",b.id),Nf("aria-labelledby",b._headerId),A(4),E("cdkPortalOutlet",b._portal))},dependencies:[Fw],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);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.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);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-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);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-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)}.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:[VLc]},changeDetection:0});var eMc=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],H4=function(a,b,c,d,e,f,h){var k=this;this.panel=a;this._element=b;this._focusMonitor=c;this._changeDetectorRef=d;this._animationMode=f;this._parentChangeSubscription=Yd.EMPTY;this.tabIndex=0;var q=a.accordion?a.accordion._stateChanges.pipe(He(function(t){return!(!t.hideToggle&&!t.togglePosition)})):Fe;this.tabIndex=parseInt(h||"")||0;this._parentChangeSubscription=Ge(a.opened,a.closed,q,a._inputChanges.pipe(He(function(t){return!!(t.hideToggle||
t.disabled||t.togglePosition)}))).subscribe(function(){return k._changeDetectorRef.markForCheck()});a.closed.pipe(He(function(){return a._containsFocus()})).subscribe(function(){return Tv(c,b,"program")});e&&(this.expandedHeight=e.expandedHeight,this.collapsedHeight=e.collapsedHeight)};g=H4.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:oh(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
g.focus=function(a,b){a?Tv(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)};da.Object.defineProperties(H4.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
H4.\u0275fac=function(a){return new (a||H4)(B(G4,1),B(Rd),B(Sv),B(Wg),B(dMc,8),B(Pu,8),Jd("tabindex"))};
H4.\u0275cmp=p({type:H4,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&O("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(Nf("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),Vf("height",b._getHeaderHeight()),Wf("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:Ug(a)}]},standalone:!0,features:[Mf,Fg],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&&(ig(eMc),F(0,"span",0),jg(1),jg(2,1),jg(3,2),H(),C(4,Lqb,3,1,"span",1));a&2&&(Wf("mat-content-hide-toggle",!b._showToggle()),A(4),$f(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);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.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)}@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)}}.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)}.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)}.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)}.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);display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}\n'],
encapsulation:2,data:{animation:[ULc]},changeDetection:0});var I4=function(){};I4.\u0275fac=function(a){return new (a||I4)};I4.\u0275dir=ed({type:I4,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});var J4=function(){};J4.\u0275fac=function(a){return new (a||J4)};J4.\u0275mod=cd({type:J4});J4.\u0275inj=Gc({imports:[lx,F4,Gw]});var fMc=["descriptionConfirmDialog"],gMc=function(a){return{submitted:a}},Oqb=function(a,b){return{partner:a,"public":b}},Yrb=function(a){return{"bv2-upload-ongoing":a}},Prb=function(a){return{required:a}},csb=function(){return{standalone:!1}},hMc=new ld("titleBannedWordsChecker"),iMc=new ld("descriptionBannedWordsChecker"),jMc={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?"}},K4=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma,Aa,wb,Pb,Vb,xb,Uc,Sa,nb,Za,Yb,ic,Rc,Ab){Y.call(this);var dc=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=f;this.accessPolicy=h;this.bLocation=k;this.appHistory=
q;this.issueTemplate=t;this.issueTypeDialog=w;this.componentActions=y;this.activeSession=D;this.draftStore=G;this.analytics=I;this.issueApi=N;this.hotlistApi=S;this.butterBar=W;this.errorHandler=Z;this.matDialogService=fa;this.appEvents=ma;this.userPreferencesManager=ha;this.cdr=Ma;this.issueRelationshipsFridge=Aa;this.issueFridge=wb;this.componentFridge=Pb;this.clearcut=Vb;this.jspbPrincipalTypes=xb;this.trackerFridge=Uc;this.titleBannedWordsChecker=Sa;this.descriptionBannedWordsChecker=nb;this.confirmIssueAccessLimitSettingsService=
Za;this.componentTemplateApi=Yb;this.dismissalService=ic;this.hostElement=Rc;this.currentUserBookmarksFridge=Ab;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=uo;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.isLoadingComponent=!1;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.verifierText=this.reporterText=this.assigneeText=null;this.ccsText=[];this.collaboratorsText=[];this.collaboratorGroupsText=[];this.selectedComponent=null;this.selectedAccessLimitLevel="LIMIT_NONE";this.useCodefont=!1;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=ri;this.toIssueSeverity=xra;this.FieldType=fP;this.initialized=!1;this.trackerComponent$=Be(function(){return pe(dc.activeSession.getTracker())}).pipe(Cf(function(Xb){return Xb?dc.componentFridge.watch(Number(Xb.componentId)).pipe(Bf(void 0)):pe(void 0)}));this.trackerId$=new rn(void 0);
this.tracker$=this.trackerId$.pipe(Cf(function(Xb){return Xb?dc.trackerFridge.watch(Xb):pe(void 0)}));this.titleAfterBlur$=new yf;this.similarIssuesSearchString$=this.titleAfterBlur$.pipe(rf(100));this.trackerCollaboratorGroups=[];this.enableSuggestTitle=ep(this.activeSession,"enableSuggestTitle")&&this.activeSession.isInternalSession();this.onAnyClick=function(Xb){Iva(Xb).match("SIMILAR-ISSUES")&&(dc.everClickedSimilarIssues=!0,dc.analytics.trackEvent("similarIssues","click"))};this.getSingleEditFieldType=
iMa;this.getListFieldType=n6a;this.shouldShowSimilarIssues=this.activeSession.isInternalSession()||ep(this.activeSession,"enableSimilarIssueExternal");this.didConfirmNavigateAway=function(){dc.everShowedIssueHovercard||dc.everClickedSimilarIssues?dc.analytics.trackEvent("createIssue","abandon-happy"):dc.analytics.trackEvent("createIssue","abandon-normal")};this.fetchUserHotlists();xa.didConfirm=this.didConfirmNavigateAway;this.subscriptions.add(this.tracker$.subscribe(function(Xb){dc.updateCollaboratorGroups(Xb)}));
this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){dc.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(){dc.everShowedIssueHovercard=!0;dc.analytics.trackEvent("similarIssues","hover")}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){dc.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){dc.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=
ep(D,"enableCreateIssueWithTemplate");this.frontendIsInternalOrPartner=D.isInternalSession()||aB(D);this.priorityChoices=sa.priorities.map(function(Xb){return{value:Xb,displayText:Xb}});this.severityChoices=sa.severities.map(function(Xb){return{value:Xb,displayText:Xb}});this.issueTypeChoices=sa.editIssueTypes.map(function(Xb){return{value:Xb,displayText:si(Xb),altText:sa.issueTypesShortDescriptions.get(Xb)}});this.urlTemplate=new BIc(ua,b);this.piiWarningMessage=D.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.descriptionBoxId="bv2-description";this.componentAutocomplete=ua.componentAutocomplete;this.componentRequestedInUrl=ua.component;this.templateIssueRequestedInUrl=ua.template_issue;ua.template&&(a=Number(ua.template))&&(this.preferredTemplateId=a);if(a=ua.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=ua.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=ua.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=di(gsb);esb(this.issue,this);this.audience=
"EXTERNAL";ua.description?this.comment=new XH(ua.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(oo("0"))||"",this.comment=new XH(a));this.comment.formattingMode=kMc(this);a=lMc(ua);this.isFormatInRoute=a!=null;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(ha.preferences$.subscribe(function(Xb){var vd;dc.useCodefont=(vd=Xb.useCodefont)!=null?vd:dc.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=DIc(this.urlTemplate)||
!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(aJ(Ua,{title:"Create Issue Page",hotkeys:[{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Xb;(Xb=dc.hotlistPicker)==null||Xb.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){dc.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,mMc(this,Number(this.componentRequestedInUrl))):this.componentAutocomplete?nMc(this,this.componentAutocomplete):(IIc(this.urlTemplate,
this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&(this.newIssueStarted=!0,oMc(this));this.originalIssueCopy=di(this.issue);ua.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=D.getCreateRestrictedSubresourcesComponentIds();this.subscriptions.add(cS(xa,
function(){return dc.hasUnsavedChanges()},!1))};V(K4,Y);K4.\u0275dir=Y.\u0275dir;K4.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||this.recaptchaResponse!==""};var pMc=function(a){if(!a.templateTitle||!a.templateComment)return!1;var b=zFa(a.comment.value,a.templateComment);return zFa(a.issue.title,a.templateTitle)&&b},Zrb=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};
K4.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||qMc(a,b))}))};K4.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var L4=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};K4.prototype.back=function(){J1(this.appHistory)};
var rMc=function(a){var b;return yq(a.selectedComponent)&&!((b=a.selectedComponent)==null||!b.trackerId)&&!Np(a.activeSession)},sMc=function(a,b){b==="LIMIT_VIEW"||b==="LIMIT_VIEW_TRUSTED"?a.selectedAccessLimitLevel=b:(a.selectedAccessLimitLevel="LIMIT_VIEW_TRUSTED",Xp(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.":
"")))};K4.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
var qMc=function(a,b){a.selectedComponent=b;a.selectedComponent?(a.issue=Object.assign({},a.issue,{componentId:a.selectedComponent.componentId}),a.originalIssueCopy.componentId=a.selectedComponent.componentId,tMc(a),a.audience=xq(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):(sc(a.issue,"componentId"),a.audience="EXTERNAL");a.submitRequested=!1;uMc(a);a.selectedComponentProcessedPromise=Promise.all([vMc(a),wMc(a)]).then(function(){});return a.selectedComponentProcessedPromise},xMc=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},Rqb=function(a){return O6a(a.selectedComponent)?"External Google partners may be able to see this issue.":yq(a.selectedComponent)?
"Public users may be able to see this issue.":""};K4.prototype.getCollaboratorGroupsString=function(){return this.collaboratorGroupsText.length===0?"":this.collaboratorGroupsText.length>1?this.collaboratorGroupsText.length+" groups selected":this.collaboratorGroupsText[0]};K4.prototype.updateCollaboratorGroups=function(a){a&&a.collaboratorGroups&&(this.trackerCollaboratorGroups=wi(a.collaboratorGroups),this.separateCollaboratorGroups())};
K4.prototype.separateCollaboratorGroups=function(){for(var a=[],b=new Set(this.trackerCollaboratorGroups),c=l(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&&!yq(this.selectedComponent)){var e;(e=this.advancedFieldsZippy)==null||e.open()}};
var oMc=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?a.butterBar.showWarning("Invalid template_issue specified"):(a.availableExistingIssueTemplate=new yMc(b,"issue","Issue "+b,!1,0,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},vMc=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&a.selectedTemplate.type==="predefined"&&!zMc(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;dq(cq(f))&&(f=e.default?"(default template)":"(unnamed template)");return new yMc(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=l(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]);L4(a)}).catch(function(){a.butterBar.showWarning("Unable to load templates for this component")}):Promise.resolve(void 0)},zMc=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},wMc=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=KB(a.userAccess,"appender","components/"+b).then(function(f){a.canCreateNewIssuesInComponent=f;L4(a)}),e=KB(a.userAccess,
"writer",c).then(function(f){a.canEditIssuesInComponent=f;L4(a)});c=KB(a.userAccess,"reader",c).then(function(f){a.canViewIssuesInComponent=f;L4(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(f){a.componentHasExpandedAccessEnabled=f;L4(a)});return Promise.all([d,e,c,b]).then(function(){AMc(a);L4(a)}).catch(function(f){a.$log.warn(f)}).finally(function(){a.createAclLoading=!1})},DMc=function(a){if(a.selectedTemplate){var b=function(c){var d=Object.assign(di(gsb),c.snapshot);
a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=di(d);xMc(a);fsb(a,a.issue);var f=di(a.issue);if(a.appliedTemplate)for(var h=l(Object.keys(a.appliedTemplate)),k=h.next();!k.done;k=h.next()){k=k.value;var q=a.appliedTemplate[k];if(Array.isArray(q)&&Array.isArray(f[k])){q=l(q);for(var t=q.next();!t.done;t=q.next())fra(f[k],t.value)}else ci(q,f[k])&&delete f[k]}a.appliedTemplate=e;hsb(d,f);f=e.comment||"";a.comment.value!==a.templateComment&&(F$b(a.comment)||f===""||a.comment.value===
f||(a.templateComment=f,BMc(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=f;var w;a.templateCommentFormattingMode=(w=e.formattingMode)!=null?w:void 0;a.templateTitle=e.title||"";d.reporterUser=Ci(a.userEmail);rMc(a)&&a.canEditIssuesInComponent?sMc(a,d.issueAccessLimitLevel||"LIMIT_NONE"):a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE";a.issue=d;esb(a.issue,a);AMc(a);xMc(a);fsb(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&
a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);IIc(a.urlTemplate,a.issue,a.customFieldMap);esb(a.issue,a);a.originalIssueCopy=di(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=di(a.issue.hotlistId);L4(a)});CMc(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(ksb(a.selectedComponent)).then(b).then(function(){L4(a)}).catch(function(c){a.butterBar.showWarning(c.message)}):a.selectedTemplate.type==="issue"&&(a5b(a.issueTemplate,String(a.selectedTemplate.id)).then(function(c){var d;if(Np(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("hf");return b(c)}).then(function(c){c&&(mMc(a,c),L4(a))}).catch(function(c){a.butterBar.showWarning(c.message)}),se(a.issueFridge.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");uMc(a)}};K4.prototype.isValid=function(){return!(Tqb(this).length!==0||Uqb(this).length!==0)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!$qb(this.comment)&&!0};
var Tqb=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})},Uqb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&Sm(b)}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},EMc=function(a){return a.collaboratorsText.length!==0&&a.canEditIssuesInComponent?Z8b(a.jspbPrincipalTypes,
a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=l(c);c.next();c=c.next().value;return(c==null?void 0:c.principalType)!=="USER"}).map(function(c){return l(c).next().value});return a.invalidCollaboratorsInput.length===0}).catch(function(b){a.butterBar.showWarning(b.message);return!1}):Promise.resolve(!0)},Crb=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)},rrb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},Jr=function(a){return a?a.join(", "):""},CMc=function(a){if(iea(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;(b=a.advancedFieldsZippy)==null||b.open()}};g=K4.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 Rm(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=Rm(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(oo("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
g.handleHotlistPickerSave=function(a){var b=[];a=l(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=l(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;Qa((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 irb=function(a){var b,c,d=(c=(b=a.issue.title)==null?void 0:b.trim())!=null?c:"";a.titleAfterBlur$.next(d)};K4.prototype.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:ri(a)});var b;this.analytics.trackEvent("createIssue","changePriority",(b=this.issue.priority)!=null?b:void 0)};
K4.prototype.setIssueType=function(a){this.issue=Object.assign({},this.issue,{type:wra(a)});var b;this.analytics.trackEvent("createIssue","changeType",(b=this.issue.type)!=null?b:void 0)};K4.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)});Jba(this.selectedHotlists,function(b,c){return zr(b.name,c.name)})};
var FMc=function(a,b){var c,d,e,f,h,k,q,t,w,y,D;return ge(function(G){switch(G.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){G.jumpTo(2);break}e=[];return d.length===1?ie(G,a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):ie(G,H8b(a.issueRelationshipsFridge,c,d),5);case 5:h=G.yieldResult;e=h.notAdded;f=h.errors;G.jumpTo(4);break;case 6:k=G.yieldResult,e=k.notAdded,f=k.errors;case 4:e.length&&a.butterBar.showWarning("Unable to add "+
e+" as parent(s). "+f);case 2:q=a.childrenIssueIds;if((t=q)==null||!t.length){G.jumpTo(7);break}return ie(G,a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(I){return{issueId:I}})),8);case 8:w=G.yieldResult,y=w.notAdded,D=w.errors,y.length&&a.butterBar.showWarning("Unable to add "+y+" as children. "+D);case 7:return G.return(b)}})},Wrb=function(a,b,c){var d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa;return ge(function(sa){switch(sa.nextAddress){case 1:return a.sessionIsExternal&&
pMc(a)?(GMc(a),sa.return()):ie(sa,EMc(a),2);case 2:a.isCollaboratorsValid=sa.yieldResult;d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return sa.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=qc(f.snapshot,function(Ma){return typeof Ma!=="string"||!dq(Ma)});f.snapshot.customField&&(f.snapshot.customField=f.snapshot.customField.filter(function(Ma){return!Sm(Ma)}));fsb(a,f.snapshot);if(a.trackerId$.value&&f.snapshot.type==="VULNERABILITY"&&(k=rFa(a.activeSession.getEnvironmentType(),a.trackerId$.value),k!==void 0)){f.snapshot.collaboratorsUsers||(f.snapshot.collaboratorsUsers=
[]);q=l(k);for(t=q.next();!t.done;t=q.next())w=t.value,f.snapshot.collaboratorsUsers.push(w);f.snapshot.issueAccessLimitLevel="LIMIT_VIEW"}a.collaboratorGroupsText.length>0&&(f.snapshot.collaboratorsUsers=Dra(a.collaboratorGroupsText).concat(f.snapshot.collaboratorsUsers||[]));f.snapshot.assigneeUser&&(f.snapshot.status="ASSIGNED");y=function(){a.isSaving=!0;a.newIssueStarted=!1;Xp(a.butterBar,"Creating...",0);a.issueApi.createIssue(f).then(function(Ma){return FMc(a,Ma)}).then(function(Ma){a.draftStore.$window.sessionStorage.removeItem(oo("0"));
a.originalIssueCopy=di(a.issue);a.analytics.trackEvent("createIssue","create",a.comment.formattingMode==="MARKDOWN"?"markdown":"non markdown");HMc(a);a.collaboratorGroupsText.length>0&&a.analytics.trackEvent("quickAddCollaborators","create","create_issue:"+Ma.issueId);var Aa,wb;((Aa=a.selectedTemplate)==null?0:Aa.inheritable)&&a.selectedTemplate.componentId!==((wb=a.selectedComponent)==null?void 0:wb.componentId)&&a.analytics.trackEvent("templateInheritance","create","issue:"+Ma.issueId);if(c){var Pb;
a.analytics.trackEvent("createIssue","fileAndRedirect","component",(Pb=d.componentId)!=null?Pb:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;KB(a.userAccess,"reader","issues/"+Ma.issueId).then(function(xb){xb?JIc(a.redirectUrl,xp(Ma.issueId),String(Ma.issueId)):(Xp(a.butterBar,"New issue created: "+Ma.issueId+" (view access not granted)",0),JIc(a.redirectUrl,a.paths.listIssues()));L4(a)}).catch(function(xb){a.errorHandler.errorHandler(null,xb);a.isNavigatingAway=!1})}else{var Vb;
a.analytics.trackEvent("createIssue","fileAndNew","component",(Vb=d.componentId)!=null?Vb:void 0);Aa={};Y4b(a.butterBar,Nh(["New issue created: ",Oh("a",(Aa.href=xp(Ma.issueId),Aa),String(Ma.issueId))]),0);d.title=a.templateTitle;a.comment=new XH(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=
di(a.issue)}L4(a)}).catch(function(Ma){Ma.status===403&&Ym(Ma)?fD(a.errorHandler,Zm(Ma)):a.errorHandler.errorHandler(null,Ma);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1}).finally(function(){a.titleBannedWordsChecker.reset();a.descriptionBannedWordsChecker.reset()})};return ie(sa,a.dismissalService.isDismissed(s$a("create-issue"))||a.canEditIssuesInComponent||a.frontendIsInternalOrPartner||!a.selectedComponent||!a.selectedComponent.accessLimit||a.selectedComponent.accessLimit.accessLevel===
"INTERNAL"?Promise.resolve(!0):se(dH(a.matDialogService.open(TZ,{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(D=sa.yieldResult)?ie(sa,IMc(a),4):sa.return();case 4:return(G=sa.yieldResult)?ie(sa,fBc(a.confirmIssueAccessLimitSettingsService,{assigneeUser:(I=f.snapshot.assigneeUser)==null?void 0:I.emailAddress,verifierUser:(N=f.snapshot.verifierUser)==null?void 0:
N.emailAddress,ccUsers:(S=f.snapshot.ccUsers)==null?void 0:S.map(function(Ma){return Ma.emailAddress}).filter(Gi),collaboratorsUsers:(W=f.snapshot.collaboratorsUsers)==null?void 0:W.map(function(Ma){return Ma==null?void 0:Ma.emailAddress}).filter(Gi),issueAccessLimitLevel:f.snapshot.issueAccessLimitLevel,currentUserEmail:a.activeSession.getUserEmail(),canEditIssuesInComponent:a.canEditIssuesInComponent,confirmationDialogText:jMc}),5):sa.return();case 5:return(Z=sa.yieldResult)?ie(sa,a.titleBannedWordsChecker.check((fa=
a.issue.title)!=null?fa:"",JMc(a),f.snapshot.componentId),6):sa.return();case 6:return ma=sa.yieldResult,ie(sa,a.descriptionBannedWordsChecker.check((ua=a.issue.comment)!=null?ua:"",JMc(a),f.snapshot.componentId),7);case 7:Ua=sa.yieldResult;if(!ma||!Ua)return(ha=b)==null||ha.preventDefault(),(xa=b)==null||xa.stopPropagation(),sa.return();y();me(sa)}})},GMc=function(a){a.isSaving=!0;Xp(a.butterBar,"Creating...",0);setTimeout(function(){Xp(a.butterBar,"New issue cr\u00e6ted");a.isSaving=!1;JIc(a.redirectUrl,
a.paths.listIssues())},500)},JMc=function(a){return!!a.selectedComponent&&!!a.selectedComponent.accessLimit&&a.selectedComponent.accessLimit.accessLevel==="EXTERNAL_PUBLIC"},IMc=function(a){var b=Li();!a.canEditIssuesInComponent||a.issue.type!=="VULNERABILITY"&&a.issue.type!=="PRIVACY_ISSUE"?b.resolve(!0):tH(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},nMc=function(a,b){a.isLoadingComponent=!0;a.componentActions.search(b).then(function(c){c.length===
1?(qMc(a,c[0]),L4(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})},mMc=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){var d;if(Np(a.activeSession)&&((d=a.activeSession.getTracker())==null?void 0:d.trackerId)!==c.trackerId)throw Error("jf");qMc(a,c);L4(a)}).catch(function(){a.butterBar.showWarning("Component ID "+
b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};K4.prototype.hasUnsavedChanges=function(){var a=isb(this.issue),b=isb(this.originalIssueCopy);return!ci(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var BMc=function(a,b){dH(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(uf()).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="")})},uMc=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)))},Pqb=function(a){return a.sessionIsExternal?!1:O6a(a.selectedComponent)},Qqb=function(a){return bB(a.activeSession)?
!1:yq(a.selectedComponent)},tMc=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=l(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=jsb(b);KMc(a)}},KMc=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=l(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}},AMc=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)a.ccsText!==void 0?a.ccsText.includes(a.userEmail)||
(a.ccsText=[a.userEmail].concat(r(a.ccsText))):a.ccsText=[a.userEmail]};g=K4.prototype;g.fetchUserHotlists=function(){var a=this;se(zE(this.currentUserBookmarksFridge)).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);L4(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};g.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&Qa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
g.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");Xp(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){Xp(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);L4(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);L4(b);return d},function(){var d=b.hotlistMap[c];sc(b.hotlistMap,c);Qa(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(){L4(b)})};
var lMc=function(a){var b;switch(((b=a.format)==null?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},kMc=function(a){var b;return sl((b=QG(a.userPreferencesManager).textDisplayPreferences)==null?void 0:b.lastPublishMode)||"PLAIN"};
K4.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(Df(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};K4.prototype.showContentJudgementDialog=function(a){return dH(this.matDialogService.open(b_,{panelClass:"no-jitter",width:"500px",data:a}))};
var HMc=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(b>0){var c=Math.min(b,108E5);i8b("createIssue",c,"new-ui");a.analytics.trackEvent("createIssue","createIssue","time-to-create-new-ui",c);rF(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=new Date};
da.Object.defineProperties(K4.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(){DMc(b)})}}}});
K4.\u0275fac=function(a){return new (a||K4)(B(Me),B(dD),B(aV),B(BP),B(K1),B(IB),B(VA),B(NM),B(I1),B(hD),B(sH),B(PV),B(as),B(aH),B(CF),B(jC),B(jE),B(cD),B(eD),B(jH),B(iD),B($H),B($I),B(PG),B(bS),B(wH),B(yF,2),B(XF),B(EF),B(gB),B(qF),B(lG),B(NG),B(hMc),B(iMc),B(XY),B(lB),B(SZ),B(Rd),B(xE))};
K4.\u0275cmp=p({type:K4,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(rg(SX,5),rg(AY,5),rg(fMc,5),rg(G4,5));if(a&2){var c;vg(c=wg())&&(b.hotlistPicker=c.first);vg(c=wg())&&(b.commentBox=c.first);vg(c=wg())&&(b.descriptionConfirmDialog=c.first);vg(c=wg())&&(b.advancedFieldsZippy=c.first)}},features:[Dg([yF,{provide:hMc,useClass:yZ},{provide:iMc,useClass:yZ}]),Lf],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","onApply","onLoad","onCreate",4,"ngIf"],["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"],["class","bv2-create-component-external-warning",3,"ngClass",4,"ngIf"],["class","bv2-validation-error-banner","role","alert",4,"ngIf"],["class","bv2-create-issue-hotlists",4,"ngIf"],[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"],["class","bv2-create-field bv2-right-button",
4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[3,"onApply","onLoad","onCreate","selectedHotlistIds","choices"],[1,"bv2-create-component-external-warning",3,"ngClass"],[3,"name","size"],[3,"href"],["role","alert",1,"bv2-validation-error-banner"],["class","bv2-validation-error",4,"ngIf"],[1,"bv2-validation-error"],[1,"bv2-create-issue-hotlists"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"bv2-hotlist-chips"],[3,"removeHotlist","hotlist"],[1,"bv2-create-field","bv2-right-button"],
["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","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"bv2-validation-error-banner"],["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",4,"ngIf"],[3,"suggestionAccepted",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],["class","bv2-create-field bv2-create-issue-assignee",4,"ngIf"],["class","bv2-create-field bv2-create-issue-collaborators",4,"ngIf"],["class","bv2-create-field bv2-create-issue-cc",4,"ngIf"],[1,"bv2-create-issue-details"],
["for","bv2-description"],[3,"commentChange","onChange","onSubmit","onRestrict","supportsPreview","comment","disabled","judgementForNewContent","componentId","placeholder","idForAriaLabel","audience","showRestrictionOptions","ngClass","warn"],["class","banned-words-warning break-word","warning","",4,"ngIf"],["additionalToolbarItems","",3,"change","initialValue"],["class","bv2-create-issue-row access-level-row",4,"ngIf"],[1,"float-clear"],[1,"bv2-create-issue-zippy"],["class","mat-elevation-z0 bg-secondary bordered",
4,"ngIf"],["class","create-issue-recaptcha",4,"ngIf"],[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,"description"],[3,"suggestionAccepted"],[1,"banned-words-warning","break-word"],["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",3,"click",4,"ngFor","ngForOf"],["for","bv2-type",1,"required"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"click","title"],[1,"bv2-create-field","bv2-create-issue-assignee"],["for","bv2-assignee"],[1,"overflow-hidden"],
["id","bv2-assignee","type","text","name","assignee","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],[1,"bv2-create-field","bv2-create-issue-collaborators"],["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"],[1,"bv2-create-field","bv2-create-issue-cc"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModelChange","ngModel","bContactAutocomplete"],["warning","",1,"banned-words-warning","break-word"],[1,"bv2-create-issue-row","access-level-row"],["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"],[1,"mat-elevation-z0","bg-secondary","bordered"],["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"],["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"],["class","bv2-create-adv-field",4,"ngIf"],["class","bv2-create-adv-field",4,"ngFor","ngForOf"],["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","valueChange",4,"ngIf"],[3,"value","options","includeEmptyOption","valueChange",
4,"ngIf"],[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"],[1,"bg-off-main","rounded","bordered","padded-s-y","padded-l-x",3,"context","componentId"],[1,"create-issue-recaptcha"],[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",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){if(a&1){var c=u();F(0,"h2",6);Q(1,"Create issue");H();F(2,"div",7)(3,"div",8)(4,"button",9);O("click",function(){v(c);return x(b.back())});J(5,"mat-icon",10);H();F(6,"h2");Q(7,"Create Issue");H();C(8,Mqb,1,2,"b-hotlist-picker",11)(9,
Nqb,2,1,"a",12);H()();F(10,"div",13)(11,"div")(12,"div",14)(13,"form",15);C(14,Sqb,6,8,"div",16)(15,arb,4,3,"div",17)(16,crb,2,1,"div",18);F(17,"div",19)(18,"div",20)(19,"div",21)(20,"label",22);Q(21,"Component");H()();F(22,"div",23)(23,"b-team-component-picker",24);O("selectedComponentChange",function(e){v(c);return x(qMc(b,e!==null&&e!==void 0?e:null))});H()()();C(24,frb,11,5,"div",25);H();C(25,grb,3,0,"div",26)(26,$rb,42,39,"div",27);H()()()();C(27,asb,11,2,"ng-template",null,0,Mg)(29,dsb,5,5,
"ng-template",null,1,Mg)}if(a&2){var d;A(8);E("ngIf",b.canEditIssuesInComponent);A();$f((d=b.issue.componentId)?9:-1,d);A(4);E("ngClass",Hg(12,gMc,b.submitRequested));A();E("ngIf",Pqb(b)||Qqb(b));A();E("ngIf",b.submitRequested&&!b.isValid());A();E("ngIf",b.selectedHotlists.length>0);A(7);E("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);A();E("ngIf",b.availablePredefinedTemplates.length>0||b.availableExistingIssueTemplate!=
null);A();E("ngIf",!b.isLoadingComponent&&(b.componentRequestedInUrl!=null||b.selectedComponent!=null)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);A();E("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent)}},dependencies:[sO,AY,SL,iO,vW,M_,kM,Jy,By,pZ,my,Bh,dy,ey,vy,xy,ly,jy,pO,SX,OO,VY,EX,kC,Fx,Ex,Gx,mM,Sw,nM,oM,xx,kH,mH,oH,nH,G4,H4,I4,JI,NI,LI,OI,uO,vO,KI,TI,D4,UV,rv,sv,tv,xv,RC,OD,DY,WY,y4,B4,C4,nI,yv],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)}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var gsb={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},yMc=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 LMc=["form"],M4=function(a,b,c,d,e,f){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.analytics=d;this.butterBar=e;this.appHistory=f;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=M4.prototype;g.ngAfterViewInit=function(){};
g.save=function(){var a=this;if(!this.validate())return Promise.reject(Error("kf"));Xp(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){Xp(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(wp.editSlo.makeHref(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};g.back=function(){J1(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};M4.\u0275fac=function(a){return new (a||M4)(B(NM),B(uG),B(eD),B(CF),B(cD),B(I1))};
M4.\u0275cmp=p({type:M4,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&rg(LMc,5);if(a&2){var c;vg(c=wg())&&(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=u();F(0,"div",
1)(1,"div",2)(2,"b-button",3);O("onAction",function(){v(c);return x(b.back())});J(3,"b-icon",4);H()()();F(4,"div",5)(5,"h2",6)(6,"span",7);Q(7,"Create a new SLO");H()();F(8,"div",8)(9,"form",9,0);J(11,"b-error-banner",10);F(12,"div",11)(13,"label",12);Q(14,"Name");H();F(15,"input",13);O("ngModelChange",function(d){v(c);return x(b.sloUnderEdit.name=d)});H()();F(16,"div",11)(17,"label",14);Q(18,"Description");H();F(19,"textarea",15);O("ngModelChange",function(d){v(c);return x(b.sloUnderEdit.description=
d)});Q(20,"        ");H()();F(21,"div",11)(22,"slo-elements-picker",16);O("onCollectionUpdate",function(d){v(c);return x(b.updateCollection(d))})("onValidation",function(d){v(c);return x(b.elementPickerIsValid=d)});H()();F(23,"p",17);Q(24," Access controls may be defined once the slo is created. ");H();F(25,"div",18)(26,"b-button",19);O("onAction",function(){v(c);return x(b.save())});Q(27," Save ");H();F(28,"b-button",20);O("onAction",function(){v(c);return x(b.revertChanges())});Q(29," Revert changes ");
H()()()()()}a&2&&(A(9),Wf("show-errors",b.error),A(2),E("error",b.error),A(),Wf("bv2-edit-resource-readonly",b.isSaving),A(3),E("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),A(),Wf("bv2-edit-resource-readonly",b.isSaving),A(3),E("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),A(3),E("isDisabled",!1)("collection",b.sloUnderEdit.elements),A(4),E("disabled",b.isSaving||(b.createSloForm==null?null:b.createSloForm.pending)||(b.createSloForm==null?null:b.createSloForm.invalid)||
!b.elementPickerIsValid),A(2),E("disabled",!(b.sloUnderEdit.name!==""||b.sloUnderEdit.description!==""||b.sloUnderEdit.elements.length>0)))},dependencies:[sO,m0,pZ,my,Bh,dy,ey,vy,ly,jy,OO,x1],encapsulation:2});var N4=function(){this.nextPanelId=1};N4.\u0275fac=function(a){return new (a||N4)};N4.\u0275prov=Fc({token:N4,factory:N4.\u0275fac,providedIn:"root"});var O4=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua){Y.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=f;this.userApi=h;this.bookmarkGroupsApi=k;this.hotlistApi=q;this.butterBar=t;this.pageTitle=w;this.dashboards=y;this.routeParams=D;this.appSearchState=I;this.userAccess=N;this.errorHandler=S;this.statusMessages=W;this.appEvents=Z;this.hotlistFridge=fa;this.issueFridge=ma;this.currentUserBookmarksFridge=ua;this.ANALYTICS_CATEGORY="dashboard";
this.panels=[];this.hotlistChoices=[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=G.getUserEmail();this.groupId=D.groupId||null};V(O4,Y);O4.\u0275dir=Y.\u0275dir;
O4.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){MMc(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){NMc(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){NMc(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){NMc(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){NMc(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 psb=function(a,b){var c=b.panelId;b=b.selectedIssues;if(a=OMc(a,c))a.selectedIssues=b!=null?b:[]},osb=function(a,b,c){b.focusedRowIndex=c;if(c!=null)for(a=l(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},OMc=function(a,b){return a.panels.find(function(c){return c.panelId===b})},PMc=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return a!==-1?a:void 0};g=O4.prototype;
g.fetchUserHotlists=function(){var a=this;se(zE(this.currentUserBookmarksFridge)).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];ci(d,c)||(d&&Qa(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");Xp(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Xp(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;Xp(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=l(a);for(var d=a.next();!d.done;d=a.next()){d=l(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=l(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=l(this.panels);for(var e=b.next();!e.done;e=b.next()){e=l(e.value.selectedIssues);for(var f=e.next();!f.done;f=e.next())f.value.isRead=d}this.cdr.detectChanges();Xp(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return GF(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){Xp(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next()){var y=void 0;w.value.lastViewedTime=(y=k)!=null?y:null}}}).catch(function(k){for(var q=l(c.panels),t=q.next();!t.done;t=q.next()){t=l(t.value.selectedIssues);for(var w=t.next();!w.done;w=t.next())w=w.value,w.isRead=!!w.lastViewedTime&&w.lastViewedTime>=w.majorModifiedTime}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=
cEa(a).map(function(k){return k.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};Xp(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(k){for(var q=l([].concat(r(c.searchPanels),r(c.hotlistPanels))),t=q.next();!t.done;t=q.next()){t=t.value;var w=k;if(t.searchResults){t.searchResults=t.searchResults.clone();for(var y=0,D=l(t.searchResults.issues),G=D.next();!G.done;G=D.next()){G=G.value;if(w.affectedIssues[G.issueId]){var I=
w.affectedIssues[G.issueId];I=YYa(I,w.componentMap[Number(La(I.snapshot).componentId)]);I.selected=G.selected;t.searchResults.issues[y]=I;t.resultsLoaded.emit([t.searchResults.issues[y]])}y++}}}k.errors&&k.errors.length?(q=ki(k.errors,"issueId"),c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=u$b(c.statusMessages,h))?Xp(c.butterBar,k):Xp(c.butterBar,"Saved "+dEa(a).length+" issue(s).")}).catch(function(k){c.errorHandler.errorHandler(null,
k)})};g.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){KB(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 MMc=function(a,b){a.panels=(b.item||[]).map(function(c,d){return QMc(a,c,d===0?0:void 0)})};
O4.prototype.removePanel=function(a){var b=this,c=OMc(this,a);c!=null&&(Xp(this.butterBar,"Saving changes...",0),a=di(this.bookmarkGroup),a.item=a.item.filter(function(d){return!RMc(b,c,d)}),SMc(this,a))};
var NMc=function(a,b,c){b=PMc(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=di(a.bookmarkGroup);var e,f=(e=a.bookmarkGroup)==null?void 0:e.item.findIndex(function(h){return RMc(a,d,h)});f!==void 0&&(Mba(b.item,f,c),SMc(a,b))}}},SMc=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;TMc(a,a.bookmarkGroup.item);Xp(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},RMc=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}},UMc=function(a,b){return a.panels.find(function(c){return RMc(a,c,b)})},QMc=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:[]}},TMc=function(a,b){a.panels=b.map(function(c){var d;return(d=UMc(a,c))!=null?d:QMc(a,c)})};
O4.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)})};O4.prototype.editBookmarkGroup=function(){this.bLocation.setUrl(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};
O4.\u0275fac=function(a){return new (a||O4)(B(yF),B(BP),B(NM),B(dD),B(CF),B(jC),B(qE),B(HA),B(jE),B(cD),B(VU),B(N4),B($H),B(as),B(xQ),B(IB),B(eD),B(zH),B(iD),B(rE),B(EF),B(xE))};
O4.\u0275cmp=p({type:O4,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(rg(b1,5),rg(Z0,5));if(a&2){var c;vg(c=wg())&&(b.searchPanels=c);vg(c=wg())&&(b.hotlistPanels=c)}},features:[Dg([yF]),Lf],decls:9,vars:5,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"],[4,"ngIf"],[3,"ngSwitch",4,"ngFor","ngForOf"],[1,"bv2-dashboard-title"],
[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[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,"starMessage","unStarMessage","starred","disabled"],[3,"ngSwitch"],[3,"panel","isDashboardEditable","focusedRowIndex","savedSearchId","first",
"last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[3,"panel","isDashboardEditable","focusedRowIndex","hotlistId","first","last","focusedRowIndexChange","selectionChange","resultsLoaded",4,"ngSwitchCase"],[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&&(F(0,"h2",0),Q(1,"Dashboard"),H(),F(2,"div",1)(3,"div",2),Q(4,"Bookmark groups dashboard"),H(),F(5,"b-dashboard-controls",3),O("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),H()(),F(6,"div",4),C(7,nsb,8,3,"div",5)(8,ssb,3,3,"div",6),H());a&2&&(A(5),E("hotlistChoices",b.hotlistChoices)("panels",b.panels),A(),E("bFocus",
!0),A(),E("ngIf",b.bookmarkGroup),A(),E("ngForOf",b.panels))},dependencies:[SY,DP,b1,Z0,sv,tv,uv,vv,pZ,KI,TI],encapsulation:2});var P4=function(){};P4.\u0275fac=function(a){return new (a||P4)};P4.\u0275mod=cd({type:P4});P4.\u0275inj=Gc({imports:[TY,xV,c1,a1,RD,qZ,bM]});var VMc=["editBookmarkGroupItemsContainer"],WMc=["bookmarkGroupName"],Ssb=function(a){return{"bv2-edit-resource-readonly":a}},Usb=function(a){return{displayText:"Admins",values:a}},Tsb=function(a){return[a]},Q4=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z){Y.call(this);var fa=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.bookmarkGroupsApi=e;this.hotlistApi=f;this.paths=h;this.appHistory=k;this.pageTitle=q;this.userAccess=t;this.errorHandler=y;this.appEvents=
G;this.snackBar=I;this.confirmationDialog=N;this.cdr=S;this.documentationLinks=W;this.currentUserBookmarksFridge=Z;this.selectedTabIndex=0;this.isAdmin=this.isArchiving=this.isUpdating=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.selectedHotlistIds=[[]];this.userHotlists=[];this.userSavedSearches=null;this.savedSearchChoices=[];this.currentUserEmail=D.getUserEmail();this.accessPolicyUnderEdit=bp();this.flattenedAccessPolicy=bp();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);XMc(this);YMc(this);Promise.all([a,b]).then(function(){var ma;(ma=fa.bookmarkGroupNameInput)==null||ma.nativeElement.focus()});this.subscriptions.add(cS(w,function(){return fa.hasUnsavedChanges()},!1));w=function(){XMc(fa)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(w));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(w));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){YMc(fa)}))};
V(Q4,Y);Q4.\u0275dir=Y.\u0275dir;g=Q4.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(){J1(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!ci(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};g.hasUnsavedAccessPolicyChanges=function(){return!ci(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};g.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
g.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=di(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[ki(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}),"hotlistId")];ZMc(this)};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=di(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",Lh("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",Lh("Do you want to archive this bookmark group?"),function(){$Mc(a,"archive")})};g.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",Lh("Do you want to unarchive this bookmark group?"),function(){$Mc(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});aNc(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=dp(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=cp(c);a.accessPolicyUnderEdit=di(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var $Mc=function(a,b){var c=di(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});aNc(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
Q4.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){aNc(b,c);b.selectedHotlistIds=[ki(b.bookmarkGroup.item,"hotlistId")];ZMc(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var aNc=function(a,b){a.bookmarkGroup=b;a.bookmarkGroupUnderEdit=di(a.bookmarkGroup)};
Q4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=cp(c);b.accessPolicyUnderEdit=di(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};Q4.prototype.loadUserAccess=function(a){var b=this;return KB(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var XMc=function(a){se(zE(a.currentUserBookmarksFridge)).then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},YMc=function(a){a.userSavedSearches=null;se(AE(a.currentUserBookmarksFridge)).then(function(b){a.userSavedSearches=b;ZMc(a);a.cdr.detectChanges()})},ZMc=function(a){if(a.userSavedSearches&&a.bookmarkGroupUnderEdit!=null){var b=bNc(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return b.indexOf(c.searchId)==
-1})}},wsb=function(a,b){var c=Number(b);Ra(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});cNc(a,c);var d;(d=a.editBookmarkGroupItemsContainer)==null||d.nativeElement.focus()},ysb=function(a,b){Ra(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});ZMc(a);var c;(c=a.editBookmarkGroupItemsContainer)==null||c.nativeElement.focus()},Lsb=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return wp.viewHotlist.makeHref(b.hotlistId);
case "BOOKMARK_GROUP":return a.paths.viewBookmarkGroup(b.bookmarkGroupId);default:Bc(b.resourceType)}},Gsb=function(a,b){for(var c=l(Object.entries(b.newSelectionMap)),d=c.next(),e={};!d.done;e={id$jscomp$477:void 0},d=c.next()){var f=l(d.value);d=f.next().value;f=f.next().value;e.id$jscomp$477=ii(d);f&&!b.oldSelectionMap[e.id$jscomp$477]?(Jsb(a,e.id$jscomp$477),e=a.userHotlists.find(function(h){return function(k){return k.hotlistId===h.id$jscomp$477}}(e)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[e.id$jscomp$477]&&!f&&(cNc(a,e.id$jscomp$477),Ra(a.bookmarkGroupUnderEdit.item,function(h){return function(k){return k.hotlistId===h.id$jscomp$477}}(e)))}},Jsb=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},cNc=function(a,b){Qa(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Csb=function(a,b){bNc(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)===-1&&a.bookmarkGroupUnderEdit.item.push({name:b.name,
resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){ZMc(a)})},bNc=function(a){return a?ki(a,"savedSearchId"):[]},Hsb=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)},Isb=function(a,b){return a.hotlistApi.get(b.hotlistId).then(function(c){a.userHotlists.push(c);
b.successCallback(c);return c},b.errorCallback)};Q4.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:Bc(a.resourceType)}};Q4.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};
Q4.\u0275fac=function(a){return new (a||Q4)(B($H),B(NM),B(cD),B(VA),B(HA),B(jE),B(BP),B(I1),B(VU),B(IB),B(bS),B(eD),B(as),B(iD),B(ZC),B(rH),B(yF,2),B(bH),B(xE))};
Q4.\u0275cmp=p({type:Q4,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(rg(VMc,5),rg(WMc,5),rg(BM,5,Rd));if(a&2){var c;vg(c=wg())&&(b.editBookmarkGroupItemsContainer=c.first);vg(c=wg())&&(b.bookmarkGroupNameInput=c.first);vg(c=wg())&&(b.tabs=c)}},features:[Dg([yF]),Lf],decls:9,vars:3,consts:[["bookmarkGroupName",""],["bookmarkItems",""],["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","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary",3,"click","disabled"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[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"],[4,"ngIf","ngIfElse"],["class","edit-button-row",4,"ngIf"],["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"],[1,"resource-archived"],["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"],["class","bv2-bookmark-item-chip",4,"ngFor","ngForOf"],[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"],["class","edit-bookmark-group-saved-search-picker",4,"ngIf"],[1,"bv2-bookmark-item-chip"],["class","bv2-saved-search-chip b-chip yellow split",4,"ngIf"],["class","edit-bookmark-group-none-select",4,"ngIf"],[3,"removeHotlist","id"],[1,"bv2-saved-search-chip","b-chip","yellow","split"],[1,"left","interactive",
3,"href","matTooltip"],["role","button","tabindex","0",1,"right","interactive",3,"click","keydown.enter","keydown.space","matTooltip"],[1,"edit-bookmark-group-none-select"],[1,"edit-bookmark-group-saved-search-picker"],["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","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"edit-field","bv2-edit-resource-readonly"],[1,"edit-bookmark-group-view-items"],[4,"ngFor","ngForOf"],[3,"href"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(F(0,"div",4)(1,"div",5)(2,"div",6)(3,"button",7),O("click",function(){return b.back()}),J(4,"mat-icon",8),H(),C(5,
tsb,2,1,"button",9)(6,usb,2,1,"button",9),H()()(),F(7,"div",10),C(8,Vsb,48,40,"ng-container",11),H());a&2&&(A(5),E("ngIf",b.isAdmin&&!b.isArchived()),A(),E("ngIf",b.isAdmin&&b.isArchived()),A(2),E("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[rv,sv,tv,RC,KI,TI,kC,Ex,Gx,HM,BM,CM,m0,qO,SX,iV,Bh,dy,vy,ly,JI,NI,LI,MI,OI,NQ],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 dNc=["savedSearchNameInput"],$sb=function(a){return{"bv2-edit-resource-readonly":a}},btb=function(a){return{displayText:"Admins",values:a}},atb=function(a){return[a]},R4=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S){Y.call(this);var W=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=k;this.documentationLinks=t;this.userAccess=y;this.errorHandler=D;this.snackBar=G;this.confirmationDialog=I;this.cdr=
N;this.appEvents=S;this.selectedTabIndex=0;this.isDeleting=this.isUpdating=this.isAdmin=this.isLoading=!1;this.isReaderFieldValid=this.isAdminsFieldValid=!0;this.error="";this.currentUserEmail=q.getUserEmail();this.accessPolicyUnderEdit=bp();this.flattenedAccessPolicy=bp();a=this.loadSavedSearch(this.routeParams.savedSearchId);b=this.loadUserAccess(this.routeParams.savedSearchId);this.loadAccessPolicy(this.routeParams.savedSearchId);Promise.all([a,b]).then(function(){var Z;(Z=W.savedSearchName)==
null||Z.nativeElement.focus()});this.subscriptions.add(cS(w,function(){return W.hasUnsavedChanges()},!1))};V(R4,Y);R4.\u0275dir=Y.\u0275dir;g=R4.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=di(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=cp(c);b.accessPolicyUnderEdit=di(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.loadUserAccess=function(a){var b=this;return KB(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(){J1(this.appHistory)};g.revertMetadataChanges=function(){this.savedSearchUnderEdit=di(this.savedSearch);this.error=""};g.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=di(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.hasUnsavedMetadataChanges=function(){return!ci(this.savedSearch,this.savedSearchUnderEdit)};
g.hasUnsavedAccessPolicyChanges=function(){return!ci(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=di(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",Lh("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=dp(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=cp(c);a.accessPolicyUnderEdit=di(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(Zm(c),0)}).finally(function(){a.isUpdating=!1})};g.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",Lh("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"});ngc(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()}})};R4.\u0275fac=function(a){return new (a||R4)(B($H),B(NM),B(VA),B(vE),B(BP),B(I1),B(cD),B(VU),B(as),B(bH),B(bS),B(IB),B(eD),B(ZC),B(rH),B(yF,2),B(iD))};
R4.\u0275cmp=p({type:R4,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(rg(dNc,5),rg(BM,5,Rd));if(a&2){var c;vg(c=wg())&&(b.savedSearchName=c.first);vg(c=wg())&&(b.tabs=c)}},features:[Dg([yF]),Lf],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","click",4,"ngIf"],[1,"bv2-view"],[4,"ngIf"],["mat-button","","color","primary","matTooltip","Delete saved search",3,"click","disabled"],[1,"edit-resource-header"],[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"],["class","edit-button-row",4,"ngIf"],["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"],[1,"edit-button-row"],["mat-flat-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(F(0,"div",1)(1,"div",2)(2,"div",3)(3,"button",4),O("click",function(){return b.back()}),J(4,"mat-icon",5),H(),C(5,Wsb,2,1,"button",6),H()()(),F(6,"div",7),C(7,Xsb,4,0,"ng-container",8)(8,ctb,51,38,
"ng-container",8),H());a&2&&(A(5),E("ngIf",b.isAdmin),A(2),E("ngIf",!b.isLoading&&!b.savedSearch),A(),E("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[rv,tv,RC,KI,TI,kC,Ex,Gx,HM,BM,CM,m0,Bh,dy,vy,ly,NQ],encapsulation:2});var eNc=function(a){this.internalArray_=m(a)};V(eNc,X);eNc.prototype.getSloId_asLegacyNumberOrString=function(){return Jj(this,1)};eNc.prototype.setSloId=function(a){return Ij(this,1,a)};var fNc=function(a){this.internalArray_=m(a)};V(fNc,X);g=fNc.prototype;g.getAuthor=function(){return Gj(this,rj,1)};g.setAuthor=function(a){Pj(this,rj,1,a)};g.hasAuthor=function(){return Ak(this,rj,1)};g.getTimestamp=function(){return Gj(this,mj,2)};g.setTimestamp=function(a){return Pj(this,mj,2,a)};g.hasTimestamp=function(){return Ak(this,mj,2)};g.getAdd=function(){return Gj(this,fo,3)};g.setAdd=function(a){return Pj(this,fo,3,a)};g.getRemove=function(){return Gj(this,fo,4)};
g.setRemove=function(a){return Pj(this,fo,4,a)};g.getAddMask=function(){return Gj(this,nm,5)};g.setAddMask=function(a){return Pj(this,nm,5,a)};g.getRemoveMask=function(){return Gj(this,nm,6)};g.setRemoveMask=function(a){return Pj(this,nm,6,a)};g.getFieldUpdatesList=function(){return Yj(this,yB,7,Ai())};fNc.repeatedFields_=[7];var gNc=function(a){this.internalArray_=m(a)};V(gNc,X);gNc.repeatedFields_=[1];var S4=function(a){this.internalArray_=m(a,0,S4.messageId)};V(S4,X);S4.prototype.getIt=function(){return Gj(this,gNc,1)};S4.prototype.setIt=function(a){return Pj(this,gNc,1,a)};S4.messageId="b.ListSloUpdatesResponse";var T4=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};T4.prototype.get=function(a){var b=this.sloHistories.get(String(a));return b!==void 0?b:this.sloHistories.put(String(a),hNc(this,a))};var hNc=function(a,b){var c=(new eNc).setSloId(Number(b));return a.executor.post({url:"action/slos/"+b+"/updates",body:c,responseConstructor:S4}).then(function(d){d=d.getIt();return{updates:Yj(d,fNc,1,Ai()).map(tua)}})};
T4.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};T4.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};T4.\u0275fac=function(a){return new (a||T4)(n(aE),n(qA))};T4.\u0275prov=Fc({token:T4,factory:T4.\u0275fac,providedIn:"root"});var U4=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z){Y.call(this);var fa=this;this.routeParams=a;this.bLocation=b;this.appHistory=d;this.butterBar=e;this.pageTitle=f;this.documentationLinks=k;this.userAccess=t;this.accessPolicyApi=w;this.sloApi=y;this.sloUpdatesApi=D;this.sloUpdatesService=G;this.errorHandler=I;this.matDialogService=N;this.analytics=S;this.confirmationDialogService=W;this.appEvents=Z;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(fa.validity).some(function(ma){return!ma})};this.editableAccessPolicy=bp();this.flattenedAccessPolicy=bp();this.subscriptions.add(cS(q,function(){return fa.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=bl("SLO",ii(a));if(this.sloEnabled=h.isInternalSession())iNc(this,a),this.loadUserAccess(a),this.loadAccessPolicy(a),jNc(this,a);this.alertState=
{getValue:function(){return fa.editableCopy?fa.editableCopy.alertState==="ON":!1},getSavedValue:function(){return fa.slo?fa.slo.alertState==="ON":!1},setValue:function(ma){fa.editableCopy&&(fa.editableCopy.alertState=ma?"ON":"OFF")}};this.currentUserEmail=h.getUserEmail()};V(U4,Y);U4.\u0275dir=Y.\u0275dir;U4.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)};
U4.prototype.ngOnInit=function(){this.bLocation.hash()==="access"&&(this.selectedTabIndex=1)};U4.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};var iNc=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=di(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
U4.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=cp(c);b.editableAccessPolicy=di(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var kNc=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return yIc(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};g=U4.prototype;
g.loadUserAccess=function(a){var b=this;KB(this.userAccess,"admin",bl("SLO",ii(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!ci(this.slo,this.editableCopy)};g.hasUnsavedAccessPolicyChanges=function(){return!ci(this.flattenedAccessPolicy,this.editableAccessPolicy)};
g.saveMetadata=function(){var a=this;lNc(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:Nh([Lh("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."),Oh("br"),Oh("br"),Lh("Please combine changes into as few updates as possible.")]),onConfirm:function(){a.save()},onDismiss:Cz})};
var gtb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:Lh("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Cz}):c()}},lNc=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};
U4.prototype.save=function(){var a=this,b=this.editableCopy;Xp(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.';lNc(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");Xp(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=di(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})};U4.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:Lh("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:Cz}):this.doSaveAccessPolicy()};
U4.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=dp(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);this.butterBar.showWarning(b);return}this.isUpdating=!0;Xp(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){Xp(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=cp(c);a.editableAccessPolicy=di(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent("editSlo",
"updateAccessPolicy")},function(c){a.butterBar.showWarning(Zm(c),0)}).finally(function(){a.isUpdating=!1})};U4.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};
var jNc=function(a,b){kNc(a,b).then(function(){if(a.historyDiffs&&a.historyDiffs.length){var c=a.historyDiffs[0],d=a.historyDiffs[a.historyDiffs.length-1];c.author&&yi(c.author)==="buganizer-system@google.com"&&(a.isImportedFromBugScope=!0);d.author&&yi(d.author)==="buganizer-system@google.com"&&(a.isUneditedFromBugScope=!0)}})};g=U4.prototype;
g.isRevokingDirectAdmin=function(){if(ci(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;lNc(this.slo.elements,this.editableCopy.elements)?this.editableCopy=di(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:Nh([Lh("Revert all changes to this SLO?")]),onConfirm:function(){a.editableCopy=di(a.slo)},onDismiss:Cz})};g.revertAccessPolicyChanges=function(){this.editableAccessPolicy=di(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};g.isSaving=function(){return this.isUpdating};
g.back=function(){J1(this.appHistory)};g.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};g.isAdmin=function(){return this.isAdminInternal};g.showUpdateHistoryModal=function(){var a=this;kNc(this,this.slo.sloId).then(function(){a.matDialogService.open(A3,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("editSlo","viewHistory")})};
U4.\u0275fac=function(a){return new (a||U4)(B($H),B(NM),B(BP),B(I1),B(cD),B(VU),B(as),B(bH),B(bS),B(IB),B(VA),B(uG),B(T4),B(E1),B(eD),B(jH),B(CF),B(rH),B(iD))};
U4.\u0275cmp=p({type:U4,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&rg(BM,5,Rd);if(a&2){var c;vg(c=wg())&&(b.tabs=c)}},features:[Lf],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"],["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[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"],["class","edit-field permission-toggle",
3,"bv2-edit-resource-readonly",4,"ngIf"],["id","bs-warning",4,"ngIf"],[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"],["class","edit-button-group",4,"ngIf"],["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"],["class","edit-button-row",4,"ngIf"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],[3,"change","checked","disabled"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["id","bs-warning"],["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","onAction",4,"ngIf"],["tooltip","Unarchive the SLO and allow new usages",3,"disabled","onAction",4,"ngIf"],["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&&(F(0,"div",1)(1,"div",2)(2,"b-button",3),O("onAction",function(){return b.back()}),J(3,"b-icon",4),H()()(),F(4,"div",5),C(5,dtb,2,0,"div",6)(6,ltb,55,32,"div",7),H());a&2&&(A(5),E("ngIf",b.isLoading),A(),E("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[sO,tv,my,Bh,dy,ey,vy,ly,jy,OO,HM,BM,CM,NQ,oJ,pJ,x1,pQ],encapsulation:2});var V4=function(a,b,c,d,e){Y.call(this);var f=this;this.contextSensitiveRegistry=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.imageUrls=e;this.TEA_DARK=this.imageUrls.TEA_DARK;this.TEA_LIGHT=this.imageUrls.TEA_LIGHT;this.getStatus=function(h){return h.snapshot[0].status};this.id$=this.contextSensitiveRegistry.getIssueId();this.searchUrl$=this.id$.pipe(z(function(h){return{path:"/issues",params:{q:"blockedbyid:"+h}}}));this.issue$=this.id$.pipe(Cf(this.issues.watch));this.blockingIds$=this.issue$.pipe(z(function(h){var k;
return(k=h==null?void 0:h.snapshot[0].blockingIssueId)!=null?k:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(Cf(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(z(function(h){return h.filter(aj)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(z(function(h){return h.map(function(k){return String(k.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(z(function(h){return h.filter(function(k){return Esa(k)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(z(function(h){return h.map(function(k){return String(k.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(h){return[{type:"action",label:"Remove this relationship",action:function(){f.onClickRemove(h)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(h){var k=ho(f.id$);k!=null&&f.issues.addBlocking(k,h).catch(f.gotErr)};this.gotErr=function(h){f.snackBar.open(Zm(h)||"Error with network request","close",{panelClass:"error"})}};V(V4,Y);V4.\u0275dir=Y.\u0275dir;
V4.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};V4.prototype.onClickRemove=function(a){var b=ho(this.id$);b!=null&&this.issues.removeBlocking(b,[String(a)]).catch(this.gotErr)};V4.\u0275fac=function(a){return new (a||V4)(B(hI),B(EF),B(CT),B(ZC),B(sR))};
V4.\u0275cmp=p({type:V4,selectors:[["ng-component"]],features:[Lf],decls:5,vars:6,consts:[["hasResults",""],["notLoaded",""],["noBlockedAndOpen",""],[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["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"],[4,"ngIf","ngIfElse"],[1,"margin-s-top","flex-kids-x","gap-s"],[1,"section-heading","muted"],[3,"issueIds","menuItemFactory",4,"ngIf"],[3,"issueIds","menuItemFactory"],[1,"muted","margin-bottom"],[1,"unstyled","reverse-padded-sides"],[4,"ngFor","ngForOf"],[1,"padded-x",3,"routerLink"],[1,"right"],["mat-icon-button","","aria-label","",1,"invisible"],["mat-button",
"","color","primary",1,"small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(F(0,"section",3),C(1,ztb,4,2,"ng-container",4),T(2,"async"),H(),C(3,Atb,2,0,"aside",5),T(4,"async"));a&2&&(A(),E("ngIf",U(2,2,b.blockingIds$)),A(2),E("ngIf",U(4,4,b.thinking$)))},dependencies:[sv,tv,JD,kC,Fx,Ex,Gx,KI,TI,pQ,UT,yv],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 W4=function(){};W4.\u0275fac=function(a){return new (a||W4)};W4.\u0275mod=cd({type:W4});W4.\u0275inj=Gc({imports:[RD,PC,vL,zy,Ay,RH,JM,bM,cR,VL,hM,rQ,cU]});var X4=function(a){this.internalArray_=m(a,0,X4.messageId)};V(X4,X);X4.prototype.getIssueId=function(){return wu(this,1)};X4.prototype.getIssueId_asLegacyNumberOrString=function(){return wu(this,1)};X4.prototype.getIssueId_asString=function(){return Al(this,1)};X4.prototype.setIssueId=function(a){return Sl(this,1,a)};X4.messageId="b.MonorailIssueRedirectRequest";var Y4=function(a){this.internalArray_=m(a,0,Y4.messageId)};V(Y4,X);Y4.prototype.getUrl=function(){return Gj(this,pz,1)};Y4.prototype.setUrl=function(a){return Pj(this,pz,1,a)};Y4.prototype.hasUrl=function(){return Ak(this,pz,1)};Y4.messageId="b.MonorailIssueRedirectResponse";var Z4=function(a){this.executor=a},mNc=function(a,b){b=(new X4).setIssueId(b);return a.executor.post({url:"action/monorailIssueRedirect",body:b,responseConstructor:Y4}).pipe(z(function(c){return Ita(c.getUrl())}),lf(function(){return pe(null)}))};Z4.\u0275fac=function(a){return new (a||Z4)(n(pA))};Z4.\u0275prov=Fc({token:Z4,factory:Z4.\u0275fac,providedIn:"root"});var a5=function(a,b,c,d){this.creatorEmail=a;this.reporterEmail=b;this.matchingDescriptionSubstring=c;this.metricTag=d};var nNc=[new a5(null,null,"Visit Upkeep to monitor tech debt of your","isUpkeepIssue"),new a5("cloud-control2-frontend-onboarding-automation@prod.google.com","cloud-control2-frontend-onboarding-automation@prod.google.com",null,"isCloudControl2FrontendOnboardingAutomationIssue"),new a5("flagbuster-prod@prod.google.com","flagbuster@prod.google.com",null,"isFlagBusterIssue"),new a5("corpeng-compliance-checker@prod.google.com","corpeng-compliance-checker@prod.google.com",null,"isCorpEngComplianceCheckerIssue"),
new a5("gce-fleet-deployment-autocleanup-jobs@prod.google.com","gce-fleet-deployment-autocleanup-jobs@google.com",null,"isGCEFleetDeploymentAutoCleanupIssue"),new a5("identity-metrics@prod.google.com","identity-metrics@prod.google.com",null,"isIdentityMetricsIssue"),new a5("dirt-federated-docs@prod.google.com","dirt-federated-docs@prod.google.com",null,"isDirtFederatedDocsIssue"),new a5("rtc-bugle-mapreduce@prod.google.com","rtc-bugle-mapreduce@prod.google.com",null,"isRtcBugleMapreduceIssue"),new a5("assistant-server-dev@prod.google.com",
"assistant-server-dev@prod.google.com",null,"isAssistantServerDevIssue"),new a5("gce-turnup-smi-runner@prod.google.com","gce-turnup-smi-runner@prod.google.com",null,"isGCETurnupSmiRunnerIssue"),new a5("cloud-sdk-testing@prod.google.com","cloud-sdk-testing@prod.google.com",null,"isCloudSdkTestingIssue")];var b5=function(a,b,c,d){this.eventsForIssueFridge=a;this.issueFridge=b;this.activeSession=c;this.analytics=d},qNc=function(a,b){return we([oNc(a,b),pNc(a,b)]).pipe(z(function(c){var d=l(c);c=d.next().value;d=d.next().value;a:{var e=ep(a.activeSession,"enableGoosePromptingSupportedIssues");if(c!=null&&d!=null&&aj(c)&&e){e=l(nNc);for(var f=e.next();!f.done;f=e.next()){f=f.value;var h=void 0,k=void 0,q=void 0;var t=f.creatorEmail&&(d==null?void 0:(q=d.userPerformingActionUser)==null?void 0:q.emailAddress)!==
f.creatorEmail?!1:f.reporterEmail&&((k=c.snapshot[0].reporterUser)==null?void 0:k.emailAddress)!==f.reporterEmail?!1:f.matchingDescriptionSubstring&&!(d==null?0:(h=d.unlinkifiedComment)==null?0:h.includes(f.matchingDescriptionSubstring))?!1:!0;if(t){a.analytics.trackEvent("bug2Code","display",f.metricTag);c=!0;break a}}}c=!1}return c}))},oNc=function(a,b){return a.issueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){return c?c:null}))},pNc=function(a,b){return a.eventsForIssueFridge.watch(b,
{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return null;c=[].concat(r(c.events.slice(0,1)));return c.length>0?c[0]:null}))};b5.\u0275fac=function(a){return new (a||b5)(n(HE),n(EF),n(as),n(CF))};b5.\u0275prov=Fc({token:b5,factory:b5.\u0275fac,providedIn:"root"});var rNc={EXCEPTION:"EXCEPTION",ADS:"ADS",ALL_ISSUES:"ALL_ISSUES",GAR:"GAR",BUG_2_CODE:"BUG_2_CODE",PIXEL:"PIXEL"},sNc={DUCKIE_RESPONSE:0,DUCKIE_RESPONSE_WITH_SIMILAR_ISSUES:1,RELATED_FIXED_ISSUES:2,LOADING_AND_FOOTER:3,BUG_2_CODE:4,0:"DUCKIE_RESPONSE",1:"DUCKIE_RESPONSE_WITH_SIMILAR_ISSUES",2:"RELATED_FIXED_ISSUES",3:"LOADING_AND_FOOTER",4:"BUG_2_CODE"},tNc={issueCategory:"BUG_2_CODE",customBranding:"Suggest fixes",displayedModules:[4]},uNc={issueCategory:"EXCEPTION",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpen",
displayedModules:[0,2,3],llmPrompt:"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)},vNc={issueCategory:"ADS",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenAds",displayedModules:[1,3],llmPrompt:"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",
allowedSpecificComponentIds:[192352,920037,996764,1005039,1104226,1202500,1207125,1320511,1353690,1369117,1383298,1442084,1499821,1514987,1529432,1370699,1432041,592959,33185,159285,1375030,123573,1002985,1221587]},wNc={issueCategory:"ALL_ISSUES",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenAllIssues",displayedModules:[1,3],llmPrompt:"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",
restrictedIssueTypes:["BUG"]},xNc={issueCategory:"GAR",autoOpenFlagName:"enableHelpMeFixSidebarAutoOpenGarIssues",displayedModules:[1,3],llmPrompt:"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",
restrictedIssueTypes:["BUG"],regexMatcher:new RegExp(/GAR[\s\-]?[1-9][.][0-9]+/m)},yNc={issueCategory:"PIXEL",displayedModules:[1,3],llmPrompt:"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",
allowedSpecificComponentIds:[1133229]};var c5=function(a,b,c,d,e,f,h,k){var q=this;this.appEvents=a;this.activeSession=b;this.contextSensitiveRegistry=c;this.issueFridge=d;this.eventsForIssueFridge=e;this.componentFridge=f;this.similarIssuesApi=h;this.llmSuggestedBugFixService=k;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(He(Gi),Cf(this.issueFridge.watch));this.events$=this.issueId$.pipe(He(Gi),Cf(this.eventsForIssueFridge.watch),z(function(t){var w;return(w=t&&t.events)!=null?w:[]}));this.description$=
this.events$.pipe(z(function(t){return t.length?t[0]:void 0}),z(function(t){var w;return(w=t==null?void 0:t.unlinkifiedComment)!=null?w:void 0}));this.component$=this.issue$.pipe(Cf(function(t){var w,y;t=t==null?void 0:(w=t.snapshot)==null?void 0:(y=w[0])==null?void 0:y.componentId;return q.componentFridge.watch(t)}));this.similarFixedIssues$=this.issue$.pipe(Cf(function(t){if(!t)return pe({similarIssues:[],scores:[]});var w,y,D=t==null?void 0:(w=t.snapshot)==null?void 0:(y=w[0])==null?void 0:y.componentId;
return XG(q.similarIssuesApi,{issueId:Number(t.issueId),scope:lo(ko("-id",t.issueId),ko("modified","365d"),ko("status","fixed"),ko("cl","any"),D?ko("componentId",D+"+"):void 0),scopeSortOrder:"modified_time desc",maxResults:5})}),z(function(t){for(var w=[],y=0;y<t.scores.length;y++)t.scores[y]>=.65&&w.push(t.similarIssues[y]);return w}),zf({bufferSize:1,refCount:!0}));this.isFlagEnabledAndInternal$=pe(ep(this.activeSession,"enableHelpMeFixSidebar")&&this.activeSession.isInternalSession());this.isExceptionIssueCategory$=
we([this.issue$,this.description$]).pipe(z(this.isExceptionIssueCategory,this));this.meetsAdsPreconditions$=we([this.description$,this.component$]).pipe(z(this.meetsAdsPreconditions,this));this.isAdsIssueCategory$=this.meetsAdsPreconditions$.pipe(Cf(function(t){return t?q.similarFixedIssues$.pipe(z(q.isAdsIssueCategory,q)):pe(!1)}));this.meetsAllIssuesPreconditions$=we([this.issue$,this.description$]).pipe(z(this.meetsAllIssuesPreconditions,this));this.isAllIssuesIssueCategory$=this.meetsAllIssuesPreconditions$.pipe(Cf(function(t){return t?
q.similarFixedIssues$.pipe(z(q.isAllIssuesIssueCategory,q)):pe(!1)}));this.meetsGarPreconditions$=we([this.issue$,this.description$]).pipe(z(this.meetsGarPreconditions,this));this.isGarIssueCategory$=this.meetsGarPreconditions$.pipe(Cf(function(t){return t?q.similarFixedIssues$.pipe(z(q.isGarIssueCategory,q)):pe(!1)}));this.isBug2CodeIssueCategory$=this.issueId$.pipe(Cf(function(t){return t?qNc(q.llmSuggestedBugFixService,t):pe(!1)}));this.meetsPixelPreconditions$=we([this.issue$,this.component$]).pipe(z(this.meetsPixelPreconditions,
this));this.isPixelIssueCategory$=this.meetsPixelPreconditions$.pipe(Cf(function(t){return t?q.similarFixedIssues$.pipe(z(q.isPixelIssueCategory,q)):pe(!1)}));this.currentConfig$=we([this.isFlagEnabledAndInternal$,this.isExceptionIssueCategory$,this.isGarIssueCategory$,this.isAdsIssueCategory$,this.isAllIssuesIssueCategory$,this.isBug2CodeIssueCategory$,this.isPixelIssueCategory$]).pipe(z(function(t){var w=l(t);t=w.next().value;var y=w.next().value;var D=w.next().value;var G=w.next().value;var I=
w.next().value;var N=w.next().value;w=w.next().value;if(N)return tNc;if(t){if(y)return uNc;if(D)return xNc;if(G)return vNc;if(w)return yNc;if(I)return wNc}}),zf({bufferSize:1,refCount:!0}));this.shouldSidebarAutoOpen$=we([this.issue$.pipe(sf(Dtb)),this.currentConfig$.pipe(sf())]).pipe(z(function(t){var w=l(t);t=w.next().value;w=w.next().value;if(!t||!w||Esa(t))return!1;t=w.autoOpenFlagName;return!(!t||!ep(q.activeSession,t))}));this.isHelpMeFixSidebarOpen$=this.shouldSidebarAutoOpen$.pipe(Cf(function(t){return Ge(q.appEvents.openHelpMeFixSidebar.pipe(vf(!0)),
q.appEvents.closeHelpMeFixSidebar.pipe(vf(!1))).pipe(Bf(t))}))};g=c5.prototype;g.isExceptionIssueCategory=function(a){a=l(a);var b=a.next().value;a=a.next().value;if(!b||!a)return!1;var c=ep(this.activeSession,"enableHelpMeFixSidebarOnAllComponents"),d,e;b=b==null?void 0:(d=b.snapshot)==null?void 0:(e=d[0])==null?void 0:e.componentId;d=this.activeSession.getHelpMeFixSidebarComponentAllowlist();d=b&&d.has(b);return c||d?Ctb(a,uNc):!1};
g.meetsAdsPreconditions=function(a){a=l(a);var b=a.next().value;a=a.next().value;if(!a||!b)return!1;b=ep(this.activeSession,"enableHelpMeFixForAds");var c,d=((c=vNc.allowedSpecificComponentIds)!=null?c:[]).includes(a.componentId);return b&&d};g.isAdsIssueCategory=function(a){return a.length>0};
g.meetsAllIssuesPreconditions=function(a){var b=l(a);a=b.next().value;b=b.next().value;if(!a||!b)return!1;b=ep(this.activeSession,"enableHelpMeFixSidebarOnAllIssues")&&ep(this.activeSession,"enableHelpMeFixSidebarOnAllIssuesOptIn");a=Btb(wNc,a);return b&&a};g.isAllIssuesIssueCategory=function(a){return a.length>0};
g.meetsGarPreconditions=function(a){a=l(a);var b=a.next().value;var c=a.next().value;if(!b||!c)return!1;a=ep(this.activeSession,"enableHelpMeFixOnGarIssues")&&ep(this.activeSession,"enableHelpMeFixOnGarIssuesOptIn");var d=Btb(xNc,b),e,f,h;b=((h=(e=b.snapshot)==null?void 0:(f=e[0])==null?void 0:f.title)!=null?h:"")+" "+c;e=Ctb(b,xNc);return a&&d&&e};g.isGarIssueCategory=function(a){return a.length>0};
g.meetsPixelPreconditions=function(a){a=l(a);var b=a.next().value;a=a.next().value;if(!b||!a)return!1;b=ep(this.activeSession,"enableHelpMeFixOnPixelIssues");var c,d=((c=yNc.allowedSpecificComponentIds)!=null?c:[]).includes(a.componentId);return b&&d};g.isPixelIssueCategory=function(a){return a.length>0};c5.\u0275fac=function(a){return new (a||c5)(n(iD),n(as),n(hI),n(EF),n(HE),n(gB),n(WG),n(b5))};c5.\u0275prov=Fc({token:c5,factory:c5.\u0275fac,providedIn:"root"});var d5=function(a){this.internalArray_=m(a,0,d5.messageId)};V(d5,X);d5.prototype.getResponse=function(){return Gj(this,Zz,1)};d5.prototype.getReadonlyResponse=function(){return ru(this,Zz,1)};d5.prototype.getMutableResponse=function(){return qu(this,Zz,1)};d5.prototype.setResponse=function(a){return Pj(this,Zz,1,a)};d5.messageId="b.PiperCreateWorkspaceAndChangeWrappedResponse";var e5=function(a){this.internalArray_=m(a,0,e5.messageId)};V(e5,X);e5.prototype.getResponsesList=function(){return Yj(this,v1b,1,Ai())};e5.repeatedFields_=[1];e5.messageId="b.PiperReadFilesWrappedResponse";var f5=function(a){this.executor=a},ANc=function(a,b){return zNc(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}})},zNc=function(a,b){b=Gtb(b);return a.executor.post({url:"/action/piper/readFiles",body:b,responseConstructor:e5}).then(Htb)},BNc=function(a,b){var c=new t1b;b.citcAlias&&Sj(c,3,b.citcAlias);if(b.changeDescription){var d=c.setDescription;var e=b.changeDescription;e=(new Yz).setText(e.text);d.call(c,
e)}b=b.files.map(Ktb);Dk(c,4,b);return a.executor.post({url:"/action/piper/createWorkspaceAndChange",body:c,responseConstructor:d5}).then(Itb)};f5.\u0275fac=function(a){return new (a||f5)(n(qA))};f5.\u0275prov=Fc({token:f5,factory:f5.\u0275fac,providedIn:"root"});var g5=function(a){this.internalArray_=m(a)};V(g5,X);g5.prototype.setModelId=function(a){sj(this,1,a)};g5.repeatedFields_=[5,6,9];var h5=function(a){this.internalArray_=m(a)};V(h5,X);h5.prototype.getOptions=function(){return Gj(this,g5,1)};h5.prototype.setOptions=function(a){Pj(this,g5,1,a)};h5.prototype.hasOptions=function(){return Ak(this,g5,1)};h5.prototype.setInput=function(a){return sj(this,2,a)};var Nr=function(a){this.internalArray_=m(a)};V(Nr,X);Nr.prototype.getContent=function(){return Zh(this,1)};Nr.prototype.setContent=function(a){return sj(this,1,a)};Nr.prototype.getScore=function(){return ak(this,2)};Nr.prototype.setScore=function(a){return Ik(this,2,a)};var i5=function(a){this.internalArray_=m(a)};V(i5,X);i5.prototype.setModelId=function(a){sj(this,4,a)};i5.repeatedFields_=[1];var j5=function(a){this.internalArray_=m(a,0,j5.messageId)};V(j5,X);j5.prototype.getResponse=function(){return Gj(this,i5,1)};j5.prototype.getReadonlyResponse=function(){return ru(this,i5,1)};j5.prototype.getMutableResponse=function(){return qu(this,i5,1)};j5.prototype.setResponse=function(a){return Pj(this,i5,1,a)};j5.messageId="b.GoosePredictionGenerateTextWrappedResponse";var k5=function(a){this.executor=a};
k5.prototype.generate=function(a){var b=(new h5).setInput(a.input);if(a.options){var c=new g5;a.options.modelId!==void 0&&c.setModelId(a.options.modelId);a.options.outputCount!==void 0&&Ml(c,2,a.options.outputCount);a.options.temperature!==void 0&&ro(c,3,yb(a.options.temperature));a.options.maxDecoderSteps!==void 0&&Ml(c,4,a.options.maxDecoderSteps);a.options.eosId!==void 0&&hc(c,5,a.options.eosId,Eb);b.setOptions(c)}return this.executor.post({url:"/action/goose/prediction/generateText",body:b,responseConstructor:j5}).then(Ltb)};
k5.\u0275fac=function(a){return new (a||k5)(n(qA))};k5.\u0275prov=Fc({token:k5,factory:k5.\u0275fac,providedIn:"root"});var CNc=/:(\w+):/,DNc=/(\/\/depot\/)?(google3\/[A-Za-z0-9\.\/_-]+)/,l5=function(a,b,c,d,e,f){this.piperApi=a;this.gooseApi=b;this.issueFridge=c;this.eventsForIssueFridge=d;this.domSafe=e;this.analytics=f},ENc=function(a,b){return se(a.issueFridge.watch(b,{trustUncertainMemory:!0}).pipe(He(Gi),uf()))},FNc=function(a,b){return se(a.eventsForIssueFridge.watch(b,{trustUncertainMemory:!0}).pipe(z(function(c){if(!c)return"";var d,e;return(e=(d=c.events.slice(0,1)[0])==null?void 0:d.unlinkifiedComment)!=
null?e:""}),uf()))},GNc=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")}})};
l5.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:Mtb(d)};c={changeDescription:{text:e+"\n\nGenerated by #bug2code\n\nBUG="+c+"\nBUG2CODE="+c},citcAlias:"bug2code_fix_"+Date.now(),files:[a]};return BNc(this.piperApi,c).then(function(h){var k=h.changeNumber;h="https://cider.corp.google.com/?createWs="+h.workspaceName.match(CNc)[1]+"&patchCl="+k;f.domSafe.openInNewTab(h);f.analytics.trackEvent("bug2Code","patchCL")})};
l5.prototype.executePrompt=function(a){return this.gooseApi.generate({input:a,options:{modelId:"goose_v2_m",temperature:0,maxDecoderSteps:4E3}})};
var HNc=function(a){return(a=a.match(DNc))?"//depot/"+a[2]:""},INc=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"},JNc=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"};l5.\u0275fac=function(a){return new (a||l5)(n(f5),n(k5),n(EF),n(HE),n(jJ),n(CF))};l5.\u0275prov=Fc({token:l5,factory:l5.\u0275fac,providedIn:"root"});var m5=function(){};m5.\u0275fac=function(a){return new (a||m5)};m5.\u0275cmp=p({type:m5,selectors:[["change-block"]],hostVars:2,hostBindings:function(a){a&2&&Wf("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&&(F(0,"div",0),bg(1,Stb,2,5,"div",1,ag),H());a&2&&(A(),cg(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 n5=function(a){this.bug2codeService=a;this.chosenFilePath=new xF;this.filePath="";this.isInputValid=!1};n5.prototype.updateFilePath=function(a){this.filePath=a;this.isInputValid=!!HNc(a)};n5.prototype.submit=function(){var a=HNc(this.filePath);this.chosenFilePath.emit(a)};n5.\u0275fac=function(a){return new (a||n5)(B(l5))};
n5.\u0275cmp=p({type:n5,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&&(F(0,"label",0),Q(1," Please provide file path "),H(),F(2,"mat-form-field",1)(3,"mat-label"),Q(4," Enter file path (starting with either //depot/... or google3/...) "),
H(),F(5,"input",2),O("ngModelChange",function(c){return b.updateFilePath(c)}),H()(),F(6,"button",3),O("click",function(){return b.submit()}),Q(7," Continue\n"),H());a&2&&(A(5),E("ngModel",b.filePath),A(),E("disabled",!b.isInputValid))},dependencies:[Bh,dy,ly,kC,Ex,kM,Jy,Dy,yW,Qy],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%]{--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;width:100%}mat-form-field[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{margin-top:10px}']});var Wtb=function(a){return[a]},o5=function(a,b){this.bug2codeService=a;this.piperApi=b;this.error=""};o5.prototype.ngOnInit=function(){this.issueDetails=KNc(this)};o5.prototype.updateFilePath=function(a){var b=this,c,d,e;return ge(function(f){switch(f.nextAddress){case 1:return he(f,2),b.fileDetails=LNc(b,a),c=b,d=c.getOutputData,ie(f,b.fileDetails,5);case 5:return ie(f,d.call(c,f.yieldResult),4);case 4:b.outputData=f.yieldResult;Zt(f,0);break;case 2:e=le(f),b.error=$tb(e),me(f)}})};
var Vtb=function(a,b){var c,d,e,f,h,k,q,t,w,y;return ge(function(D){switch(D.nextAddress){case 1:return a.fileDetails?ie(D,a.fileDetails,2):D.return();case 2:return c=D.yieldResult,d=c.filePath,e=c.revision,f=c.content,h=b,k=h.diff,q=h.description,he(D,3),t=a.bug2codeService,w=t.patch,ie(D,a.issueDetails,6);case 6:return ie(D,w.call(t,d,e,D.yieldResult.issue.issueId,Rtb(f,k),q),5);case 5:Zt(D,0);break;case 3:y=le(D),a.error=$tb(y),me(D)}})};
o5.prototype.restart=function(){this.error="";this.outputData=this.fileDetails=void 0};var LNc=function(a,b){var c;return ge(function(d){if(d.nextAddress==1)return ie(d,ANc(a.piperApi,b),2);c=d.yieldResult;return d.return({filePath:b,content:c.content,revision:c.revisionNumber})})},KNc=function(a){var b,c,d;return ge(function(e){return e.nextAddress==1?(b=ENc(a.bug2codeService,a.issueId),c=FNc(a.bug2codeService,a.issueId),ie(e,b,2)):e.nextAddress!=3?(d=e.yieldResult,ie(e,c,3)):e.return({issue:d,description:e.yieldResult})})};
o5.prototype.getOutputData=function(a){var b=this,c,d;return ge(function(e){return e.nextAddress==1?ie(e,MNc(b,a),2):e.nextAddress!=3?(c=e.yieldResult,d=GNc(c),ie(e,b.executePrompt(INc(a.filePath,c)),3)):e.return({diff:c,diffBlocks:d,description:e.yieldResult})})};
var MNc=function(a,b){var c,d,e,f;return ge(function(h){return h.nextAddress==1?ie(h,a.issueDetails,2):h.nextAddress!=3?(c=h.yieldResult,d=c.issue,e=c.description,f=JNc(d,e,b.filePath,b.content),ie(h,a.executePrompt(f),3)):h.return("@@\n"+h.yieldResult)})};o5.prototype.executePrompt=function(a){var b=this,c;return ge(function(d){if(d.nextAddress==1)return ie(d,b.bug2codeService.executePrompt(a),2);c=d.yieldResult;if(c.outputBlocked)throw Error("mf");return d.return(c.outputs[0])})};
o5.\u0275fac=function(a){return new (a||o5)(B(l5),B(f5))};
o5.\u0275cmp=p({type:o5,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",4,"ngFor","ngForOf"],[1,"cl-description",3,"lines"],["mat-flat-button","","color","primary",1,"patch-changelist",3,"click"],[3,"lines"],["alt","loading","src","https://www.gstatic.com/devnotify/typing_animation_3x.gif"],[3,"chosenFilePath"]],template:function(a,b){a&1&&C(0,Ttb,
4,1)(1,Xtb,8,4)(2,Ytb,4,0,"div",0)(3,Ztb,1,0,"b-bug2code-file-path-input");a&2&&$f(b.error?0:b.outputData?1:b.fileDetails?2:3)},dependencies:[sv,kC,Ex,m5,n5],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 p5=function(a){this.internalArray_=m(a)};V(p5,X);p5.prototype.setFeedbackType=function(a){return Ol(this,2,a)};p5.prototype.getIsDeleted=function(){return hk(this,6)};p5.prototype.setIsDeleted=function(a){Ll(this,6,a)};p5.prototype.getMessageId=function(){return Zh(this,7)};p5.repeatedFields_=[4];var fub=function(a){this.internalArray_=m(a)};V(fub,X);g=fub.prototype;g.getTitle=function(){return Zh(this,1)};g.setTitle=function(a){return Sj(this,1,a)};g.getUrl=function(){return Zh(this,2)};g.setUrl=function(a){return Sj(this,2,a)};g.hasUrl=function(){return vl(this,2)};g.getIconUrl=function(){return Zh(this,3)};g.setIconUrl=function(a){return Sj(this,3,a)};fub.repeatedFields_=[5];var dub=function(a){this.internalArray_=m(a)};V(dub,X);dub.repeatedFields_=[1];var cub=function(a){this.internalArray_=m(a)};V(cub,X);var eub=[3,4,5,6,7];var q5=function(a){this.internalArray_=m(a)};V(q5,X);g=q5.prototype;g.getMessageId=function(){return Zh(this,1)};g.getText=function(){return Zh(this,3)};g.setText=function(a){return Sj(this,3,a)};g.setModelId=function(a){Sj(this,4,a)};g.getClient=function(){return Kj(this,7,0)};g.setClient=function(a){return Ol(this,7,a)};g.hasClient=function(){return wl(this,7)};g.setFeedback=function(a){return Pj(this,p5,9,a)};q5.repeatedFields_=[13];var NNc=function(a){this.internalArray_=m(a)};V(NNc,X);NNc.repeatedFields_=[2];var r5=function(a){this.internalArray_=m(a)};V(r5,X);r5.prototype.setModelId=function(a){Sj(this,2,a)};r5.prototype.getText=function(){return Zh(this,3)};r5.prototype.setText=function(a){return Sj(this,3,a)};r5.prototype.setConversationHistory=function(a){return Pj(this,NNc,11,a)};r5.repeatedFields_=[6];var ONc=function(a){this.internalArray_=m(a)};V(ONc,X);g=ONc.prototype;g.getResponse=function(){return Gj(this,q5,1)};g.getReadonlyResponse=function(){return ru(this,q5,1)};g.getMutableResponse=function(){return qu(this,q5,1)};g.setResponse=function(a){return Pj(this,q5,1,a)};g.setConversationHistory=function(a){return Pj(this,NNc,5,a)};g.getQuery=function(){return Gj(this,q5,2)};g.setQuery=function(a){return Pj(this,q5,2,a)};g.clearQuery=function(){ro(this,2)};
g.hasQuery=function(){return Ak(this,q5,2)};var PNc=ai(ONc);ONc.repeatedFields_=[4];var QNc=new EZ("/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",r5,ONc,function(a){return a.serialize()},PNc);var RNc=function(a){var b={withCredentials:!0,suppressCorsPreflight:!0};b=b||{};b.format="jspb";this.client_=new RCc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};RNc.prototype.generateAnswers=function(a){return MZ(this.client_,this.hostname_+"/$rpc/google.corp.devtools.devassist.ml4answers.v1.DuckieBackendService/GenerateAnswers",a,{},QNc)};var s5=function(a,b){this.activeSession=a;this.clientFactory=b;this.environmentType=this.activeSession.getEnvironmentType();this.client=this.clientFactory.create(this.getServiceEndpoint())};
s5.prototype.generateAnswers=function(a){var b=this;return this.activeSession.isExternalSession()?pe({response:"",citationResources:[]}):Be(function(){var c=b.client,d=c.generateAnswers,e=new r5;e=Ol(e,5,9).setText(a);var f=e.setConversationHistory;var h=new NNc;h=Ol(h,1,2);return d.call(c,f.call(e,h))}).pipe(z(bub()),lf(function(){return pe({response:"",citationResources:[]})}))};
s5.prototype.getServiceEndpoint=function(){switch(this.environmentType){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"}};s5.\u0275fac=function(a){return new (a||s5)(n(as),n(t5))};s5.\u0275prov=Fc({token:s5,factory:s5.\u0275fac,providedIn:"root"});var t5=function(){};t5.prototype.create=function(a){return new RNc(a)};
t5.\u0275fac=function(a){return new (a||t5)};t5.\u0275prov=Fc({token:t5,factory:t5.\u0275fac,providedIn:"root"});var u5=function(a,b,c,d,e){Y.call(this);var f=this;this.duckieService=a;this.contextSensitiveRegistry=b;this.eventsForIssueFridge=c;this.formatter=d;this.helpMeFixService=e;this.dataReady=new xF;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.events$=this.issueId$.pipe(Df(this.destroyed$),Cf(this.eventsForIssueFridge.watch),z(function(h){return(h==null?void 0:h.events)||[]}));this.description$=this.events$.pipe(z(function(h){return h.length>0?h[0]:void 0}),z(function(h){return h==null?
void 0:h.unlinkifiedComment}));this.citations=[];this.duckieResponse$=we([this.description$,this.helpMeFixService.currentConfig$]).pipe(pf(250),Cf(function(h){var k=l(h);h=k.next().value;k=k.next().value;return h&&k?f.duckieService.generateAnswers(k.llmPrompt+h):pe(null)}),zf({bufferSize:1,refCount:!0}));this.duckieResponseMarkdown$=this.duckieResponse$.pipe(Cf(function(h){return h?(f.citations=h.citationResources,f.formatter.format({comment:h.response,formattingMode:"MARKDOWN",audience:"INTERNAL",
idPrefix:"help_me_fix"})):pe(null)}),z(function(h){var k;return h?{content:(k=h.markdownFormat)==null?void 0:k.content}:null}),Ef(function(){f.dataReady.emit()}),zf({bufferSize:1,refCount:!0}))};V(u5,Y);u5.\u0275dir=Y.\u0275dir;u5.\u0275fac=function(a){return new (a||u5)(B(s5),B(hI),B(HE),B(QL),B(c5))};
u5.\u0275cmp=p({type:u5,selectors:[["duckie-response"]],outputs:{dataReady:"dataReady"},features:[Lf],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&&(C(0,kub,2,2),T(1,
"async"));if(a&2){var c;$f((c=U(1,1,b.duckieResponseMarkdown$))?0:-1,c)}},dependencies:[RC,GL,yv],encapsulation:2});var v5=function(a){this.changelistApi=a},SNc=function(a,b){return ge(function(c){return c.nextAddress==1?ie(c,Promise.all(b.map(function(d){var e,f,h;return ge(function(k){if(k.nextAddress==1)return ie(k,Promise.all(((f=(e=d.snapshot)==null?void 0:e[0].changelist)!=null?f:[]).map(function(q){return ge(function(t){return t.nextAddress==1?ie(t,a.changelistApi.getChangelistDetails(q).then(lub),2):t.return(t.yieldResult)})})),2);h=k.yieldResult;return k.return({issue:d,changelists:h})})})),2):c.return(c.yieldResult)})};
v5.\u0275fac=function(a){return new (a||v5)(n(PA))};v5.\u0275prov=Fc({token:v5,factory:v5.\u0275fac,providedIn:"root"});var w5=function(a,b,c,d,e,f){Y.call(this);var h=this;this.duckieService=a;this.contextSensitiveRegistry=b;this.eventsForIssueFridge=c;this.formatter=d;this.helpMeFixService=e;this.issueAndChangelistDetailsService=f;this.dataReady=new xF;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.events$=this.issueId$.pipe(Cf(this.eventsForIssueFridge.watch),z(function(k){return(k==null?void 0:k.events)||[]}));this.description$=this.events$.pipe(z(function(k){return k.length>0?k[0]:void 0}),z(function(k){return k==
null?void 0:k.unlinkifiedComment}));this.citations=[];this.similarIssuesPrompt$=this.helpMeFixService.similarFixedIssues$.pipe(Cf(function(k){return SNc(h.issueAndChangelistDetailsService,k)}),z(function(k){if(k.length===0)return"";var q="You are an engineer specializing in implementing simple fixes for software systems.\nYour tasks are presented in the form of a ticket.\nHere are some similar tickets and details on their fixes:\n";k=l(k);for(var t=k.next();!t.done;t=k.next()){var w=t.value;t=w.issue;
var y=w.changelists,D=void 0;w=(D=t.snapshot)==null?void 0:D[0];if(y=y.find(function(G){return G.isInteresting}))D=void 0,q+="Ticket b/"+t.issueId+" title:\n"+((D=w)==null?void 0:D.title)+"\nTicket b/"+t.issueId+" change summary:\n"+y.firstInterestingLine+"\nTicket b/"+t.issueId+" changed filed:\n"+y.changelist.affectedFiles.join("\n")+"\n\n"}return q}));this.currentIssuePrompt$=we([this.helpMeFixService.issue$,this.description$,this.helpMeFixService.currentConfig$]).pipe(z(function(k){var q=l(k);
k=q.next().value;var t=q.next().value;q=q.next().value;if(!k||!t||!q)return"";var w,y=(w=k.snapshot)==null?void 0:w[0];w="You are given the following ticket:\nTicket b/"+k.issueId+" title:\n"+(y==null?void 0:y.title)+"\nTicket b/"+k.issueId+" description:\n"+t+"\n\n";return w+=""+q.llmPrompt}));this.duckieResponse$=we([this.similarIssuesPrompt$,this.currentIssuePrompt$]).pipe(pf(250),Cf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&q?h.duckieService.generateAnswers(k+q):pe(null)}),
zf({bufferSize:1,refCount:!0}));this.duckieResponseMarkdown$=this.duckieResponse$.pipe(Cf(function(k){return k?(h.citations=k.citationResources,h.formatter.format({comment:k.response,formattingMode:"MARKDOWN",audience:"INTERNAL",idPrefix:"help_me_fix"})):pe(null)}),z(function(k){var q;return k?{content:(q=k.markdownFormat)==null?void 0:q.content}:null}),Ef(function(){h.dataReady.emit()}),zf({bufferSize:1,refCount:!0}),Df(this.destroyed$))};V(w5,Y);w5.\u0275dir=Y.\u0275dir;
w5.\u0275fac=function(a){return new (a||w5)(B(s5),B(hI),B(HE),B(QL),B(c5),B(v5))};
w5.\u0275cmp=p({type:w5,selectors:[["duckie-response-with-similar-issues"]],outputs:{dataReady:"dataReady"},features:[Lf],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&&(C(0,qub,2,2),T(1,"async"));if(a&2){var c;$f((c=U(1,1,b.duckieResponseMarkdown$))?0:-1,c)}},dependencies:[RC,GL,yv],encapsulation:2});var Bub=function(a,b){return b.issue.issueId},rub=function(a){return{issuesAndChangelists:a}},TNc=/(\w+\.)+\w*Exception/,x5=function(a,b,c,d,e,f){var h=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.analytics=d;this.imageUrls=e;this.issueAndChangelistDetailsService=f;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.issue$=this.issueId$.pipe(Cf(this.issueFridge.watch),zf({bufferSize:1,refCount:!0}));this.events$=this.issueId$.pipe(Cf(this.eventsForIssueFridge.watch),
z(function(k){return(k==null?void 0:k.events)||[]}),zf({bufferSize:1,refCount:!0}));this.firstEvent$=this.events$.pipe(z(function(k){return k.length>0?k[0]:void 0}),zf({bufferSize:1,refCount:!0}));this.exceptionFirstLine$=this.firstEvent$.pipe(z(function(k){return k==null?void 0:k.unlinkifiedComment}),z(function(k){if(k)return k=k.match(TNc)||[],k.length>0?k[0]:void 0}));this.relatedFixedOutsideComponent$=this.exceptionFirstLine$.pipe(Cf(function(k){return k?h.issueFridge.watchMany({filter:k+" (status:fixed|status:verified) cl:any type:bug",
pageSize:3,sort:"modified_time:desc"}):pe({results:[]})}),z(function(k){return k.results||[]}),Cf(function(k){return SNc(h.issueAndChangelistDetailsService,k)}));this.relatedFixedInComponent$=we([this.issue$,this.exceptionFirstLine$]).pipe(Cf(function(k){var q=l(k);k=q.next().value;q=q.next().value;return k&&k.snapshot&&k.snapshot.length&&q?h.issueFridge.watchMany({filter:q+" (status:fixed|status:verified) cl:any componentId:"+k.snapshot[0].componentId+"+",pageSize:3,sort:"modified_time:desc"}):pe({results:[]})}),
z(function(k){return k.results||[]}),Cf(function(k){return SNc(h.issueAndChangelistDetailsService,k)}));this.relatedFixedIssues$=this.relatedFixedInComponent$.pipe(Cf(function(k){return k&&k.length===3?pe(k):h.relatedFixedOutsideComponent$.pipe(z(function(q){return Ni([].concat(r(k!=null?k:[]),r(q!=null?q:[])),function(t){return t.issue.issueId}).slice(0,3)}))}));this.Number=Number;this.hovercardConfig={delay:250,position:[Jbc,Ibc],triggerKey:[]};this.BUGANIZER_LOGO_URL=this.imageUrls.LOGO_LIGHT};
x5.prototype.trackClick=function(a){this.analytics.trackEvent("helpMeFix","click",a)};x5.\u0275fac=function(a){return new (a||x5)(B(hI),B(EF),B(HE),B(CF),B(sR),B(v5))};
x5.\u0275cmp=p({type:x5,selectors:[["related-fixed-issues"]],decls:4,vars:3,consts:[["issuesAndChangelists",""],["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&&(C(0,tub,1,1),T(1,"async"),C(2,Cub,2,0,"ng-template",null,0,Mg));if(a&2){var c;$f((c=U(1,1,b.relatedFixedIssues$))?0:-1,c)}},dependencies:[xv,RC,xJ,yJ,DJ,zJ,UQ,AQ,yv],styles:[".issue-row[_ngcontent-%COMP%]{min-height:38px}.changelist-row[_ngcontent-%COMP%]{margin-left:12px;padding-left:8px}"]});var UNc=["container"],y5=function(a,b,c,d,e,f){Y.call(this);this.appEvents=a;this.analytics=b;this.activeSession=c;this.domSafe=d;this.helpMeFixService=e;this.contextSensitiveRegistry=f;this.isHelpMeFixSidebarOpen$=this.helpMeFixService.isHelpMeFixSidebarOpen$;this.issueCategoryConfig$=this.helpMeFixService.currentConfig$.pipe(Df(this.destroyed$),zf({bufferSize:1,refCount:!0}));this.headerText$=this.issueCategoryConfig$.pipe(z(function(h){var k;return(k=h==null?void 0:h.customBranding)!=null?k:"Help me fix"}));
this.isLlmDisplayModulePresent$=this.issueCategoryConfig$.pipe(z(function(h){return(h==null?void 0:h.displayedModules.includes(0))||(h==null?void 0:h.displayedModules.includes(1))}));this.isLlmLoading$=new rn(!0);this.isLlmDataReady$=we([this.isLlmDisplayModulePresent$,this.isLlmLoading$]).pipe(z(function(h){var k=l(h);h=k.next().value;k=k.next().value;return!h||!k}),zf({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=ep(this.activeSession,"enableHelpMeFixSidebarOnAllComponents");this.hasDismissedBanner=dm("isHMFAllComponentsOptInBannerDismissed")();this.IssueCategory=rNc;this.DisplayModule=sNc;this.issueId$=this.contextSensitiveRegistry.getIssueId();this.isSidebarExpanded=!1};V(y5,Y);y5.\u0275dir=Y.\u0275dir;
y5.prototype.ngOnInit=function(){var a=ho(this.helpMeFixService.currentConfig$);this.analytics.trackEvent("helpMeFix","open","sidebarOpened-"+(a==null?void 0:a.issueCategory));this.analytics.trackEvent("helpMeFix","openOnIssueId",a==null?void 0:a.issueCategory,Number(ho(this.issueId$)))};y5.prototype.closeSidebar=function(){this.appEvents.closeHelpMeFixSidebar.next();var a=ho(this.helpMeFixService.currentConfig$);this.analytics.trackEvent("helpMeFix","close","sidebarClosed-"+(a==null?void 0:a.issueCategory))};
var Iub=function(a){setTimeout(function(){a.isLlmLoading$.next(!1)})};y5.\u0275fac=function(a){return new (a||y5)(B(iD),B(CF),B(as),B(jJ),B(c5),B(hI))};
y5.\u0275cmp=p({type:y5,selectors:[["help-me-fix-sidebar"]],viewQuery:function(a,b){a&1&&rg(UNc,5);if(a&2){var c;vg(c=wg())&&(b.container=c.first)}},features:[Lf],decls:17,vars:13,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",4,"ngIf"],["svgIcon","collapse_all_24px",4,"ngIf"],["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"],["svgIcon","expand_all_24px"],["svgIcon","collapse_all_24px"],[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=u();F(0,"div",1,0);O("scroll",function(){v(c);b.containerScrolled=b.container.nativeElement.scrollTop===0?!1:!0;return x()});F(2,"header",2)(3,"div",3);J(4,"mat-icon",4);F(5,"span",5);Q(6);T(7,"async");H()();
F(8,"div",6)(9,"button",7);O("click",function(){v(c);b.isSidebarExpanded=!b.isSidebarExpanded;return x()});C(10,Dub,1,0,"mat-icon",8)(11,Eub,1,0,"mat-icon",9);H();F(12,"button",10);O("click",function(){v(c);return x(b.closeSidebar())});J(13,"mat-icon",11);H()()();C(14,Sub,12,12,"div",12);T(15,"async");C(16,Tub,2,0,"div",13);H()}if(a&2){var d;Wf("expanded",b.isSidebarExpanded);A(2);Wf("elevated",b.containerScrolled);A(4);yg(U(7,9,b.headerText$));A(3);E("matTooltip",b.isSidebarExpanded?"Collapse sidebar":
"Expand sidebar");A();E("ngIf",!b.isSidebarExpanded);A();E("ngIf",b.isSidebarExpanded);A(3);$f((d=U(15,11,b.issueCategoryConfig$))?14:16,d)}},dependencies:[o5,tv,RC,pQ,kC,Ex,Gx,hS,iS,u5,w5,x5,TI,yv],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 VNc={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},z5=function(a,b){Y.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_JS_TERSE=h2b;this.ListIssuesHovercardMode=VNc;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new xf(1);this.init=new xf(1);this.issues$=this.issueIds$.pipe(He(Gi),Cf(this.issueFridge.watchSet),z(function(d){return c.mode==="parent"?d.filter(bj):d.filter(aj)}))};V(z5,Y);z5.\u0275dir=Y.\u0275dir;
z5.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var Zub=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=l(c.entries()),f=e.next();!f.done;f=e.next()){var h=l(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([wp.listIssues.makeHref()],{queryParams:c})})};
z5.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(Df(this.destroyed$)).subscribe(function(){a.init.next()})};da.Object.defineProperties(z5.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});z5.\u0275fac=function(a){return new (a||z5)(B(EF),B(HD))};
z5.\u0275cmp=p({type:z5,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[Lf],decls:5,vars:5,consts:[["role","dialog","aria-label","List Issues Hovercard",1,"onedev-hovercard-content"],["class","border-bottom header-container",4,"ngIf"],[4,"ngIf"],[1,"border-bottom","header-container"],["svgIcon","account_tree_24px",1,"icon-xxs","muted"],[1,"header-text"],["svgIcon","slo-status-no-data",
1,"icon-xxs","gfx-bad"],[4,"ngFor","ngForOf"],[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",4,"ngIf"],[1,"flex-kids-x","more-issues-container","margin-s-right"],["mat-button","",1,"primary","small",3,"click"]],template:function(a,b){a&1&&(F(0,"div",0),C(1,Uub,5,3,"div",1)(2,Vub,5,3,"div",1)(3,bvb,4,3,"div",2),T(4,"async"),H());a&2&&(A(),
E("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),A(),E("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),A(),E("ngIf",U(4,3,b.issues$)))},dependencies:[rv,sv,tv,RC,JD,kC,Ex,yv],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 A5=function(a,b){this.issueFridge=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=VNc;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};A5.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&WNc(this).then(function(c){b.issueIdToTitle=c})};A5.prototype.getIssueLink=function(a){return xp(a)};
var WNc=function(a){var b,c,d;return ge(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=Oi(a.reorderedAncestors);return d.length===0?e.return(new Map):e.return(se(we(d.map(a.issueFridge.watch)).pipe(z(function(f){return f.filter(Gi)}),z(function(f){var h=new Map;f=l(f);for(var k=f.next();!k.done;k=
f.next())k=k.value,h.set(k.issueId,k.snapshot[0].title);return h}))))})};A5.\u0275fac=function(a){return new (a||A5)(B(EF),B(BP))};
A5.\u0275cmp=p({type:A5,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[rd],decls:3,vars:2,consts:[["card","onedevHovercard"],["cardBody",""],["svgIcon","account_tree_24px","title","Ancestor issues",1,"icon-xs","margin-s-right"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"muted",3,"onedevHovercardTrigger","title"],["svgIcon","chevron-right","class","icon-xs chevron muted",4,"ngIf"],[4,"onedevHovercardLazyBody"],["svgIcon","chevron-right",1,"icon-xs","chevron",
"muted"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"],[1,"type-s",3,"href","issueId"]],template:function(a,b){a&1&&(J(0,"mat-icon",2),C(1,evb,7,5,"ng-container",3)(2,fvb,4,5,"ng-container",4));a&2&&(A(),E("ngIf",b.multiParentIssueIds.length>1),A(),E("ngForOf",b.reorderedAncestors))},dependencies:[sv,tv,RC,FJ,xJ,yJ,DJ,zJ,z5],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 B5=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new xf(1);this.issue$=this.issueId$.pipe(Cf(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(z(function(d){var e;return(e=d==null?void 0:d.snapshot[0].hotlistId)!=null?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(z(function(d){return d==null?void 0:d.length}),Bf(0));this.label$=this.count$.pipe(z(function(d){return d>0?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=mr};B5.prototype.onClick=function(){Vmc(this.hotlistPicker,this.issue$)};da.Object.defineProperties(B5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});B5.\u0275fac=function(a){return new (a||B5)(B(EF),B(rE),B(RP))};
B5.\u0275cmp=p({type:B5,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&&(F(0,"button",0),T(1,"async"),O("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),Q(2),T(3,"async"),H());a&2&&(E("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",U(1,3,b.isDisabled$)),A(2),R(" ",U(3,5,b.label$),"\n"))},dependencies:[cJ,kC,Ex,yv],encapsulation:2});var XNc=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()}}}},YNc=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},ZNc=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)}}},$Nc=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 aOc=function(a){return{isDupe:a}},C5=function(a,b,c,d,e){Y.call(this);var f=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;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 xf(1);this.issue$=this.issueId$.pipe(Cf(function(h){return f.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(z(function(h){var k;return!!(h==null?0:(k=
h.snapshot[0])==null?0:k.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(Cf(function(h){return f.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(z(function(h){return!(h==null||!h.writer)}),Bf(!0));this.didChooseCanonical=function(h){return function(k){(k=k[0])&&q8b(f.fridge,k,h).then(function(){f.eventsForIssueFridge.poke(h)}).catch(f.gotErr)}};this.gotErr=function(h){f.snackBar.open(Zm(h)||"Error with network request","close",{panelClass:"error"})}};
V(C5,Y);C5.\u0275dir=Y.\u0275dir;
var gvb=function(a){var b,c;return ge(function(d){if(d.nextAddress==1)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!ho(a.canEdit$)?d.return():ie(d,se(a.isDupe$),2);if(d.nextAddress!=3)return b=d.yieldResult,ie(d,se(a.issue$),3);c=d.yieldResult;if(c==null)return d.return();b?bOc(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));
me(d)})},bOc=function(a,b){var c=b.snapshot[0].duplicateOfIssueId;c!=null&&a.fridge.removeDuplicate(c,b.issueId).then(function(){a.eventsForIssueFridge.poke(b.issueId)}).catch(a.gotErr)};da.Object.defineProperties(C5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});C5.\u0275fac=function(a){return new (a||C5)(B(EF),B(iG),B(CT),B(ZC),B(HE))};
C5.\u0275cmp=p({type:C5,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[Lf],decls:2,vars:5,consts:[["mat-stroked-button","","class","small",3,"disabled","title","click",4,"ngIf"],["mat-stroked-button","",1,"small",3,"click","disabled","title"]],template:function(a,b){a&1&&(C(0,hvb,3,5,"button",0),T(1,"async"));a&2&&E("ngIf",Hg(3,aOc,U(1,1,b.isDupe$)))},dependencies:[tv,kC,Ex,yv]});var D5=function(){this.label=""};D5.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};D5.\u0275fac=function(a){return new (a||D5)};
D5.\u0275cmp=p({type:D5,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&rg(DJ,5);if(a&2){var c;vg(c=wg())&&(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"],[4,"ngIf"],["svgIcon","help-outline",1,"icon-s",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"]],template:function(a,b){a&1&&(F(0,"onedev-hovercard",null,0)(2,"div",1)(3,"div",2),
C(4,jvb,2,1,"ng-container",3),H()()(),J(5,"mat-icon",4));a&2&&(a=M(1),A(2),Nf("aria-label",b.label),A(2),E("ngIf",b.content),A(),E("onedevHovercardTrigger",a))},dependencies:[tv,xv,RC,xJ,DJ],encapsulation:2});var E5=function(){};E5.\u0275fac=function(a){return new (a||E5)};E5.\u0275mod=cd({type:E5});E5.\u0275inj=Gc({imports:[RD,VL]});var F5=function(a,b,c,d,e,f,h,k,q){Y.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=f;this.editIssueService=h;this.matDialogService=k;this.analytics=q;this.issueId$=new xf(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=mr;this.issue$=this.issueId$.pipe(Cf(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(z(function(t){var w,y,D,G,I,N,S;return{modifiedTimeMilliseconds:(t==
null?void 0:(w=t.aggregatedData)==null?void 0:w.modifiedTimeMicros)!=null?t.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:(N=t==null?void 0:(y=t.userData)==null?void 0:y.voted)!=null?N:!1,voteCount:(S=t==null?void 0:(D=t.aggregatedData)==null?void 0:D.voteCount)!=null?S:0,notificationSubscription:Fi(t==null?void 0:(G=t.userData)==null?void 0:G.notificationSubscription),retentionState:t==null?void 0:(I=t.aggregatedData)==null?void 0:I.retentionState}}));this.menuItems$=cOc(this);this.state$=we([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(z(function(t){var w=l(t);t=w.next().value;var y=w.next().value;w=w.next().value;return Object.assign({},{issueId:t},y,{menuItems:w})}))};V(F5,Y);F5.\u0275dir=Y.\u0275dir;g=F5.prototype;g.updateSubscription=function(a){var b=this,c;return ge(function(d){if(d.nextAddress==1)return(c=ho(b.issueId$))?ie(d,b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent("editIssue","updateSubscription",a);me(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 ge(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():ie(d,se(dH(b.matDialogService.open(iDc,{maxWidth:560}))),2):(c=d.yieldResult)?ie(d,b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
g.showComponentRetentionDialog=function(a){var b=this,c;return ge(function(d){return d.nextAddress==1?b.editIssueService.savingState(a).get("retention")?d.return():ie(d,se(dH(b.matDialogService.open(eDc,{maxWidth:560}))),2):(c=d.yieldResult)?ie(d,b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
g.showFlagAsSpamDialog=function(a){var b=this,c;return ge(function(d){return d.nextAddress==1?ie(d,se(dH(b.matDialogService.open(hDc,{maxWidth:560}))),2):(c=d.yieldResult)?ie(d,oac(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var cOc=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(r$a(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=ho(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=ho(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=ho(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=ho(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return we([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(z(function(c){var d=l(c);c=d.next().value;var e=d.next().value;var f;d={permissions:d.next().value,accessLevel:UEa(c),isArchived:(f=c==null?void 0:c.isArchived)!=null?f:!1,isDeleted:SEa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:XEa(c),retentionState:$Ea(c)};return[ZNc(b,d),$Nc(b,d),YNc(b,d),XNc(b,d)].filter(Gi)}))};
da.Object.defineProperties(F5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});F5.\u0275fac=function(a){return new (a||F5)(B(EF),B(kI),B(as),B(iD),B(aS),B(jJ),B(EI),B(jH),B(CF))};
F5.\u0275cmp=p({type:F5,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&rg(D5,5);if(a&2){var c;vg(c=wg())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[Lf],decls:2,vars:3,consts:[["smartDupeBtn",""],["menu","matMenu"],["retentionHelpContent",""],[4,"ngIf"],[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","click",4,"ngFor","ngForOf"],["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&&(C(0,ovb,15,13,"ng-container",3),T(1,"async"));a&2&&E("ngIf",U(1,1,b.state$))},dependencies:[TQ,sv,tv,RC,D5,cJ,D0,kC,Gx,JI,NI,LI,OI,KI,TI,l1,X_,W_,C5,B5,yv],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 dOc=["issueTitleEl"],eOc=["issueTitleInputEl"],G5=function(a,b){this.issuePermissionService=a;this.bannedWordsChecker=b;this.disabled=!1;this.updateTitle=new xF;this.isEditMode=!1;this.editModeWidth=0};G5.prototype.ngDoCheck=function(){fOc(this)};var svb=function(a){a.isEditMode=!a.isEditMode;a.isEditMode?setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0):a.bannedWordsChecker.reset()};
G5.prototype.saveTitle=function(a){var b=this,c;return ge(function(d){if(d.nextAddress==1)return a&&b.isModified(a)?ie(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();b.updateTitle.emit(a.trim());b.bannedWordsChecker.reset()}b.isEditMode=!1;fOc(b);me(d)})};G5.prototype.isModified=function(a){return a!==this.titlePlain};
var qvb=function(a,b){if(b)b.key==="Enter"?a.saveTitle(b.target.value):b.key==="Escape"||b.key==="Esc"?svb(a):a.bannedWordsChecker.reset();else{var c;b=(c=a.issueTitleInputEl)==null?void 0:c.nativeElement.value;a.saveTitle(b)}},fOc=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};
da.Object.defineProperties(G5.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=a!=null?a:void 0;this.titleTruncated=sFa(a,300);this.isLongTitle=a==null?!1:a.length>=300}}});G5.\u0275fac=function(a){return new (a||G5)(B(kI),B(yZ))};
G5.\u0275cmp=p({type:G5,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(rg(dOc,5),rg(eOc,5));if(a&2){var c;vg(c=wg())&&(b.issueTitleEl=c.first);vg(c=wg())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",componentId:"componentId",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},features:[Dg([yZ])],decls:5,vars:4,consts:[["issueTitleEl",""],["issueTitleInputEl",""],[1,"issue-title-container"],["class","heading-m",4,"ngIf"],["subscriptSizing","dynamic",
3,"width","banned-words-warning",4,"ngIf"],["mat-icon-button","","class","small align-self-center","matTooltip","Edit issue title","aria-label","Edit issue title",3,"disabled","click",4,"ngIf"],["class","banned-words-warning break-word",4,"ngIf"],[1,"heading-m"],["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"],[1,"banned-words-warning","break-word"],["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&&(F(0,"div",2),C(1,pvb,3,2,"h3",3)(2,rvb,3,5,"mat-form-field",4)(3,tvb,2,1,"button",5),H(),C(4,uvb,4,1,"p",6));a&2&&(A(),E("ngIf",!b.isEditMode),A(),E("ngIf",b.isEditMode),A(),E("ngIf",b.hasAclToEdit),A(),E("ngIf",b.bannedWordsChecker.showWarning()))},
dependencies:[tv,RC,kC,Gx,KI,TI,kM,Jy,yW,Qy],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 H5=function(a,b,c,d,e,f,h){Y.call(this);var k=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueInteractionsTracking=c;this.bLocation=d;this.paths=e;this.refreshMonitor=f;this.butterBar=h;this.internalSearchResults$=new rn(null);this.searchResults$=this.internalSearchResults$.pipe(sf(),Cf(function(q){return q?q.changed$:pe(null)}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=this.searchResults$.pipe(z(function(q){var t;return(t=q==null?void 0:q.totalText)!=null?t:""}));
this.backNavigationLabel$=this.searchResults$.pipe(z(function(q){return(q==null?0:q.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=we([this.searchResults$,this.issueId$]).pipe(z(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w;return(w=t&&(q==null?void 0:RU(q,t)))!=null?w:-1}));this.hasPreviousIssue$=we([this.searchResults$,this.issueId$]).pipe(z(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w;if(w=t)q==null?q=0:(t=RU(q,t),q=t==null||t===-1?
!1:t>q.startIndex||q.params.page>1),w=q;return!!w}));this.hasNextIssue$=we([this.searchResults$,this.issueId$]).pipe(z(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w;if(w=t)q==null?q=0:(t=RU(q,t),q=t==null||t===-1?!1:t<q.endIndex||q.params.page<q.numPages),w=q;return!!w}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){gOc(k)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(q){k.issueId=q;gOc(k)}))};V(H5,Y);H5.\u0275dir=Y.\u0275dir;
var hOc=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)},yvb=function(a){var b=ho(a.hasNextIssue$),c=ho(a.issueIndex$);b&&c&&iOc(a,c+1)},xvb=function(a){var b=ho(a.hasPreviousIssue$),c=ho(a.issueIndex$);b&&c&&iOc(a,c-1)},gOc=function(a){var b,c,d;ge(function(e){if(e.nextAddress==1)return ie(e,mtc(a.issuePagination).catch(vvb),2);b=e.yieldResult;
a.internalSearchResults$.next((c=b)!=null?c:null);if(!b||!a.issueId)return e.return();d=RU(b,a.issueId);return d===-1?e.jumpTo(0):ie(e,otc(a.issuePagination,d).catch(vvb),0)})},iOc=function(a,b){otc(a.issuePagination,b).then(function(c){a.bLocation.setUrl(xp(c))},function(){a.butterBar.showWarning("Can't find issue id for index '"+b+"'")})};H5.\u0275fac=function(a){return new (a||H5)(n(iI),n(UU),n(fI),n(NM),n(BP),n(DF),n(cD))};H5.\u0275prov=Fc({token:H5,factory:H5.\u0275fac,providedIn:"root"});var zvb=function(a){return{"invisible zero-width":a}},jOc=function(a){this.currentSearchResults=a;this.HOTKEYS=mr};jOc.\u0275fac=function(a){return new (a||jOc)(B(H5))};
jOc.\u0275cmp=p({type:jOc,selectors:[["b-pagination-one-issue"]],decls:2,vars:3,consts:[[4,"ngIf"],[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&&(C(0,Avb,9,12,"ng-container",
0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.currentSearchResults.issueIndex$))},dependencies:[rv,tv,RC,cJ,kC,Gx,KI,TI,yv],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 I5=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};I5.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};I5.prototype.toggleAccessLimits=function(){var a=this;return ge(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});me(b)})};
I5.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};I5.prototype.getAccessLimitLevelDisplay=function(a){return a==="LIMIT_APPEND"?"Commenting":a==="LIMIT_VIEW"||a==="LIMIT_VIEW_TRUSTED"?"Visibility":""};
var kOc=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===cBc.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=l(n8a),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?Hq.descriptionWithExpandedAccess:Hq.descriptionNoExpandedAccess}else b="";return b};I5.\u0275fac=function(a){return new (a||I5)(B(bH),B(L_),B(VA))};
I5.\u0275cmp=p({type:I5,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=u();F(0,"button",1);O("click",function(){v(c);return x(b.toggleAccessLimits())})("keydown.enter",function(d){v(c);return x(b.toggleAccessLimitsWithKeystroke(d))})("keydown.space",function(d){v(c);return x(b.toggleAccessLimitsWithKeystroke(d))});J(1,"mat-icon",2);F(2,"span",3);Q(3);H()();F(4,"onedev-hovercard",null,0)(6,"div",4)(7,"div",
5)(8,"span",6);Q(9);F(10,"a",7);Q(11," Learn more");H()()()()()}a&2&&(a=M(5),E("onedevHovercardTrigger",a),A(3),yg(b.getAccessLimitLevelDisplay(b.accessLimitLevel)),A(6),R(" Issue access is limited. ",kOc(b,b.accessLimitLevel)," "),A(),E("href",b.documentationLinks.getIssueAccessLimit(),cf))},dependencies:[RC,KI,TI,xJ,DJ],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 lOc=function(a,b,c){var d=this;this.brain=a;this.activeSession=b;this.accessIndicatorService=c;this.enableNewVisibilityChips=ep(this.activeSession,"enableNewVisibilityChips");this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(He(Gi));this.retentionState$=this.issue$.pipe(z(function(e){var f;return(f=e.aggregatedData)==null?void 0:f.retentionState}));this.modifiedTime$=this.issue$.pipe(z(function(e){var f;return((f=e.aggregatedData)==null?0:f.modifiedTimeMicros)?e.aggregatedData.modifiedTimeMicros/
1E3:void 0}),He(Gi));this.accessLevel$=this.issue$.pipe(z(function(e){var f;return(f=e.accessLimit)==null?void 0:f.accessLevel}),He(Gi));this.issueAccessLimitLevel$=this.issue$.pipe(z(function(e){return e.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(z(function(e){return e.issueId}));this.hasAccessIndicator$=this.issue$.pipe(Cf(function(e){return Goc(d.accessIndicatorService,e.issueId)}),z(function(e){return e.type!=="no_indicator"}));this.state$=we([this.retentionState$,this.issueAccessLimitLevel$,
this.modifiedTime$,this.issueId$,this.brain.componentId$,we([this.accessLevel$,this.hasAccessIndicator$])]).pipe(z(function(e){var f=l(e);e=f.next().value;var h=f.next().value;var k=f.next().value;var q=f.next().value;var t=f.next().value;var w=l(f.next().value);f=w.next().value;w=w.next().value;return{retentionState:e,isAccessLimited:h==="LIMIT_VIEW"||h==="LIMIT_APPEND"||h==="LIMIT_VIEW_TRUSTED",isShowingRetention:(e==null?void 0:e.scheduledDeletionTime)==null?!1:Ldb(e),isShowingPublicPartner:f!==
"INTERNAL",modifiedTime:k,accessLevel:f,issueId:q,componentId:t,issueAccessLimitLevel:h,hasAccessIndicator:w}}))};lOc.\u0275fac=function(a){return new (a||lOc)(B(iI),B(as),B(RQ))};
lOc.\u0275cmp=p({type:lOc,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","flex-kids-x gap-s margin-xs-right",4,"ngIf"],[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"issueId"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(C(0,Hvb,2,1,"ng-container",0),
T(1,"async"));a&2&&E("ngIf",U(1,1,b.state$))},dependencies:[I5,tv,GQ,Y_,SQ,yv],encapsulation:2});var J5=function(a){this.teamsService=a;this.onTeamLoaded=new xf(1);this.teamName$=new rn("");this.isTeamLoaded=!1};J5.prototype.ngOnChanges=function(a){var b=this;a.teamId&&this.teamId!==null&&(this.teamId===0?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):FG(this.teamsService,String(this.teamId)).pipe(qf(),z(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};J5.\u0275fac=function(a){return new (a||J5)(B(EG))};
J5.\u0275cmp=p({type:J5,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[rd],decls:7,vars:6,consts:[["card","onedevHovercard"],[3,"isReady"],["class","b-chip squared s",3,"onedevHovercardTrigger",4,"ngIf"],[3,"componentId","teamId"],[1,"b-chip","squared","s",3,"onedevHovercardTrigger"],["svgIcon","supervisor_account_24px",1,"icon-xs"]],template:function(a,b){a&1&&(F(0,"b-async-data-placeholder",1),C(1,Ivb,4,4,"div",2),T(2,
"async"),H(),F(3,"onedev-hovercard",null,0),K(5),J(6,"b-team-card",3),L(),H());if(a&2){var c;E("isReady",b.isTeamLoaded);A();E("ngIf",U(2,4,b.teamName$));A(5);E("componentId",b.componentId==null?null:b.componentId.toString())("teamId",(c=b.teamId==null?null:b.teamId.toString())!==null&&c!==void 0?c:"0")}},dependencies:[tv,RC,LR,xJ,DJ,VR,yv],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var K5=function(a,b,c,d,e,f,h,k){Y.call(this);var q=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.trackerHelpers=f;this.eventsForIssueFridge=h;this.cdr=k;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new xf(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=VNc;this.blockedIdsToUrlQuery=function(t){if(!(t.length<2))return{q:"blockingid:"+q.issueId}};this.HOTKEYS=mr;this.issue$=
this.issueId$.pipe(Cf(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(z(function(t){return t==null?void 0:t.snapshot[0].title}));this.starred$=this.issue$.pipe(z(function(t){var w;return Fi(t==null?void 0:(w=t.userData)==null?void 0:w.starred)}));this.componentId$=this.issue$.pipe(z(function(t){return Fi(t==null?void 0:t.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(z(function(t){return Fi(t==null?void 0:t.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(z(function(t){return!!(t&&
t.size>0)}));this.teamId$=this.issue$.pipe(z(function(t){var w;return Fi(t==null?void 0:(w=t.aggregatedData)==null?void 0:w.teamId)}));this.blockedByids$=this.issue$.pipe(z(function(t){var w;return(w=t==null?void 0:t.snapshot[0].blockedByIssueId)!=null?w:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(Cf(this.issueFridge.watchSet),z(function(t){return t.filter(aj)}),z(function(t){return t.length}));go(this.issuesBlockedByCount$.pipe(z(Tvb),Df(this.destroyed$)),"Blocked");this.blockedByids$.pipe(z(Uvb));
this.blockedByids$.pipe(z(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(z(function(t){return(t==null?void 0:t.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(z(function(t){return q.computeStatusCssClass(t)}));this.prettyStatus$=this.status$.pipe(He(Gi),z(function(t){return ti[t]}));this.statusIsFeatured$=this.status$.pipe(z(function(t){return!!j2b[t]}));this.toggleStar=function(){var t=
!!ho(q.starred$);q.starToggleDisabled=!0;m8b(q.issueFridge,q.issueId,!t).pipe(uf(),Df(q.destroyed$)).subscribe(function(){q.starToggleDisabled=!1;q.cdr.markForCheck()})};this.toggleStarDebounced=Dz(this.toggleStar,1E3)};V(K5,Y);K5.\u0275dir=Y.\u0275dir;var mOc=function(a,b){a.editTitleDisabled=!0;o8b(a.issueFridge,a.issueId,b).pipe(Df(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId);a.cdr.markForCheck()})};
K5.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};K5.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};da.Object.defineProperties(K5.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});K5.\u0275fac=function(a){return new (a||K5)(B(EF),B(kI),B(HD),B(DF),B(H5),B(HR),B(HE),B(Wg))};
K5.\u0275cmp=p({type:K5,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[Lf],decls:40,vars:49,consts:[["withAncestorsBreadcrumbs",""],["withoutAncestorBreadcrumbs",""],["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"],[4,"ngIf","ngIfElse"],[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,"updateTitle","title","componentId","disabled","hasAclToEdit"],["class","b-chip squared bad xs margin-xs-left",3,"onedevHovercardTrigger",
4,"ngIf"],[4,"onedevHovercardLazyBody"],[1,"float-right",3,"issueId"],[4,"ngTemplateOutlet"],[3,"onTeamLoaded","componentId","teamId"],[4,"ngIf"],[3,"componentId","compactMode","issueId"],[1,"b-chip","squared","s"],[3,"ancestors","issueId",4,"ngIf"],[2,"margin-right","-4px",3,"issueId","componentId","issueTitle","isExternalIssue"],[3,"ancestors","issueId"],[3,"componentId","issueId"],[1,"b-chip","squared","s","padding-0"],[3,"issueId","componentId","issueTitle","isExternalIssue"],[1,"b-chip","squared",
"bad","xs","margin-xs-left",3,"onedevHovercardTrigger"],["svgIcon","slo-status-no-data",1,"icon-xxs"],[3,"onedevIsHovercardReady","hovercardInstance","currentIssueId","issueIds","mode"]],template:function(a,b){if(a&1){var c=u();F(0,"div",4);T(1,"async");T(2,"async");T(3,"async");J(4,"aside",5);T(5,"async");T(6,"async");F(7,"div",6)(8,"div",7);C(9,Kvb,2,1,"ng-container",8);T(10,"async");C(11,Nvb,4,7,"ng-template",null,0,Mg)(13,Pvb,4,7,"ng-template",null,1,Mg);H();F(15,"div",9);J(16,"b-pagination-one-issue");
H()();F(17,"div",10)(18,"div",11)(19,"div",12)(20,"button",13);T(21,"async");T(22,"async");O("onHotkey",function(){v(c);return x(hOc(b.currentSearchResults))})("click",function(){v(c);return x(hOc(b.currentSearchResults))});J(23,"mat-icon",14);H();F(24,"button",15);O("onHotkey",function(){v(c);return x(b.refresh())})("click",function(){v(c);return x(b.refresh())});J(25,"mat-icon",16);H();F(26,"b-star-toggle",17);T(27,"async");O("starClicked",function(){v(c);return x(b.toggleStar())})("onHotkey",function(){v(c);
return x(b.toggleStarDebounced())});H()();J(28,"issue-chip-indicators");H();F(29,"div",9)(30,"issue-title",18);T(31,"async");T(32,"async");T(33,"async");O("updateTitle",function(e){v(c);return x(mOc(b,e))});H();C(34,Rvb,3,2,"div",19);T(35,"async");F(36,"onedev-hovercard",null,2);C(38,Svb,4,7,"ng-container",20);H();J(39,"issue-actions",21);H()()()}if(a&2){var d;a=M(14);Wf("overline",U(1,23,b.statusIsFeatured$))("color-field",U(2,25,b.statusIsFeatured$));lg("ngClass",U(3,27,b.statusCssClass$));A(4);
mg("title","[",U(5,29,b.prettyStatus$),"] ",U(6,31,b.issueTitle$),"");A(5);E("ngIf",U(10,33,b.hasAncestors$))("ngIfElse",a);A(11);E("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",(d=U(21,35,b.currentSearchResults.backNavigationLabel$))!==null&&d!==void 0?d:"");Nf("aria-label",U(22,37,b.currentSearchResults.backNavigationLabel$));A(4);E("hotkey",b.HOTKEYS.REFRESH_ISSUE);A(2);E("starred",U(27,39,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);A(4);E("title",U(31,41,b.issueTitle$))("componentId",
U(32,43,b.componentId$))("disabled",b.editTitleDisabled)("hasAclToEdit",U(33,45,b.issuePermissionService.hasAclToEdit$));A(4);E("ngIf",U(35,47,b.issuesBlockedByCount$));A(5);E("issueId",b.issueId)}},dependencies:[A5,rv,tv,xv,RC,J_,cJ,xJ,yJ,DJ,zJ,SR,G5,z5,kC,Gx,KI,TI,DP,J5,jOc,F5,lOc,yv],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 L5=function(a,b,c){var d=this;this.trackerHelpers=a;this.trackerFridge=b;this.activeSession=c;this.issueTrackerId$=new rn(void 0);var e;this.currentTrackerId=(e=this.activeSession.getTracker())==null?void 0:e.trackerId;this.showTrackerBanner$=this.issueTrackerId$.pipe(z(function(f){return!d.currentTrackerId&&!!f}));this.tracker$=this.issueTrackerId$.pipe(Cf(function(f){return f?d.trackerFridge.watch(f):pe(void 0)}));this.trackerRedirectUrl$=this.tracker$.pipe(z(function(f){return IR(d.trackerHelpers,
String(d.issueId),f)}))};da.Object.defineProperties(L5.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(a||void 0)}}});L5.\u0275fac=function(a){return new (a||L5)(B(HR),B(NG),B(as))};
L5.\u0275cmp=p({type:L5,selectors:[["b-tracker-banner"]],inputs:{issueId:"issueId",trackerId:"trackerId"},decls:3,vars:5,consts:[["class","tracker-banner",4,"ngIf"],[1,"tracker-banner"],["alt","",3,"src"],["mat-button","",1,"mat-stroked-button","gmat-mdc-button","small",3,"href"]],template:function(a,b){a&1&&(C(0,Vvb,7,6,"div",0),T(1,"async"),T(2,"async"));a&2&&E("ngIf",U(1,1,b.showTrackerBanner$)&&U(2,3,b.tracker$))},dependencies:[tv,kC,Fx,yv],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 M5=function(a,b,c,d){var e=this;this.trackerHelpers=a;this.trackerFridge=b;this.activeSession=c;this.imageUrls=d;this.trackerId$=new rn(void 0);this.tracker$=this.trackerId$.pipe(Cf(function(f){return f?e.trackerFridge.watch(f):pe(void 0)}));this.trackerName$=this.tracker$.pipe(z(function(f){return f?f.name:e.activeSession.getAppName()}));this.currentTrackerLogo$=pe(this.getLogoUrl(this.activeSession.getTracker()));this.trackerLogo$=this.tracker$.pipe(z(function(f){return e.getLogoUrl(f)}));this.trackerRedirectUrl$=
this.tracker$.pipe(z(function(f){var h="";e.issue&&(h=String(e.issueId));e.component&&(h="components/"+e.componentId);return f?IR(e.trackerHelpers,h,f):zpc(e.trackerHelpers,h)}))};M5.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:""};
M5.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId);a.component&&this.component&&this.trackerId$.next(this.component.trackerId)};
da.Object.defineProperties(M5.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 si((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 ti[(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}}});M5.\u0275fac=function(a){return new (a||M5)(B(HR),B(NG),B(as),B(sR))};
M5.\u0275cmp=p({type:M5,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[rd],decls:1,vars:1,consts:[["class","carded margin-top",4,"ngIf"],[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"],[4,"ngIf"],[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&&C(0,Xvb,15,13,"div",0);a&2&&E("ngIf",b.showResourceContainer)},dependencies:[tv,RC,kC,Fx,KI,TI,yv],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 N5=function(){};N5.prototype.watch=function(a,b){b=b===void 0?document.documentElement:b;return Ae(Be(function(){return pe(document.getElementById(a))}),Gva(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(z(function(){return document.getElementById(a)}))).pipe(He(Gi),qf())};N5.\u0275fac=function(a){return new (a||N5)};N5.\u0275prov=Fc({token:N5,factory:N5.\u0275fac,providedIn:"root"});var O5=function(a){this.idWatch=a},nOc=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(qf(),z(function(h){h.scrollIntoView();if(h=document.getElementById(e))h.scrollTop-=f}))};O5.\u0275fac=function(a){return new (a||O5)(n(N5))};O5.\u0275prov=Fc({token:O5,factory:O5.\u0275fac,providedIn:"root"});var P5=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new xf(1);var e;this.issueId=(e=this.routeParams.issueId)!=null?e:""};
P5.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(nOc(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Df(this.destroyed$)).subscribe(),history&&history.pushState(null,"",xp(this.issueId)+"#"+a.elementId))};P5.prototype.ngOnDestroy=function(){this.destroyed$.next()};
P5.\u0275fac=function(a){return new (a||P5)(n(O5),n(BP),n($H),n(G3))};P5.\u0275prov=Fc({token:P5,factory:P5.\u0275fac});var Q5=function(a,b){Y.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(He(KCa),Df(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,f=(e=c.el.nativeElement)==null?void 0:e.scrollTop;f?window.sessionStorage.setItem(d,String(f)):window.sessionStorage.removeItem(d)});this.router.events.pipe(He(Pn),Df(this.destroyed$)).subscribe(function(d){Yvb(c.el.nativeElement,["scrollY",c.rememberScroll,d.url].join("-"))})};V(Q5,Y);
Q5.\u0275fac=function(a){return new (a||Q5)(B(Rd),B(HD))};Q5.\u0275dir=ed({type:Q5,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[Lf]});var R5=function(){};R5.\u0275fac=function(a){return new (a||R5)};R5.\u0275mod=cd({type:R5});R5.\u0275inj=Gc({imports:[RD]});var bwb=function(a){return{monorailRedirectUrl:a}},wwb=function(){return{exact:!0}},S5=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua){Y.call(this);var Ua=this;this.contextSensitiveRegistry=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=f;this.appEvents=h;this.issueInteractionsTracking=k;this.checkBeforeExit=q;this.butterBar=t;this.routerEvents=w;this.devopsGraph=y;this.refreshMonitor=D;this.eventsForIssueFridge=G;this.currentUserBookmarksFridge=
I;this.permissionsFridge=N;this.issueRelationshipsFridge=S;this.issueService=W;this.errorHandler=Z;this.monorailIssueRedirectApi=fa;this.domSafe=ma;this.helpMeFixService=ua;this.id$=this.contextSensitiveRegistry.getIssueId().pipe(He(Gi));this.issue$=this.id$.pipe(Cf(this.issueFridge.watch));this.readyForView$=Nha(this.issue$.pipe(z(function(ha){return{success:!!ha}})),this.issueFridge.error$.pipe(Ff(this.id$),He(function(ha){var xa=l(ha);ha=xa.next().value;xa=xa.next().value;return!(!xa||xa!==ha.idOrKey)}),
z(function(){return{success:!1}})));this.mainIssueLoadError$=this.issueFridge.error$.pipe(Ff(this.id$),He(function(ha){var xa=l(ha);ha=xa.next().value;xa=xa.next().value;return!(!xa||xa!==ha.idOrKey)}),Cf(function(ha){ha=l(ha);var xa=ha.next().value;ha=ha.next().value;switch(xa.status){case 403:return pe({status:xa.status});case 404:return mNc(Ua.monorailIssueRedirectApi,ha).pipe(z(function(sa){return{status:xa.status,monorailRedirectUrl:sa==null?void 0:sa.toString()}}));default:return pe({status:xa.status})}}),
zf({refCount:!0,bufferSize:1}));this.issueTrackerId$=this.issue$.pipe(z(function(ha){return ha==null?void 0:ha.trackerId}));this.showTrackerRedirect$=this.issueTrackerId$.pipe(z(function(ha){var xa;return Ua.shouldShowTrackerRedirect((xa=Ua.activeSession.getTracker())==null?void 0:xa.trackerId,ha)}));this.snapshot$=this.issue$.pipe(z(function(ha){return ha==null?void 0:ha.snapshot[0]}));this.archived$=this.snapshot$.pipe(z(function(ha){return ha==null?void 0:ha.isArchived}));this.deleted$=this.snapshot$.pipe(z(function(ha){return ha==
null?void 0:ha.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(z(function(ha){return ha?void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(z(function(ha){return(ha==null?void 0:ha.isArchived)&&!(ha==null?0:ha.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(z(function(ha){return(ha==null?void 0:ha.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(He(Gi),z(function(ha){return ti[ha]}));this.issue$.pipe(z(function(ha){var xa;
return(xa=ha==null?void 0:ha.snapshot[0].title)!=null?xa:""}));this.issuesBeingBlocked$=this.issue$.pipe(z(function(ha){var xa;return(xa=ha==null?void 0:ha.snapshot[0].blockingIssueId)!=null?xa:[]}),rf(1E3),Cf(this.issueFridge.watchSet));this.issue$.pipe(z(function(ha){var xa;return(xa=ha==null?void 0:ha.snapshot[0].duplicateIssueId)!=null?xa:[]}),rf(1E3),Cf(this.issueFridge.watchSet));this.issueMetadata$=Be(function(){return Ua.id$}).pipe(He(Gi),Cf(function(ha){return Ua.issueService.getMetadata(ha)}),
zf({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(r(ep(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",
title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]));this.enableHelpMeFixSidebar$=this.helpMeFixService.currentConfig$.pipe(z(function(ha){return!!ha}));this.isHelpMeFixSidebarOpen$=this.helpMeFixService.isHelpMeFixSidebarOpen$};V(S5,Y);S5.\u0275dir=Y.\u0275dir;S5.prototype.shouldShowTrackerRedirect=function(a,b){return!!a&&a!==b};
S5.prototype.ngOnInit=function(){var a=this,b;return ge(function(c){if(c.nextAddress==1)return ie(c,se(a.id$),2);b=c.yieldResult;a.appEvents.issueViewed.next(b);a.issueInteractionsTracking.getState(b);a.subscriptions.add(a.mainIssueLoadError$.subscribe(function(d){return ge(function(e){if(e.nextAddress==1)return d.status===403?e.return():d.monorailRedirectUrl?ie(e,Pp(1E3),3):e.jumpTo(2);if(e.nextAddress!=2)return kJ(a.domSafe,d.monorailRedirectUrl),e.return();a.errorHandler.errorHandler(null,d);me(e)})}));
a.subscriptions.add(cS(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(He(Gi),qf()).subscribe(function(d){GF(a.issueFridge,[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.issueFridge.poke(b);a.eventsForIssueFridge.poke(b);a.currentUserBookmarksFridge.pokeAll();GF(a.issueFridge,[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;S$b(d,f,"idp-time-on-page",e.variations);d.resetState(b);a.editIssueService.clear(b)});me(c)})};
S5.\u0275fac=function(a){return new (a||S5)(B(hI),B(EF),B(as),B(kI),B(EI),B(QT),B(iD),B(fI),B(bS),B(cD),B(BF),B(R_),B(DF),B(HE),B(xE),B(iG),B(XF),B(XE),B(eD),B(Z4),B(jJ),B(c5))};
S5.\u0275cmp=p({type:S5,selectors:[["issue-details-wrapper"]],features:[Dg([yF,GJ,{provide:uJ,useClass:P5}]),Lf],decls:14,vars:6,consts:[["showIssueDetails",""],["issueDetails",""],["showTrackerRedirect",""],["showMonorailRedirect",""],["showNoAccessScreen",""],["tabPanel",""],["rla","routerLinkActive"],["class","a11y-only",4,"ngIf"],[1,"a11y-only"],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["hasBackdrop","false","autosize","true"],[4,"ngTemplateOutlet"],["mode","side",
"position","end",3,"autoFocus","opened","disableClose"],["class","flex-kids-y pos-fill",3,"issue-editor-false",4,"ngIf","ngIfElse"],[1,"flex-kids-y","pos-fill"],["class","border-bottom",3,"messageType","format","iconOverride",4,"ngIf"],["messageType","caution","class","border-bottom",3,"format","iconOverride",4,"ngIf"],["messageType","error","format","app","class","border-bottom",4,"ngIf"],["class","issue-header",4,"ngIf"],[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",4,"ngIf"],[1,"border-bottom",3,"messageType","format","iconOverride"],["href","http://go/buganizer-issue-archive","target","_blank",4,"ngIf"],["mat-button","","aria-label","Unarchive issue",3,"click",4,"ngIf"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue",3,"click"],["messageType","caution",1,"border-bottom",
3,"format","iconOverride"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank",4,"ngIf"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["messageType","error","format","app",1,"border-bottom"],[4,"ngIf"],["href","http://go/issue-retention","target","_blank",4,"ngIf"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click",4,"ngIf"],["href","http://go/issue-retention","target","_blank"],
["mat-button","","aria-label","Undelete issue",3,"click","matTooltip","disabled"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs","",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["style","margin-left: 4px;",4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[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&&(C(0,Zvb,2,1,"h2",7),T(1,"async"),C(2,fwb,3,4),T(3,"async"),C(4,kwb,3,3,"ng-template",null,0,Mg)(6,Bwb,2,4,"ng-template",null,1,Mg)(8,Cwb,3,3,"ng-template",null,2,Mg)(10,Dwb,4,2,"ng-template",null,3,Mg)(12,Gwb,3,1,"ng-template",null,4,Mg));if(a&2){var c;E("ngIf",U(1,2,b.id$));A(2);$f((c=U(3,4,b.readyForView$))?2:-1,c)}},dependencies:[Q1,sv,tv,xv,sD,JD,
KD,hS,iS,Sw,y5,K5,N0,kC,Ex,pU,oU,nU,IM,DM,FM,EM,KI,TI,Q5,L5,M5,yv],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 T5=function(a,b){Y.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new rn([]);this.tableColumns="active-indicator title team id createdTime reporter menu".split(" ");this.initialSort={column:"createdTime",direction:"DESCENDING"};this.getMenuItems=function(d){return[{type:"action",label:"Remove duplicate",action:function(){c.removeDuplicate(d)},title:"Remove duplicate",icon:"clear"}]}};V(T5,Y);T5.\u0275dir=Y.\u0275dir;T5.prototype.ngOnInit=function(){};
T5.prototype.removeDuplicate=function(a){var b=this,c;return ge(function(d){if(d.nextAddress==1)return he(d,2),ie(d,b.issueFridge.removeDuplicate(b.issueId,a),4);if(d.nextAddress!=2)return Zt(d,0);c=le(d);b.butterBar.showWarning("Could not remove duplicate "+a+". "+c);me(d)})};da.Object.defineProperties(T5.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((a!=null?a:[]).map(function(b){return String(b)}))}}});
T5.\u0275fac=function(a){return new (a||T5)(B(EF),B(cD))};T5.\u0275cmp=p({type:T5,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[Lf],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(C(0,Hwb,2,4,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.duplicateIssueIds$))},dependencies:[tv,UT,yv],encapsulation:2,changeDetection:0});var U5=function(a,b,c,d,e,f){Y.call(this);var h=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.imageUrls=f;this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(z(function(k){return{path:"/issues",params:{q:"canonicalid:"+k}}}));this.issue$=this.id$.pipe(Cf(this.issues.watch));this.duplicateIds$=this.issue$.pipe(z(function(k){var q;return(q=k==null?void 0:k.snapshot[0].duplicateIssueId)!=null?
q:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(Cf(function(k){return k.length===0?pe(0):h.counts.duplicatesDualCount$.pipe(z(function(q){return q.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(z(function(k){return k>0}),Bf(!0));this.didChooseDupes=function(k){var q=ho(h.id$);q!=null&&q8b(h.issues,q,k[0]).catch(h.gotErr)};this.gotErr=function(k){h.snackBar.open(Zm(k)||"Error with network request","close",{panelClass:"error"})}};V(U5,Y);U5.\u0275dir=Y.\u0275dir;
U5.prototype.isThinking=function(){return this.issues.isThinking()};var Iwb=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};U5.\u0275fac=function(a){return new (a||U5)(B(YH),B(EF),B(CT),B(ZC),B(QT),B(sR))};
U5.\u0275cmp=p({type:U5,selectors:[["ng-component"]],features:[Lf],decls:4,vars:4,consts:[["hasResults",""],[1,"carded","bg-main"],[4,"ngIf"],["class","pos-tr padded",4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[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",4,"ngIf"],[1,"margin-s-top","flex-kids-x","gap-s"],[3,"issueId","duplicateIds"],["mat-button","","color","primary",1,"small",3,"routerLink","queryParams"],[1,"pos-tr","padded"]],template:function(a,b){a&1&&(F(0,"section",1),C(1,Nwb,5,4,"ng-container",2),T(2,"async"),
H(),C(3,Owb,2,0,"aside",3));a&2&&(A(),E("ngIf",U(2,2,b.duplicateIds$)),A(2),E("ngIf",b.isThinking()))},dependencies:[tv,JD,kC,Fx,Ex,KI,TI,pQ,T5,yv],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 V5=function(){};V5.\u0275fac=function(a){return new (a||V5)};V5.\u0275mod=cd({type:V5});V5.\u0275inj=Gc({imports:[RD,PC,vL,zy,Ay,RH,JM,bM,VL,cR,hM,rQ,cU]});var W5=function(a,b){Y.call(this);var c=this;this.piperApi=a;this.bug2codeService=b;this.close=new xF;this.stages=[];setTimeout(function(){return c.generate()},1E3)};V(W5,Y);W5.\u0275dir=Y.\u0275dir;
W5.prototype.generate=function(){var a=this,b,c,d,e,f,h,k,q,t,w,y;return ge(function(D){switch(D.nextAddress){case 1:return ie(D,ENc(a.bug2codeService,a.issueId),2);case 2:return b=D.yieldResult,ie(D,FNc(a.bug2codeService,a.issueId),3);case 3:c=D.yieldResult,d=HNc(c);case 4:return d?ie(D,oOc(a,d),8):ie(D,pOc(a),7);case 7:e=D.yieldResult;d=HNc(e);D.jumpTo(4);break;case 8:return f=D.yieldResult,h=JNc(b,c,d,f.content),ie(D,qOc(a,"Analyzing issue using LLM",h),9);case 9:k=D.yieldResult;q="@@\n"+k;var G=
{title:"Previewing code changes",state:"complete",type:"diff-preview",blocks:[]};a.stages.push(G);G.blocks=GNc(q);G=Promise.resolve();return ie(D,G,10);case 10:var I=f.content,N={title:"Applying code changes",state:"in-progress",type:"process"};a.stages.push(N);try{var S=Rtb(I,q);N.state="complete";G=Promise.resolve(S)}catch(W){N.state="error",N.error=""+W,G=Promise.reject(W)}return ie(D,G,11);case 11:return t=D.yieldResult,w=INc(d,q),ie(D,qOc(a,"Generating changelist description",w),12);case 12:return y=
D.yieldResult,a.stages.push({title:"Create changelist",description:y,state:"in-progress",type:"changelist-create",contents:t,revision:f.revision,path:d}),G=Promise.resolve(),ie(D,G,0)}})};
var pOc=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)})},qOc=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("nf");d.state="complete";
return e.outputs[0]})},oOc=function(a,b){var c={title:"Retrieving data from Piper",state:"in-progress",type:"process"};a.stages.push(c);return ANc(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;})};
W5.prototype.patch=function(a){var b=this;return ge(function(c){if(c.nextAddress==1){if(a.type!=="changelist-create")return c.return();a.state="complete";return ie(c,b.bug2codeService.patch(a.path,a.revision,b.issueId,a.contents,a.description),2)}b.close.emit();me(c)})};W5.prototype.blocks=function(a){return a.type==="diff-preview"?a.blocks:[]};W5.prototype.complete=function(){this.stages.push({title:"Complete",state:"complete",type:"process"});return Promise.resolve()};
W5.\u0275fac=function(a){return new (a||W5)(B(f5),B(l5))};
W5.\u0275cmp=p({type:W5,selectors:[["b-bug2code-stepper"]],inputs:{issueId:"issueId"},outputs:{close:"close"},features:[Lf],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&&bg(0,Ywb,9,3,"div",0,ag);a&2&&cg(b.stages.slice().reverse())},dependencies:[RC,kC,Ex,m5],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 rOc=function(a,b){this.dialogRef=a;this.data=b};rOc.\u0275fac=function(a){return new (a||rOc)(B(cH),B(iH))};
rOc.\u0275cmp=p({type:rOc,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&&(F(0,"article",0)(1,"header",1)(2,"h1",2),J(3,"mat-icon",3),F(4,"span"),Q(5," Generate LLM suggested change "),H()()(),F(6,"section",4)(7,
"b-bug2code-stepper",5),O("close",function(){b.dialogRef.close()}),H()(),F(8,"footer",6)(9,"button",7),O("click",function(){b.dialogRef.close()}),Q(10," Cancel "),H()()());a&2&&(A(7),E("issueId",b.data.issueId))},dependencies:[RC,kC,Ex,mH,oH,nH,W5],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 X5=function(a,b,c,d,e){this.llmSuggestionService=a;this.activeSession=b;this.matDialogService=c;this.analytics=d;this.appEvents=e;this.issueId="";this.isInternalSession=this.activeSession.isInternalSession();this.openInSidebar=ep(this.activeSession,"enableBug2CodeSidebar")};X5.prototype.ngOnInit=function(){this.showLlmSuggestion$=qNc(this.llmSuggestionService,this.issueId)};
X5.prototype.open=function(){this.analytics.trackEvent("bug2Code","generate",this.issueId);this.openInSidebar?this.appEvents.openHelpMeFixSidebar.next():this.openDialog()};X5.prototype.openDialog=function(){this.matDialogService.open(rOc,{panelClass:"no-jitter",maxWidth:"70vw",disableClose:!0,data:{issueId:this.issueId}})};X5.\u0275fac=function(a){return new (a||X5)(B(b5),B(as),B(jH),B(CF),B(iD))};
X5.\u0275cmp=p({type:X5,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&&(C(0,Zwb,7,1,"div",2),T(1,"async"),C(2,axb,9,1,"ng-template",null,0,Mg));a&2&&$f(b.isInternalSession&&U(1,1,b.showLlmSuggestion$)?
0:-1)},dependencies:[xv,RC,kC,Ex,FQ,oV,yv],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 sOc=function(a){this.internalArray_=m(a)};V(sOc,X);g=sOc.prototype;g.getIssueId=function(){return Jj(this,1)};g.getIssueId_asLegacyNumberOrString=function(){return Jj(this,1)};g.getIssueId_asString=function(){return xu(this,1)};g.setIssueId=function(a){return Ij(this,1,a)};g.getAttachmentId_asLegacyNumberOrString=function(){return Jj(this,2)};g.setAttachmentId=function(a){return Ij(this,2,a)};g.getRestrictedRetention=function(){return Kj(this,3,0)};
g.setRestrictedRetention=function(a){return uj(this,3,a)};var tOc=function(a){this.internalArray_=m(a)};V(tOc,X);tOc.prototype.getIt=function(){return Gj(this,sOc,4)};tOc.prototype.setIt=function(a){return Pj(this,sOc,4,a)};var Y5=function(a){this.executor=a};Y5.prototype.updateRetention=function(a,b,c){c=(new tOc).setIt((new sOc).setIssueId(a).setAttachmentId(b).setRestrictedRetention(Bta(c)));return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:c,responseConstructor:BH}).pipe(z(kEa))};Y5.\u0275fac=function(a){return new (a||Y5)(n(pA))};Y5.\u0275prov=Fc({token:Y5,factory:Y5.\u0275fac,providedIn:"root"});var Z5=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new xF};Z5.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};Z5.\u0275fac=function(a){return new (a||Z5)};
Z5.\u0275cmp=p({type:Z5,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",4,"ngIf"],["class","normal-link","target","_blank",3,"href","rel","click",4,"ngIf"],["target","_blank",1,"normal-link",3,"click","href","rel"]],template:function(a,b){a&1&&C(0,bxb,2,3,"span",0)(1,cxb,2,3,"a",1);a&2&&(E("ngIf",b.isGreyedOut||
!b.linkEnabled),A(),E("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[tv],encapsulation:2,changeDetection:0});var $5=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N){Y.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=f;this.differs=h;this.paths=k;this.userAccess=q;this.butterBar=t;this.errorHandler=w;this.analytics=y;this.issueCommentDialogsService=D;this.issuePermissionService=G;this.editIssueService=I;this.routeParams=N;this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=!1;this.canDeleteAttachment$=
new rn(!1);this.canUndeleteAttachment$=new rn(!1)};V($5,Y);$5.\u0275dir=Y.\u0275dir;
$5.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;uOc(this);vOc(this);this.issuePermissionService.canDeleteAttachment$(this.attachment,this.attachmentUploader).pipe(Df(this.destroyed$)).subscribe(function(c){a.canDeleteAttachment$.next(c);uOc(a)});this.issuePermissionService.canUndeleteAttachment$(this.attachment,this.attachmentUploader).pipe(Df(this.destroyed$)).subscribe(function(c){a.canUndeleteAttachment$.next(c);
uOc(a)})};$5.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&uOc(this)};$5.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var uOc=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(){pac(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.actionMenuItems.push({type:"action",action:function(){RFc(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";QFc(a.issueCommentDialogsService,"attachment",d).then(function(e){e&&wOc(a,d)})},label:c?"Match issue retention...":"Revert to component retention..."})}a.cdr.markForCheck()};
$5.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?this.attachment==null?this.hasViewAccess=!1:(this.hasViewAccess=!1,KB(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};$5.prototype.getFilename=function(){var a;return((a=this.attachment)==null?void 0:a.filename)||""};
$5.prototype.getSize=function(){var a;return((a=this.attachment)==null?void 0:a.length)||0};var gxb=function(a,b){b=b===void 0?!0:b;var c;if((c=a.attachment)==null||!c.attachmentId)throw Error("of");c="action/issues/"+a.issueId.toString()+"/attachments/"+a.attachment.attachmentId.toString();a=a.paths.getBaseUrl()+"/"+c;return tcc(a,"download",b)};g=$5.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()?ixb(this,!1):this.domSafe.openInNewTab(gxb(this,!1))};g.isRestricted=function(){return this.getRestrictionSeverity()!=="NONE_DETECTED"};g.getRestrictionSeverity=function(){var a;return po((a=this.attachment)==null?void 0:a.contentVerdict)};g.getRestrictedLabel=function(){return fEa(this.getRestrictionSeverity())};
var fxb=function(a){return(a=a.getRestrictionSeverity())?"bv2-restricted-content-limit-"+eEa(a):""},ixb=function(a,b){a.analytics.trackEvent("restrictedContent","viewRestrictedContent","attachment");a.matDialogService.open(nW,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})};$5.prototype.showDeleteAttachmentDialog=function(){var a;(a=this.attachment)!=null&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var wOc=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(Df(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);Xp(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=b==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";uOc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;fD(a.errorHandler,"Attachment retention update failed")}})):fD(a.errorHandler,"Attachment id is missing")},vOc=function(a){var b,c,d;ge(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===((c=a.attachment)==null?void 0:c.attachmentId)&&(d=a.routeParams.download==="true",ixb(a,d));me(e)})};
$5.\u0275fac=function(a){return new (a||$5)(B(as),B(bH),B(jJ),B(jH),B(Y5),B(yF,2),B(lv),B(BP),B(IB),B(cD),B(eD),B(CF),B(H_),B(kI),B(EI),B($H))};
$5.\u0275cmp=p({type:$5,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Dg([yF]),Lf,rd],decls:16,vars:8,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"],[3,"label","retentionState","contentType",4,"ngIf"],["class","bv2-issue-attachment-overflow-menu",
4,"ngIf"],[3,"class",4,"ngIf"],[3,"panelTemplate"],["class","bv2-restricted-access-help-icon help-icon",4,"ngIf"],[3,"label","retentionState","contentType"],[1,"bv2-issue-attachment-overflow-menu"],[1,"issue-detail-actions",3,"menuItems","buttonLabel","matTooltip"],[3,"customHandler","isGreyedOut","displayName","linkUrl","linkEnabled","useCustomHandler"],[1,"bv2-restricted-access-help-icon","help-icon"],["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&&(F(0,"div",1),J(1,"b-icon",2),H(),F(2,"div")(3,"div",3),Q(4),F(5,"span",4),C(6,dxb,1,3,"b-restricted-chip",5)(7,exb,2,3,"span",6),H()(),F(8,"div"),Q(9),C(10,hxb,2,8,"span",7)(11,jxb,2,8,"span",7),F(12,"xap-bubble",8),C(13,kxb,3,3,"span",9)(14,lxb,4,1,"ng-template",null,0,Mg),H()()());if(a&2){a=M(15);A(4);R(" ",b.getFilename()," ");A(2);E("ngIf",b.isRestricted());A();
E("ngIf",b.actionMenuItems.length>0);A(2);R(" ",nFa(b.getSize())," ");A();var c;var d=b.isActive()&&nra((c=b.attachment)==null?void 0:c.contentType);E("ngIf",d);A();E("ngIf",b.isActive());A();E("panelTemplate",a);A();E("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[tv,RC,LT,Z5,OO,kC,Hx,KI,TI,q3,FQ],encapsulation:2,changeDetection:0});var a6=function(a,b,c){var d=this;this.helpMeFixService=a;this.appEvents=b;this.analytics=c;this.showButton$=this.helpMeFixService.currentConfig$.pipe(z(function(e){return!!e&&e!==tNc}),Ef(function(e){e&&d.analytics.trackEvent("helpMeFix","display","openButtonShown")}));this.buttonText$=this.helpMeFixService.currentConfig$.pipe(z(function(e){var f;return(f=e==null?void 0:e.customBranding)!=null?f:"Help me fix"}))};a6.prototype.openHelpMeFixSidebar=function(){this.appEvents.openHelpMeFixSidebar.next()};
a6.\u0275fac=function(a){return new (a||a6)(B(c5),B(iD),B(CF))};a6.\u0275cmp=p({type:a6,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&&(C(0,mxb,4,3,"button",0),T(1,"async"));a&2&&$f(U(1,1,b.showButton$)?0:-1)},dependencies:[RC,kC,Ex,yv],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 xOc=["commentActionsMenu"],yOc=["editDescription"],Jxb=function(){return[]},b6=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I){Y.call(this);var N=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=f;this.errorHandler=h;this.analytics=k;this.butterBar=q;this.userAccess=t;this.issueCommentDialogsService=w;this.issuePermissionService=y;this.commentHistoryDialogService=D;this.dateFormatter=G;this.domSafe=I;this.id$=
new xf(1);this.accessLevel$=this.id$.pipe(Cf(this.issueFridge.watch),z(function(S){var W;return S==null?void 0:(W=S.accessLimit)==null?void 0:W.accessLevel}));this.firstEvent$=new xf(1);this.firstNote$=this.firstEvent$.pipe(z(function(S){return S}));this.commentActionMenuItems$=new rn([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=go(this.firstEvent$.pipe(He(Gi),z(function(S){return S.formattingMode})),"PLAIN");this.isRedacted$=this.firstEvent$.pipe(He(Gi),
z(function(S){return S.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(He(Gi),z(function(S){return S.commentDeletionStatus==="DELETED"}));this.shouldShowRestrictedPlaceholder$=we([this.isRedacted$,this.isDeleted$]).pipe(z(function(S){var W=l(S);S=W.next().value;W=W.next().value;return!(!S||W)}));this.isRestricted$=this.firstEvent$.pipe(He(Gi),z(function(S){return po(S.commentContentVerdict)}),z(function(S){switch(S){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;
default:Bc(S)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(He(Gi),z(function(S){return S.commentRetention}));this.commentHistoryEnabled=ep(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=we([this.firstEvent$,this.isRedacted$]).pipe(z(function(S){var W=l(S);S=W.next().value;W=W.next().value;return!(!(ep(N.activeSession,"enableCommentHistoryUi")&&((S==null?void 0:S.commentVersion)||0)>0)||W)}));this.canEditComment$=this.firstEvent$.pipe(Cf(function(S){return S?
N.issuePermissionService.canEditComment$(S):pe(!1)}),zf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!ho(N.canEditComment$)};this.mayReadPii$=this.isRestricted$.pipe(Cf(function(S){return S?N.mayReadPii():pe(void 0)}));this.reporterUser$=this.id$.pipe(Cf(function(S){return N.issueFridge.watch(S)}),z(function(S){var W;return S==null?void 0:(W=S.snapshot[0])==null?void 0:W.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(z(function(S){return yi(S)||""}));
this.allEvents$=this.id$.pipe(Cf(function(S){return N.eventsForIssue.watch(S)}));this.attachments$=this.allEvents$.pipe(z(function(S){var W,Z;return(Z=S==null?void 0:(W=S.events[0])==null?void 0:W.attachments)!=null?Z:[]}));this.initialReporterEmail$=this.allEvents$.pipe(z(function(S){return S==null?void 0:S.events[0]}),z(function(S){S=l((S==null?void 0:S.postDiffs)||[]);for(var W=S.next();!W.done;W=S.next())if(W=W.value,W.name==="reporter")return W.newValue||"";return""}));this.onBehalfOfEmail$=
we([this.initialReporterEmail$,this.reporterUserEmailAddress$]).pipe(z(function(S){var W=l(S);S=W.next().value;W=W.next().value;return S||W}));this.originalAuthor$=this.allEvents$.pipe(z(function(S){return S==null?void 0:S.events[0]}),z(function(S){return S==null?void 0:S.userPerformingActionUser}));this.originalAuthorEmail$=this.originalAuthor$.pipe(z(yi));this.isAuthorNotReporter$=we([this.originalAuthorEmail$,this.onBehalfOfEmail$]).pipe(z(function(S){var W=l(S);S=W.next().value;W=W.next().value;
return S!==W}))};V(b6,Y);b6.\u0275dir=Y.\u0275dir;b6.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(Cf(function(b){return Be(function(){return KB(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){ij("error: ",c);return!1})})}))};
b6.prototype.ngOnInit=function(){var a=this;zOc(this,"PLAIN");this.id$.pipe(Cf(function(b){return a.issueFridge.watch(b)}),z(function(b){return(b==null?void 0:b.description)&&jya(b==null?void 0:b.description,b)}),Df(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(Df(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Df(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
b.commentDisplayOverride!=null;a.initializeActionsMenu()});this.formattingMode$.pipe(Df(this.destroyed$)).subscribe(function(b){a.formattingMode=b!=null?b:"PLAIN";zOc(a,b!=null?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(Df(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
b6.prototype.initializeActionsMenu=function(){var a=this,b=[];this.isFormattingOverrideEnabled||b.push(Object.assign({},Jrc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]}));var c=ho(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){Qr(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:ho(this.isRedacted$)});
ho(this.isShowCommentHistoryActionInMenu$)&&c&&b.push(Object.assign({},Lrc,{action:function(){c.commentNumber&&a.showCommentHistoryDialog(c.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));c&&V$b(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&OFc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&U$b(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){LFc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});c&&ho(this.issuePermissionService.hasAclToView$)&&b.push(Object.assign({},Krc,{action:function(){PFc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})}}));if(ho(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&!ho(this.isDeleted$)&&
this.activeSession.isInternalSession()){var d=ho(this.commentRetentionOverride$)==="COMPONENT_DEFAULT";b.push({type:"action",action:function(){var e=d?"INDEFINITE":"COMPONENT_DEFAULT";QFc(a.issueCommentDialogsService,"comment",e).then(function(f){a.commentActionsMenu.actionsMenuIconButton.focus();f&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}gUa({userIsExternal:!this.activeSession.isInternalSession(),issueIsExternal:ho(this.accessLevel$)!==
"INTERNAL"})&&b.push(Object.assign({},Irc,{action:function(){var e=hUa({bugId:a.id,comment:1});a.domSafe.openInNewTab(e)}}));this.commentActionMenuItems$.next(b)};
var zOc=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)};
b6.prototype.updateCommentRetention=function(a){var b=this,c=ho(this.firstEvent$),d=ho(this.id$);c&&!c.commentNumber&&fD(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(Df(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);Xp(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){fD(b.errorHandler,"Comment retention update failed")}})};
b6.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var d=b.commentNumber||0,e=po(b.commentContentVerdict);a&&this.commentService.get(a,d,e).pipe(qf(),Df(this.destroyed$)).subscribe(function(f){f=xsa(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))})};
b6.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};var nxb=function(a){var b=ho(a.firstEvent$);b&&Qr(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},txb=function(a,b){var c="Last edited by ";b.version===0&&b.lastCommentEditorUser&&(c+=vi(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",Hnc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
da.Object.defineProperties(b6.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return ho(this.id$)}}});b6.\u0275fac=function(a){return new (a||b6)(B(HE),B(PG),B(EF),B(uJ),B(as),B(MH),B(eD),B(CF),B(cD),B(IB),B(H_),B(kI),B(HW),B(XP),B(jJ))};
b6.\u0275cmp=p({type:b6,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(rg(xOc,5),rg(yOc,5));if(a&2){var c;vg(c=wg())&&(b.commentActionsMenu=c.first);vg(c=wg())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[Lf],decls:4,vars:4,consts:[["loading",""],["commentActionsMenu",""],["showFirstComment",""],["editDescription",""],["card",""],["showNote",""],["id","comment1","class","flex-kids-x",4,"ngIf","ngIfElse"],["id","comment1",1,"flex-kids-x"],["svgIcon","description_24px",
"color","primary",1,"margin-xs-right","shrink-0"],[1,"flex-1-hemmed"],[1,"flex-kids-x"],[1,"flex-1"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","color","primary","class","update-button small margin-xs-right","aria-label","Edit description",3,"click",4,"ngIf"],[4,"ngIf"],["class","keep-focus-ring first-comment",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",1,"margin-s-right",3,"timestamp"],[1,"issue-detail-actions",3,"buttonLabel","menuItems"],[4,"ngIf","ngIfElse"],
["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,"muted",3,"matTooltip"],[1,"description-deleted"],["class","critical-feature",3,"disabled","onConfirm",4,"ngIf"],[1,"critical-feature",3,"onConfirm","disabled"],["class","muted critical-feature",4,"ngIf"],["class","critical-feature",
3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"critical-feature",3,"issueId","issueAccessLevel","note","formattingMode"],[1,"muted","critical-feature"],["class","margin-s-y border-top bv2-issue-event-attachments",4,"ngIf"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,
b){a&1&&(C(0,Kxb,27,26,"div",6),T(1,"async"),C(2,Lxb,1,0,"ng-template",null,0,Mg));a&2&&(a=M(3),E("ngIf",U(1,2,b.firstEvent$))("ngIfElse",a))},dependencies:[LT,$5,TL,sv,tv,RC,OD,YP,xJ,DJ,yL,kC,Ex,KI,TI,s3,pQ,JO,KO,a6,yv],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 Qxb=function(a){return{"icon-only":a}},c6=function(a,b,c,d,e,f){Y.call(this);var h=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=f;this.issueTypeToDisplay=si;this.STATUS_JS_FULL_TEXT=ti;this.STATUS_JS_TERSE=h2b;this.DUPLICATE="DUPLICATE";this.id$=new xf(1);this.issue$=this.id$.pipe(Cf(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(z(Txb));this.textOfHotlistBtn$=this.hotlistIds$.pipe(z(function(k){var q;
return(q=k==null?void 0:k.length)!=null?q:0}),z(function(k){return k<=5?"Add Hotlist":""}));this.priority$=this.issue$.pipe(z(function(k){return(k==null?void 0:k.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(z(function(k){var q;return(q=k==null?void 0:k.snapshot[0].type)!=null?q:void 0}));this.canonicalId$=this.issue$.pipe(z(function(k){return k==null?void 0:k.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(z(function(k){return(k==null?void 0:k.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(z(function(k){return j2b[k]?k:void 0}));this.statusCssClass$=this.status$.pipe(z(function(k){return h.computeStatusCssClass(k)}));this.HOTKEYS=mr};V(c6,Y);c6.\u0275dir=Y.\u0275dir;c6.prototype.computeStatusCssClass=function(a){return a?"status-"+a:""};c6.prototype.openHotlistModal=function(){var a=this;return ge(function(b){return ie(b,Vmc(a.hotlistPickerService,a.issue$),0)})};
c6.prototype.onHotlistRemoved=function(a){var b=this,c,d;return ge(function(e){switch(e.nextAddress){case 1:return ie(e,se(b.id$),2);case 2:c=e.yieldResult;gI(b.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});he(e,3,4);var f=p8b(b.issueFridge,c,[],[String(a)]);return ie(e,f,6);case 6:return ie(e,b.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:je(e);b.eventsForIssueFridge.poke(c);ke(e,0);break;case 3:d=le(e),gD(b.errorHandler,d),e.jumpTo(4)}})};
da.Object.defineProperties(c6.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});c6.\u0275fac=function(a){return new (a||c6)(B(EF),B(HE),B(RP),B(fI),B(eD),B(iw))};
c6.\u0275cmp=p({type:c6,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[Lf],decls:13,vars:12,consts:[["canonicalHovercard","onedevHovercard"],["canonicalCardBody",""],[1,"flex-kids-x","gap-s"],[1,"chip-container","border-right","padded-s-right"],[4,"ngIf"],[3,"class",4,"ngIf"],[3,"issuePriority"],["class","flex-1 hotlist-container chip-container",4,"ngIf"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"title"],["class","type-s nowrap",4,"ngIf"],[1,"type-s",
"nowrap"],[3,"routerLink","onedevHovercardTrigger"],[1,"flex-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","removeHotlist",4,"ngFor","ngForOf"],["removable","check-acl",3,"removeHotlist","id"],[3,"onedevIsHovercardReady","issueId"]],template:function(a,b){a&1&&(F(0,"div",2)(1,"div",3),C(2,Nxb,6,
10,"div",4),T(3,"async"),C(4,Oxb,2,4,"span",5),T(5,"async"),J(6,"b-issue-priority-display",6),T(7,"async"),H(),C(8,Rxb,7,10,"div",7),T(9,"async"),H(),F(10,"onedev-hovercard",null,0),C(12,Sxb,3,4,"b-issue-card",8),H());a&2&&(A(2),E("ngIf",U(3,4,b.statusForChip$)),A(2),E("ngIf",U(5,6,b.type$)),A(2),E("issuePriority",U(7,8,b.priority$)),A(2),E("ngIf",U(9,10,b.hotlistIds$)))},dependencies:[rv,sv,tv,RC,JD,cJ,qO,xJ,yJ,DJ,zJ,UQ,rO,kC,Ex,KI,TI,yv],styles:["[_nghost-%COMP%]{display:block}.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}.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}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}[_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 d6=function(a){Y.call(this);this.llmIssueSummaryService=a;this.BUTTON="BUTTON";this.enableNoButton=this.llmIssueSummaryService.enableNoButton;this.stage$=this.llmIssueSummaryService.stage$};V(d6,Y);d6.\u0275dir=Y.\u0275dir;d6.\u0275fac=function(a){return new (a||d6)(B(BZ))};
d6.\u0275cmp=p({type:d6,selectors:[["summarize-button"]],features:[Lf],decls:1,vars:1,consts:[[4,"ngIf"],[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&&C(0,Xxb,3,3,"ng-container",0);a&2&&E("ngIf",b.enableNoButton)},dependencies:[tv,RC,kC,Ex,yv],styles:["mat-icon[_ngcontent-%COMP%]{vertical-align:bottom}\n/*# sourceMappingURL=summarize_button.css.map */"]});var e6=function(a,b,c,d){Y.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.selectedFilter=null;a=this.activeSession.isInternalSession();Pr.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=AOc;this.showRecentEventsFirst=!1};V(e6,Y);e6.\u0275dir=Y.\u0275dir;
e6.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(He(Gi),Df(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(Df(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=byb(b.commentFilter):(a.selectedFilter=QG(a.preferences).showFullHistory?Zxb:Pr,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(Df(a.destroyed$)).subscribe())})};
e6.\u0275fac=function(a){return new (a||e6)(B(PG),B(as),B(qF),B(CF))};
e6.\u0275cmp=p({type:e6,selectors:[["b-event-stream-header"]],features:[Lf],decls:13,vars:5,consts:[[1,"flex-kids-x","flex-spread"],[1,"uppercase"],[1,"flex-kids-x"],["appearance","outline","subscriptSizing","dynamic",1,"filter-select"],[3,"valueChange","selectionChange","value"],["class","filter-option",3,"value",4,"ngFor","ngForOf"],["mat-stroked-button","","color","primary",1,"sort-order-button",3,"click"],["matButtonIcon","",1,"sort-order-arrow","icon-xs",3,"svgIcon"],[1,"filter-option",3,"value"],
[1,"filter-option-name"],[1,"filter-option-description"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"h4",1),Q(2,"Comments"),H(),F(3,"div",2),J(4,"summarize-button"),F(5,"mat-form-field",3)(6,"mat-select",4),Cg("valueChange",function(c){Bg(b.selectedFilter,c)||(b.selectedFilter=c);return c}),O("selectionChange",function(c){c=c.value;b.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(Df(b.destroyed$)).subscribe();b.analytics.trackEvent("editIssue","click",c.commentFilterType)}),
F(7,"mat-select-trigger"),Q(8),H(),C(9,Yxb,5,3,"mat-option",5),H()(),F(10,"button",6),O("click",function(){em("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;V7b(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(Df(b.destroyed$)).subscribe()}),J(11,"mat-icon",7),Q(12),H()()());a&2&&(A(6),Ag("value",b.selectedFilter),A(2),yg(b.selectedFilter==null?null:b.selectedFilter.displayName),A(),E("ngForOf",b.filters),A(2),E("svgIcon",b.showRecentEventsFirst?
"arrow-upward":"arrow-downward"),A(),R(" ",b.showRecentEventsFirst?"Newest first":"Oldest first"," "))},dependencies:[sv,RC,kC,Ex,kM,Jy,d6,mM,nM,oM,xx],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 Zxb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},Pr={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},$xb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},ayb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},AOc=[Zxb,Pr,$xb,ayb];var f6=function(){this.reactionState$=new xf(1);this.issueId="";this.emails$=this.reactionState$.pipe(He(Gi),z(function(a){return a.recentResponders.map(yi).filter(function(b){return b!==""}).slice(0,5)}))};da.Object.defineProperties(f6.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});f6.\u0275fac=function(a){return new (a||f6)};
f6.\u0275cmp=p({type:f6,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:4,vars:3,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1),C(2,eyb,5,3,"ng-container",2),T(3,"async"),H()());a&2&&(A(2),E("ngForOf",U(3,1,b.emails$)))},dependencies:[sv,
tv,yv],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var BOc=function(){};BOc.\u0275fac=function(a){return new (a||BOc)};BOc.\u0275cmp=p({type:BOc,selectors:[["b-comment-edit-timestamp-message"]],inputs:{event:"event"},decls:1,vars:1,consts:[[4,"ngIf"],["mode","datetime",3,"timestamp"]],template:function(a,b){a&1&&C(0,gyb,7,2,"ng-container",0);a&2&&E("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[tv,YP],encapsulation:2,changeDetection:0});var g6=function(){this.texts=[]};g6.prototype.getIssueId=function(a){return a.text};g6.prototype.trackByIndex=function(a){return a};g6.\u0275fac=function(a){return new (a||g6)};
g6.\u0275cmp=p({type:g6,selectors:[["b-tagged-text"]],inputs:{texts:"texts"},decls:1,vars:2,consts:[[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],[3,"email","withProfile",4,"ngSwitchCase"],[3,"href","issueId",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"email","withProfile"],[3,"href","issueId"]],template:function(a,b){a&1&&C(0,kyb,5,3,"ng-container",0);a&2&&E("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[FJ,sv,uv,vv,wv,NO],encapsulation:2,changeDetection:0});var COc=function(a){this.hotlists=a;this.ROUTES=wp};COc.\u0275fac=function(a){return new (a||COc)(B(rE))};COc.\u0275cmp=p({type:COc,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(F(0,"a",0),Q(1),T(2,"async"),H());if(a&2){var c;E("href",b.ROUTES.viewHotlist.makeHref(b.id),cf);A();yg(((c=U(2,2,b.hotlists.watch(b.id)))==null?null:c.name)||b.id)}},dependencies:[yv],encapsulation:2,changeDetection:0});var h6=function(a){var b=this;this.componentFridge=a;this.id$=new xf(1);this.name$=this.id$.pipe(sf(),Cf(function(c){return b.componentFridge.watchOne(c).pipe(z(function(d){var e;return d?P6a((e=d.componentPathInfo)==null?void 0:e.componentPathName,c):c}))}))};h6.prototype.ngOnChanges=function(){this.id$.next(this.id)};h6.\u0275fac=function(a){return new (a||h6)(B(gB))};
h6.\u0275cmp=p({type:h6,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[rd],decls:6,vars:4,consts:[["thisHovercard","onedevHovercard"],["cardBody",""],[3,"onedevHovercardTrigger"],[4,"onedevHovercardLazyBody"],[3,"onedevIsHovercardReady","componentId"]],template:function(a,b){a&1&&(F(0,"span",2),Q(1),T(2,"async"),H(),F(3,"onedev-hovercard",null,0),C(5,lyb,3,2,"ng-container",3),H());a&2&&(a=M(4),E("onedevHovercardTrigger",a),A(),yg(U(2,2,b.name$)||b.id))},dependencies:[xJ,yJ,DJ,zJ,
JW,yv],encapsulation:2,changeDetection:0});var Jyb=function(a){return{"bv2-diff-newvalue-nextline":a}},czb=function(a,b,c){return{diff:a,change:b,isLast:c}},i6=function(a,b){Y.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=fi;this.isLinkedItemArray=Rra;this.isIssueDiff=Ora;this.isHotlistDiff=Pra;this.DiffType=S1b};V(i6,Y);i6.\u0275dir=Y.\u0275dir;
var DOc=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)},EOc=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)};i6.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(He(Gi),Df(this.destroyed$)).subscribe(function(b){a.internalDiffs.length<2||(b&&DOc(a)||!b&&EOc(a))&&a.internalDiffs.reverse()})};i6.prototype.trackByIndex=function(a){return a};
var ozb=function(a,b,c){return pea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="DATE"?!0:!1},pzb=function(a,b,c){return pea(b,c)==="<none>"?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&a.customFieldMap[b.customFieldId].type==="REPEATED_DATE"?!0:!1};i6.prototype.asNumber=function(a){return Number(a)};
i6.prototype.customFieldName=function(a){if(a.customFieldId){var b;return((b=this.customFieldMap[a.customFieldId])==null?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};da.Object.defineProperties(i6.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(r(a))}}});i6.\u0275fac=function(a){return new (a||i6)(B(as),B(PG))};
i6.\u0275cmp=p({type:i6,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[Lf],decls:6,vars:2,consts:[["changeCollection",""],["effortNameDisabled",""],["nonEffortFieldNames",""],["notIssue",""],["plainLink",""],[1,"bv2-event-details"],["class","bv2-diff-row",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-diff-row"],[4,"ngIf"],["mode","time",1,"float-right",3,"timestamp"],[3,"ngSwitch"],
["class","bv2-diff-detail",4,"ngSwitchCase"],["class","bv2-diff-detail",4,"ngSwitchDefault"],[1,"bv2-diff-detail"],[4,"ngIf","ngIfElse"],[1,"bv2-diff-arrow"],[3,"email","showEmail"],[3,"id"],["mode","date",3,"timestamp",4,"ngIf"],["mode","date",3,"timestamp"],[3,"email","showEmail",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["title","For more detail, click on the three-dot menu near status update",4,"ngSwitchCase"],[4,"ngSwitchCase"],
[4,"ngSwitchDefault"],["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&&(F(0,"div",5),C(1,Fzb,2,1,"div",6),H(),C(2,Ozb,1,1,"ng-template",null,0,Mg)(4,Pzb,2,0,"ng-template",null,1,Mg));a&2&&(A(),E("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[rv,sv,tv,xv,uv,vv,wv,YP,JO,FJ,COc,h6,Cv],styles:["/*# sourceMappingURL=issue_event_details.css.map */"],
changeDetection:0});var j6=function(a){Y.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(Df(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 void 0:b.formattingModeOverride=void 0;break;default:Bc(c.commentDisplayOverride)}})};V(j6,Y);j6.\u0275dir=Y.\u0275dir;
j6.prototype.ngOnInit=function(){};j6.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";this.summaryType==="CRITIQUE"?FOc(this):this.summaryType==="GERRIT"&&GOc(this);this.audience=this.issueAccessLevel&&this.issueAccessLevel==="INTERNAL"?"INTERNAL":"EXTERNAL";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var FOc=function(a){if(a.rawComment.split("\n").slice(0,3).filter(Boolean).length<2)a.rawComment=sFa(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=HOc(a,b)}},GOc=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=HOc(a,[d,e,f,"Gerrit change: "+b,"",c])}},
HOc=function(a,b){return a.formattingMode==="MARKDOWN"||a.formattingModeOverride==="MARKDOWN"?b.join("\n\n"):b.join("\n")};j6.\u0275fac=function(a){return new (a||j6)(B(PG))};
j6.\u0275cmp=p({type:j6,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",summaryType:"summaryType",issueAccessLevel:"issueAccessLevel"},features:[Lf,rd],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&J(0,"b-live-preview",0);a&2&&E("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",
b.idPrefix)},dependencies:[RL],styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var IOc=["commentActionsMenu"],JOc=["commentReactionButton"],Yzb=function(){return[]},nAb=function(a){return{"no-upvote-reactions":a}},k6=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z){Y.call(this);var fa=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=f;this.butterBar=h;this.errorHandler=k;this.analytics=q;this.userPreferencesManager=t;this.issueDetailsBrain=w;this.editIssueService=y;this.issuePermissionService=D;
this.commentHistoryDialogService=G;this.issueCommentDialogsService=I;this.dateFormatter=N;this.paths=S;this.domSafe=W;this.eventsForIssueFridge=Z;this.isSummarized=!1;this.issueId$=new xf(1);this.distinctIssueId$=this.issueId$.pipe(sf());this.event$=new xf(1);this.isCommentEvent=Xi;this.isNonObfuscatedEmail=Ki;this.commentActionMenuItems$=new rn([]);this.isInternalSession=this.activeSession.isInternalSession();this.enableTeamAnnotations=this.activeSession.isInternalSession();this.formattingMode="PLAIN";
this.commentRetentionOverride=null;this.wasSummarized=!1;a={};this.formattingModeMenuItems=(a.PLAIN={type:"select",action:function(){fa.formattingMode="PLAIN";fa.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){fa.formattingMode="MARKDOWN";fa.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){fa.formattingMode="LITERAL";fa.initializeActionsMenu()},label:"Source",selected:!1},a);this.isFormattingOverrideEnabled=
!1;this.canEditComment$=this.event$.pipe(Cf(function(ma){return fa.issuePermissionService.canEditComment$(ma)}),zf({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!ho(fa.canEditComment$)};this.commentHistoryEnabled=ep(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=ep(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.teamId$=this.issueDetailsBrain.teamId$;
this.issue$=this.distinctIssueId$.pipe(Cf(function(ma){return fa.editIssueService.editableIssue$(ma)}));this.modifiedDateDisplay$=this.event$.pipe(z(function(ma){return new Date(ma.modifiedDate)}),Cf(function(ma){return Hnc(fa.dateFormatter,ma)}));this.ariaLabelHeading$=we([this.event$,this.modifiedDateDisplay$]).pipe(z(function(ma){var ua=l(ma);ma=ua.next().value;ua=ua.next().value;if(ma==null)ma="";else{var Ua=[];ma.commentNumber&&Ua.push("Comment #"+ma.commentNumber);ma.userPerformingActionUser&&
Ua.push(vi(ma.userPerformingActionUser));Ua.push("Modified: "+ua);ma=Ua.join(", ")}return ma}));this.ReactionType=H1b;this.upvoteReactionCount$=this.event$.pipe(z(function(ma){var ua,Ua,ha;return(ha=(ua=ma.commentReactions)==null?void 0:(Ua=ua.get("UPVOTE"))==null?void 0:Ua.count)!=null?ha:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(z(function(ma){return ma&&ma!==0?ma>999?"999+":String(ma):null}));this.noUpvoteReactions$=this.upvoteReactionCount$.pipe(z(function(ma){return ma===
0}));this.commentReactionsHovercardConfig=Object.assign({},new AJ,{position:[Kbc]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(z(function(ma){var ua;return(ua=ma.commentFilter)!=null?ua:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(z(function(ma){return ma==="FULL_HISTORY"}));this.preEventDiffs$=we([this.event$,
this.showRecentEventsFirst$]).pipe(z(function(ma){var ua=l(ma);ma=ua.next().value;return ua.next().value?ma.postDiffs:ma.preDiffs}));this.postEventDiffs$=we([this.event$,this.showRecentEventsFirst$]).pipe(z(function(ma){var ua=l(ma);ma=ua.next().value;return ua.next().value?ma.preDiffs:ma.postDiffs}));this.hasAclToUpvoteReact$=we([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(z(function(ma){var ua=l(ma);ma=ua.next().value;ua=ua.next().value;var Ua,ha;return((Ua=ma.commentReactions)==
null?void 0:(ha=Ua.get("UPVOTE"))==null?void 0:ha.hasReacted)||ua}));this.showCommentReactionHovercard$=we([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(z(function(ma){var ua=l(ma);ma=ua.next().value;ua=ua.next().value;return ma&&ua>0&&ua<=5}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(z(function(ma){return ma&&fa.isNonemptyCommentEvent()&&(fa.event.preDiffs.length>0||fa.event.postDiffs.length>0)}));this.getCommentNumberLink=function(ma){return to(fa.issueId,
{comment:ma})}};V(k6,Y);k6.\u0275dir=Y.\u0275dir;
k6.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(Df(this.destroyed$)).subscribe(function(){Xi(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=pe(void 0)});KOc(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(Df(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=b.commentDisplayOverride!=
null;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(Df(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(Df(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(Df(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var KOc=function(a){if(a.formattingMode){for(var b=l(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};g=k6.prototype;
g.updateCommentRetention=function(a){var b=this;this.event.commentNumber||fD(this.errorHandler,"Comment number is missing");this.analytics.trackEvent("restrictedContent","updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(Df(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:(d=c.piiRetentionState)!=null?d:null});Xp(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=a==="INDEFINITE"?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){fD(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 fEa(po(this.event.commentContentVerdict))};g.isRestricted=function(){var a=po(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "RESTRICTION_SEVERITY_UNSPECIFIED":return!1;case "RESTRICTED":case "RESTRICTED_PLUS":return!0;default:Bc(a)}};
g.isDeleted=function(){return this.event.commentDeletionStatus==="DELETED"};g.isRedacted=function(){var a;return((a=this.event)==null?void 0:a.commentRedacted)&&!this.deobfuscatedEvent};
g.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent("restrictedContent","viewRestrictedContent","comment");var b=this.event.commentNumber||0;this.commentService.get(String(this.issueId),b,po(this.event.commentContentVerdict)).pipe(qf()).subscribe(function(c){a.deobfuscatedEvent=xsa(a.event,c);a.initializeActionsMenu()},function(c){var d;a.butterBar.showWarning("Error showing comment "+b+": "+((d=c.error)==null?void 0:d.message))})};
g.initializeActionsMenu=function(){var a=this,b=[];if(this.isCommentEvent(this.event)){this.isFormattingOverrideEnabled||(b.push(Object.assign({},Jrc,{items:[this.formattingModeMenuItems.PLAIN,this.formattingModeMenuItems.MARKDOWN,this.formattingModeMenuItems.LITERAL]})),KOc(this));this.canEditComment()&&b.push({type:"action",action:function(){Qr(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit comment",
disabled:this.isRedacted()});this.commentHistoryEnabled&&(this.event.commentVersion||0)>0&&!this.isRedacted()&&b.push(Object.assign({},Lrc,{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=xp(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:this.isRedacted()});this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){JFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:this.isRedacted()});V$b(this.issuePermissionService,this.event)&&b.push({type:"action",
action:function(){OFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"});U$b(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){LFc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore comment"});ho(this.issuePermissionService.hasAclToView$)&&
b.push(Object.assign({},Krc,{action:function(){PFc(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";QFc(a.issueCommentDialogsService,"comment",d).then(function(e){a.commentActionsMenu.actionsMenuIconButton.focus();
e&&a.updateCommentRetention(d)})},label:c?"Match issue retention":"Revert to component retention"})}gUa({userIsExternal:!this.isInternalSession,issueIsExternal:this.issueAccessLevel!=="INTERNAL"})&&b.push(Object.assign({},Irc,{action:function(){a.event.commentNumber==null&&ij("unable to buildLegalReportingUrl() correctly without an event.commentNumber");var d,e=hUa({bugId:a.event.issueId,comment:(d=a.event.commentNumber)!=null?d:0});a.domSafe.openInNewTab(e)}}))}this.commentActionMenuItems$.next(b)};
g.getUserEmailIfAvailable=function(){return yi(this.event.userPerformingActionUser)};g.isNonemptyCommentEvent=function(){return Xi(this.event)&&!!this.event.unlinkifiedComment};g.getEventAsNote=function(){return this.deobfuscatedEvent||this.event};g.getSummaryType=function(){return ej(this.event)?"GERRIT":"CRITIQUE"};g.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
g.mayReadPii=function(){var a=KB(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){ij("error: ",b);return!1});return fe(a)};
var lAb=function(a){if(ho(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=oAb(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);AA(a.eventsForIssueFridge,a.issueId,function(f){var h;f.events=ysa(f.events,(h=a.event.commentNumber)!=null?h:2,{commentReactions:d})});a.analytics.trackEvent("editIssue",
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},oAb=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},mAb=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};
da.Object.defineProperties(k6.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});k6.\u0275fac=function(a){return new (a||k6)(B(bH),B(as),B(uJ),B(MH),B(Rd),B(IB),B(cD),B(eD),B(CF),B(PG),B(iI),B(EI),B(kI),B(HW),B(H_),B(XP),B(BP),B(jJ),B(HE))};
k6.\u0275cmp=p({type:k6,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(rg(IOc,5),rg(JOc,5));if(a&2){var c;vg(c=wg())&&(b.commentActionsMenu=c.first);vg(c=wg())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[Lf,rd],decls:2,vars:3,consts:[["emailDisplay",""],["card",""],["commentActionsMenu",""],["commentReactionButton",""],["commentReactionCard","onedevHovercard"],[4,"ngIf"],[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"],[4,"ngIf","ngIfElse"],["class","bv2-edit-comment-button","matTooltip","Edit Comment","aria-label","Edit Comment",3,"click",4,"ngIf"],[1,"bv2-event-info"],["content-type","comment",3,"label","retention","retentionState",4,"ngIf"],["mode","datetime",3,"timestamp"],["class","issue-detail-actions",3,"buttonLabel","menuItems",4,"ngIf"],[1,"float-clear"],
["class","bv2-event-major-status",4,"ngIf"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled",4,"ngIf"],[1,"bv2-event-note-container","critical-feature"],[1,"flex-kids-x","space-between"],["class","muted italic",4,"ngIf"],[3,"disabled","onConfirm",4,"ngIf"],[1,"flex-kids-y","flex-1-hemmed"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],[1,"flex-kids-y","justify-space-between"],[1,"comment-timestamp"],["mode","time","class","muted type-s",3,"timestamp",4,"ngIf"],["class",
"align-self-flex-end",4,"ngIf"],["class","bv2-event-note-edit-timestamp",4,"ngIf"],[1,"margin-s-y","border-top","bv2-issue-event-attachments"],["role","button",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],[3,"email"],[1,"bv2-event-user-id"],[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"],["content-type","comment",3,"label","retention","retentionState"],[1,"issue-detail-actions",
3,"buttonLabel","menuItems"],[1,"bv2-event-major-status"],[3,"texts"],[3,"diffs","customFieldMap","effortSpecName","effortEnabled"],[1,"muted","italic"],[3,"onConfirm","disabled"],[3,"issueId","issueAccessLevel","note","formattingMode"],[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"],["mode","time",1,"muted","type-s",3,"timestamp"],[1,"align-self-flex-end"],
["mat-stroked-button","","disabledInteractive","",1,"comment-reaction-button",3,"click","ariaLabel","ngClass","aria-disabled","disabled","onedevHovercardTrigger","onedevHovercardConfig","onedevHovercardActive"],["svgIcon","thumb_up_24px","class","icon-s",4,"ngIf"],["svgIcon","thumb_up_filled_24px","class","icon-s has-reacted-icon",4,"ngIf"],[3,"reactionState","issueId","commentNumber",4,"ngIf"],["svgIcon","thumb_up_24px",1,"icon-s"],["svgIcon","thumb_up_filled_24px",1,"icon-s","has-reacted-icon"],
[3,"reactionState","issueId","commentNumber"],[1,"bv2-event-note-edit-timestamp"],[3,"event"],[3,"click",4,"ngIf"],[3,"click"],["class","margin-s-y bv2-issue-event-attachment",3,"id",4,"ngFor","ngForOf"],[1,"margin-s-y","bv2-issue-event-attachment",3,"id"],[3,"issueId","attachment","attachmentUploader"]],template:function(a,b){a&1&&(C(0,vAb,41,29,"ng-container",5),T(1,"async"));a&2&&E("ngIf",U(1,1,b.issue$))},dependencies:[LT,$5,TL,rv,sv,tv,xv,RC,OD,YP,xJ,DJ,i6,yL,q3,s3,MO,KO,PO,KI,TI,j6,kC,Ex,f6,
BOc,g6,yv],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 LOc={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},l6=function(a,b,c,d,e,f,h,k,q,t){Y.call(this);var w=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.dynamicScrollIntoView=d;this.bLocation=e;this.elementRef=f;this.routerEvents=h;this.analytics=k;this.teamFridge=q;this.issueFridge=t;this.issueId$=new xf(1);this.internalIssueId="";this.eventDisplayModes=LOc;this.internalEvents=[];this.showRecentEventsFirst=null;this.currentFilterLevel=
"FULL_HISTORY";this.issue$=this.issueId$.pipe(Cf(this.issueFridge.watch));this.events$=new xf(1);this.commentsToFormat$=new xf(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.authoritativeEmails=new Set;this.authoritativeEmails$=this.preferences.commentFilterPreferences$.pipe(Cf(function(y){var D=new Set;return y.commentFilter!=="TEAM_AND_ASSIGNEE"?pe(D):w.issue$.pipe(Cf(function(G){var I;if((G==null?void 0:(I=G.snapshot[0].assigneeUser)==
null?void 0:I.emailAddress)!==void 0){var N;D.add(G==null?void 0:(N=G.snapshot[0].assigneeUser)==null?void 0:N.emailAddress)}var S;if((G==null?void 0:(S=G.snapshot[0].verifierUser)==null?void 0:S.emailAddress)!==void 0){var W;D.add(G==null?void 0:(W=G.snapshot[0].verifierUser)==null?void 0:W.emailAddress)}var Z;if((G==null?void 0:(Z=G.aggregatedData)==null?void 0:Z.teamId)===void 0)return pe(D);var fa;return MOc(w,String(G==null?void 0:(fa=G.aggregatedData)==null?void 0:fa.teamId)).pipe(Cf(function(ma){ma=
l(ma);for(var ua=ma.next();!ua.done;ua=ma.next())D.add(ua.value);return pe(D)}))}))}));this.isLoading$=we([this.formattedCommentsForIssueFridge.thinking$,this.eventsForIssue.thinking$]).pipe(rf(0),z(function(y){var D=l(y);y=D.next().value;D=D.next().value;return y||D}));this.sendAnalytics=Dz(function(){var y=[].concat(r(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(D){return D.innerText}).join("").length;w.analytics.trackEvent("editIssue","updateCommentThread",
"visibleCharCount",y)},200);this.scrollToCommentOrAttachment=Dz(function(){var y=w.bLocation.hash();if(y&&w.lastHashScrolled!==y&&w.internalEvents){var D,G=l((D=y.match(RegExp("(comment|attachment)([0-9]+)")))!=null?D:[]);G.next();D=G.next().value;var I=G.next().value;G=D;var N=I;if(y==="lastcomment"){G=Csa(w.internalEvents);if(G===-1)return;N=String(G);G="comment"}if(G&&N){D=w.internalEvents.findIndex(function(W){return W.commentNumber===Number(N)});I=D>-1;var S=w.internalEvents.flatMap(function(W){return W.attachments}).some(function(W){return W.attachmentId===
Number(N)});if(I||S)I&&w.eventDisplayMode.get(D)==="folded"&&(w.eventDisplayMode.set(D,"full"),NOc(w,D)),S&&(D=w.internalEvents.findIndex(function(W){return W.attachments.findIndex(function(Z){return Z.attachmentId===Number(N)})>-1}),w.eventDisplayMode.get(D)||(w.eventDisplayMode.set(D,"full"),NOc(w,D))),nOc(w.dynamicScrollIntoView,{elementId:G+N,parentElement:w.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Ef(function(){w.lastHashScrolled=
y}),Df(w.destroyed$)).subscribe()}else nOc(w.dynamicScrollIntoView,{elementId:y,parentElement:w.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(Ef(function(){w.lastHashScrolled=y}),Df(w.destroyed$)).subscribe()}},200)};V(l6,Y);l6.\u0275dir=Y.\u0275dir;
l6.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.authoritativeEmails$.subscribe(function(b){a.authoritativeEmails=b}));this.preferences.showRecentEventsFirst$.pipe(He(Gi),Df(this.destroyed$),sf()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,OOc(a))});we([this.events$,this.preferences.commentFilterPreferences$,this.authoritativeEmails$]).subscribe(function(b){b=l(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,POc(a,c,d.commentFilter,e),QOc(a),c=l(a.commentNumbersDisplayed.values()),d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=l(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(He(Gi),Df(this.destroyed$),Cf(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){ROc(a,b)});this.routerEvents.navigationEnd$.pipe(Df(this.destroyed$)).subscribe(function(){a.internalEvents&&
a.internalEvents.length!==0&&a.scrollToCommentOrAttachment()})};
var ROc=function(a,b){for(var c={i$jscomp$1129:0};c.i$jscomp$1129<a.internalEvents.length;c={i$jscomp$1129:c.i$jscomp$1129},c.i$jscomp$1129++)if(AAb(a.eventDisplayMode.get(c.i$jscomp$1129))&&Xi(a.internalEvents[c.i$jscomp$1129])){var d=b.find(function(e){return function(f){return f.id.commentId===a.internalEvents[e.i$jscomp$1129].commentNumber}}(c));d&&(a.internalEvents[c.i$jscomp$1129]=Object.assign({},a.internalEvents[c.i$jscomp$1129],{formattedComment:d.formattedComment.formattedComment,formattingMode:d.formattedComment.formattingMode}))}OOc(a)},
POc=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=SOc(b[c]);a.eventDisplayMode.set(c,e?"full":"hidden");Xi(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=TOc(b[c]),a.eventDisplayMode.set(c,e?"full":"hidden"),Xi(b[c])&&b[c].commentNumber&&e&&(e=void 0,a.commentNumbersDisplayed.add((e=
b[c].commentNumber)!=null?e:0));break;case "HUMAN_ONLY":UOc(a,b,function(f){var h;return(h=Yra(f.userPerformingAction)&&f.isMajorEvent)!=null?h:!0});break;case "TEAM_AND_ASSIGNEE":UOc(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"),Xi(b[c])&&b[c].commentNumber&&(e=void 0,a.commentNumbersDisplayed.add((e=b[c].commentNumber)!=null?e:0))}a.sendAnalytics()},QOc=function(a){if(a.currentFilterLevel!==
"FULL_HISTORY")for(var b=0;b<a.internalEvents.length;b++)Xi(a.internalEvents[b])&&(dj(a.internalEvents[b])||ej(a.internalEvents[b]))&&(a.eventDisplayMode.set(b,"summarized"),NOc(a,b))},UOc=function(a,b,c){for(var d=0,e=0,f=0,h=0;h<b.length;h++){var k=c(b[h]);a.eventDisplayMode.set(h,k?"full":"folded");if(k){if(d>0||e>0)a.foldedCommentsCounts.has(f)||a.foldedCommentsCounts.set(f,{commentFoldedCount:d,eventFoldedCount:e});e=d=0;Xi(b[h])&&b[h].commentNumber&&(k=void 0,a.commentNumbersDisplayed.add((k=
b[h].commentNumber)!=null?k:0))}else{if(Xi(b[h])&&b[h].commentNumber||Yi(b[h]))d++,f=h;e++}}if(d>0||e>0)b=Csa(a.internalEvents)===1?a.showRecentEventsFirst?0:a.internalEvents.length:VOc(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},VOc=function(a){return Bba(a.internalEvents,function(b){var c;return(c=b.isMajorEvent)!=null?c:!1})},SOc=function(a){return Xi(a)&&!!a.unlinkifiedComment||Yi(a)||a.preDiffs.length>0||a.postDiffs.length>0},TOc=function(a){var b;return((b=a.isMajorEvent)!=
null?b:!1)&&(Xi(a)&&!!a.unlinkifiedComment||Yi(a)||a.preDiffs.length>0||a.postDiffs.length>0)},OOc=function(a){if(!(a.internalEvents.length<2)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=WOc(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=WOc(a,a.internalEvents).modifiedDate){a.internalEvents.reverse();var b;POc(a,a.internalEvents,(b=a.currentFilterLevel)!=null?b:"FULL_HISTORY",a.authoritativeEmails);QOc(a)}a.internalEvents&&a.internalEvents.length!==
0&&a.scrollToCommentOrAttachment()}},WOc=function(a,b){var c;return(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))!=null?c:b[1]};l6.prototype.trackEventByVersion=function(a,b){return b.version};
var NOc=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(r(a.foldedCommentsCounts.entries())).sort(function(k,q){return k[0]-q[0]})),e=l(e.entries()),f=e.next();!f.done;f=e.next())if(h=
l(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++)(Xi(a.internalEvents[c])||Yi(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}},
AAb=function(a){return a==="summarized"||a==="full"},MOc=function(a,b){var c=new Set;return a.teamFridge.watch(b).pipe(z(function(d){if(d!==void 0){d=l(d.members.map(function(f){return f.user.emailAddress}).filter(Gi));for(var e=d.next();!e.done;e=d.next())c.add(e.value)}return c}))};
da.Object.defineProperties(l6.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(r(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!isa(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
l6.\u0275fac=function(a){return new (a||l6)(B(NE),B(PG),B(HE),B(O5),B(NM),B(Rd),B(BF),B(CF),B(JG),B(EF))};
l6.\u0275cmp=p({type:l6,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[Lf],decls:6,vars:8,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",3,"click"],[1,"horizontal-divider"],[1,"bv2-event"],[3,
"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(C(0,wAb,2,0,"aside",0),T(1,"async"),F(2,"div",1),C(3,BAb,3,2,"ng-container",2),H(),C(4,CAb,2,0,"aside",0),T(5,"async"));a&2&&(E("ngIf",b.showRecentEventsFirst&&U(1,4,b.isLoading$)),A(3),E("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),A(),E("ngIf",!b.showRecentEventsFirst&&U(5,6,b.isLoading$)))},dependencies:[sv,tv,k6,kC,Ex,pQ,yv],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 DAb=function(a){return{stage:a}},MAb=function(a){return{summary:a}},TAb=function(a){return{"has-reacted-icon":a}},m6=function(a,b){Y.call(this);var c=this;this.llmIssueSummaryService=a;this.userFeedback=b;this.GENERATING="GENERATING";this.SUMMARY_VISIBLE="SUMMARY_VISIBLE";this.isIssueSummaryExpanded=!0;this.stage$=this.llmIssueSummaryService.stage$;this.summary$=this.llmIssueSummaryService.summary$.pipe(Ef(function(d){d&&d.summary&&c.llmIssueSummaryService.trackEvent("display","issueDetailsPage")}),
zf({refCount:!0,bufferSize:1}));this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};V(m6,Y);m6.\u0275dir=Y.\u0275dir;g=m6.prototype;g.ngOnInit=function(){var a=this;this.llmIssueSummaryService.summarizable$.pipe(Df(this.destroyed$)).subscribe(function(b){b.isSummarizable&&a.llmIssueSummaryService.trackEvent("viewSummarizableIssue","issueDetailsPage")})};g.trackThumbsUp=function(a){hj("thumbsup");this.thumbsUpClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsUp(a,"issueDetailsPage")};
g.trackThumbsDown=function(a){hj("thumbsdown");this.thumbsDownClicked=this.hasReacted=!0;this.llmIssueSummaryService.trackThumbsDown(a,"issueDetailsPage")};g.openFeedbackDialog=function(a){this.userFeedback.startFeedback();a&&CZ(this.llmIssueSummaryService,a,"FEEDBACK")};g.copySummary=function(a){navigator.clipboard.writeText(a.summary);var b=this.llmIssueSummaryService;b.trackEvent("copy","issueDetailsPage");CZ(b,a,"COPY")};m6.\u0275fac=function(a){return new (a||m6)(B(BZ),B(cW))};
m6.\u0275cmp=p({type:m6,selectors:[["llm-summary"]],features:[Lf],decls:10,vars:3,consts:[["showHeader",""],["showBody",""],["renderedSummary",""],["showingSummary",""],["aiHelp",""],["plainTextSummary",""],[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"],[4,"ngIf"],[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-down","class","icon-s",4,"ngIf"],["svgIcon","arrow-up","class","icon-s",4,"ngIf"],["svgIcon","arrow-down",1,"icon-s"],["svgIcon","arrow-up",1,"icon-s"],[3,
"content",4,"ngIf","ngIfElse"],[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&&(C(0,GAb,1,1),T(1,"async"),C(2,KAb,11,5,"ng-template",null,0,Mg)(4,PAb,2,1,"ng-template",null,1,Mg)(6,SAb,3,2,"ng-template",null,2,Mg)(8,WAb,2,1,"ng-template",null,3,Mg));if(a&2){var c;$f((c=U(1,1,b.stage$))?0:-1,c)}},dependencies:[rv,tv,xv,RC,pQ,kC,Gx,KI,TI,FQ,oV,GL,yv],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 n6=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};n6.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};n6.\u0275fac=function(a){return new (a||n6)(B(SC),B(WC))};
n6.\u0275cmp=p({type:n6,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&&(F(0,"div",0),O("click",function(){return b.snackbarRef.dismissWithAction()}),
J(1,"mat-icon",1),F(2,"p",2),Q(3),H()(),F(4,"button",3),O("click",function(c){return b.onDismiss(c)}),J(5,"mat-icon",4),H());a&2&&(A(3),R(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[RC,kC,Gx],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 o6=function(a){this.snackbar=a},XOc=function(a){var b=mr.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(n6,c);return a.currentSnackBar};o6.\u0275fac=function(a){return new (a||o6)(n(ZC))};o6.\u0275prov=Fc({token:o6,factory:o6.\u0275fac,providedIn:"root"});var p6=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var y=this;this.eventsForIssue=a;this.issueFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=f;this.errorHandler=h;this.refreshDataNotification=k;this.eventsForIssueWatcher=q;this.analytics=t;this.appEvents=w;this.id$=new xf(1);this.events$=this.id$.pipe(Cf(this.eventsForIssue.watch),z(function(D){var G;return(G=D==null?void 0:D.events)!=null?G:[]}));this.issue$=this.id$.pipe(Cf(function(D){return y.issueFridge.watch(D)}));
this.accessLevel$=this.issue$.pipe(z(function(D){var G;return D==null?void 0:(G=D.accessLimit)==null?void 0:G.accessLevel}));this.enableLlmSummarization=ep(this.activeSession,"enableIssueSummarizationNoButton")&&this.activeSession.isInternalSession();this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(z(Boolean),Bf(!0))};V(p6,Y);p6.\u0275dir=Y.\u0275dir;
p6.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=ho(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(FFc(this.eventsForIssueWatcher,ho(this.id$)).subscribe(function(){YOc(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()}));this.destroyed$.pipe(qf()).subscribe(function(){var b;(b=a.refreshDataNotification.currentSnackBar)==null||b.dismiss()})};
var YOc=function(a){a.analytics.trackEvent("pushUpdate","display","comment");XOc(a.refreshDataNotification).afterDismissed().subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent("pushUpdate","fetchResource","comment"),a.issueFridge.poke(ho(a.id$)),a.eventsForIssue.poke(ho(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent("pushUpdate","dismiss","comment")})};da.Object.defineProperties(p6.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
p6.\u0275fac=function(a){return new (a||p6)(B(HE),B(EF),B(PG),B(as),B(HW),B(iI),B(eD),B(o6),B(E_),B(CF),B(iD))};
p6.\u0275cmp=p({type:p6,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[Lf],decls:7,vars:16,consts:[["class","margin-top",4,"ngIf"],[3,"issueId","events","issueAccessLevel","showFullHistory"],[1,"margin-top"]],template:function(a,b){a&1&&(C(0,XAb,2,0,"div",0),J(1,"b-event-stream",1),T(2,"async"),T(3,"async"),T(4,"async"),T(5,"async"),T(6,"async"));a&2&&(E("ngIf",b.enableLlmSummarization),A(),E("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$)),Nf("data-will-inline-screenshots",U(6,14,b.enableInlineScreenshots$)?!0:null))},dependencies:[tv,l6,m6,yv],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var jBb=function(a,b){return{empty:a,"never-focused":b}},q6=function(a,b,c,d,e,f,h,k,q,t,w,y){var D=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=f;this.issueDetailsBrain=h;this.issueCommentDialogsService=k;this.appEvents=q;this.bannedWordsChecker=t;this.componentFridge=w;this.butterBar=y;this.issueId$=new xf(1);this.distinctIssueId$=this.issueId$.pipe(sf());this.issue$=this.distinctIssueId$.pipe(Cf(function(G){return D.editIssueService.editableIssue$(G)}));
this.wasFocused=!1;this.commentButtonStyle="fill";this.enableRecaptcha=this.activeSession.userRequiresCaptcha();this.enableNewVisibilityChips=ep(this.activeSession,"enableNewVisibilityChips");this.recaptchaResponse$=new rn("");this.commentSubmitted=new xF;this.issueComponent$=this.issue$.pipe(Cf(function(G){return D.componentFridge.watch(G==null?void 0:G.componentId)}));this.issueAccessLimitLevel$=this.issuePermissionService.accessLimitLevel$.pipe(z(function(G){return G!=null?G:"LIMIT_NONE"}));this.isAccessLimited$=
this.issueAccessLimitLevel$.pipe(z(function(G){return G==="LIMIT_VIEW"||G==="LIMIT_APPEND"||G==="LIMIT_VIEW_TRUSTED"}));this.HOTKEYS=mr;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(z(function(G){return G.autoCcOnComment}));
this.issueCommentDraft$=this.issueId$.pipe(z(function(G){return D.editIssueService.issueCommentDraft(G)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(Cf(function(G){return G.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(Cf(function(G){return G.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(z(function(G){return D.editIssueService.savingState(G)}));this.isSaving$=this.savingState$.pipe(Cf(function(G){return zp(G.propertiesBeingSaved,
wo("comment"))}));this.commentLimitReached$=this.events$.pipe(z(function(G){var I=D.activeSession.getCommentNumberLimit();return Csa(G)>=I}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(z(function(G){return G?"The comment limit has been reached and no additional comments are permitted.":D.activeSession.isAnonymous()?"Sign in to use full features.":D.issuePermissionService.hasAclToComment()?"Add a comment.":"You do not have access to comment on this issue."}));this.commentBoxEnabled$=
we([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(z(function(G){var I=l(G);G=I.next().value;var N=I.next().value;I=I.next().value;return G&&!N&&!I}));this.showRecaptcha$=we([this.hasAclToComment$,this.commentLimitReached$]).pipe(z(function(G){var I=l(G);G=I.next().value;I=I.next().value;return G&&!I&&D.enableRecaptcha}));this.commentDraftUpdated$=new rn(!0);this.commentButtonEnabled$=we([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(z(function(G){var I=
l(G);G=I.next().value;var N=I.next().value;var S=I.next().value;I=I.next().value;return G&&G$b(N)&&!S&&(!D.enableRecaptcha||I!=="")}));this.empty$=we([this.comment$,this.commentDraftUpdated$]).pipe(z(function(G){var I,N;return(N=(I=l(G).next().value)==null?void 0:I.value)!=null?N:""}),z(function(G){return G.length===0}));this.doAutoRestrictComment$=we([this.issueComponent$,this.comment$,this.commentDraftUpdated$]).pipe(z(function(G){G=l(G);var I=G.next().value;var N=G.next().value;G.next();G=Np(D.activeSession);
var S=ho(D.judgementForNewContent$);I=I!=null?I:null;N=N.uploads.length>0;var W=!(I==null||!I.trackerId);S=(S==null?void 0:S.severity)!=="RESTRICTED"&&(S==null?void 0:S.severity)!=="RESTRICTED_PLUS";return yq(I)&&W&&!G&&N&&S}))};q6.prototype.setJudgementForNewContent=function(a,b){this.editIssueService.issueCommentDraft(a).setJudgementForNewContent(b)};
q6.prototype.autoRestrictComment=function(a){var b=this,c;return ge(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),Xp(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."));me(d)})};
q6.prototype.ngOnInit=function(){this.doAutoRestrictComment$.subscribe(this.autoRestrictComment.bind(this))};var $Ab=function(a){var b;return ge(function(c){b=!QG(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent("editIssue","toggleAutoCcOnComment",String(b));return ie(c,se(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
q6.prototype.saveCommentDraft=function(){var a=this,b;return ge(function(c){if(c.nextAddress==1)return a.bannedWordsChecker.reset(),ie(c,se(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(oo(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);me(c)})};
q6.prototype.submitCommentBox=function(a){var b=this,c,d,e,f,h,k,q;return ge(function(t){if(t.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),ie(t,b.bannedWordsChecker.check(e.value,b.issuePermissionService.accessLevel()==="EXTERNAL_PUBLIC",f.componentId),2);if(t.nextAddress!=3)return h=t.yieldResult,h?ie(t,b.issueCommentDialogsService.submitCommentBox(String(f.componentId),
b.internalIssueId,e,d),3):((k=a)==null||k.preventDefault(),(q=b.commentBox)==null||hBb(q),t.return());b.commentSubmitted.emit();b.bannedWordsChecker.reset();b.appEvents.recaptchaSubmitted.next();me(t)})};q6.prototype.showNewContentJudgementDialog=function(){var a=this;return ge(function(b){return ie(b,a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
q6.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&ep(this.activeSession,"enableReducePlusOneComments")&&!ho(this.issueDetailsBrain.voted$)};da.Object.defineProperties(q6.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)}}});
q6.\u0275fac=function(a){return new (a||q6)(B(kI),B(PG),B(EI),B(CF),B(aH),B(as),B(iI),B(H_),B(iD),B(yZ),B(gB),B(cD))};
q6.\u0275cmp=p({type:q6,selectors:[["b-post-comment"]],viewQuery:function(a,b){a&1&&rg(AY,5);if(a&2){var c;vg(c=wg())&&(b.commentBox=c.first)}},inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},features:[Dg([yZ])],decls:2,vars:3,consts:[["commentBox",""],[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered","hotkey","supportsPreview","issueId","comment",
"componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","warn"],["class","banned-words-warning break-word","warning","",4,"ngIf"],["recaptchaContainer","",4,"ngIf"],["additionalToolbarItems","",1,"goog-inline-block"],[3,"onAction","click","format","disabled","color"],[1,"goog-inline-block"],["class","goog-inline-block vertical-centered",4,"ngIf"],[3,"initialValue","change",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"issueId"],
[3,"accessLevel"],["warning","",1,"banned-words-warning","break-word"],["target","_blank","aria-label","Learn more about banned words","href","http://go/b-trackers#banned-words-for-tracker",1,"color-bad-text","keep-underline"],["recaptchaContainer",""],[3,"onUpdate"],[3,"change","checked","disabled"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"change","initialValue"],[3,"issueId","componentId","accessLimitLevel"]],template:function(a,b){a&1&&(C(0,lBb,2,1,"ng-container",1),T(1,"async"));a&2&&E("ngIf",U(1,1,b.issue$))},dependencies:[sO,AY,SL,rv,tv,GQ,cJ,oJ,pJ,DY,I5,SQ,yv],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 r6=function(a){this.issueReferenceResolver=a;this.userToString=yi};r6.prototype.ngOnInit=function(){};r6.prototype.getCommentNumberLink=function(a){return to(this.issueId,{comment:a})};r6.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};r6.\u0275fac=function(a){return new (a||r6)(B(uJ))};
r6.\u0275cmp=p({type:r6,selectors:[["comments-info"]],inputs:{issueId:"issueId",comments:"comments"},decls:1,vars:1,consts:[["personCard",""],["class","comment-info",4,"ngFor","ngForOf"],[1,"comment-info"],[4,"ngIf"],["class","keep-focus-ring hover-link",3,"routerLinkObj","click",4,"ngIf"],[1,"ldap",3,"onedevHovercardTrigger"],[3,"email",4,"ngIf"],[3,"email"],[1,"keep-focus-ring","hover-link",3,"click","routerLinkObj"]],template:function(a,b){a&1&&C(0,qBb,5,3,"span",1);a&2&&E("ngForOf",b.comments)},
dependencies:[sv,tv,OD,xJ,DJ,yL,IQ],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 s6=function(a){Y.call(this);this.ngZone=a};V(s6,Y);s6.\u0275dir=Y.\u0275dir;var ZOc=function(a,b){return(new ce(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(Df(a.destroyed$))};s6.\u0275fac=function(a){return new (a||s6)(n(Me))};s6.\u0275prov=Fc({token:s6,factory:s6.\u0275fac,providedIn:"root"});var $Oc=["imagesSummaryWidget"],t6=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new xf(1);this.paginate=!1;this.container$=new xf(1);this.containerResize$=this.container$.pipe(z(function(e){return e.nativeElement}),Cf(function(e){return ZOc(d.resizeService,e)}));this.issueId$=new xf(1);this.lastRenderedImageIndex$=new rn(0);this.allImages$=this.imageLinks$.pipe(z(function(e){e=e.map(function(f){if(f.comment){var h=lIa(f.href);if(h)return{src:h,comment:f.comment}}}).filter(Gi);
return xBb(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(z(function(e){return Math.floor((e.width-16)/216)}),zf({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(z(function(e){return e*2}));this.imagesToRender$=we([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(z(function(e){var f=l(e);e=f.next().value;var h=f.next().value;f=f.next().value;return d.paginate?h.slice(0,f||e):h.slice(0,e)}),z(function(e){return e.map(function(f){var h;
return Object.assign({},f,{srcCorp:(h=lIa(f.src,!0))!=null?h:""})})}),sf())};t6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};t6.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};t6.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};t6.prototype.trackByIndex=function(a){return a};
da.Object.defineProperties(t6.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return ho(this.imageLinks$)}}});t6.\u0275fac=function(a){return new (a||t6)(B(s6),B(HD),B(qn))};
t6.\u0275cmp=p({type:t6,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&rg($Oc,7);if(a&2){var c;vg(c=wg())&&(b.container=c.first)}},inputs:{issueId:"issueId",imageLinks:"imageLinks",paginate:"paginate"},decls:4,vars:3,consts:[["imagesSummaryWidget",""],["withoutPagination",""],[4,"ngIf"],[1,"container"],["class","image-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"image-wrapper"],["target","_blank",1,"thumbnail",3,"href"],[3,"showByDefault","src"],[3,"issueId","comments"],["mat-button",
"","class","small load-more-screenshots",3,"click",4,"ngIf","ngIfElse"],["mat-button","",1,"small","load-more-screenshots",3,"click"],["mat-button","",1,"small","see-all-screenshots",3,"click"]],template:function(a,b){a&1&&(F(0,"div",null,0),C(2,wBb,3,3,"ng-container",2),T(3,"async"),H());a&2&&(A(2),E("ngIf",U(3,1,b.allImages$)))},dependencies:function(){return[r6,sv,tv,kC,Ex,DL,yv,u6]},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 u6=function(){};u6.prototype.transform=function(a){return a.split(".png")[0]};u6.\u0275fac=function(a){return new (a||u6)};u6.\u0275pipe=fd({name:"removePngExtension",type:u6,pure:!0});var aPc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links",SIMILAR_ISSUES:"SW-similar-issues"},LCb=[].concat(r(Object.values(aPc)));var bPc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=Mi(function(d){c.analytics.trackEvent("editIssue","click",d)});this.recordImpressionOnce=Mi(function(){c.analytics.trackEvent("editIssue","view","SW")})},wCb=function(a,b,c){a.recordInteractionOnce(c);Rr(a.issueInteractionsTracking,b,c+"-content-interacted");Rr(a.issueInteractionsTracking,b,"SW-content-interacted")};var v6=function(a,b){this.activeSession=a;this.trackerHelpers=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
v6.prototype.ngOnChanges=function(){var a;a:{var b=(a=this.sourceComment)==null?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=EBb(b.markdownFormat.content);break a}if(b.literalFormat){a=EBb(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=l(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(EBb(c));break a}}a=void 0}if(a=a&&cPc(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(dPc.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(dPc.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="",Wo(this.relatedLink)?c=b=this.relatedLink.href:mIa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?rra(IR(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 cPc=function(a,b){if(a.relatedLink){if(mIa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(r(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(Wo(a.relatedLink)){var d=a.relatedLink;return[].concat(r(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})}}};
v6.prototype.getIssueUrl=function(a){return IR(this.trackerHelpers,a)};v6.\u0275fac=function(a){return new (a||v6)(B(as),B(HR))};
v6.\u0275cmp=p({type:v6,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[rd],decls:8,vars:4,consts:[["internalLink",""],["hyperLink",""],[1,"wrapper"],["class","muted margin-xs-right left","aria-hidden","true",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","muted margin-xs-left right","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"muted","margin-xs-right","left"],[3,"href","originalHref"],[3,"href","issueId",4,"ngIf","ngIfElse"],
[3,"href","issueId"],["target","_blank",1,"keep-focus-ring",3,"href"],["aria-hidden","true",1,"muted","margin-xs-left","right"]],template:function(a,b){a&1&&(F(0,"div",2),Q(1," \u201c "),C(2,yBb,3,3,"span",3)(3,zBb,3,3,"ng-container",4)(4,CBb,3,2,"ng-template",null,0,Mg)(6,DBb,2,1,"span",5),Q(7," \u201d\n"),H());a&2&&(a=M(5),A(2),E("ngIf",b.leftText),A(),E("ngIf",b.isExternalLink)("ngIfElse",a),A(3),E("ngIf",b.rightText))},dependencies:[rJ,FJ,tv,yI],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 dPc=new Set(["BR"]);var w6=function(a,b,c,d,e){var f=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new xf(1);this.currentIssueId$=new xf(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new rn(10);this.issuesMap$=this.issueReferences$.pipe(He(Gi),Cf(function(h){var k=Oi(h.map(function(q){return q.issueId}));return f.issueFridge.watchSet(k).pipe(z(function(q){return new Map(q.map(function(t){return[t==null?void 0:t.issueId.toString(),
t]}))}),z(function(q){return new Map(k.map(function(t){return[t,q.get(t)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(He(Gi),z(function(h){var k=new Map;h=l(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var t=q.issueId.toString();k.has(t)?k.get(t).push(q):k.set(t,[q])}return k}));this.allMentionedIssues$=we([this.issueReferencesMap$,this.issuesMap$]).pipe(z(function(h){h=l(h);var k=h.next().value;h=h.next().value;return[].concat(r(h)).filter(function(q){return l(q).next().value!==
f.issueId}).map(function(q){var t=l(q);q=t.next().value;t=t.next().value;var w=k.get(q),y=w==null?void 0:w.map(function(D){var G,I,N=(G=D.comment)==null?void 0:(I=G.userPerformingActionUser)==null?void 0:I.emailAddress;return{commentNumber:D.sourceCommentNumber,author:(N==null?void 0:N.split("@")[0])+"@",issueEvent:D.comment}});return{hasViewAccess:!!t,issueId:q,shortIssueUrl:rra(f.activeSession.getAppBaseUrl(),q),sourceComments:y,title:t==null?void 0:t.snapshot[0].title,priority:t?t.snapshot[0].priority:
null,relatedLinks:w}})}));this.mentionedIssuesToRender$=we([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(z(function(h){var k=l(h);h=k.next().value;k=k.next().value;return f.paginate?h.slice(0,k):h.slice(0,5)}))};w6.prototype.getCommentNumberLink=function(a){return to(this.issueId,{comment:a})};w6.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
w6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};da.Object.defineProperties(w6.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}}});w6.\u0275fac=function(a){return new (a||w6)(B(as),B(EF),B(HD),B(qn),B(uJ))};
w6.\u0275cmp=p({type:w6,selectors:[["b-mentioned-issues"]],inputs:{issueReferences:"issueReferences",currentIssueId:"currentIssueId",paginate:"paginate"},decls:2,vars:3,consts:[["withoutPagination",""],[4,"ngIf"],[4,"ngFor","ngForOf"],[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","","class","small load-more-issues",3,"click",4,"ngIf","ngIfElse"],["mat-button",
"",1,"small","load-more-issues",3,"click"],["mat-button","",1,"small","see-all-issues",3,"click"]],template:function(a,b){a&1&&(C(0,LBb,3,3,"ng-container",1),T(1,"async"));a&2&&E("ngIf",U(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[sv,tv,rO,kC,Ex,KI,TI,v6,r6,yv,x6]},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 x6=function(){};x6.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(Gi)};x6.\u0275fac=function(a){return new (a||x6)};x6.\u0275pipe=fd({name:"toComments",type:x6,pure:!0});var y6=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new xf(1);this.issueId$=new xf(1);this.lastRenderedRelatedLinkIndex$=new rn(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(z(function(d){return lsa(d,function(e){return e.href})}));this.linkGroupsToRender$=we([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(z(function(d){var e=l(d);d=e.next().value;e=e.next().value;return c.paginate?TBb(d,e):d.length===
6?TBb(d,6):TBb(d,5)}))};y6.prototype.ngOnInit=function(){};y6.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};da.Object.defineProperties(y6.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("pf");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return ho(this.issueId$)}}});y6.\u0275fac=function(a){return new (a||y6)(B(HD),B(qn))};
y6.\u0275cmp=p({type:y6,selectors:[["related-links-widget"]],inputs:{links:"links",issueId:"issueId",paginate:"paginate"},decls:2,vars:3,consts:[["withoutPagination",""],[4,"ngIf"],["class","related-link flex-kids-x align-items-center gap-s margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[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","","class","small load-more-links",
3,"click",4,"ngIf","ngIfElse"],["mat-button","",1,"small","load-more-links",3,"click"],["mat-button","",1,"small","see-all-links",3,"click"]],template:function(a,b){a&1&&(C(0,RBb,3,3,"ng-container",1),T(1,"async"));a&2&&E("ngIf",U(1,1,b.allLinkGroups$))},dependencies:function(){return[r6,sv,tv,kC,Ex,v6,yv,z6]},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 SBb=Ui(function(a){return Math.min.apply(Math,r(a.map(function(b){return b.sourceCommentNumber})))},Vi),z6=function(){};z6.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(Gi)};z6.\u0275fac=function(a){return new (a||z6)};z6.\u0275pipe=fd({name:"toComments",type:z6,pure:!0});var A6=function(a,b,c,d,e,f){Y.call(this);var h=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.snackBar=c;this.analytics=d;this.hostElement=e;this.appEvents=f;this.similarIssueIds$=new xf(1);this.isLoading=!0;this.issueIds$=this.similarIssueIds$.pipe(z(function(k){return k.slice(0,3)}),Ef(function(k){h.mostRecentIssueIds=k;setTimeout(function(){h.isLoading=!1})}));this.mostRecentIssueIds=[];this.tableColumns=["title","dupeCount","voteCount","createdTime","menu"];this.tableOptions={modes:{createdTime:"date"},
enableIssueHovercard:!0,menu:{includeGoToIssueItem:!1}};this.menuItemFactory=function(k){return[{type:"action",label:"Close current issue as duplicate of this row",action:function(){ePc(h,k)}}]};this.gotErr=function(k){h.snackBar.open({message:Zm(k)||"Error with network request",snackbarType:"ERROR"})};this.subscriptions.add(this.appEvents.didShowIssueHovercard.subscribe(function(k){if(h.mostRecentIssueIds.includes(k)){var q;(q=h.analytics)==null||q.trackEvent("similar-issues-idp","hovercard")}}))};
V(A6,Y);A6.\u0275dir=Y.\u0275dir;A6.prototype.ngOnInit=function(){this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0)};A6.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};
var ePc=function(a,b){var c=String(a.issueIdInternal);c&&q8b(a.issueFridge,b,c).then(function(){fPc(a,b);fPc(a,c);a.snackBar.open({message:"Issue closed as duplicate",actionLabel:"Undo"}).afterDismissed().subscribe(function(d){d.dismissedByAction&&gPc(a,b,c)});a.analytics.trackEvent("similar-issues-idp","closeAsDuplicate","fromSummaryWidget")}).catch(a.gotErr)},gPc=function(a,b,c){a.issueFridge.removeDuplicate(b,c).then(function(){fPc(a,b);fPc(a,c);a.snackBar.open({message:"Un-marked issue as duplicate"})}).catch(a.gotErr);
a.analytics.trackEvent("similar-issues-idp","undoCloseAsDuplicate","fromSummaryWidget")},fPc=function(a,b){a.issueFridge.poke(b);a.eventsForIssueFridge.poke(b)};A6.prototype.captureAnyClick=function(){var a;(a=this.analytics)==null||a.trackEvent("similar-issues-idp","any-click")};
da.Object.defineProperties(A6.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("qf");}}});A6.\u0275fac=function(a){return new (a||A6)(B(EF),B(HE),B(aD),B(CF),B(Rd),B(iD))};
A6.\u0275cmp=p({type:A6,selectors:[["suggested-similar-issues"]],inputs:{issueId:"issueId",similarIssueIds:"similarIssueIds"},features:[Lf],decls:3,vars:9,consts:[[3,"issueIds","tableColumns","options","menuItemFactory"],[4,"ngIf"]],template:function(a,b){a&1&&(J(0,"b-issues-table",0),T(1,"async"),C(2,UBb,2,0,"div",1));a&2&&(Wf("hidden",b.isLoading),E("issueIds",U(1,7,b.issueIds$))("tableColumns",b.tableColumns)("options",b.tableOptions)("menuItemFactory",b.menuItemFactory),A(2),E("ngIf",b.isLoading))},
dependencies:[tv,UT,pQ,yv],encapsulation:2});var B6=function(){Ew.apply(this,arguments)};V(B6,Ew);B6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(B6)))(b||B6)}}();B6.\u0275dir=ed({type:B6,selectors:[["","expandable-tab-content",""]],features:[Lf]});var C6=function(){Ew.apply(this,arguments)};V(C6,Ew);C6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(C6)))(b||C6)}}();C6.\u0275dir=ed({type:C6,selectors:[["","expandable-tab-header",""]],features:[Lf]});var D6=function(){Ew.apply(this,arguments)};V(D6,Ew);
D6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(D6)))(b||D6)}}();D6.\u0275dir=ed({type:D6,selectors:[["","expandable-tab-icon",""]],features:[Lf]});var E6=function(){};E6.prototype.ngOnInit=function(){};E6.\u0275fac=function(a){return new (a||E6)};
E6.\u0275cmp=p({type:E6,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(sg(c,C6,5,og),sg(c,B6,5,og),sg(c,D6,5,og));if(a&2){var d;vg(d=wg())&&(b.tabHeaderTemplate=d.first);vg(d=wg())&&(b.tabContentTemplate=d.first);vg(d=wg())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var hPc=function(a){return{allTabsExpanded:a}},WBb=function(a){return{tab:a}},mCb=function(){return[]},F6=function(){Y.apply(this,arguments);this.internalTabKeys$=new xf(1);this.ariaLabel="";this.internalExpandedTabs=new TG;this.visibleExpandedTabs$=we([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(z(function(a){var b=l(a);a=b.next().value;var c=b.next().value;return a.filter(function(d){return c.has(d)})}));this.expandedTabsChanged=new xF;this.contentShownChanged=new xF;this.tabs$=
new rn([]);this.allTabsExpanded$=we([this.tabs$,this.internalExpandedTabs.value$]).pipe(z(function(a){var b=l(a);a=b.next().value;var c=b.next().value;return a.every(function(d){return c.has(d.key)})}));this.trackByKey=function(a,b){return b.key}};V(F6,Y);F6.\u0275dir=Y.\u0275dir;
F6.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(Bf(void 0),z(function(){return a.internalTabs.toArray()}),z(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),Cf(function(b){return we([pe(b),a.internalTabKeys$])}),z(function(b){b=l(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(we([this.internalTabKeys$,this.internalExpandedTabs.value$]).pipe(z(function(b){var c=
l(b);b=c.next().value;c=c.next().value;return ara(new Set(b),new Set(c))}),sf(ci)).subscribe(function(b){a.contentShownChanged.emit(b)}))};F6.prototype.ngOnInit=function(){};F6.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,r(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};F6.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
var cCb=function(a){var b;return ge(function(c){if(c.nextAddress==1)return ie(c,se(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();me(c)})};da.Object.defineProperties(F6.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(r(a)))},get:function(){var a;return(a=ho(this.internalTabKeys$))!=null?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(r(this.internalExpandedTabs))}}});
F6.\u0275fac=function(){var a;return function(b){return(a||(a=Od(F6)))(b||F6)}}();
F6.\u0275cmp=p({type:F6,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&sg(c,E6,5);if(a&2){var d;vg(d=wg())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[Lf],decls:11,vars:14,consts:[["headerText",""],["notExpanded",""],["spacer",""],["noTemplate",""],[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable",
"true",1,"expandable-tabs","flex-kids-x","centered-inside"],["mat-button","","class","expandable-tab keep-focus-ring","role","tab",3,"expanded","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"expandable-tabs-contents"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],["svgIcon","done","class","icon-s",4,"ngIf"],[4,"ngIf","ngIfElse"],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],
["mat-button","",1,"small",3,"click"],["role","tabpanel",3,"class","id",4,"ngIf"],["role","tabpanel",3,"id"],[1,"spacer"]],template:function(a,b){a&1&&(F(0,"div",4)(1,"div",5),C(2,bCb,10,20,"button",6),T(3,"async"),H(),C(4,dCb,3,6,"ng-container",7),T(5,"async"),H(),F(6,"div",8),C(7,oCb,3,3,"ng-container",9),T(8,"async"),H(),C(9,tCb,3,2,"ng-template",null,0,Mg));a&2&&(A(),Nf("aria-label",b.ariaLabel),A(),E("ngForOf",U(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),A(2),E("ngIf",Hg(12,hPc,U(5,8,b.allTabsExpanded$))),
A(3),E("ngForOf",U(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[sv,tv,xv,RC,kC,Ex,yv],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 xCb=function(){return[]},G6=function(a,b,c,d,e,f,h){Y.call(this);var k=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=f;this.similarIssuesApi=h;this.TabKeys=aPc;this.issueId$=new xf(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(Cf(function(q){return k.issueFridge.watch(q)}),He(Gi));this.commentNumberToEventMap$=this.issueId$.pipe(Cf(function(q){return k.eventsForIssueFridge.watch(q)}),
z(function(q){var t;return(t=q==null?void 0:q.events)!=null?t:[]}),z(function(q){return new Map(q.filter(function(t){return!!t.commentNumber}).map(function(t){return[t.commentNumber,t]}))}));this.relatedLinks$=we([this.issue$,this.commentNumberToEventMap$]).pipe(z(function(q){var t=l(q);q=t.next().value;var w=t.next().value;var y;return((y=q.relatedLinks)==null?void 0:y.map(function(D){return Object.assign({},D,{comment:w.get(D.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(z(function(q){return q.filter(iIa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(z(function(q){return Ni(q,function(t){return lIa(t.href)})}),z(function(q){return q.length}));this.shouldShowImages$=this.imageLinks$.pipe(z(function(q){return k.activeSession.isInternalSession()&&iPc(k,q)}));this.issues$=this.relatedLinks$.pipe(z(function(q){return q.filter(mIa)}));this.distinctIssuesCount$=this.issues$.pipe(z(function(q){return q.filter(function(t){return t.issueId!==k.issueId})}),z(function(q){return Ni(q,function(t){return t.issueId})}),
z(function(q){return q.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(z(Boolean));this.otherLinks$=this.relatedLinks$.pipe(z(function(q){return q.filter(nIa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(z(function(q){return Ni(q,function(t){return t.href})}),z(function(q){return q.length}));this.shouldShowLinks$=this.otherLinks$.pipe(z(function(q){return k.shouldShowLinks(q)}));this.similarIssueIds$=this.issueId$.pipe(He(Gi),Cf(function(q){return k.activeSession.isInternalSession()||
ep(k.activeSession,"enableSimilarIssueExternal")?XG(k.similarIssuesApi,{issueId:Number(q)}).pipe(z(function(t){return t.similarIssues})):pe([])}),Ef(function(q){q.forEach(function(t){k.issueFridge.announce(t)})}),z(function(q){return q.map(function(t){return t.issueId})}),zf({bufferSize:1,refCount:!0}));this.shouldShowSimilarIssues$=this.similarIssueIds$.pipe(z(function(q){return q.length>0}));this.tabKeys$=we([this.shouldShowSimilarIssues$.pipe(z(function(q){return{show:q,key:"SW-similar-issues"}})),
this.shouldShowImages$.pipe(z(function(q){return{show:q,key:"SW-images"}})),this.shouldShowIssues$.pipe(z(function(q){return{show:q,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(z(function(q){return{show:q,key:"SW-links"}}))]).pipe(z(function(q){return q.filter(function(t){return t.show}).map(function(t){return t.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(z(function(q){return!!q.length}),rf(0,jo));this.initiallyExpandedTabs=LCb.map(function(q){return u9b(k.userPreferencesManager,
q)?void 0:q}).filter(Gi);this.onTabExpanded$=new xF;this.issueSummaryTracking=new bPc(this.issueInteractionsTracking,this.analytics)};V(G6,Y);G6.\u0275dir=Y.\u0275dir;
G6.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(pf(1E3),Cf(function(b){var c=b.allTabKeys;var d=b.expandedTabKeys;return t9b(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=l(b),f=e.next();!f.done;f=e.next())Rr(c.issueInteractionsTracking,
d,f.value+"-available");b.size>0&&Rr(c.issueInteractionsTracking,d,"SW-available")}))};G6.prototype.shouldShowLinks=function(a){return a.length===0||a.every(function(b){return b.sourceCommentNumber===1})?!1:!0};var iPc=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 QG(a.userPreferencesManager).showInlineImages&&b?!1:!0};
da.Object.defineProperties(G6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return ho(this.issueId$)}}});G6.\u0275fac=function(a){return new (a||G6)(B(as),B(PG),B(fI),B(EF),B(CF),B(HE),B(WG))};
G6.\u0275cmp=p({type:G6,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[Lf],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["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","click",4,"ngIf"],[3,"click","issueId","imageLinks"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"click","issueReferences","currentIssueId"],["svgIcon","link",1,"icon-s"],[3,"click",
"links","issueId"],["svgIcon","spark_24px","color","primary",1,"icon-s"],[3,"issueId","similarIssueIds","click",4,"ngIf"],[3,"click","issueId","similarIssueIds"]],template:function(a,b){a&1&&(F(0,"h3",0),Q(1,"Issue summary"),H(),C(2,MCb,17,6,"expandable-tabs",1),T(3,"async"));a&2&&(A(2),E("ngIf",U(3,1,b.tabKeys$)))},dependencies:[tv,RC,E6,B6,C6,D6,F6,t6,w6,y6,A6,yv],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 H6=function(a){this.matDialog=a};H6.prototype.show=function(a){this.dialog=this.matDialog.open(I6,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return se(dH(this.dialog))};H6.\u0275fac=function(a){return new (a||H6)(n(jH))};H6.\u0275prov=Fc({token:H6,factory:H6.\u0275fac,providedIn:"root"});var I6=function(a,b,c){Y.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};V(I6,Y);I6.\u0275dir=Y.\u0275dir;
I6.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(Df(this.destroyed$)).subscribe(function(b){if(b.key==="Escape"){var c;(c=a.dialogService.dialog)==null||c.close()}});this.dialogRef.backdropClick().pipe(Df(this.destroyed$)).subscribe(function(){var b;(b=a.dialogService.dialog)==null||b.close()})};I6.\u0275fac=function(a){return new (a||I6)(B(iH),B(H6),B(cH))};
I6.\u0275cmp=p({type:I6,selectors:[["ng-component"]],features:[Lf],decls:8,vars:2,consts:[["mat-dialog-title",""],["tabindex","0","mat-dialog-content",""],[1,"history-list"],["class","version",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],[1,"version"],[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&&(F(0,"h1",0),Q(1,"History for Status Update"),H(),F(2,"section",1)(3,"ul",2),C(4,NCb,19,12,"li",3),H()(),F(5,"footer",4)(6,"button",5),Q(7," Close "),H()());a&2&&(A(4),E("ngForOf",b.statusUpdates),A(2),E("mat-dialog-close",void 0))},dependencies:[sv,YP,kC,Ex,kH,mH,oH,nH,gL,MO,KO,DI,EO],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 jPc=["noteContainer"],$Cb=function(a){return[a]},kPc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},J6=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=f;this.issuePermissionService=h;this.statusUpdateService=k;this.statusUpdateHistoryDialogService=q;this.Freshness=kPc;this.UiState=lPc;this.FormattingMode=$z;this.issueId$=new xf(1);this.issue$=
this.issueId$.pipe(Cf(this.issueFridge.watch));this.componentId$=this.issue$.pipe(z(function(w){return w==null?void 0:w.snapshot[0].componentId}));this.accessLevel$=this.issue$.pipe(z(function(w){var y;return w==null?void 0:(y=w.accessLimit)==null?void 0:y.accessLevel}));this.issue$.pipe(z(function(w){var y;return w==null?void 0:(y=w.aggregatedData)==null?void 0:y.teamId}));this.isCollapsed=!1;this.statusUpdate$=this.issue$.pipe(z(function(w){return w==null?void 0:w.statusUpdate}));this.statusUpdateAsNote$=
this.statusUpdate$.pipe(He(Gi),z(function(w){return{unlinkifiedComment:w.updateText,formattedComment:w.formattedText}}));this.semanticClass$=this.statusUpdate$.pipe(z(function(w){var y;return(y=wFa(w==null?void 0:w.updateText))!=null?y:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(z(function(w){return((w==null?void 0:w.updateText)||"").trim()===""}));this.freshnessIndicator$=we([this.statusIsEmpty$,this.statusUpdate$]).pipe(z(function(w){var y=l(w);w=y.next().value;y=y.next().value;if(w)return 2;
var D;w=(y==null?void 0:(D=y.updateTime)==null?void 0:D.seconds)||0;return Date.now()/1E3-w<86400?0:1}));this.uiState$=this.statusIsEmpty$.pipe(z(function(w){return w?1:2}),Bf(0));this.formattingModeOverride$=new rn(void 0);this.formattingMode$=we([this.statusUpdate$,this.formattingModeOverride$]).pipe(z(function(w){var y=l(w);w=y.next().value;return(y=y.next().value)?y:(w==null?void 0:w.formattingMode)||"PLAIN"}));this.menuItems$=we([this.issueId$,this.statusUpdate$,this.issuePermissionService.hasAclToEdit$,
this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(z(function(w){var y=l(w);var D=y.next().value;var G=y.next().value;w=y.next().value;var I=y.next().value;y=y.next().value;var N=G!=null;G=G&&(G==null?void 0:G.updateText)!=="";var S=[];G&&S.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){t.formattingModeOverride$.next("PLAIN")},selected:y==="PLAIN"},{type:"select",label:"Markdown",action:function(){t.formattingModeOverride$.next("MARKDOWN")},
selected:y==="MARKDOWN"},{type:"select",label:"Source",action:function(){t.formattingModeOverride$.next("LITERAL")},selected:y==="LITERAL"}]});w&&S.push({type:"action",label:"Edit Status Update",action:function(){t.editStatusUpdate()}});N&&S.push({type:"action",label:"Show editing history",action:function(){mPc(t,D)}});G&&I&&S.push({type:"action",label:"Delete Status Update",action:function(){t.confirmationDialogService.open({title:"Delete Status Update?",content:Lh("\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(){t.doDelete()}})}});S.push(nPc);return S}));this.showEditButton$=this.issuePermissionService.hasAclToEdit$};V(J6,Y);J6.\u0275dir=Y.\u0275dir;J6.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return ge(function(d){if(d.nextAddress==1)return ie(d,se(a.uiState$.pipe(He(function(e){return e!==0}))),2);b=d.yieldResult;c=bDb(b);a.analytics.trackEvent("issue","statusUpdateDisplay",c);me(d)})},1E3)};
J6.prototype.ngAfterViewInit=function(){var a;((a=this.noteContainer)==null?void 0:a.nativeElement.scrollHeight)>84&&(this.isCollapsed=!0)};
J6.prototype.editStatusUpdate=function(){var a=this,b,c,d,e,f,h,k,q;return ge(function(t){switch(t.nextAddress){case 1:return ie(t,se(a.issueId$),2);case 2:return b=t.yieldResult,ie(t,se(a.componentId$),3);case 3:return c=t.yieldResult,d={issueId:b,updateText:"",version:-1},f=(e=ho(a.statusUpdate$))!=null?e:d,ie(t,se(a.accessLevel$),4);case 4:return h=t.yieldResult,k=h==="INTERNAL"?"INTERNAL":"EXTERNAL",ie(t,a.editStatusUpdateDialogService.show(f,k,c),5);case 5:q=t.yieldResult;if(q==null)return t.return();
a.statusUpdateService.update(q).subscribe(function(w){a.didSave(b,w)},function(w){a.errorHandler.errorHandler(null,w)});me(t)}})};var QCb=function(a){var b,c;return ge(function(d){if(d.nextAddress==1)return ie(d,se(a.issueId$),2);b=d.yieldResult;c=ho(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)});me(d)})};
J6.prototype.didSave=function(a,b){AA(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};var mPc=function(a,b){var c;ge(function(d){if(d.nextAddress==1)return ie(d,se(bCc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);me(d)})};
J6.prototype.doDelete=function(){var a=this,b;ge(function(c){if(c.nextAddress==1)return ie(c,se(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){AA(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});me(c)})};da.Object.defineProperties(J6.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});J6.\u0275fac=function(a){return new (a||J6)(B(CF),B(rH),B(ZV),B(zZ),B(eD),B(EF),B(kI),B(tZ),B(H6))};
J6.\u0275cmp=p({type:J6,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&rg(jPc,5);if(a&2){var c;vg(c=wg())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[Lf],decls:2,vars:3,consts:[["userCard",""],["noteContainer",""],[3,"display-none","short-height","class",4,"ngIf"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[4,"ngIf"],[1,"flex-kids-x","space-between","align-items-center"],[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-1-hemmed"],[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",4,"ngIf"],["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","class","small margin-xs-right mark-fresh",3,"click",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"small","margin-xs-right","mark-fresh",3,"click"],["class","fresh-checkmark","matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",4,"ngIf"],[3,"onedevHovercardTrigger"],["mode","relativepast",1,"margin-s-right",
3,"timestamp"],[3,"email"],["matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",1,"fresh-checkmark"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],["mat-stroked-button","","color","primary","class","small show-more",3,"click",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-stroked-button","","color","primary",1,"small","show-more",3,"click"]],
template:function(a,b){a&1&&(C(0,aDb,5,13,"div",2),T(1,"async"));a&2&&E("ngIf",U(1,1,b.uiState$))},dependencies:[LT,TL,tv,RC,YP,xJ,DJ,yL,kC,Ex,KI,TI,yv,IQ],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 lPc={LOADING:0,EMPTY:1,NORMAL:2,0:"LOADING",1:"EMPTY",2:"NORMAL"},nPc={type:"action",label:"Using the Status Update field...",action:function(){Bea(window,xc("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var K6=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var y=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=f;this.appEvents=h;this.routePerformance=k;this.clearcut=q;this.activeSession=t;this.issuePermissionService=w;this.id$=this.brain.id$;this.issueAndEvents$=we([this.brain.issueJs$.pipe(He(Boolean)),this.brain.eventsJs$]);this.enableGoosePrompting=ep(this.activeSession,"enableGoosePrompting")&&this.activeSession.isInternalSession();
this.enableGoosePromptingSupportedIssues=ep(this.activeSession,"enableGoosePromptingSupportedIssues")&&this.activeSession.isInternalSession();this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(He(Gi),Cf(function(D){return y.editIssueService.issueCommentDraft(D).comment$}));this.finishedRendering$=we([this.brain.eventsJs$.pipe(rf(0)),Hva("#AddCommentBox textarea",this.element.nativeElement)]).pipe(qf())};V(K6,Y);K6.\u0275dir=Y.\u0275dir;
K6.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(He(Gi),Df(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){oPc(a)});Hva("#comment1 .critical-feature",this.element.nativeElement).pipe(Df(this.destroyed$)).subscribe(function(){var b=function(){gsc(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(uf()).subscribe(function(b){var c=
l(b);b=c.next().value;c=c.next().value;pPc(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(Ff(this.comment$)).subscribe(function(b){b=l(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var pPc=function(a,b,c){var d=c.map(function(f){return f.unlinkifiedComment}),e=Ssa(b,c).length;b=Tsa(b,c);d=d.filter(Boolean).length;e=e>=5||d>=10||b>=10?"collab":"other";V7b(a.clearcut,"view_idp_"+e);Kn("dimension10",e);c=c.some(function(f){var h,k,q;return((q=(h=f.commentReactions)==null?void 0:(k=h.get("UPVOTE"))==null?void 0:k.count)!=null?q:0)>0});a.analytics.trackEvent("editIssue","view",c?"hasUpvoteReaction":"noUpvoteReaction")},oPc=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);rF(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};K6.\u0275fac=function(a){return new (a||K6)(B(iI),B(PG),B(hW),B(CF),B(Rd),B(EI),B(iD),B(WT),B(qF),B(as),B(kI))};
K6.\u0275cmp=p({type:K6,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&O("unload",function(){oPc(b)},!1,Ud)},features:[Lf],decls:7,vars:10,consts:[["issueSummaryCard",""],["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[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",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(F(0,"div",1),C(1,dDb,5,4,"ng-container",2),T(2,"async"),C(3,eDb,3,5,"issue-summary-card",3),T(4,"async"),C(5,hDb,5,5,"div",4),T(6,"async"),H());a&2&&(E("bFocus",!0),A(),E("ngIf",U(2,4,b.id$)),A(2),E("ngIf",U(4,6,b.id$)),A(2),E("ngIf",U(6,8,b.id$)))},dependencies:[tv,e6,pZ,c6,b6,p6,G6,q6,J6,X5,yv],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}.summary[_ngcontent-%COMP%]{background-color:#f2f6ff;background-color:var(--blue-bg)}"]});var L6=function(){};L6.\u0275fac=function(a){return new (a||L6)};L6.\u0275mod=cd({type:L6});L6.\u0275inj=Gc({imports:[RD,zy,RH,VH,lM,zW,KQ,AV]});var M6=function(){};M6.\u0275fac=function(a){return new (a||M6)};M6.\u0275mod=cd({type:M6});M6.\u0275inj=Gc({imports:[RD]});var N6=function(){};N6.\u0275fac=function(a){return new (a||N6)};N6.\u0275mod=cd({type:N6});N6.\u0275inj=Gc({imports:[RD,aU,M6,QO,RH,bM,t3,KQ]});var O6=function(){};O6.\u0275fac=function(a){return new (a||O6)};O6.\u0275mod=cd({type:O6});O6.\u0275inj=Gc({imports:[RD,RH]});var P6=function(){};P6.\u0275fac=function(a){return new (a||P6)};P6.\u0275mod=cd({type:P6});P6.\u0275inj=Gc({imports:[aU,N6,KM,RD,uQ,VL,XL,RH,bM,t3,rQ,RO,O6]});var Q6=function(){};Q6.\u0275fac=function(a){return new (a||Q6)};Q6.\u0275mod=cd({type:Q6});Q6.\u0275inj=Gc({imports:[RD,cP,VH,jM,RH,mR,sM,zy,Ay,xV,bM,Xw]});var R6=function(){};R6.\u0275fac=function(a){return new (a||R6)};R6.\u0275mod=cd({type:R6});R6.\u0275inj=Gc({imports:[RD,RH]});var S6=function(){};S6.\u0275fac=function(a){return new (a||S6)};S6.\u0275mod=cd({type:S6});S6.\u0275inj=Gc({imports:[RD,RH,bM,lM,zW]});var T6=function(a){Y.call(this);this.prefs=a};V(T6,Y);T6.\u0275dir=Y.\u0275dir;T6.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(Df(this.destroyed$)).subscribe()};T6.\u0275fac=function(a){return new (a||T6)(B(PG))};
T6.\u0275cmp=p({type:T6,selectors:[["b-toggle-code-font"]],features:[Lf],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"change","checked"]],template:function(a,b){a&1&&(ig(),F(0,"mat-slide-toggle",0),T(1,"async"),O("change",function(c){return b.onChange(c)}),jg(2),H());a&2&&E("checked",U(1,1,b.prefs.codeFont$))},dependencies:[uO,vO,KI,TI,yv],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var U6=function(){};U6.\u0275fac=function(a){return new (a||U6)};U6.\u0275mod=cd({type:U6});U6.\u0275inj=Gc({imports:[RD,RH,jM,VH,xO,sM,bM,rQ]});var V6=function(){};V6.\u0275fac=function(a){return new (a||V6)};V6.\u0275mod=cd({type:V6});V6.\u0275inj=Gc({providers:[RP],imports:[RD,LQ,dJ,bQ,Q6,R6,VL,cR,kT,cQ,S6,RH,bM,xV,U6]});var W6=function(){};W6.\u0275fac=function(a){return new (a||W6)};W6.\u0275mod=cd({type:W6});W6.\u0275inj=Gc({imports:[RD,rQ,RH,VH,bM,KQ,AV,KM]});var X6=function(){};X6.\u0275fac=function(a){return new (a||X6)};X6.\u0275mod=cd({type:X6});X6.\u0275inj=Gc({imports:[RD,RH,lM,W6,qM]});var Y6=function(){};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275mod=cd({type:Y6});Y6.\u0275inj=Gc({imports:[RD]});var Z6=function(){};Z6.\u0275fac=function(a){return new (a||Z6)};Z6.\u0275mod=cd({type:Z6});Z6.\u0275inj=Gc({imports:[RD,VL,cR,uQ,RO,NW,KM]});var $6=function(){};$6.\u0275fac=function(a){return new (a||$6)};$6.\u0275mod=cd({type:$6});$6.\u0275inj=Gc({imports:[RD,KM]});var a7=function(){};a7.\u0275fac=function(a){return new (a||a7)};a7.\u0275mod=cd({type:a7});a7.\u0275inj=Gc({imports:[aU,N6,KM,RD,uQ,VL,Z6,XL,t3,RO,bM,$6,RH,Y6]});var b7=function(){};b7.\u0275fac=function(a){return new (a||b7)};b7.\u0275mod=cd({type:b7});b7.\u0275inj=Gc({imports:[RD,a7,Z6,RH,rQ]});var c7=function(){};c7.\u0275fac=function(a){return new (a||c7)};c7.\u0275mod=cd({type:c7});c7.\u0275inj=Gc({imports:[RD,RH,sM]});var d7=function(){};d7.\u0275fac=function(a){return new (a||d7)};d7.\u0275mod=cd({type:d7});d7.\u0275inj=Gc({imports:[KM,RD,b7,P6,kT,S6,RH,bM,rQ,xV,c7,RO,sM,W6]});var e7=function(){};e7.\u0275fac=function(a){return new (a||e7)};e7.\u0275mod=cd({type:e7});e7.\u0275inj=Gc({imports:[RD,JQ,bM,VL,H0]});var f7=function(){};f7.\u0275fac=function(a){return new (a||f7)};f7.\u0275mod=cd({type:f7});f7.\u0275inj=Gc({imports:[tO,OY,KM,RD,LQ,zy,dJ,RH,jM,QY,e7,aR]});var g7=function(){};g7.\u0275fac=function(a){return new (a||g7)};g7.\u0275mod=cd({type:g7});g7.\u0275inj=Gc({imports:[RD,VL,XL,JQ]});var h7=function(){};h7.\u0275fac=function(a){return new (a||h7)};h7.\u0275mod=cd({type:h7});h7.\u0275inj=Gc({imports:[g7,RD,VL,XL,RH,JQ,hM]});var i7=function(){};i7.\u0275fac=function(a){return new (a||i7)};i7.\u0275mod=cd({type:i7});i7.\u0275inj=Gc({imports:[KM,RD,AI]});var j7=function(){};j7.\u0275fac=function(a){return new (a||j7)};j7.\u0275mod=cd({type:j7});j7.\u0275inj=Gc({imports:[RD,cQ,RH,bM,i7,WL,g7]});var k7=function(){};k7.\u0275fac=function(a){return new (a||k7)};k7.\u0275mod=cd({type:k7});k7.\u0275inj=Gc({imports:[g7,RD,RH,i7]});var l7=function(){};l7.\u0275fac=function(a){return new (a||l7)};l7.\u0275mod=cd({type:l7});l7.\u0275inj=Gc({imports:[RD,cU,rQ]});var m7=function(){};m7.\u0275fac=function(a){return new (a||m7)};m7.\u0275mod=cd({type:m7});m7.\u0275inj=Gc({imports:[RD,RH,Gw]});var n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275mod=cd({type:n7});n7.\u0275inj=Gc({imports:[RD,m7,h7,j7,k7,l7]});var o7=function(){};o7.\u0275fac=function(a){return new (a||o7)};o7.\u0275mod=cd({type:o7});o7.\u0275inj=Gc({imports:[VH,jM,RD,kx,RH,KM,$P]});var p7=function(){};p7.\u0275fac=function(a){return new (a||p7)};p7.\u0275mod=cd({type:p7});p7.\u0275inj=Gc({imports:[KM,RD]});var q7=function(){};q7.\u0275fac=function(a){return new (a||q7)};q7.\u0275mod=cd({type:q7});q7.\u0275inj=Gc({imports:[RD,uQ,RH,VH,kx,WL,JQ,p7,RO]});var r7=function(){};r7.\u0275fac=function(a){return new (a||r7)};r7.\u0275mod=cd({type:r7});r7.\u0275inj=Gc({imports:[aU,KM,RD,uQ,o7,VL,XL,RH,bM,JQ,q7,p7]});var s7=function(){};s7.\u0275fac=function(a){return new (a||s7)};s7.\u0275mod=cd({type:s7});s7.\u0275inj=Gc({imports:[RD,vL,PC,zy,RH,VH,JM,Ay,X6,qZ,V6,P6,d7,n7,j7,f7,hM,r7,RO,rQ,W6,L6]});var qPc=function(a,b,c,d){var e=this;this.activeSession=a;this.issueFridge=b;this.issueDetailsBrain=c;this.eventsForIssueFridge=d;this.isInternalSession=this.activeSession.isInternalSession();this.issue$=this.issueDetailsBrain.id$.pipe(Cf(this.issueFridge.watch),He(Gi));this.commentNumberToEventMap$=this.issue$.pipe(z(function(f){return f.issueId}),Cf(function(f){return e.eventsForIssueFridge.watch(f)}),z(function(f){var h;return(h=f==null?void 0:f.events)!=null?h:[]}),z(function(f){return new Map(f.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=we([this.issue$,this.commentNumberToEventMap$]).pipe(z(function(f){var h=l(f);f=h.next().value;var k=h.next().value;var q;return((q=f.relatedLinks)==null?void 0:q.map(function(t){return Object.assign({},t,{comment:k.get(t.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(z(function(f){return f.filter(mIa)}));this.imageLinks$=this.relatedLinks$.pipe(z(function(f){return f.filter(iIa)}));this.otherLinks$=this.relatedLinks$.pipe(z(function(f){return f.filter(nIa)}))};
qPc.\u0275fac=function(a){return new (a||qPc)(B(as),B(EF),B(iI),B(HE))};
qPc.\u0275cmp=p({type:qPc,selectors:[["b-issue-resources"]],decls:3,vars:3,consts:[[1,"carded","bg-main"],[4,"ngIf"],["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&&(F(0,"section",0),C(1,pDb,7,9,"ng-container",1),T(2,"async"),H());a&2&&(A(),E("ngIf",U(2,1,b.issue$)))},dependencies:[tv,
RC,w6,t6,y6,yv],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var t7=function(){};t7.\u0275fac=function(a){return new (a||t7)};t7.\u0275mod=cd({type:t7});t7.\u0275inj=Gc({imports:[RD,j7,h7,k7]});var u7=function(a,b,c){var d=this;this.brain=a;this.codeMentions=b;this.imageUrls=c;this.ROBOT_SLEEPING=this.imageUrls.ROBOT_SLEEPING;this.id$=this.brain.id$.pipe(He(Gi));this.codeMentionsState$=this.id$.pipe(Cf(function(e){return Vrc(d.codeMentions,e)}))};u7.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};u7.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};u7.\u0275fac=function(a){return new (a||u7)(B(iI),B(OT),B(sR))};
u7.\u0275cmp=p({type:u7,selectors:[["issue-todos"]],decls:3,vars:3,consts:[["hasResults",""],[1,"carded","bg-main"],[4,"ngIf"],["class","empty-state layout-centered-column gap",4,"ngIf","ngIfElse"],[1,"empty-state","layout-centered-column","gap"],["aria-hidden","true","alt","",3,"src"],[1,"type-l"],[1,"muted"],["href","http://go/buganizer-guide/guides/issue-todos.md","target","_blank"],[3,"issueId","packageMentionSet","displayPackageName",4,"ngFor","ngForOf"],[1,"margin-top"],["target","_blank",3,
"click","href"],[3,"issueId","packageMentionSet","displayPackageName"]],template:function(a,b){a&1&&(F(0,"section",1),C(1,vDb,3,3,"ng-container",2),T(2,"async"),H());a&2&&(A(),E("ngIf",U(2,1,b.id$)))},dependencies:[sv,tv,BKc,yv],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 v7=function(a,b,c){this.cdr=a;this.errorHandler=b;this.currentUserBookmarksFridge=c;this.isLoading=!1;this.hotlists=[];this.createHotlistPath=wp.createHotlist.makeHref()};v7.prototype.ngOnInit=function(){this.fetchUserHotlists()};v7.prototype.fetchUserHotlists=function(){var a=this;this.isLoading=!0;se(zE(this.currentUserBookmarksFridge)).then(function(b){a.hotlists=b;a.isLoading=!1;a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
v7.\u0275fac=function(a){return new (a||v7)(B(yF,2),B(eD),B(xE))};
v7.\u0275cmp=p({type:v7,selectors:[["list-hotlists-page"]],features:[Dg([yF])],decls:8,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],[3,"large",4,"ngIf"],[3,"hotlists",4,"ngIf"],[3,"large"],[3,"hotlists"]],template:function(a,b){a&1&&(F(0,"h2",0),Q(1,"Browse Hotlists"),H(),F(2,"div",1)(3,"a",2),Q(4," Create Hotlist "),H()(),F(5,"div",3),C(6,wDb,1,1,"b-spinner",4)(7,xDb,1,1,"b-hotlist-grid",5),H());a&2&&(A(3),E("href",
b.createHotlistPath,cf),A(3),E("ngIf",b.isLoading),A(),E("ngIf",!b.isLoading))},dependencies:[tv,q0,pQ,kC,Fx],encapsulation:2});var rPc=new Set(["issueId","modifiedTime","createdTime"]),w7=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa){Y.call(this);var Ma=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=f;this.hotlistApi=h;this.activeSession=k;this.butterBar=q;this.analytics=t;this.appSearchState=w;this.issuePagination=y;this.userPreferencesManager=D;this.urlPreferences=G;this.gridPreferencesFetcher=I;this.paths=N;this.timeout=S;this.errorHandler=W;this.statusMessages=
Z;this.domSafe=fa;this.appEvents=ma;this.hotlistFridge=ua;this.issueFridge=Ua;this.batchIssueRelationshipsService=ha;this.componentFridge=xa;this.currentUserBookmarksFridge=sa;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=[];
a=[{keys:["j"],displayAs:"j",description:"Move to the next issue",onPress:function(){var Aa;(Aa=Ma.resultsGrid)==null||Mdb(Aa)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var Aa;(Aa=Ma.resultsGrid)==null||Ndb(Aa)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Aa;(Aa=Ma.resultsGrid)==null||uGc(Aa)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Aa;(Aa=Ma.resultsGrid)==
null||wGc(Aa)}},{keys:[Ao("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Aa;(Aa=Ma.resultsGrid)==null||xGc(Aa,!0)}},{keys:[Ao("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var Aa;(Aa=Ma.resultsGrid)==null||xGc(Aa,!1)}},{keys:[Bo("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var Aa;(Aa=Ma.resultsGrid)==null||Aa.selectAll()}},{keys:[Bo("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",
onPress:function(){var Aa;(Aa=Ma.resultsGrid)==null||rGc(Aa)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var Aa;(Aa=Ma.gridControls)==null||HY(Aa,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var Aa;(Aa=Ma.gridControls)==null||HY(Aa,$i.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var Aa;if((Aa=Ma.gridControls)!=null&&Aa.hasSelectedIssues()){var wb;(wb=Aa.hotlistPicker)==null||wb.open()}}},
{keys:["r"],displayAs:"r",description:"Add comment",onPress:function(){var Aa;(Aa=Ma.gridControls)==null||RAc(Aa)}},{keys:["u",Ao("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return Ma.refreshResults()}},{keys:[Bo("p","0"),Bo("p","1"),Bo("p","2"),Bo("p","3"),Bo("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(Aa){Ma.resultsGrid&&Ma.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+Aa}],issueIds:Ma.resultsGrid.getSelectedIssues().map(function(wb){return wb.issueId})}])}},
{keys:[LFa("ENTER")],displayAs:"Ctrl+Enter",description:"Open current issue in new tab",onPress:function(){var Aa=c.document.activeElement;if(Aa.tagName==="A"){var wb=Ma.paths.getBaseUrl();if(Aa.href&&!Aa.href.startsWith(wb)){Ma.domSafe.openInNewTab(Aa.href);return}}var Pb;(Pb=Ma.resultsGrid)==null||a0(Pb,{openInNewTab:!0})}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Aa){var wb=c.document.activeElement;if(Aa===1&&wb.tagName==="A")if(wb.href)Aa=
Ma.paths.getBaseUrl(),wb.href.startsWith(Aa)?Ma.bLocation.setUrl(wb.href.slice(Aa.length)):Ma.domSafe.openInNewTab(wb.href);else{var Pb;(Pb=Ma.resultsGrid)==null||a0(Pb)}else if(Aa===2){var Vb;(Vb=Ma.resultsGrid)==null||a0(Vb,{openInNewTab:!0})}else{var xb;(xb=Ma.resultsGrid)==null||a0(xb)}}}];ep(this.activeSession,"enableIssueSidebar")&&a.push({keys:[Ao("o"),Ao("ENTER")],displayAs:"Shift+o / Shift+Enter",description:"Toggle current issue in sidebar",onPress:function(Aa){var wb=c.document.activeElement;
Aa===1&&wb.tagName==="A"&&wb.href?Eo(Ma.domSafe,wb.href):(Aa=Ma.resultsGrid)!=null&&(Aa.isIssueSidebarOpen=!Aa.isIssueSidebarOpen,Aa.cdr.detectChanges())}});this.BASE_HOTKEYS=a};V(w7,Y);w7.prototype.ngOnInit=function(){var a=this;sPc(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(Df(this.destroyed$)).subscribe(function(){sPc(a)})};
var tPc=function(a){var b=[].concat(r(GBc));a.activeSession.isInternalSession()&&(a=b.indexOf("issueId"),b.splice(a,0,"minSlo"));return b.map(bq).filter(Gi)};
w7.prototype.fetchUserHotlists=function(){var a=this;se(zE(this.currentUserBookmarksFridge)).then(function(b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=a.hotlistMap[c.hotlistId];ci(d,c)||(d&&Qa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var sPc=function(a){return uPc(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?(a.subscribeToIssueChanges(a.searchResults.issues),vPc(a,a.searchResults.startIndex,a.searchResults.endIndex)):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})};
w7.prototype.subscribeToIssueChanges=function(a){var b=this,c;(c=this.issueSubscriptions)==null||c.unsubscribe();this.issueSubscriptions=new Yd;a=l(a);for(c=a.next();!c.done;c=a.next())this.issueSubscriptions.add(this.issueFridge.watch(c.value.id).pipe(He(Gi),Df(this.destroyed$)).subscribe(function(d){var e;return ge(function(f){if(f.nextAddress==1)return b.searchResults?ie(f,se(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();etc(b.searchResults,[{issue:d,component:e}]);b.searchResults=b.searchResults.clone()}b.cdr.detectChanges();me(f)})}))};
var wPc=function(a){return a.window.document.activeElement!=null&&a.window.document.activeElement!==a.window.document.body},uPc=function(a){var b=Li();wPc(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},vPc=function(a,b,c){var d=Li();wPc(a)||xPc(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},yPc=function(a,b){if(b.maySkipResults){b=Nh(["Too many matching results. Some issues may be omitted.",Oh("br"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "]);
var c={};c=Oh("a",(c.href="http://go/buganizer-faq#restrict-search",c),"go/buganizer-faq");c=Nh([Oh("br"),"See ",c," for more details."]);b=a.activeSession.isInternalSession()?Nh([b,c]):b;Y4b(a.butterBar,b)}};g=w7.prototype;
g.setSort=function(a,b,c){c=c===void 0?!0:c;var d=bq(a);if(d){var e=new eq(d,b==="ASC"?"ASCENDING":"DESCENDING");Ra(this.sortPreferences,function(f){return ci(f.fieldId,e.fieldId)});!c||rPc.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):gi(a.fieldId.type),direction:a.direction==="ASCENDING"?"ASC":"DESC"};ci(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};g.saveSortColumns=function(a){t0(this.urlPreferences,{sortColumns:a,page:1})};
g.initColumns=function(a,b){var c=this;b=b===void 0?zPc:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(r(b),r(u9a(d)));c.cdr.detectChanges()})};g.saveColumns=function(a){this.displayColumns=a.map(function(b){return bq(b.name)});t0(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=xp(a),c&&(c.ctrlKey||c.metaKey||c.button===1)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Eo(this.domSafe,a):this.bLocation.setUrl(a))};g.goToPage=function(a){this.bLocation.search("p",a)};var Sr=function(a,b,c){b!==void 0&&a.goToPage(b+c)};g=w7.prototype;g.refreshResults=function(){ntc(this.issuePagination);return sPc(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=l(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=void 0;(f=this.searchResults)==null||ftc(f,e,d)}this.cdr.detectChanges();Xp(this.butterBar,"Saving changes...",0);return GF(this.issueFridge,a[0].issueIds,{markRead:d,userActivityType:"MARK_AS_READ_OR_UNREAD"}).then(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=
q.next()){t=t.value;var w=void 0,y=void 0;(w=c.searchResults)==null||ftc(w,t,void 0,(y=k)!=null?y:null)}Xp(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(k){for(var q=l(a[0].issueIds),t=q.next();!t.done;t=q.next()){t=t.value;var w=void 0;(w=c.searchResults)==null||ftc(w,t)}c.errorHandler.errorHandler(null,k)}).finally(function(){c.cdr.detectChanges()})}e=cEa(a).map(function(k){return k.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));
var h={bulkEditOps:a};Xp(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(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.finishedIssues[w.issueId]&&(t=c.searchResults.issues[t],XYa(t,k.finishedIssues[w.issueId],null),
c.loadHotlists(t),Object.assign(c.customFieldMap,t.customFieldMap))}c.cdr.detectChanges()}w=a[0];q=k.notFinishedIssueIds;t=String(w.actions[0].value);w=w.actions[0].actionType;if(w!=="ADD"&&w!=="REMOVE")throw Error("cf");q.length?(c.butterBar.showWarning("Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):Xp(c.butterBar,(w==="ADD"?"Added child issue(s) to parent ["+t+"]":"Removed child issue(s) from parent ["+t+"]")+" on "+String(Object.keys(k.finishedIssues).length)+
" issues.");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)}):this.issueApi.issueBulkEdit(h,b).then(function(k){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=l(c.searchResults.issues.entries()),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;k.affectedIssues[w.issueId]&&(w=k.affectedIssues[w.issueId],t=c.searchResults.issues[t],XYa(t,w,k.componentMap[La(w.snapshot).componentId]),c.loadHotlists(t),Object.assign(c.customFieldMap,
t.customFieldMap))}c.cdr.detectChanges()}k.errors&&k.errors.length?(q="Failed to update issue(s) "+(ki(k.errors,"issueId").join(", ")+"."),c.butterBar.showWarning(q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+k.errors.length)):(k=u$b(c.statusMessages,h,c.customFieldMap))?Xp(c.butterBar,k):Xp(c.butterBar,"Saved "+dEa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(k){c.errorHandler.errorHandler(null,k)})};
g.loadHotlists=function(a){var b=this;a=l(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=l(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");Xp(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);Xp(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;Xp(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");kJ(this.domSafe,this.getCsvUrl())};
g.saveResultsPerPage=function(a){var b=this;this.userPreferencesManager.save({resultsPerPage:a}).pipe(Df(this.destroyed$)).subscribe(function(){b.resultsPerPage=a;t0(b.urlPreferences,{page:1});b.analytics.trackEvent(b.ANALYTICS_CATEGORY,"resultsPerPageSave",a.toString());b.refreshResults();b.cdr.detectChanges()},function(c){gj(c)})};
var xPc=function(a,b,c){var d=a.issuePagination.getFocusedIssue();a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{ptc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");e&&(e.scrollTop=0)}a.cdr.detectChanges()})},FDb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
da.Object.defineProperties(w7.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){ci(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",MCa(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 zPc=[b0,c0,d0];
w7.\u0275fac=function(a){return new (a||w7)(B(yF),B(BF),B(Window),B(NM),B(dD),B(jC),B(jE),B(as),B(cD),B(CF),B(xQ),B(UU),B(PG),B(s0),B(u0),B(BP),B(EB),B(eD),B(zH),B(jJ),B(iD),B(rE),B(EF),B(H1),B(gB),B(xE))};w7.\u0275dir=ed({type:w7,features:[Lf]});var BDb=function(){return{q:"status:open"}},x7=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma,Aa,wb,Pb,Vb){w7.call(this,a,b,c,d,f,h,k,e,q,t,w,y,D,G,I,N,S,ua,W,Z,ha,sa,Ma,Aa,wb,Vb);this.hotkeys=fa;this.pageTitle=ma;this.routePerformance=Ua;this.element=xa;this.imageUrls=Pb;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 yf};V(x7,w7);x7.\u0275dir=w7.\u0275dir;g=x7.prototype;g.ngOnInit=function(){var a=this;w7.prototype.ngOnInit.call(this);this.subscriptions.add(aJ(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="",yQ(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,t0(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);yQ(this.appSearchState,
this.query);b=$nc(this.appSearchState);if(b>0)return ngc(this.bLocation,wp.viewHotlist.makeHref(b)),t0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=aoc(this.appSearchState);if(b>0)return ngc(this.bLocation,this.paths.viewSavedSearch(b)),t0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add(Ae(Ie(0).pipe(Zja()),Hva("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){gsc(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 APc);var b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:tPc(this)}),c=Promise.race([b.searchPreferences.then(function(f){f=di(f);f.query=a.query;f.returnUrl=a.bLocation.getUrl();f.trackerIds=a.appSearchState.currentTrackerScope;return ktc(a.issuePagination,f)}),se(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 APc||yPc(a,f)}).catch(function(f){typeof f==="number"?t0(a.urlPreferences,{page:f}):a.errorHandler.errorHandler(null,f)});b=b.displayColumns;this.initColumns(b);return Op({searchResultsPage:c,displayColumns:b}).then(function(f){var h=f.searchResultsPage;if(h instanceof APc)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 bq(b.name)});v9b(this.userPreferencesManager,v9a(a)).pipe(Df(this.destroyed$)).subscribe()};
g.setPageTitle=function(){this.appSearchState.currentQuery===Xnc(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===Znc(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(Df(this.destroyed$)).subscribe(function(){t0(b.urlPreferences,{page:1,sortColumns:null});FDb();var d=b.bLocation.search();ci(c,d)&&b.refreshResults()})};g.getCsvUrl=function(){return NMa(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
x7.\u0275fac=function(a){return new (a||x7)(B(yF),B(BF),B($G),B(NM),B(as),B(dD),B(jC),B(jE),B(cD),B(CF),B(xQ),B(UU),B(PG),B(s0),B(u0),B(BP),B(EB),B(zH),B(jJ),B($I),B(VU),B(eD),B(WT),B(iD),B(Rd),B(rE),B(EF),B(H1),B(gB),B(sR),B(xE))};
x7.\u0275cmp=p({type:x7,selectors:[["list-issues-page"]],features:[Dg([yF]),Lf],decls:10,vars:7,consts:[["noQuery",""],["noTracker",""],[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"],["class","bv2-view-loading",4,"ngIf"],["id","no-results","class","bv2-view-loading layout-centered-column gap","tabindex",
"-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"bv2-view-loading"],["id","no-results","tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap",3,"bFocus"],["aria-hidden","true","alt","",1,"empty-state-img",3,"src"],[4,"ngIf","ngIfElse"],["routerLink","/issues",3,"queryParams",4,"ngIf","ngIfElse"],["routerLink","/issues",3,"queryParams"],["href","https://developers.google.com/issue-tracker/concepts/searches","target","_blank"],[1,"bv2-grid-container"],[3,"init","columnsChange",
"sortChange","rowClick","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,b){a&1&&(F(0,"h2",2),Q(1,"Issue search results"),H(),F(2,"div",3)(3,"b-grid-controls",4),O("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()}),H(),F(4,"div",5)(5,"b-pagination",6),O("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return b.saveResultsPerPage(c.option)}),H()()(),F(6,"div",7),C(7,yDb,4,1,"div",8)(8,EDb,8,6,"div",9)(9,GDb,2,6,"div",10),H());a&2&&(A(3),E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),A(2),E("searchResults",b.searchResults),A(),Nf("aria-busy",b.isLoading),A(),E("ngIf",b.isLoading),
A(),E("ngIf",!b.isLoading&&!b.hasResults()),A(),E("ngIf",!b.isLoading&&b.hasResults()))},dependencies:[g0,X0,Z_,tv,JD,pQ,pZ],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}/*# sourceMappingURL=list_issues.css.map */"]});var APc=function(){},y7=function(){};y7.\u0275fac=function(a){return new (a||y7)};y7.\u0275mod=cd({type:y7});y7.\u0275inj=Gc({imports:[p0,Y0,V0,rT,RD,rQ,qZ,zy,cM,iU,EQ]});var z7=function(a,b,c,d){this.cdr=a;this.sloApi=b;this.errorHandler=c;this.activeSession=d;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=wp.createSlo.makeHref();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};z7.prototype.ngOnInit=function(){this.sloEnabled&&BPc(this)};
var BPc=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)})};z7.\u0275fac=function(a){return new (a||z7)(B(yF,2),B(uG),B(eD),B(as))};
z7.\u0275cmp=p({type:z7,selectors:[["list-slos-page"]],features:[Dg([yF])],decls:8,vars:5,consts:[[1,"kd-appbar","kd-buttonbar"],["mat-button","",1,"no-visited-no-active",3,"href"],[1,"bv2-view"],["class","padded-sides",4,"ngIf"],[3,"large",4,"ngIf"],[4,"ngIf"],[1,"padded-sides"],[1,"muted"],[3,"large"],["class","slos-note",4,"ngIf"],[3,"slos",4,"ngIf"],[1,"slos-note"],[3,"slos"],[1,"unstyled-button","clickable-row",2,"width","100%",3,"click"],[1,"margined"],[1,"icon-s","vertical-centered",3,"svgIcon"],
["class","conditional-slo-grid",4,"ngIf"],[1,"conditional-slo-grid"],["class","muted padded",4,"ngIf"],[1,"muted","padded"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"a",1),Q(2," Create SLO "),H()(),F(3,"div",2),C(4,HDb,5,0,"div",3)(5,IDb,1,1,"b-spinner",4)(6,LDb,3,2,"ng-container",5)(7,PDb,6,5,"ng-container",5),H());a&2&&(A(),E("href",b.createSloPath,cf),A(3),E("ngIf",b.sloEnabled),A(),E("ngIf",b.isLoading),A(),E("ngIf",!b.isLoading),A(),E("ngIf",!b.isLoading))},dependencies:[tv,RC,kC,Fx,C1,pQ],
encapsulation:2});var hwa=function(a){this.internalArray_=m(a)};V(hwa,X);g=hwa.prototype;g.getAuthor=function(){return Gj(this,rj,1)};g.setAuthor=function(a){Pj(this,rj,1,a)};g.hasAuthor=function(){return Ak(this,rj,1)};g.getTimestamp=function(){return Gj(this,mj,2)};g.setTimestamp=function(a){return Pj(this,mj,2,a)};g.hasTimestamp=function(){return Ak(this,mj,2)};g.getAdd=function(){return Gj(this,ml,3)};g.setAdd=function(a){return Pj(this,ml,3,a)};g.getRemove=function(){return Gj(this,ml,4)};
g.setRemove=function(a){return Pj(this,ml,4,a)};g.getAddMask=function(){return Gj(this,nm,5)};g.setAddMask=function(a){return Pj(this,nm,5,a)};g.getRemoveMask=function(){return Gj(this,nm,6)};g.setRemoveMask=function(a){return Pj(this,nm,6,a)};var CPc=function(a){this.internalArray_=m(a)};V(CPc,X);CPc.repeatedFields_=[1];var A7=function(a){this.internalArray_=m(a,0,A7.messageId)};V(A7,X);A7.prototype.getIt=function(){return Gj(this,CPc,2)};A7.prototype.setIt=function(a){return Pj(this,CPc,2,a)};A7.messageId="b.ComponentHistory";var B7=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};B7.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:A7}).then(iwa))};B7.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
B7.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};B7.\u0275fac=function(a){return new (a||B7)(n(aE),n(qA))};B7.\u0275prov=Fc({token:B7,factory:B7.\u0275fac,providedIn:"root"});var C7=function(){};C7.prototype.ngOnInit=function(){};C7.\u0275fac=function(a){return new (a||C7)};
C7.\u0275cmp=p({type:C7,selectors:[["slo-inheritance-breadcrumbs"]],inputs:{componentPath:"componentPath",teamPath:"teamPath"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"teamPath"],["componentPathsLinkTo","settings",3,"componentPathInfo"]],template:function(a,b){a&1&&C(0,QDb,4,1,"ng-container",0)(1,RDb,4,1,"ng-container",0);a&2&&(E("ngIf",b.teamPath),A(),E("ngIf",b.componentPath))},dependencies:[tv,cX,d1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var DPc={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},D7={},EPc=(D7[0]="basic",D7[1]="customFields",D7[2]="fieldOrdering",D7[3]="templates",D7[4]="access",D7),FPc={},GPc=(FPc[0]="access",FPc[1]="access_permissions",FPc),E7=function(a,b){Y.call(this);var c=this;this.bLocation=a;this.route=b;this.Tab=DPc;this.selectedAccessSubTabIndex=this.selectedTabIndex=0;this.componentReady$=new yf;this.componentReady$.subscribe(function(){c.selectedTabIndex=
0;c.route.fragment.pipe(Df(c.destroyed$)).subscribe(function(d){if(d==="basic")c.selectedTabIndex=0;else if(d==="customFields")c.selectedTabIndex=1;else if(d==="fieldOrdering")c.selectedTabIndex=2;else if(d==="templates")c.selectedTabIndex=3;else if(d==="access"||d==="access"||d==="access_permissions")c.selectedTabIndex=4,d==="access_permissions"&&(c.selectedAccessSubTabIndex=1),ZFb(c)})})};V(E7,Y);E7.\u0275dir=Y.\u0275dir;
E7.prototype.tabChange=function(a){if(a===4&&this.selectedAccessSubTabIndex>0){var b,c=(b=GPc[a])!=null?b:"access";this.bLocation.hash(c,!0)}else b=(c=EPc[a])!=null?c:null,this.bLocation.hash(b,!0);this.selectedTabIndex=a};var ZFb=function(a){a.selectedAccessSubTabIndex===1?a.bLocation.hash("access_permissions",!0):a.selectedAccessSubTabIndex===0&&a.bLocation.hash("access",!0)};E7.\u0275fac=function(a){return new (a||E7)(n(NM),n(qn))};E7.\u0275prov=Fc({token:E7,factory:E7.\u0275fac,providedIn:"root"});var WDb=function(a){this.internalArray_=m(a)};V(WDb,X);var HPc=function(a){this.internalArray_=m(a,0,HPc.messageId)};V(HPc,X);HPc.repeatedFields_=[1];HPc.messageId="b.BatchGroupMetadataResult";var F7=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var f=SDb(e);return KSb(d,function(h){return f[h]||null})})})};F7.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"}})};F7.\u0275fac=function(a){return new (a||F7)(n(G7),n(FB))};
F7.\u0275prov=Fc({token:F7,factory:F7.\u0275fac,providedIn:"root"});var G7=function(a){this.executor=a};G7.prototype.bulkGet=function(a){a=[].concat(r(new Set(a)));a=al(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:HPc}).then(XDb)};G7.\u0275fac=function(a){return new (a||G7)(n(qA))};G7.\u0275prov=Fc({token:G7,factory:G7.\u0275fac,providedIn:"root"});var YDb=[{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 H7=function(a,b,c,d){var e=this;this.activeSession=a;this.confirmationDialogService=b;this.documentationLinks=c;this.groupMetadata=d;this.componentReaders=[];this.enableComponentAutomationCheck=this.enableRostersChecks=!1;this.isPublic=function(){return yq(e.component)};this.hasUnsavedAccessLimitChanges=function(){return e.originalComponent&&e.component?e.originalComponent.accessLimit.accessLevel!==e.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=function(){return new Promise(function(f){e.hasUnsavedAccessLimitChanges()&&
e.component.accessLimit.accessLevel==="INTERNAL"?e.confirmationDialogService.open({title:"Component Visibility Changed",content:Lh("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(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performDeletedAccountsCheck=function(){return new Promise(function(f){e.componentReaders.includes("GROUP:nobody@google.com")?
e.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:Lh('"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: '+[e.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':null,e.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,e.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?
'"Issue Admins"':null,e.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,e.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,e.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,e.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?
'"View restricted content"':null].filter(function(h){return!!h}).join(", ")+". Do you want to proceed?"),onConfirm:function(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(f){hEb(e.activeSession.getUserEmail(),e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Component Administrators Changed",content:Lh("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(){f(!0)},onDismiss:function(){f(!1)}}):f(!0)})};this.performRestrictedPlusGroupRemovalCheck=function(){return new Promise(function(f){gEb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)?e.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:Lh("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(){f(!0)},onDismiss:function(){f(!1)}}):
f(!0)})};this.retrieveGroupMetadata=function(f){f=Zo(f);return f.group!==void 0&&f.group.emailAddress?e.groupMetadata.get(f.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var f=Oi([].concat(r(li(e.componentAccessPolicyUnderEdit.admins,e.componentFlattenedAccessPolicy.admins)),r(li(e.issueDefaultAccessPolicyUnderEdit.admins,e.issueDefaultFlattenedAccessPolicy.admins)),r(li(e.issueDefaultAccessPolicyUnderEdit.editors,
e.issueDefaultFlattenedAccessPolicy.editors)),r(li(e.issueDefaultAccessPolicyUnderEdit.appenders,e.issueDefaultFlattenedAccessPolicy.appenders)),r(li(e.issueDefaultAccessPolicyUnderEdit.readers,e.issueDefaultFlattenedAccessPolicy.readers)),r(li(e.issueDefaultAccessPolicyUnderEdit.restrictedReaders,e.issueDefaultFlattenedAccessPolicy.restrictedReaders)),r(li(e.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,e.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(f.map(function(h){return e.retrieveGroupMetadata(h)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return e.enableRostersChecks?e.evaluateNewGroups().then(function(f){var h=bEb(f);f=fEb(f);if(h.size===0&&f.size===0)return Promise.resolve(!0);var k=cEb(h.size,f.size);h=dEb(h);f=eEb(f);var q=Nh([h,h===Tr?Tr:Oh("br"),f]);h={};q=Nh([q,Oh("p",{},Nh(["Please review the ",Oh("a",(h.href=R9b(e.documentationLinks),h.target="_blank",h),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);return new Promise(function(t){e.confirmationDialogService.open({title:k,
content:q,onConfirm:function(){t(!0)},onDismiss:function(){t(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(f){if(e.isPublic()&&aEb(e.issueDefaultAccessPolicyUnderEdit,e.issueDefaultFlattenedAccessPolicy)){var h={};h=Nh([Oh("p",{},"You are about to give a broad category of users permissions on a public component."),Oh("p",{},Nh(["Please review the ",Oh("a",(h.href=Q9b(e.documentationLinks),h.target="_blank",
h),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?"]))]);e.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:h,onConfirm:function(){f(!0)},onDismiss:function(){f(!1)},confirmButtonText:"Add Group Alias"})}else f(!0)})};this.performChangedImplicitAccessCheck=function(){e.implicitAccess={getValue:function(){return e.componentAccessPolicyUnderEdit?e.componentAccessPolicyUnderEdit.implicitAccess===
"ALLOW":!1},getSavedValue:function(){return e.componentFlattenedAccessPolicy?e.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(k){e.componentAccessPolicyUnderEdit&&(e.componentAccessPolicyUnderEdit=Object.assign({},e.componentAccessPolicyUnderEdit,{implicitAccess:k?"ALLOW":"DENY"}))}};var f={},h=Oh("a",(f.href=Ep(e.documentationLinks)+"#expanded-access",f),"Learn more.");return new Promise(function(k){e.implicitAccess.getValue()===e.implicitAccess.getSavedValue()?k(!0):
e.implicitAccess.getValue()?e.confirmationDialogService.open({title:"Turn on expanded access for component "+e.component.componentId+"?",content:Nh(["When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",h]),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}}):e.confirmationDialogService.open({title:"Turn off expanded access for component "+e.component.componentId+"?",content:Nh(["Some users may lose the ability to edit or comment on issues in this component. ",
h]),onConfirm:function(){k(!0)},onDismiss:function(){k(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var f=[].concat(r(ZDb(e.issueDefaultFlattenedAccessPolicy,e.issueDefaultAccessPolicyUnderEdit)),r(ZDb(e.componentFlattenedAccessPolicy,e.componentAccessPolicyUnderEdit))),h=new Set;f=l(f);for(var k=f.next();!k.done;k=f.next()){k=l(k.value.addedPrincipals);for(var q=k.next();!q.done;q=k.next())q=Zo(q.value),(sra(q)?$ra(q.user.emailAddress):q.group!==void 0&&$ra(q.group.emailAddress))&&
h.add(q)}return[].concat(r(h))};this.performAutomationUserAccessCheck=function(){if(!e.enableComponentAutomationCheck)return Promise.resolve(!0);var f=e.getAddedAutomationInPolicyChange();return new Promise(function(h){if(f.length){var k={};k=Oh("a",(k.href=O9b(e.documentationLinks),k)," automation account documentation");e.confirmationDialogService.open({title:"Adding automation accounts",content:Nh([Lh("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"),
Oh("wbr"),k,Lh("."),Oh.apply(null,["ol",{}].concat(r(f.map(function(q){if(sra(q)){var t;return Oh("li",{},Lh((t=q.user.emailAddress)!=null?t:""))}if(q.group!==void 0){var w;return Oh("li",{},Lh((w=q.group.emailAddress)!=null?w:""))}throw Error("rf`"+JSON.stringify(q));})))),Oh("br",{}),Lh("Are you sure you wish to allow automation to access data in this component?")]),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}})}else h(!0)})};this.runValidation=function(f){var h,k,q;return ge(function(t){switch(t.nextAddress){case 1:h=
l(f),k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return ie(t,q(),5);case 5:if(!t.yieldResult)return t.return(!1);k=h.next();t.jumpTo(2);break;case 4:return t.return(!0)}})};this.enableRostersChecks=ep(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=ep(this.activeSession,"enableComponentAutomationCheck")},IPc=function(a,b){var c=b.component;var d=b.originalComponent;var e=b.componentReaders;var f=b.componentAccessPolicyUnderEdit;var h=b.componentFlattenedAccessPolicy;
var k=b.issueDefaultAccessPolicyUnderEdit;var q=b.issueDefaultFlattenedAccessPolicy;var t,w;return ge(function(y){if(y.nextAddress==1)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=f,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=k,a.issueDefaultFlattenedAccessPolicy=q,t=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],ie(y,a.runValidation(t),2);w=y.yieldResult;return y.return(w)})};H7.\u0275fac=function(a){return new (a||H7)(n(as),n(rH),n(bH),n(F7))};H7.\u0275prov=Fc({token:H7,factory:H7.\u0275fac});var I7=function(a){Y.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};V(I7,Y);I7.\u0275dir=Y.\u0275dir;
I7.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(r(this.componentReaders))),d=new Set([].concat(r(a.admins),r(a.inheritedAdmins)));a=new Set([].concat(r(d),r(a.appenders)));var e=new Set([].concat(r(b.admins))),f=new Set([].concat(r(e),r(b.editors))),h=new Set([].concat(r(f),r(b.appenders))),k=new Set([].concat(r(b.restrictedPlusReaders))),q=new Set([].concat(r(k),r(b.restrictedReaders)));b=new Set([].concat(r(q),r(h),r(b.readers)));
this.templates=[{permission:"Admin Components",principals:[].concat(r(d)).map(Ur)},{permission:"Create Issues",principals:[].concat(r(a)).map(Ur)},{permission:"Admin Issues",principals:[].concat(r(e)).map(Ur)},{permission:"Edit Issues",principals:[].concat(r(f)).map(Ur)},{permission:"Comment on Issues",principals:[].concat(r(h)).map(Ur)},{permission:"View Issues",principals:[].concat(r(b)).map(Ur)},{permission:"View Components",principals:[].concat(r(c)).map(Ur)},{permission:"View Restricted",principals:[].concat(r(q)).map(Ur)},
{permission:"View Restricted+",principals:[].concat(r(k)).map(Ur)}];JPc(this,this.templates)};
var JPc=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next()){c=l(c.value.principals);for(var d=c.next(),e={};!d.done;e={principal$jscomp$14:void 0},d=c.next())e.principal$jscomp$14=d.value,e.principal$jscomp$14.principalType==="ALIAS"?e.principal$jscomp$14.detailedUserType="NO_DETAILED_TYPE":kG(a.principalTypes,e.principal$jscomp$14.value,!0).then(function(f){return function(h){f.principal$jscomp$14.detailedUserType=h.detailedUserType}}(e))}};I7.\u0275fac=function(a){return new (a||I7)(B(jG))};
I7.\u0275cmp=p({type:I7,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[Lf,rd],decls:7,vars:1,consts:[[1,"permissions-column-headers"],["scope","col"],[4,"ngFor","ngForOf"],[1,"permission-row"],["scope","row"],[3,"value","detailedUserType","principalType","accessLevel","displayText",4,"ngFor","ngForOf"],[3,"value","detailedUserType","principalType",
"accessLevel","displayText"]],template:function(a,b){a&1&&(F(0,"table")(1,"tr",0)(2,"th",1),Q(3,"Permission"),H(),F(4,"th",1),Q(5,"Users With Permission"),H()(),C(6,jEb,6,2,"ng-container",2),H());a&2&&(A(6),E("ngForOf",b.templates))},dependencies:[sv,ZQ],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 KPc=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"}),J7={},LPc=(J7.issueAdmin=new Set(["issueEditor"]),J7.issueEditor=new Set(["issueAppender"]),J7.issueAppender=new Set(["issueReader"]),J7.issueRestrictedReader=
new Set(["issueReader"]),J7.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),J7.issueReader=new Set(["componentReader"]),J7.componentAdmin=new Set(["componentAppender"]),J7.componentAppender=new Set(["componentReader"]),J7.componentReader=new Set,J7),tEb=pi(KPc,function(a){return LPc[a]}),Vr=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"}),K7={},MPc=(K7.componentAdmin=new Set(["componentAdmin","issueAdmin"]),K7.issueAdmin=new Set(["issueAdmin","componentAppender"]),K7.issueEditor=new Set(["issueEditor","componentAppender"]),K7.issueContributor=new Set(["issueAppender","componentAppender"]),K7.componentAdminOnly=new Set(["componentAdmin"]),
K7.issueCreator=new Set(["componentAppender"]),K7.issueAdminOnly=new Set(["issueAdmin"]),K7.issueEditorExisting=new Set(["issueEditor"]),K7.issueCommenter=new Set(["issueAppender"]),K7.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),K7.restrictedViewer=new Set(["issueRestrictedReader"]),K7.issueViewer=new Set(["issueReader"]),K7),rEb=pi(Vr,function(a){return MPc[a]}),NPc=uEb(),qEb=pi(Vr,function(a){a=[].concat(r(rEb.get(a))).flatMap(function(b){return[].concat(r(NPc.get(b)))});return new Set(a)}),
sEb=pi(Vr,function(a){return new Set(Vr.filter(function(b){return b!==a&&bra(qEb.get(b),qEb.get(a))}))});var xEb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},OPc={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var L7=function(a,b,c,d,e,f,h){var k=this;this.accessPolicyApi=a;this.errorHandler=b;this.butterBar=c;this.userAccess=d;this.componentActions=e;this.componentValidator=f;this.analytics=h;this.isAdmin=!1;this.rolesMap=xEb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return k.componentAccessPolicyUnderEdit?k.componentAccessPolicyUnderEdit.implicitAccess==="ALLOW":!1},getSavedValue:function(){return k.componentFlattenedAccessPolicy?
k.componentFlattenedAccessPolicy.implicitAccess==="ALLOW":!1},setValue:function(q){k.componentAccessPolicyUnderEdit&&(k.componentAccessPolicyUnderEdit=Object.assign({},k.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))},isUpdated:function(){var q;return k.componentAccessPolicyUnderEdit.implicitAccess!==((q=k.componentFlattenedAccessPolicy)==null?void 0:q.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=this.componentFlattenedAccessPolicy=OPc;this.componentAccessPolicyUnderEdit=
bp();this.issueDefaultAccessPolicyUnderEdit=bp();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(q){a:{var t=k.issueDefaultFlattenedAccessPolicy;if(q&&t){t=t.restrictedPlusReaders;q=l(q);for(var w=q.next();!w.done;w=q.next())if(w=w.value,w.indexOf("GROUP:")===0&&t.indexOf(w)===-1){t=!1;break a}}t=!0}return t}}};L7.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var PPc=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;Xp(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Ym(b)&&(c+=Zm(b));a.butterBar.showWarning(c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};L7.prototype.updateComponentAndOriginalComponent=function(a){this.component=di(a);this.originalComponent=di(a)};
L7.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)})};L7.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)})};
L7.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=cp(c);b.componentAccessPolicyUnderEdit=di(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
cp(c);b.issueDefaultAccessPolicyUnderEdit=di(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var QPc=function(a){a.rolesMap=yEb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},RPc=function(a,b){var c=a.issueDefaultAccessPolicyUnderEdit,d=a.issueDefaultFlattenedAccessPolicy;return d&&AEb(d,c)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},SPc=function(a){var b=zEb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy);var c=a.issueDefaultAccessPolicyUnderEdit;a=a.issueDefaultFlattenedAccessPolicy;
c=!(!a||!AEb(a,c));return b||c},TPc=function(a,b){return zEb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=cp(c);if(zEb(d,a.componentAccessPolicyUnderEdit)){if(zEb(d,a.componentFlattenedAccessPolicy))return Promise.reject(new Z4b("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)};L7.prototype.loadUserAccess=function(a){var b=this;return KB(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):KB(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
L7.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=dp(this.componentAccessPolicyUnderEdit);var c=dp(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),this.butterBar.showWarning(c),Promise.resolve()}if(SPc(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,Xp(this.butterBar,"Saving access settings...",0),RPc(this,c).then(function(d){d&&(b.readers=[].concat(r(d.admins||[]),r(d.editors||[]),r(d.appenders||[]),
r(d.readers||[]),r(d.restrictedPlusReaders||[]),r(d.restrictedReaders||[])));return TPc(a,b).catch(function(e){var f;return ge(function(h){if(h.nextAddress==1)return f=dp(a.issueDefaultFlattenedAccessPolicy),ie(h,RPc(a,f),2);throw e;})})}).then(function(){return PPc(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;QPc(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=BEb({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=BEb(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")}Xp(a.butterBar,"Access settings saved",
0)}).catch(function(d){a.butterBar.showWarning(Zm(d),0)}).finally(function(){return ge(function(d){if(d.nextAddress==1)return ie(d,a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;me(d)})});QPc(this);return PPc(this)};
var UPc=function(a,b){b=vEb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},NEb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(UPc(a,b),IPc(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();Xp(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
da.Object.defineProperties(L7.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){ci(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=wEb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){ci(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=wEb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});L7.\u0275fac=function(a){return new (a||L7)(n(VA),n(eD),n(cD),n(IB),n(PV),n(H7),n(CF))};L7.\u0275prov=Fc({token:L7,factory:L7.\u0275fac});var M7=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=w1b};M7.prototype.getRecentIssuesLink=function(){return uo(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};M7.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!O6a(this.rolesEditor.parentComponent))};
M7.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!yq(this.rolesEditor.parentComponent))};M7.\u0275fac=function(a){return new (a||M7)(B(as),B(bH),B(L7))};
M7.\u0275cmp=p({type:M7,selectors:[["access-limit-settings"]],decls:6,vars:3,consts:[["class","component-banner",4,"ngIf"],[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-banner"],[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","ngModelChange",4,"ngIf"],["for","access-level-internal"],["type","radio","id","access-level-external-partner","name","accessLevelExternal","value","EXTERNAL_PARTNER",3,"disabled","ngModel","ngModelChange",4,"ngIf"],["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","ngModelChange",4,"ngIf"],["for",
"access-level-public"],["class","access-level-warning",4,"ngIf"],["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"],[1,"access-level-warning"],
["aria-label","Learn more about access level","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&(C(0,GEb,18,7,"div",0),F(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. "),F(4,"a",2),Q(5,"Learn more"),H()()());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=
xq(b.rolesEditor.parentComponent)||xq(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}E("ngIf",a);A(4);kg("href","",Ep(b.documentationLinks),"#recommended-role-based-permissions-configurations",cf)}},dependencies:[tv,Bh,oy,dy,ly],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 N7=function(a,b){this.documentationLinks=a;this.rolesEditor=b};N7.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};N7.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};N7.\u0275fac=function(a){return new (a||N7)(B(bH),B(L7))};
N7.\u0275cmp=p({type:N7,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&&(F(0,"div",0)(1,"span",1)(2,"mat-checkbox",2),O("change",function(c){return b.setImplicitAccess(c.checked)}),H()(),F(3,"div",3)(4,"strong",4),Q(5,"Expanded access"),H(),F(6,"div",5),Q(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),F(8,"a",6),Q(9,"Learn more"),H()()()());a&2&&(Wf("bv2-edit-resource-readonly",b.isAccessEditDisabled()),A(2),E("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),A(6),kg("href","",Ep(b.documentationLinks),"#expanded-access",cf))},dependencies:[oJ,pJ],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 HEb=function(){return{}},JEb=function(a,b){return{displayText:a,values:b}},IEb=function(a){return[a]},KEb=function(){return[]},O7=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new xF;this.formIsValid=new xF;this.aclFormValidity=new Map};O7.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};O7.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};O7.\u0275fac=function(a){return new (a||O7)};
O7.\u0275cmp=p({type:O7,selectors:[["roles-view-table"]],inputs:{rolesTableData:"rolesTableData",displayedTableColumns:"displayedTableColumns",canEdit:"canEdit",accessLevel:"accessLevel"},outputs:{rolesMapUpdated:"rolesMapUpdated",formIsValid:"formIsValid"},decls:31,vars:1,consts:[["scope","col"],[4,"ngFor","ngForOf"],[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&&(F(0,"table")(1,"thead")(2,"tr")(3,"th",0),Q(4,"Role Assignments"),H(),F(5,"th",0)(6,"h6"),Q(7,"Admin Components"),H()(),F(8,"th",0)(9,"h6"),Q(10,"Create Issues"),H()(),F(11,"th",0)(12,"h6"),Q(13,"Admin Issues"),H()(),F(14,"th",0)(15,"h6"),Q(16,"Edit Issues"),H()(),F(17,"th",0)(18,"h6"),Q(19,"Comment on Issues"),H()(),F(20,"th",0)(21,"h6"),Q(22,"View Issues"),H()(),F(23,
"th",0)(24,"h6"),Q(25,"View Restricted"),H()(),F(26,"th",0)(27,"h6"),Q(28,"View Restricted+"),H()()()(),F(29,"tbody"),C(30,LEb,26,29,"ng-container",1),H()());a&2&&(A(30),E("ngForOf",b.rolesTableData))},dependencies:[sv,RC,NQ,OO,kC,Gx,KI,TI],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 .mat-mdc-tooltip-trigger{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 P7=function(){this.rolesMap=xEb;this.isSaving=!1;this.saveRolesMap=new xF;this.rolesUnderEdit=xEb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},VPc=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},WPc=function(a){return a.advancedRolesTableData.some(function(b){return b.users.length>0})},XPc=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};g=P7.prototype;g.ngOnInit=function(){XPc(this);VPc(this)};
g.ngOnChanges=function(a){a.rolesMap&&XPc(this);VPc(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()&&(!ci(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};P7.\u0275fac=function(a){return new (a||P7)};
P7.\u0275cmp=p({type:P7,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[rd],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&&(J(0,"access-limit-settings"),F(1,"roles-view-table",0),O("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),H(),F(2,"mat-expansion-panel",1)(3,"mat-expansion-panel-header")(4,"mat-panel-title"),Q(5," Advanced Roles "),H()(),F(6,"roles-view-table",0),O("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),H()(),J(7,"expanded-access-settings"),
F(8,"button",2),O("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),Q(9,"Update"),H(),F(10,"button",3),O("click",function(){XPc(b);VPc(b)}),Q(11," Revert Changes\n"),H());a&2&&(A(),E("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),A(),E("expanded",WPc(b)),A(4),E("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",
b.getComponentAccessLevel()),A(2),E("disabled",!b.canSave()),A(2),E("disabled",!!ci(b.rolesMap,b.rolesUnderEdit)))},dependencies:[G4,H4,I4,kC,Ex,O7,M7,N7],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 Q7=function(a,b){Y.call(this);this.rolesEditor=a;this.route=b;this.tabIndex=0;this.onTabChange=new xF;this.selectedTabIndex=this.tabIndex};V(Q7,Y);Q7.\u0275dir=Y.\u0275dir;Q7.prototype.ngOnChanges=function(a){a.tabIndex&&(this.selectedTabIndex=a.tabIndex.currentValue)};Q7.prototype.ngOnInit=function(){var a=this;this.selectedTabIndex=this.tabIndex;this.route.paramMap.pipe(z(function(b){return b.get("componentId")}),He(Gi),Cf(function(b){return a.rolesEditor.initialize(Number(b))}),Df(this.destroyed$)).subscribe(function(){QPc(a.rolesEditor)})};
Q7.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)};Q7.prototype.isSaving=function(){return this.rolesEditor.isSaving};Q7.\u0275fac=function(a){return new (a||Q7)(B(L7),B(qn))};
Q7.\u0275cmp=p({type:Q7,selectors:[["role-based-permissions"]],viewQuery:function(a,b){a&1&&rg(BM,5,Rd);if(a&2){var c;vg(c=wg())&&(b.tabs=c)}},inputs:{tabIndex:"tabIndex"},outputs:{onTabChange:"onTabChange"},features:[Dg([L7,H7]),Lf,rd],decls:2,vars:2,consts:[["class","bv2-view-loading",4,"ngIf"],[4,"ngIf"],[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&&C(0,MEb,2,0,"div",0)(1,OEb,7,9,"div",1);a&2&&(E("ngIf",!(b.rolesEditor.component==null?0:b.rolesEditor.component.componentId)),A(),E("ngIf",b.rolesEditor.component==null?null:b.rolesEditor.component.componentId))},dependencies:[tv,HM,BM,CM,pQ,I7,P7],styles:["/*# sourceMappingURL=role_based_permissions.css.map */"]});var YPc=["archiveDialog"],ZPc=["archiveButton"],$Pc=["metadataForm"],R7=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa){Y.call(this);var sa=this;this.cdr=a;this.routeParams=b;this.bLocation=c;this.templatesApi=d;this.paths=e;this.appHistory=f;this.butterBar=h;this.pageTitle=k;this.activeSession=q;this.documentationLinks=t;this.matDialogService=w;this.analytics=y;this.checkBeforeExit=D;this.userAccess=G;this.componentActions=I;this.errorHandler=N;this.componentUpdates=S;this.componentUpdatesApi=
W;this.confirmationDialogService=Z;this.appEvents=fa;this.teamsService=ma;this.sloApi=ua;this.sloService=Ua;this.trackerHelpers=ha;this.tabsService=xa;this.componentId$=new xf(1);this.componentListRoute=vEa;this.showSloInheritancePath=!1;this.component$=new rn(null);this.componentTrackerId$=this.component$.pipe(z(function(Ma){return Ma==null?void 0:Ma.trackerId}));this.showTrackerRedirect$=this.componentTrackerId$.pipe(z(function(Ma){var Aa;return sa.shouldShowTrackerRedirect((Aa=sa.activeSession.getTracker())==
null?void 0:Aa.trackerId,Ma)}));this.parentComponent$=new rn(null);this.componentTeam$=new rn(null);this.team$=this.componentTeam$.pipe(Cf(function(Ma){return(Ma=Ma==null?void 0:Ma.id)&&Ma!=="0"?FG(sa.teamsService,Ma):pe(null)}));this.parentComponentTeam$=this.parentComponent$.pipe(Cf(function(Ma){var Aa;return(Ma=Ma==null?void 0:(Aa=Ma.team)==null?void 0:Aa.id)&&Ma!=="0"?FG(sa.teamsService,Ma):pe(null)}));this.inheritedSloMetadata$=we([this.component$,this.parentComponent$,this.team$]).pipe(z(function(Ma){var Aa=
l(Ma);Ma=Aa.next().value;var wb=Aa.next().value;Aa=Aa.next().value;if((Ma==null?0:Ma.team)&&!Ma.team.inherit&&Ma.team.id!=="0"){var Pb,Vb=(Pb=Aa==null?void 0:Aa.slo)!=null?Pb:null;if(Vb)return{containerType:"TEAM",content:Vb}}else if(Pb=(Vb=wb==null?void 0:wb.slo)!=null?Vb:null)return{containerType:"COMPONENT",content:Pb};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(sf(),Cf(function(Ma){var Aa="0";Ma&&(Ma.containerType==="TEAM"?Aa=Ma.content.sloId:Ma.containerType==="COMPONENT"&&
(Aa=Ma.content.id));return Aa==="0"?pe({id:"0"}):sa.sloService.get(Aa).then(function(wb){return{id:Aa,slo:wb}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(sf(),Cf(function(Ma){if(!Ma)return pe({name:"None",type:"none"});Ma=jGb(Ma);var Aa=Ma.sourceTeamId,wb=Ma.sourceComponentId;return Aa&&Aa!=="0"?sa.teamsService.getTeam(Aa).pipe(z(function(Pb){var Vb;return{name:(Vb=Pb==null?void 0:Pb.name)!=null?Vb:Aa,type:"team",link:{path:"/teams/"+Aa+"/edit",fragment:"slo"}}})):wb?sa.componentActions.get(Number(wb)).then(function(Pb){var Vb;
return{name:(Vb=Pb.name)!=null?Vb:wb,type:"component",link:{path:"/components/"+wb+"/edit"}}}):pe(null)}));this.policySourcePath$=we([this.component$,this.team$,this.parentComponentTeam$,this.inheritedSloMetadata$]).pipe(z(function(Ma){var Aa=l(Ma);Ma=Aa.next().value;var wb=Aa.next().value;var Pb=Aa.next().value;Aa=Aa.next().value;if(!Ma||!Ma.componentPathInfo||!Aa)return null;var Vb=jGb(Aa);Aa=Vb.sourceComponentId;wb=lGb(wb,Vb.sourceTeamId,Ma.team,Pb);return Aa===null?{componentPath:null,teamPath:wb}:
{componentPath:kGb(Ma,Aa),teamPath:wb}}));this.enableSloLockingCheck=ep(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=ep(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=ep(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(He(Boolean),Cf(function(Ma){return sa.sloApi.executor.get({url:"action/components/"+Ma+"/slo_edit_policy",responseConstructor:c9b}).pipe(z(HDa))}));this.getSloManagementLink=
wEa};V(R7,Y);R7.\u0275dir=Y.\u0275dir;R7.prototype.shouldShowTrackerRedirect=function(a,b){return!!a&&a!==b};
R7.prototype.ngOnInit=function(){var a=this;this.componentId=ii(this.routeParams.componentId);this.componentId$.next(String(this.componentId));this.sessionIsExternal=this.activeSession.isExternalSession();this.sessionIsInternal=this.activeSession.isInternalSession();this.subscriptions.add(cS(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&aQc(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
bQc(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=cQc(b)}));this.hasInitialized=!0;this.tabsService.componentReady$.next()};var bQc=function(a){a=[dQc(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};R7.prototype.isAdmin=function(){return this.isAdminInternal};var Xr=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};
R7.prototype.isSaving=function(){return this.isUpdating||this.isArchiving};R7.prototype.isArchived=function(){return this.component?this.component.archived:!1};R7.prototype.isPublic=function(){return yq(this.component)};R7.prototype.isExternal=function(){return xq(this.component)};var OFb=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||ep(a.activeSession,"enableEstimatedEffortExternalUi")};
R7.prototype.isParentPublic=function(){return!(!this.parentComponent||!yq(this.parentComponent))};R7.prototype.isParentPartner=function(){return!(!this.parentComponent||!O6a(this.parentComponent))};var yFb=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};
R7.prototype.hasUnsavedMetadataChanges=function(){return!(ci(this.component,this.originalComponent)&&ci(this.parentComponent,this.originalParentComponent))};R7.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var eQc=function(a){var b=Li();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:Lh("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},fQc=function(a){var b=Li();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:Nh([Lh('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.'),Oh("br",{}),Oh("br",{}),Lh('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.'),
Oh("br",{}),Oh("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};R7.prototype.saveMetadata=function(){var a=this;return gQc(this)?fQc(this).then(function(b){return b?eQc(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return bQc(a)})}):Promise.resolve()};
R7.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;Xp(this.butterBar,"Saving changes ...",0);return hQc(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return iQc(a)}).then(function(){return jQc(a)}).then(function(){return kQc(a)}).then(function(){Xp(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var hQc=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)},iQc=function(a){return a.component.slo&&!ci(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)},jQc=function(a){return a.component.team&&!ci(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)},kQc=function(a){return lQc(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)},lQc=function(a){var b=di(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!ci(a.originalComponent,b)},gQc=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};R7.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var dQc=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
R7.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=di(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled=this.component.commentEditState=="ENABLED"};
var SFb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=cQc(b.componentPathInfo.allCustomField)})},cQc=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
R7.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=cQc(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()})};R7.prototype.loadUserAccess=function(a){var b=this,c=bl("COMPONENT",a);KB(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:KB(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var aQc=function(a){KB(a.userAccess,"writer",bl("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},$Eb=function(a){var b,c=Gr(a.trackerHelpers,(b=a.parentComponent)==null?void 0:b.componentPathInfo);return Np(a.activeSession)&&(!c||!c.componentPathId||c.componentPathId.length===0)},Yr=function(a){return a.isSaving()||!a.isEditorInternal};g=R7.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=di(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};g.getRecentIssuesLink=function(){var a=this.isArchived();return uo(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(wp.createComponent.makeHref(this.component.componentId))};g.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var PEb=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,Xp(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;dH(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(Df(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.")};
R7.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 Qi(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:Bc(b,"unexpected value "+b+"!")}};
R7.prototype.archive=function(){var a=this;this.isArchiving=!0;Xp(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);Xp(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;Xp(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Ym(b)?Zm(b):b));a.isArchiving=!1})};
R7.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)})};
R7.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var mQc=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=z3a(d.addMask.paths),h=z3a(d.removeMask.paths),k={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var t=l(new Set([].concat(r(f),r(h)))),w=t.next();!w.done;w=t.next()){var y=w.value;if(w=Pvc.get(y))if(y==="name"){var D=lq(h,y,d.name);y=lq(f,y,q.name);k.diffs.push(mq(w,D,y))}else if(y==="description")D=
lq(h,y,d.description),y=lq(f,y,q.description),k.diffs.push(mq(w,D,y));else if(y==="parentComponentId")D=lq(h,y,String(d.parentComponentId)),y=lq(f,y,String(q.parentComponentId)),k.diffs.push(mq(w,D,y));else if(y==="isArchived")D=lq(h,y,String(d.archived)),y=lq(f,y,String(q.archived)),k.diffs.push(mq(w,D,y));else if(y==="commentEditState"){var G=Qvc.get(d.commentEditState);D=Qvc.get(q.commentEditState);G&&D&&(G=lq(h,y,G),y=lq(f,y,D),k.diffs.push(mq(w,G,y)))}else y==="defaultTemplateId"?(D=lq(h,y,String(d.defaultTemplateId)),
y=lq(f,y,String(q.defaultTemplateId)),k.diffs.push(mq(w,D,y))):y==="slo"?e.sessionIsInternal&&(D=lq(h,y,F3a(d.slo)),y=lq(f,y,F3a(q.slo)),k.diffs.push(mq(w,D,y))):y==="team"?e.sessionIsInternal&&(D=lq(h,y,G3a(d.team)),y=lq(f,y,G3a(q.team)),k.diffs.push(mq(w,D,y))):y==="retentionSettings"?(D=lq(h,y,D3a(d.retentionSettings)),y=lq(f,y,D3a(q.retentionSettings)),k.diffs.push(mq(w,D,y))):e.$log.error("Unsupported diff field "+y)}return k}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject(Error())};R7.prototype.showUpdateHistoryModal=function(){var a=this;mQc(this,this.componentId).then(function(){a.matDialogService.open(A3,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent("updateHistoryModal","open");a.analytics.trackEvent("component","viewHistory")})};R7.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&nQc(this)};
var uFb=function(a){var b=!!a.parentComponent,c=a.component.team.id!=="0";return Xr(a)&&(c||b)},AFb=function(a){var b=!a.component.team||a.component.team.id==="0",c=!a.parentComponent;return Xr(a)&&(!a.component.slo.inherit||c&&b)},dFb=function(a){var b,c,d,e;ge(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?ie(f,se(a.team$.pipe(z(function(h){a.component.slo.id=
h.slo.sloId;nQc(a)}))),0):(d=oQc(a),e=d.id,a.component.slo.id=e,nQc(a),f.jumpTo(0))})},zFb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return a.component.team.id!=="0"||b?!0:!1},oQc=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}},LFb=function(a,b){Xp(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;Xp(a.butterBar,((f=a.component.effortSpec)==null?void 0:f.name)+" saved")}else Xp(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
R7.prototype.updateComponentAndOriginalComponent=function(a){this.component=di(a);this.component$.next(this.component);this.originalComponent=di(a);var b;this.componentTeam$.next((b=this.component.team)!=null?b:null);nQc(this)};R7.prototype.back=function(){J1(this.appHistory)};var nQc=function(a){var b;((b=a.component)==null?0:b.slo)?a.isEnableSloChecked=a.component.slo.id!=="0":a.isEnableSloChecked=!1};
R7.\u0275fac=function(a){return new (a||R7)(B(yF,2),B($H),B(NM),B(lB),B(BP),B(I1),B(cD),B(VU),B(as),B(bH),B(jH),B(CF),B(bS),B(IB),B(PV),B(eD),B(IW),B(B7),B(rH),B(iD),B(EG),B(tG),B(uG),B(HR),B(E7))};
R7.\u0275cmp=p({type:R7,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(rg(YPc,5),rg(ZPc,5),rg($Pc,5));if(a&2){var c;vg(c=wg())&&(b.confirmArchiveDialog=c.first);vg(c=wg())&&(b.archiveButton=c.first);vg(c=wg())&&(b.metadataForm=c.first)}},features:[Dg([yF]),Lf],decls:4,vars:4,consts:[["showTrackerRedirect",""],["archiveDialog",""],["archiveButton",""],["basic",""],["customFields",""],["fieldOrdering",""],["templatesList",""],["access",""],["metadataForm",""],["noInheritedSlo",
""],["noPolicySource",""],["unlocked",""],[4,"ngIf","ngIfElse"],[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"],[4,"ngIf"],["cdkScrollable","",1,"bv2-view"],["class","bv2-view-loading",4,"ngIf"],["mat-button","",3,"routerLinkObj"],["format","flat",3,"disabled","onAction",4,"ngIf"],["format","flat",3,"tooltip","disabled","onAction",4,"ngIf"],["format","flat",3,"onAction",
"disabled"],["format","flat",3,"onAction","tooltip","disabled"],[1,"bv2-view-loading"],[1,"edit-resource-header"],["class","resource-archived",4,"ngIf"],[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,"resource-archived"],[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"],["class","edit-field","tabindex","0","aria-label","Parent component",
4,"ngIf"],["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","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["class","edit-field",
"role","region","aria-label","Retention Settings",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","Team Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["class","edit-field","role","region","tabindex","0","aria-label","SLO Configuration",3,"bv2-edit-resource-readonly",4,"ngIf"],["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"],["class","spam-protection-enable","name","spam-protection-enable","labelPosition","before",3,"checked","disabled","change",4,"ngIf"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field","bv2-edit-resource-readonly"],
[3,"children","onVisit",4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],["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"],["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"],["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",4,"ngIf"],["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"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",4,"ngIf"],[1,"lock-state"],["class",
"edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",4,"ngIf"],[1,"slo-breadcrumbs"],[3,
"componentPath","teamPath"],[1,"slo-admins-link"],["target","_blank",1,"keep-focus-ring",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"change","checked","disabled"],["class","edit-field component-slo-justification-text",4,"ngIf"],["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","","class","small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["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"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"small",3,"routerLinkObj","target"],["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"],["class","heading-m padded-x margin-top","aria-label","Standard Fields",4,"ngIf"],[3,"effortSpec","parentEffortSpec","disabled","updateComponent",4,"ngIf"],["class","heading-m padded-x margin-top",
"aria-label","Custom Fields",4,"ngIf"],[3,"editMode","isSaving","component","parentComponent"],["aria-label","Standard Fields",1,"heading-m","padded-x","margin-top"],[3,"updateComponent","effortSpec","parentEffortSpec","disabled"],["aria-label","Custom Fields",1,"heading-m","padded-x","margin-top"],[1,"component-banner","implicit-access-banner"],["aria-label","Learn more about field ordering","class","keep-underline keep-focus-ring","target","_blank",3,"href",4,"ngIf"],[3,"onReload","fields","componentId",
"fieldOrdering","isAdmin"],["aria-label","Learn more about field ordering","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"componentId","supportCustomFields",4,"ngIf"],[3,"componentId","supportCustomFields"],["class","component-field",4,"ngFor","ngForOf"],[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"],[4,
"ngFor","ngForOf"],[1,"bv2-limited-issue-view"],[3,"component"]],template:function(a,b){a&1&&(C(0,hGb,12,3,"ng-container",12),T(1,"async"),C(2,iGb,2,1,"ng-template",null,0,Mg));a&2&&(a=M(3),E("ngIf",!U(1,2,b.showTrackerRedirect$))("ngIfElse",a))},dependencies:[sO,sv,tv,xv,RC,OD,GQ,cX,MW,S2,rKc,b3,YY,m0,h3,my,Bh,dy,ey,vy,ly,jy,OO,kC,Fx,Ex,Hx,oJ,pJ,kH,mH,oH,nH,Sw,uO,vO,HM,BM,CM,KI,TI,p1,Q7,C7,n1,pQ,UV,KR,M5,yv,Av],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 RGb=function(a){return{value:a}},SGb=function(a){return[a]},TGb=function(){return[]},pQc={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping",TRIAGE:"triage"},S7=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G){Y.call(this);var I=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=f;this.errorHandler=h;this.location=k;this.pageTitle=q;this.routeParams=t;this.teamsService=w;this.userAccess=y;this.sloApi=D;this.sloService=G;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new rn("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new xf(1);this.teamSlo$=this.team$.pipe(z(function(S){return S.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new rn("");this.sloLead$=new rn("");this.sloLeadUserValidators={sloLeadNotUser:function(S){if(S){S=l(S);for(var W=S.next();!W.done;W=S.next())if(W.value.indexOf("USER:")!==
0)return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(S){if(S){S=l(S);for(var W=S.next();!W.done;W=S.next())if(W.value.indexOf("UNRESTRICTED_GOOGLER:")!==0)return!1}return!0}};this.teamAdmins$=fe(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(z(function(S){return S.admins.filter(sra).map(Xo)}));this.teamLeads$=this.team$.pipe(z(function(S){return S.members.filter(function(W){return W.isLead}).map(function(W){var Z,fa;return"USER:"+((fa=(Z=W.user)==null?void 0:Z.emailAddress)!=
null?fa:"")})}));this.adminsAndLeads$=we([this.teamAdmins$,this.teamLeads$]).pipe(z(function(S){var W=l(S);S=W.next().value;W=W.next().value;var Z=new Set(S);W=W.filter(function(fa){return!Z.has(fa)});return[].concat(r(S),r(W))}));this.associatedComponents$=fe(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(z(function(S){var W=S.pathNames;return S.pathIds.map(function(Z,fa){return{id:Z,name:W[fa]}})}));this.isRootTeam$=this.teamPath$.pipe(z(function(S){return S.length<=
1?!0:!1}));this.parentTeam$=we([this.isRootTeam$,this.teamPath$]).pipe(Cf(function(S){var W=l(S);S=W.next().value;W=W.next().value;return S?pe(null):I.teamsService.getTeam(W[W.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(Cf(function(S){var W=S==null?void 0:S.slo.sloId;return W&&W!=="0"?I.sloService.get(W).then(function(Z){return{id:W,link:wEa(W),slo:Z}}):pe({id:"0"})}));this.sloPolicySource$=we([this.parentTeam$,this.teamPath$]).pipe(z(function(S){var W=l(S);S=W.next().value;
W=W.next().value;var Z=S==null?void 0:S.slo.sourceTeamId;S=W.find(function(fa){return fa.id===Z});return Z&&S?{name:S.name,link:{path:"/teams/"+Z+"/edit",fragment:"slo"}}:null}));this.Tab=pQc;this.enableSloLockingUi=ep(this.activeSession,"enableSloLockingUi");this.enableTeamScope=ep(this.activeSession,"enableTeamScope");this.isSloInheritEnabled$=new rn(!0);this.sloId$=new rn("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new rn(!1);this.hasSloReadAccess$=this.sloId$.pipe(Cf(function(S){return KB(I.userAccess,
"reader","slos/"+S)}),Bf(!1));this.sloPickerLink$=we([this.sloId$,this.hasSloReadAccess$]).pipe(z(function(S){var W=l(S);S=W.next().value;W=W.next().value;return S&&Number(S)>0&&W?wEa(S):null}));this.hasUnsavedChanges$=we([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(z(function(S){var W=l(S);var Z=W.next().value;S=W.next().value;var fa=W.next().value;var ma=W.next().value;var ua=W.next().value;W=W.next().value;var Ua=Z.slo,ha,xa;
Z=(xa=(ha=Z.sloLead)==null?void 0:ha.emailAddress)!=null?xa:"";return Ua.inherit!==fa||Ua.sloId!==S||ma!==I.originalSloLock||Ua.comment!==ua||Z!==W}));this.teamExperiments={id:this.teamId,triage:{}};this.hasEditAccess=!1;this.team$.pipe(Df(this.destroyed$)).subscribe(function(S){I.pageTitle.setTitle("Team: "+S.name)});a=ep(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;KB(this.userAccess,"writer",a).then(function(S){I.hasEditAccess=S});this.childTeams$=
this.teamsService.getChildTeams([this.teamId]).pipe(z(function(S){return S.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:qG}).pipe(z(FDa));var N=go(this.hasUnsavedChanges$.pipe(Df(this.destroyed$)),!1);this.subscriptions.add(cS(this.checkBeforeExit,function(){return N.getValue()},!1))};V(S7,Y);S7.\u0275dir=Y.\u0275dir;
S7.prototype.ngOnInit=function(){var a=this,b,c,d,e;return ge(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),he(f,2),ie(f,se(a.teamsService.get(a.teamId)),4);case 4:c=f.yieldResult;Zt(f,3);break;case 2:return le(f),a.butterBar.showWarning("Unable to fetch team ID '"+a.teamId+"'"),f.return();case 3:return a.team$.next(c),
JGb(a),ie(f,se(a.parentTeam$),5);case 5:a.parentTeam=f.yieldResult||null;if(!a.enableTeamScope){f.jumpTo(0);break}return ie(f,se(n9b(a.teamsService,a.teamId)).catch(function(){}),7);case 7:d=f.yieldResult,a.teamExperiments=(e=d)!=null?e:{id:a.teamId,triage:{}},me(f)}})};S7.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)};
S7.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var IGb=function(a,b){var c,d,e,f,h,k;return ge(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();Xp(a.butterBar,"Saving changes...",0);he(q,2);if(((c=b.sloLead)==null?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return ie(q,se(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 t=a.sloApi;var w=a.teamId,y=a.sloLocked,
D=new oG;y=uj(D,2,y?1:2).setTeamId(Number(w));t=t.executor.post({url:"action/teams/"+w+"/slo_edit_policy",responseConstructor:sG,body:y}).pipe(z(FDa));return ie(q,se(t),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}y={sloId:a.sloId,inherit:a.isSloInheritEnabled,comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:"0"};t=
a.teamsService;w=a.teamId;y=(new DG).setIt(Xva(y));t=t.executor.post({url:"/action/teams/"+w+"/update_slo",body:y,responseConstructor:yG}).pipe(z(ODa));return ie(q,se(t),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:Xp(a.butterBar,"Save complete.");Zt(q,0);break;case 2:k=le(q),gD(a.errorHandler,k),me(q)}})},PGb=function(a){var b,c;return ge(function(d){if(d.nextAddress==1){Xp(a.butterBar,"Saving changes...",0);var e=a.teamExperiments;var f=a.teamsService.executor;var h=f.post,k="action/teams/"+
e.id+"/experiments",q=new wG;e.triage.scope&&q.setScope(e.triage.scope);e=(new xG).setId(Number(e.id)).setTriage(q);f=h.call(f,{url:k,body:e,responseConstructor:xG}).pipe(z(QDa));return ie(d,se(f),2)}b=d.yieldResult;Xp(a.butterBar,"Save complete.");a.teamExperiments=(c=b)!=null?c:{id:a.teamId,triage:{}};me(d)})};
S7.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 qQc=function(a){se(a.team$).then(function(b){var c;b=(c=b.sloLead)==null?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},rQc=function(a){se(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},sQc=function(a){se(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},JGb=function(a){a.error="";qQc(a);rQc(a);a.enableSloLockingUi&&sQc(a)};S7.prototype.back=function(){J1(this.appHistory)};
da.Object.defineProperties(S7.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()}}});S7.\u0275fac=function(a){return new (a||S7)(B(as),B(VA),B(I1),B(cD),B(bS),B(PV),B(eD),B(NM),B(VU),B($H),B(EG),B(IB),B(tG),B(uG))};
S7.\u0275cmp=p({type:S7,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&rg(BM,5,Rd);if(a&2){var c;vg(c=wg())&&(b.tabs=c)}},features:[Lf],decls:8,vars:3,consts:[["emptyDescription",""],["noPolicySource",""],["childTeamsLinks",""],["noInheritedSlo",""],["unlocked",""],["associatedComponentLinks",""],[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"],[4,"ngIf"],[1,"edit-resource-header"],["target","_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],["class","team-hierarchy-container",4,"ngIf"],["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"],[4,"ngIf","ngIfElse"],[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"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],[1,"slo-policy-source-link"],["class","slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["idForInputBox","team-slo-lead",
"ariaLabel","Team SLO lead email",3,"usersChange","isValid","users","customValidators","detailedUserValidators","maxUserAllowed"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],["label","Triage",3,"id",4,"ngIf"],[1,"team-hierarchy-container"],[3,"teamPath"],[3,"users"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["svgIcon","lock-outline"],["svgIcon",
"lock-open"],["class","edit-field less-margin",4,"ngIf"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"change","disabled","checked"],["class","edit-field slo-justification",4,"ngIf"],["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","","class","small slo-link","matTooltip","Go to SLO management page",3,"routerLinkObj",
"target",4,"ngIf"],[1,"edit-field","slo-justification"],["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"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"change","checked","disabled"],[1,"edit-button-row"],
[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"],["label","Triage",3,"id"],["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"],["gmat-button","","mat-flat-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(F(0,
"div",6)(1,"div",7)(2,"div",8)(3,"button",9),O("click",function(){return b.back()}),J(4,"mat-icon",10),H()()()(),F(5,"div",11),C(6,UGb,100,49,"ng-container",12),T(7,"async"),H());a&2&&(A(6),E("ngIf",U(7,1,b.team$)))},dependencies:[rv,sv,tv,RC,JD,OD,m0,Bh,dy,vy,ly,kC,Ex,Hx,Gx,oJ,pJ,HM,BM,CM,KI,TI,Sw,uO,vO,NQ,n1,d1,yv],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 T7=function(){};T7.prototype.transform=function(a){var b=a.comeBackTimestamp;return"Upcoming out of office starting "+tQc.format(new Date(a.futureOooTimestamp.seconds*1E3))+" - back on "+tQc.format(new Date(b.seconds*1E3))};T7.\u0275fac=function(a){return new (a||T7)};T7.\u0275pipe=fd({name:"futureAvailability",type:T7,pure:!0});var tQc=new zB(aP.WEEKDAY_MONTH_DAY_MEDIUM);var uQc=new Map([["TAGGED_IN_COMMENT","Mentioned me"],["REQUIRES_APPROVAL","Added as approver"],["THREAD_MENTIONS_ME","Mentioned me"],["NEEDS_ATTENTION","In attention set"],["READY_TO_SUBMIT","Ready to submit"],["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"],["GERRIT_CHANGE_NEEDS_ATTENTION",
"In attention set"],["GERRIT_CHANGE_READY_TO_SUBMIT","Ready to submit"],["MENTIONED_NEEDS_RESPONSE","Needs response"]]),BHb=new Map([["TAGGED_IN_COMMENT","Someone mentioned me in a comment"],["REQUIRES_APPROVAL","You were added as an approver"],["THREAD_MENTIONS_ME","You were mentioned on this CL recently"],["NEEDS_ATTENTION","This CL is in your \u201cNeeds attention\u201d list in Critique"],["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"],["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"],["MENTIONED_NEEDS_RESPONSE","You were mentioned on this issue and your response is requested"]]),vQc=new Map([["TAGGED_IN_COMMENT","Reply to comment"],["REQUIRES_APPROVAL","Review"],["THREAD_MENTIONS_ME","Reply to comment"],["NEEDS_ATTENTION","Review CL"],["READY_TO_SUBMIT","Submit CL"],["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"],["GERRIT_CHANGE_NEEDS_ATTENTION","Review change"],["GERRIT_CHANGE_READY_TO_SUBMIT","Submit change"],["MENTIONED_NEEDS_RESPONSE","Reply to comment"]]);var U7=function(a,b){this.tasksApi=a;this.analytics=b;this.mentionedDriveComment$=pe();this.contentReady$=new xf(1)};U7.prototype.ngOnInit=function(){var a=this;this.fileId&&this.commentId&&(this.analytics.trackEvent("mentionsCard","view","hovercard"),this.mentionedDriveComment$=U8b(this.tasksApi,this.fileId,this.commentId).pipe(Ef(function(){a.contentReady$.next()})))};U7.\u0275fac=function(a){return new (a||U7)(B(fG),B(CF))};
U7.\u0275cmp=p({type:U7,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&&(C(0,eHb,11,4,"div",0),T(1,"async"));
if(a&2){var c;$f((c=U(1,1,b.mentionedDriveComment$))?0:-1,c)}},dependencies:[YP,KO,yv],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 mHb=function(a,b){return b.commentNumber},jHb=function(a){return{"margin-s-bottom padded-s-bottom border-bottom":a}},gHb=function(a){return{"has-reacted-icon":a}},V7=function(a,b){this.issueCommentsBatchApi=a;this.analytics=b;this.commentNumbers=[];this.mentionedComments$=pe();this.contentReady$=new xf(1);this.thumbsDownClicked=this.thumbsUpClicked=this.hasReacted=!1};
V7.prototype.ngOnInit=function(){var a=this;this.analytics.trackEvent("mentionsCard","view","hovercard");this.mentionedComments$=this.issueCommentsBatchApi.batchGet(this.issueId,this.commentNumbers).pipe(Ef(function(){a.contentReady$.next()}))};V7.prototype.getCommentNumberLink=function(a,b){return to(a,{comment:b})};V7.prototype.trackThumbsUp=function(){this.thumbsUpClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","accept",wQc(this))};
V7.prototype.trackThumbsDown=function(){this.thumbsDownClicked=this.hasReacted=!0;this.analytics.trackEvent("needsResponse","reject",wQc(this))};var wQc=function(a){return JSON.stringify({id:a.issueId,commentNumber:a.commentNumbers})};V7.\u0275fac=function(a){return new (a||V7)(B(ME),B(CF))};
V7.\u0275cmp=p({type:V7,selectors:[["mentioned-issue-comments-card"]],inputs:{issueId:"issueId",commentNumbers:"commentNumbers",needsResponse:"needsResponse"},decls:2,vars:3,consts:[[4,"ngIf"],[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"],["class","hover-link",3,"routerLinkObj","click",4,"ngIf"],["mode","datetime",3,"timestamp"],[1,"hover-link",3,"click","routerLinkObj"],
[3,"issueId","note","formattingMode"],["class","flex-kids-x gap-xs justify-flex-end align-items-center",4,"ngIf"],[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&&(C(0,nHb,6,0,"ng-container",0),T(1,"async"));a&2&&E("ngIf",U(1,1,b.mentionedComments$))},dependencies:[rv,tv,RC,OD,KO,YP,TL,yv],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 W7=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};da.Object.defineProperties(W7.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(oHb(a));if(this.context!==void 0)for(var c=l(oHb(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=l(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}}});
W7.\u0275fac=function(a){return new (a||W7)(B(og),B(pg))};W7.\u0275dir=ed({type:W7,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var tHb=function(a,b){return b.type},qHb=function(a){return{signal:a}},DHb=function(){return[]},xQc=function(a){this.activeSession=a;this.signals=[];this.SIGNAL_TO_DISPLAY_TEXT=uQc;this.SIGNAL_TO_ACTION_TEXT=vQc;this.getSignalUrgency=Zr;this.getHighestPrioritySignal=bHb;this.enableMentionedCommentsHovercard=ep(this.activeSession,"enableMentionedCommentsHovercard")},wHb=function(a,b){return a.filter(function(c){return c!==b}).map(function(c){return uQc.get(c.type)}).join("; ")},zHb=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},AHb=function(a){return a.type==="TAGGED_IN_COMMENT"&&a.driveFileId!=null&&a.driveCommentId!=null};xQc.\u0275fac=function(a){return new (a||xQc)(B(as))};
xQc.\u0275cmp=p({type:xQc,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&&C(0,uHb,
3,0,"div",4)(1,yHb,1,1)(2,IHb,5,3,"ng-template",null,0,Mg);a&2&&$f(b.signals.length<3?0:1)},dependencies:[xv,KI,TI,xJ,yJ,DJ,zJ,V7,U7,W7],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 X7=function(){this.DEFINITIONS=Toc;this.sourceFilterKeys=[];this.selectedSources=[];this.change=new xF};X7.\u0275fac=function(a){return new (a||X7)};
X7.\u0275cmp=p({type:X7,selectors:[["source-filter-chips"]],inputs:{sourceFilterKeys:"sourceFilterKeys",selectedSources:"selectedSources"},outputs:{change:"change"},decls:2,vars:1,consts:[["multiple","","aria-label","Source selection",3,"change"],[4,"ngFor","ngForOf"],["appearance","hairline-filter",3,"value","selected",4,"ngIf"],["appearance","hairline-filter",3,"value","selected"],[3,"matTooltip"]],template:function(a,b){a&1&&(F(0,"mat-chip-listbox",0),O("change",function(c){b.selectedSources=c.value;
b.change.emit(c.value)}),C(1,KHb,2,1,"ng-container",1),H());a&2&&(A(),E("ngForOf",b.sourceFilterKeys))},dependencies:[sv,tv,mS,tS,rS,KI,TI],encapsulation:2});var yQc=["menuTrigger"],zQc={label:"Last 1 day",numberOfDays:1},AQc={label:"Last 7 days",numberOfDays:7},BQc={label:"Last 30 days",numberOfDays:30},CQc={label:"Last 90 days",numberOfDays:90},DQc=[zQc,AQc,BQc,CQc],EQc={1:zQc,7:AQc,30:BQc,90:CQc},Y7=function(){this.timeBoundaries=DQc;this.change=new xF};Y7.prototype.getLabel=function(a){if(a==null)return"";var b,c;return(c=(b=EQc[a])==null?void 0:b.label)!=null?c:""};Y7.prototype.openMenu=function(){this.menuTrigger.openMenu()};
Y7.\u0275fac=function(a){return new (a||Y7)};
Y7.\u0275cmp=p({type:Y7,selectors:[["time-boundary-filter"]],viewQuery:function(a,b){a&1&&rg(yQc,5);if(a&2){var c;vg(c=wg())&&(b.menuTrigger=c.first)}},inputs:{selectedTimeBoundary:"selectedTimeBoundary"},outputs:{change:"change"},decls:8,vars:4,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","click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click","disabled"]],template:function(a,b){if(a&1){var c=u();F(0,"mat-chip-listbox",2)(1,"mat-chip-option",3,0);O("keyup.enter",function(){v(c);return x(b.openMenu())})("keyup.space",function(){v(c);return x(b.openMenu())});Q(3);J(4,"mat-icon",4);H()();F(5,"mat-menu",5,1);C(7,LHb,2,2,"button",
6);H()}a&2&&(a=M(6),E("selectable",!1),A(),E("matMenuTriggerFor",a),A(2),R(" ",b.getLabel(b.selectedTimeBoundary)," "),A(4),E("ngForOf",b.timeBoundaries))},dependencies:[sv,RC,mS,tS,rS,pS,JI,NI,LI,OI],encapsulation:2});var FQc=[5433823,5418819,5421028,5122552,5422257];var Z7=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 bv},GQc=function(a){return FQc.some(function(b){var c;return(c=a.hotlistIds)==null?void 0:c.includes(b)})};Z7.\u0275fac=function(a){return new (a||Z7)};
Z7.\u0275cmp=p({type:Z7,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&&C(0,MHb,5,1,"ng-container",0);a&2&&E("ngIf",GQc(b))},dependencies:[tv,vP],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 $7=function(a,b,c,d,e,f,h,k,q,t){Y.call(this);var w=this;this.errorHandler=a;this.tasksService=b;this.missionControlPrefs=c;this.domSafe=d;this.router=e;this.appEvents=f;this.analytics=h;this.clipboard=k;this.activeSession=q;this.needsAttentionTaskFridge=t;this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.ALL_NEEDS_ATTENTION_SOURCE_FILTERS=[].concat(r(Roc),r(this.OPTIONAL_SOURCE_FILTERS));this.enableNewVisibilityChips=ep(this.activeSession,"enableNewVisibilityChips");this.enableViewDismissedTasks=
ep(this.activeSession,"enableViewDismissedTasks");this.enableStaleTasks=ep(this.activeSession,"enableStaleTasks");this.refreshTable=new yf;this.SIGNAL_TO_DISPLAY_TEXT=uQc;this.SIGNAL_TO_ACTION_TEXT=vQc;this.TaskResourceType=O1b;this.sources$=this.missionControlPrefs.needsAttentionSources$;this.timeBoundary$=this.missionControlPrefs.prefs$.pipe(z(function(y){var D;return(D=y==null?void 0:y.needsAttentionDaysOld)!=null?D:30}));this.signalStatusFilter$=new rn(0);this.allNeedsAttention$=new rn([]);this.liteTasks$=
we([this.timeBoundary$,this.sources$,this.signalStatusFilter$]).pipe(Df(this.destroyed$),sf(function(y,D){return y[0]===D[0]&&ci(y[1],D[1])&&y[2]===D[2]}),Cf(function(y){var D=l(y);y=D.next().value;var G=D.next().value;D=D.next().value;G=G.map(function(I){return Gp(I)});return w.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:y,sources:G,signalFilter:D})}),z(function(y){var D;return $Gb(y,(D=w.signalStatusFilter$.getValue())!=null?D:0)}));this.loading$=this.needsAttentionTaskFridge.thinking$;this.tabData=
[{signalStatusFilter:0,label:"Active",description:"Shows tasks with at least 1 active signal"},{signalStatusFilter:1,label:"Dismissed",description:"Shows tasks with at least 1 dismissed signal"}];this.displayedColumns="selection type description timestamp signal action copy dismiss".split(" ");this.selection=new Tw(!0,[]);this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.getSignalUrgency=Zr;this.getHighestPrioritySignal=bHb;we([this.liteTasks$,this.sources$,this.timeBoundary$,this.signalStatusFilter$]).pipe(Df(this.destroyed$),
z(function(y){var D=l(y);y=D.next().value;D.next();D.next();D.next();y.sort(function(G,I){return Pi(I.lastAlertTimestamp)-Pi(G.lastAlertTimestamp)});return y})).subscribe(function(y){w.allNeedsAttention$.next(y)});we([this.timeBoundary$,this.sources$]).pipe(Df(this.destroyed$),sf(function(y,D){return y[0]===D[0]&&ci(y[1],D[1])}),Cf(function(y){var D=l(y);y=D.next().value;D=D.next().value.map(function(G){return Gp(G)});return w.needsAttentionTaskFridge.watchMany({maxTaskAgeDays:y,sources:D,signalFilter:0})})).subscribe(function(y){setTimeout(function(){var D=
y.results.filter(function(G){var I;return G.task&&((I=G.signals)==null?void 0:I.filter(function(N){return N.signalStatus===0}))});w.appEvents.missionControlTaskCount.next(D.length)})});this.needsAttentionTaskFridge.error$.pipe(Df(this.destroyed$)).subscribe(function(y){w.errorHandler.errorHandler(null,y)})};V($7,Y);$7.\u0275dir=Y.\u0275dir;
$7.prototype.ngOnInit=function(){var a=this;this.refreshTable.pipe(Df(this.destroyed$)).subscribe(function(){var b,c,d;a.needsAttentionTaskFridge.pokeMany({maxTaskAgeDays:(b=ho(a.timeBoundary$))!=null?b:0,sources:((c=ho(a.sources$))!=null?c:[]).map(function(e){return Gp(e)}),signalFilter:(d=a.signalStatusFilter$.getValue())!=null?d:0})})};
var THb=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,r(b)))},uIb=function(a,b){var c=a.signalStatusFilter$.getValue()===0;R8b(a.tasksService,[b.id],c).subscribe(function(){},function(e){return void a.errorHandler.errorHandler(null,e)});var d=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(d.filter(function(e){return e.id!==b.id}));c&&a.appEvents.missionControlTaskCount.next(d.length-1)};
$7.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=Jp(b.id),b=wp.viewIssue.makeHref(b),Yk(a)?this.domSafe.openInNewTab(b):(a==null?0:a.shiftKey)?Eo(this.domSafe,b):Or(this.router,b);else{var e;this.domSafe.openInNewTab((e=b.lastMentionLink)!=null?
e:b.link)}}};
$7.prototype.sendClickAnalytics=function(a,b){this.analytics.trackEvent("missionControl","navigate","needsAttention-"+a.type+"-"+a.signals.map(function(e){return e.type}).join(","));var c=l(HIb(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);HQc(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))};$7.prototype.setNumDisplayedRows=function(a){this.numDisplayedRows=a.length>this.numDisplayedRows?a.length:10};
var vIb=function(a){return ho(a.signalStatusFilter$)===0?"Dismiss a work item to hide it from the table":"Un-dismiss a work item to move it back to the Active tab"},ZHb=function(a){var b=ho(a.signalStatusFilter$)===0,c=a.selection.selected;R8b(a.tasksService,c,b).subscribe(function(){},function(e){return void a.errorHandler.errorHandler(null,e)});var d=new Set(c);c=a.allNeedsAttention$.getValue();a.allNeedsAttention$.next(c.filter(function(e){return!d.has(e.id)}));b&&a.appEvents.missionControlTaskCount.next(c.filter(function(e){return!d.has(e.id)}).length);
a.selection.clear()};g=$7.prototype;g.copyIdOrLink=function(a){a.type==="ISSUE"?(a=Jp(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=Jp(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 HQc=function(a,b,c){IQc(a,b,c);JQc(a,b,c)},IQc=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)},JQc=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)};$7.\u0275fac=function(a){return new (a||$7)(B(eD),B(fG),B(zR),B(jJ),B(HD),B(iD),B(CF),B(mJ),B(as),B(hG))};
$7.\u0275cmp=p({type:$7,selectors:[["b-needs-attention-table"]],inputs:{refreshTable:"refreshTable"},features:[Lf],decls:12,vars:11,consts:[["loadingSpinner",""],["noTitle",""],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndex","selectedIndexChange",4,"ngIf"],[1,"flex-kids-x","align-items-center","padded-xs-y","border-bottom"],[1,"heading-s"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent",
"",3,"selectedIndexChange","selectedIndex"],[4,"ngFor","ngForOf"],["mat-tab-label",""],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],["class","muted border-bottom padded-s-y",4,"ngIf"],[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","copy"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["matColumnDef","dismiss"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click",4,"matRowDef","matRowDefColumns"],["class","mat-row padded-y",4,"matNoDataRow"],["mat-button","","class","margin-s-top",
3,"click",4,"ngIf"],["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","","class","bulk-dismiss",3,"click",4,"ngIf"],["mat-button","",1,"bulk-dismiss",3,"click"],["class","alert-description",4,"ngIf","ngIfElse"],[1,"alert-description"],[3,"issueId"],[3,"accessLevel","compactMode"],
["class","staleness","matTooltip","Your response time is longer than the usual on similar items",3,"click",4,"ngIf"],["class","going-ooo",3,"matTooltip",4,"ngIf"],["class","review-estimate","matTooltip","Estimated review time (visible only to you)",4,"ngIf"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],["tabindex","0","role","link",1,"subtle-link","break-word",3,"auxclick","href"],[3,"onChipClicked","hotlistIds"],["matTooltip","Your response time is longer than the usual on similar items",
1,"staleness",3,"click"],[1,"going-ooo",3,"matTooltip"],["svgIcon","event_upcoming_24px"],["matTooltip","Estimated review time (visible only to you)",1,"review-estimate"],[1,"margin-xs-right",3,"issuePriority"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",3,"timestamp","paddingLeftPx"],[3,"issueId","signals"],["mat-button","",1,"primary","action-button"],["mat-header-cell","",1,"border-bottom"],["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-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"],["class","icon","svgIcon","arrow-down",4,"ngIf"],["class","icon","svgIcon","arrow-up",
4,"ngIf"],["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){a&1&&(C(0,PHb,2,2,"mat-tab-group",2),F(1,"div",3)(2,"span",4),Q(3,"Sources"),H(),C(4,QHb,2,2,"ng-container",5),T(5,"async"),C(6,RHb,2,1,"ng-container",5),T(7,"async"),H(),C(8,FIb,3,3,"ng-container",6),T(9,"async"),C(10,GIb,2,1,"ng-template",null,0,Mg));a&2&&(a=M(11),E("ngIf",b.enableViewDismissedTasks),A(4),E("ngIf",U(5,5,b.sources$)),A(2),
E("ngIf",U(7,7,b.timeBoundary$)),A(2),E("ngIf",!U(9,9,b.loading$))("ngIfElse",a))},dependencies:[sv,tv,RC,YP,nS,gT,US,$S,WS,TS,bT,XS,ZS,cT,eT,fT,HM,AM,BM,CM,oJ,pJ,KI,TI,kC,Fx,Ex,Gx,X7,Y7,pQ,rO,GQ,Z7,SQ,xQc,yv,Ev,T7],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%]     .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{--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:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.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}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{opacity:0;margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .dismiss-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%], .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%]:hover   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .dismiss-icon[_ngcontent-%COMP%]{opacity:1;color:#1a73e8;color:var(--primary);background-color:unset}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}.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}.staleness[_ngcontent-%COMP%]{border-color:#bd4800;border-color:var(--orange-text);color:#bd4800;color:var(--orange-text);height:18px;line-height:18px;padding:1px 4px;border:1px solid}.going-ooo[_ngcontent-%COMP%], .review-estimate[_ngcontent-%COMP%], .staleness[_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 a8=function(a,b,c){Y.call(this);var d=this;this.prefsService=a;this.appEvents=b;this.analytics=c;this.numNeedsAttentionTasks$=this.appEvents.missionControlTaskCount;this.refreshData=new yf;this.numNeedsAttentionTasks$.pipe(He(Gi),qf(),Df(this.destroyed$)).subscribe(function(h){d.analytics.trackEvent("missionControl","display","num-needs-attention-"+h,h)});var e;a=(e=this.prefsService.prefs.needsAttentionSources)!=null?e:[];e=this.prefsService.prefs.isNeedsAttentionSourcesConfigured;e=a.length!==
0||e?a:[].concat(r(Roc));var f;a=(f=this.prefsService.prefs.needsAttentionDaysOld)!=null?f:30;this.analytics.trackEvent("missionControl","view","needsAttention-sources-"+e.join(",")+"-"+a)};V(a8,Y);a8.\u0275dir=Y.\u0275dir;a8.prototype.isCollapsed=function(){return this.prefsService.isCollapsed("needs-attention-wrapper")};a8.prototype.toggleCollapsed=function(){this.prefsService.toggleCollapsed("needs-attention-wrapper")};a8.\u0275fac=function(a){return new (a||a8)(B(zR),B(iD),B(CF))};
a8.\u0275cmp=p({type:a8,selectors:[["needs-attention-wrapper"]],inputs:{refreshData:"refreshData"},features:[Lf],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"],["class","alert-count-badge b-chip",4,"ngIf"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[3,"refreshTable"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"header",1)(2,"h3",2),Q(3," Needs attention "),H(),J(4,"mat-icon",3),F(5,"button",4),O("click",function(){return b.toggleCollapsed()}),J(6,"mat-icon",5),H(),C(7,IIb,3,1,"div",6),T(8,"async"),H(),C(9,JIb,2,1,"div",7),H());a&2&&
(Wf("collapsed",b.isCollapsed()),A(7),E("ngIf",U(8,4,b.numNeedsAttentionTasks$)),A(2),E("ngIf",!b.isCollapsed()))},dependencies:[tv,RC,kC,Gx,$7,KI,TI,yv],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 yJb=function(){return[]},zJb=function(){return["moreRows"]},b8=function(a,b,c,d,e,f,h,k,q){Y.call(this);var t=this;this.prefsService=a;this.issueFridge=b;this.router=c;this.domSafe=d;this.analytics=e;this.errorHandler=f;this.activeSession=h;this.clipboard=k;this.myTasksFridge=q;this.OPTIONAL_SOURCE_FILTERS=["GERRIT"];this.ALL_MY_TASK_FILTERS=[].concat(r(Soc),r(this.OPTIONAL_SOURCE_FILTERS));this.TaskResourceType=O1b;this.taskResourceTypeToIcon=aCa;this.extractLastDigits=Jp;this.tableColumns=[].concat(r(tpc));
this.tableOptions=Object.assign({},wpc,{rowLimit:10});this.refreshData=new yf;this.sources$=this.prefsService.myTasksSources$;this.timeBoundary$=this.prefsService.prefs$.pipe(z(function(D){var G;return(G=D==null?void 0:D.myTasksDaysOld)!=null?G:7}));var w;this.INITIAL_TAB_INDEX=(w=jpc(this.prefsService,"mc-my-tasks"))!=null?w:0;this.enableNewVisibilityChips=ep(this.activeSession,"enableNewVisibilityChips");this.tabData=[{label:"Owned",description:"Tasks you own or are the author of",liteTasks:new rn([]),
loading:!0},{label:"Collaborating",description:"Tasks you're working on or contributing to (but don't own)",liteTasks:new rn([]),loading:!0},{label:"Following",description:"Tasks you're tracking or have recent activities on",liteTasks:new rn([]),loading:!0},KIb(this.issueFridge)].filter(Gi);this.myTasks$=we([this.timeBoundary$,this.sources$]).pipe(Df(this.destroyed$),sf(function(D,G){return D[0]===G[0]&&ci(D[1],G[1])}),Cf(function(D){var G=l(D);D=G.next().value;G=G.next().value;var I=new Set(G.map(function(N){return Gp(N)}));
return t.myTasksFridge.watchMany({maxTaskAgeDays:D,sources:Array.from(I),issueFilter:LIb(G)})}));this.displayColumns="type title modified role created copy".split(" ");this.DEFAULT_NUM_ROWS_DISPLAYED=this.numDisplayedRows=10;this.myTasks$.subscribe(function(D){var G=D.results;D=G.filter(function(Z){return Z.resourceRelationships.filter(function(fa){return fa.category==="OWNER"}).length>0}).sort(HJb);var I=G.filter(function(Z){return Z.resourceRelationships.filter(function(fa){return fa.category===
"COLLABORATOR"}).length>0}).sort(HJb);G=G.filter(function(Z){return Z.resourceRelationships.filter(function(fa){return fa.category==="FOLLOWING"}).length>0}).sort(HJb);var N;(N=t.tabData[0].liteTasks)==null||N.next(D);var S;(S=t.tabData[1].liteTasks)==null||S.next(I);var W;(W=t.tabData[2].liteTasks)==null||W.next(G);t.tabData[0].loading=!1;t.tabData[1].loading=!1;t.tabData[2].loading=!1});var y;this.analytics.trackEvent("missionControl","display","my-tasks-"+((y=this.tabData[this.INITIAL_TAB_INDEX])==
null?void 0:y.label));this.myTasksFridge.error$.pipe(Df(this.destroyed$)).subscribe(function(D){t.errorHandler.errorHandler(null,D)})};V(b8,Y);b8.\u0275dir=Y.\u0275dir;g=b8.prototype;g.ngOnInit=function(){var a=this;this.refreshData.pipe(Df(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 Gp(e)}));a.myTasksFridge.watchMany({maxTaskAgeDays:c,sources:Array.from(d),issueFilter:LIb(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){RXa(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=Jp(b.taskId),b=wp.viewIssue.makeHref(b),Yk(a)?this.domSafe.openInNewTab(b):a&&a.shiftKey?Eo(this.domSafe,b):Or(this.router,b)):this.domSafe.openInNewTab(b.externalLink))}};
g.copyIdOrLink=function(a){a.taskResourceType==="ISSUE"?(a=Jp(a.taskId),this.clipboard.copy(a)):this.clipboard.copy(a.externalLink)};g.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)};
g.sendDmaAnalytics=function(){this.analytics.trackEvent("missionControl","click","dmaChip")};g.getIds=function(a){return a.map(function(b){return b.issueId})};var bJb=function(a){return a==="P0"||a==="P1"};b8.\u0275fac=function(a){return new (a||b8)(B(zR),B(EF),B(HD),B(jJ),B(CF),B(eD),B(as),B(mJ),B(gG))};
b8.\u0275cmp=p({type:b8,selectors:[["my-tasks"]],inputs:{refreshData:"refreshData"},features:[Lf],decls:12,vars:3,consts:[["loadingSpinner",""],["dashDash",""],["noTitle",""],[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","My tasks helps you quickly find your active tasks and docs organized by your relation to them","matTooltip","My tasks 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"],["class","main-content margin-s-top",4,"ngIf"],[1,"main-content","margin-s-top"],["gmat-tabs","","matAlignTabs","start","matStretchTabs","false","preserveContent","",3,"selectedIndexChange","selectedIndex"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"tab-filters","flex-kids-x","align-items-center","padded-xs-y",
"border-bottom"],[4,"ngIf","ngIfElse"],["matTooltipShowDelay","500",1,"tab-label",3,"matTooltip"],[4,"ngIf"],[1,"padded-s-x",3,"change","sourceFilterKeys","selectedSources"],[1,"border-left","padded-s-left",3,"change","selectedTimeBoundary"],[3,"issueIds","tableColumns","options"],[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","copy"],["mat-header-cell","","class","copy-btn-header border-bottom",4,"matHeaderCellDef"],["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"],[3,"accessLevel","compactMode"],["class","margin-xs-right",3,"issuePriority",4,"ngIf"],[1,"subtle-link","break-word",3,"auxclick","href"],[3,"hotlistIds","onChipClicked",4,"ngIf"],[3,"issueId","compactMode"],[3,"accessLevel","compactMode",4,"ngIf"],[1,"margin-xs-right",3,"issuePriority"],[3,"onChipClicked","hotlistIds"],[1,"italic"],["mode","relativepastshort",3,"timestamp","paddingLeftPx",4,"ngIf"],["mode","relativepastshort",
3,"timestamp","paddingLeftPx"],["mat-header-cell","",1,"copy-btn-header","border-bottom"],["mat-icon-button","",1,"copy-btn","xs",3,"click","matTooltip"],["svgIcon","copy","color","primary",1,"copy-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,"click"],["mat-footer-cell","","colspan","2"],["mat-button","","class","margin-s-top",3,"click",4,"ngIf"],["mat-button","",1,"margin-s-top",3,"click"],["class","icon","svgIcon","arrow-down",4,"ngIf"],["class","icon","svgIcon","arrow-up",4,"ngIf"],
["svgIcon","arrow-down",1,"icon"],["svgIcon","arrow-up",1,"icon"],["mat-footer-row","",3,"hidden"],[1,"mat-row","padded-y"],["class","mat-cell type-l text-center padded-top","colspan","5",4,"ngIf"],["colspan","5",1,"mat-cell","type-l","text-center","padded-top"],[1,"text-center","border-bottom","padded-s-y"],[3,"ariaLabel"]],template:function(a,b){if(a&1){var c=u();F(0,"div",3)(1,"header",4)(2,"h3",5);Q(3," My tasks ");H();J(4,"mat-icon",6);F(5,"button",7);O("click",function(){v(c);return x(b.toggleCollapsed())});
J(6,"mat-icon",8);H()();C(7,EJb,3,2,"div",9);H();C(8,FJb,2,1,"ng-template",null,0,Mg)(10,GJb,1,0,"ng-template",null,1,Mg)}a&2&&(Wf("collapsed",b.isCollapsed()),A(7),E("ngIf",!b.isCollapsed()))},dependencies:[sv,tv,RC,rO,pQ,X7,Y7,YP,GQ,Z7,SQ,UT,kC,Ex,Gx,HM,AM,BM,CM,nS,gT,US,$S,WS,TS,bT,VS,aT,XS,ZS,YS,cT,eT,dT,fT,KI,TI,yv],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%}.copy-btn-header[_ngcontent-%COMP%]{min-width:32px;width:3%}.mat-column-moreRows[_ngcontent-%COMP%]{border:none}.product-icon.critique-logo[_ngcontent-%COMP%]{max-width:20px}.product-icon.drive-doc[_ngcontent-%COMP%]{color:var(--blue-700)}.product-icon.drive-sheet[_ngcontent-%COMP%]{color:var(--green-600)}.product-icon.drive-slide[_ngcontent-%COMP%]{color:var(--yellow-600)}.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}.mat-column-copy[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);margin-bottom:1px}.copy-btn.cdk-keyboard-focused[_ngcontent-%COMP%]   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:focus-visible   .copy-icon[_ngcontent-%COMP%], .mat-mdc-row[_ngcontent-%COMP%]:hover   .copy-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{--mat-icon-button-focus-state-layer-opacity:0}\n/*# sourceMappingURL=my_tasks.css.map */"]});var c8=function(a,b,c,d,e,f){Y.call(this);var h=this;this.hostElement=a;this.analytics=b;this.userFeedback=c;this.prefsService=d;this.hatsService=e;this.appSearchState=f;this.HOTKEYS=mr;this.refreshMissionControlData=new yf;this.captureAnyClick=function(k){k=Iva(k);for(var q=l(Object.entries(KQc)),t=q.next();!t.done;t=q.next()){var w=l(t.value);t=w.next().value;w=w.next().value;if(k.includes(t)){h.analytics.trackEvent("missionControl","click",w);break}}}};V(c8,Y);c8.\u0275dir=Y.\u0275dir;
c8.prototype.ngOnInit=function(){var a=this;setTimeout(function(){a.appSearchState.clear()});this.hostElement.nativeElement.addEventListener("click",this.captureAnyClick,!0);var b=l(LQc(this)),c=b.next().value;b=b.next().value;this.analytics.trackEvent("missionControl","sections-on-load",c,b);brc(this.hatsService,"u5xoTzKbb0g6pPHSLo10WcCoiLmK").pipe(Df(this.destroyed$)).subscribe()};
c8.prototype.ngOnDestroy=function(){Y.prototype.ngOnDestroy.call(this);this.hostElement.nativeElement.removeEventListener("click",this.captureAnyClick,!0)};var LQc=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]};c8.prototype.refresh=function(){this.refreshMissionControlData.next()};
c8.\u0275fac=function(a){return new (a||c8)(B(Rd),B(CF),B(cW),B(zR),B(BT),B(xQ))};
c8.\u0275cmp=p({type:c8,selectors:[["ng-component"]],features:[Lf],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"],[1,"w"]],template:function(a,b){a&1&&(F(0,"h2",
0),Q(1,"Mission Control"),H(),F(2,"div",1),O("onHotkey",function(){return b.refresh()}),F(3,"div",2)(4,"a",3),Q(5,"Learn about 'Home'"),H(),F(6,"button",4),O("click",function(){avc(b.userFeedback)}),Q(7,"Give feedback"),H()(),F(8,"section",5),J(9,"needs-attention-wrapper",6),H(),F(10,"section",7),J(11,"my-tasks",6),H(),F(12,"section",8),J(13,"work-areas-wrapper-card",6),H()());a&2&&(A(2),E("hotkey",b.HOTKEYS.REFRESH_ISSUE_LIST),A(7),E("refreshData",b.refreshMissionControlData),A(2),E("refreshData",
b.refreshMissionControlData),A(2),E("refreshData",b.refreshMissionControlData))},dependencies:[kC,Ex,hU,a8,b8,cJ],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 KQc={"NEEDS-ATTENTION-WRAPPER":"needs-attention","MY-TASKS":"my-tasks","MY-TASKS-V1":"my-tasks","WORK-AREAS-WRAPPER-CARD":"work-areas"};var MQc=function(a,b){this.name=a;this.resourceType=b;this.options=[]};MQc.prototype.shouldDisplay=function(){return!0};MQc.prototype.hasOptions=function(){return!1};MQc.prototype.getDefaultOptionId=function(){return null};var d8=function(a,b){this.name=a;this.resourceType=b;this.options=[]};d8.prototype.shouldDisplay=function(){return this.options.length>0};d8.prototype.hasOptions=function(){return this.options.length>0};
d8.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var NQc=function(a,b){this.id=a;this.name=b},PQc=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 Yd;this.missionControlMainOption=new MQc("Home","MISSION_CONTROL");this.assignedToMeMainOption=new MQc("Assigned to me","ASSIGNED_TO_ME");this.hotlistMainOption=new d8("Hotlist","HOTLIST");this.savedSearchMainOption=new d8("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=
new d8("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];OQc(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){OQc(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(k){k.homepagePreferences&&(k=k.homepagePreferences,k.resourceType?h.selectedMainOption=h.resourceMainOptions[k.resourceType]||h.mainOptions[0]:h.isUserInternal()?h.selectedMainOption=h.missionControlMainOption:h.selectedMainOption=h.assignedToMeMainOption,h.selectedOptionId=k.resourceId||
null,OQc(h))}))};PQc.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var LJb=function(a){Xp(a.butterBar,"Saving preferences...",0);var b={resourceType:a.selectedMainOption.resourceType};a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId);s9b(a.userPreferencesManager,b).subscribe(function(){Xp(a.butterBar,"Preferences saved.",4E3)})},OQc=function(a){function b(c){return new NQc(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 NQc(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};PQc.prototype.isUserInternal=function(){return this.activeSession.isInternalSession()};var QQc=ywa[3],e8=function(a,b,c,d,e,f,h,k,q){Y.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=f;this.sidebar=k;this.appEvents=q;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.appName=d.getAppName();this.timeZones.push.apply(this.timeZones,r(h.supportedTimeZones.map(function(t){return{value:t.id,label:t.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()};
V(e8,Y);e8.\u0275dir=Y.\u0275dir;e8.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;(b=a.preferredHomepage)==null||b.destroy()});this.preferredHomepage=new PQc(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(Df(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
e8.prototype.save=function(a,b,c){var d=this;Xp(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Xp(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var RQc=function(a){var b;return((b=a.userPreferences.textDisplayPreferences)==null?void 0:b.commentDisplayOverride)===QQc};e8.prototype.getShowInlineImages=function(){var a;return(a=this.userPreferences.showInlineImages)!=null?a:!1};
da.Object.defineProperties(e8.prototype,{hideBadgeInNav:{configurable:!0,enumerable:!0,get:function(){var a,b;return!!((a=this.userPreferences)==null?0:(b=a.missionControlPreferences)==null?0:b.hideBadgeInNav)}}});e8.\u0275fac=function(a){return new (a||e8)(B(yF,2),B(PG),B(cD),B(as),B(bH),B(CF),B(wH),B(bV),B(iD))};
e8.\u0275cmp=p({type:e8,selectors:[["b-general-settings"]],features:[Dg([yF]),Lf],decls:70,vars:16,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"],[4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[4,"ngIf"],[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",4,"ngFor","ngForOf"],["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-plain-text",3,"change","checked"],["id","bv2-force-code-font"],["class","margin-bottom",4,"ngIf"],["class","bv2-settings-preferred-homepage-main-option-select-item",3,"value",4,"ngIf"],[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"],["class","bv2-settings-preferred-homepage-option-select-item",
3,"value",4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],["id","hide-nav-badge",3,"change","checked"],[3,"value"],["id","bv2-show-inline-images",3,"change","checked"],["id","bv2-bug-screensaver",3,"change","checked"]],template:function(a,b){a&1&&(F(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),Q(4,"Preferred homepage"),H(),F(5,"p",3),Q(6," Select your preferred homepage when first opening the app. "),F(7,"a",4),Q(8," Learn more "),H()()(),F(9,"div")(10,"div")(11,
"mat-form-field",5)(12,"mat-label",6),Q(13," Current selection "),H(),F(14,"mat-select",7),Cg("ngModelChange",function(c){Bg(b.preferredHomepage.selectedMainOption,c)||(b.preferredHomepage.selectedMainOption=c);return c}),O("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();LJb(c);c.cdr.detectChanges()}),C(15,JJb,2,1,"ng-container",8),H()(),C(16,MJb,3,2,"mat-form-field",9),H(),C(17,NJb,3,1,"div",10),H()(),J(18,"hr",11),F(19,"div",0)(20,
"div",1)(21,"p",2),Q(22,"Date/time formatting settings"),H(),F(23,"p",3),Q(24," Select how you want dates and times to be formatted. "),F(25,"a",4),Q(26," Learn more "),H()()(),F(27,"div")(28,"div")(29,"mat-form-field",12)(30,"mat-label",13),Q(31," Dates "),H(),F(32,"mat-select",14),Cg("ngModelChange",function(c){Bg(b.userPreferences.dateTimePreferences.calendarFormat,c)||(b.userPreferences.dateTimePreferences.calendarFormat=c);return c}),O("selectionChange",function(){return b.save("saveDateTimePreferences")}),
C(33,OJb,2,2,"mat-option",15),H()()(),F(34,"div")(35,"mat-form-field",16)(36,"mat-label",17),Q(37," Times "),H(),F(38,"mat-select",14),Cg("ngModelChange",function(c){Bg(b.userPreferences.dateTimePreferences.timeFormat,c)||(b.userPreferences.dateTimePreferences.timeFormat=c);return c}),O("selectionChange",function(){return b.save("saveDateTimePreferences")}),C(39,PJb,2,2,"mat-option",15),H()()(),F(40,"div")(41,"mat-form-field",18)(42,"mat-label",19),Q(43," Time Zones "),H(),F(44,"mat-select",14),Cg("ngModelChange",
function(c){Bg(b.userPreferences.dateTimePreferences.timeZone,c)||(b.userPreferences.dateTimePreferences.timeZone=c);return c}),O("selectionChange",function(){return b.save("saveDateTimePreferences")}),C(45,QJb,2,2,"mat-option",15),H()()()()(),J(46,"hr",11),F(47,"div",0)(48,"div",1)(49,"p",2),Q(50,"Keyboard settings"),H()(),F(51,"div")(52,"div")(53,"mat-slide-toggle",20),O("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),
Q(54," Enable all hotkeys "),H()()()(),J(55,"hr",11),F(56,"div",0)(57,"div",1)(58,"p",2),Q(59,"Display settings"),H()(),F(60,"div")(61,"div",21)(62,"mat-slide-toggle",22),O("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?QQc:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),Q(63," Force comments to display as plain text "),H()(),F(64,"div",21)(65,"b-toggle-code-font",23),Q(66," Force comments to display with code font "),
H()(),C(67,RJb,3,1,"div",24),H()(),J(68,"hr",11),C(69,SJb,9,1,"ng-container",10),H());a&2&&(A(7),E("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",cf),A(7),Ag("ngModel",b.preferredHomepage.selectedMainOption),A(),E("ngForOf",b.preferredHomepage.mainOptions),A(),E("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),A(),E("ngIf",b.IS_INTERNAL_USER),A(8),E("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",cf),A(7),Ag("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),
A(),E("ngForOf",b.dateFormats),A(5),Ag("ngModel",b.userPreferences.dateTimePreferences.timeFormat),A(),E("ngForOf",b.timeFormats),A(5),Ag("ngModel",b.userPreferences.dateTimePreferences.timeZone),A(),E("ngForOf",b.timeZones),A(8),E("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),A(9),E("checked",RQc(b)),A(5),E("ngIf",b.showShowInlineImagesSetting),A(2),E("ngIf",b.showBugScreensaverSetting))},dependencies:[sv,tv,dy,ly,mM,Jy,Dy,nM,xx,kM,uO,vO,KI,TI,T6],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 f8=function(a,b,c,d){Y.call(this);var e=this;this.userPreferencesManager=a;this.butterBar=b;this.documentationLinks=c;this.analytics=d;this.priorities=["ALL","IMPORTANT","CLOSURE_ONLY","MINIMAL"];this.userPreferencesManager.preferences$.pipe(Df(this.destroyed$)).subscribe(function(f){e.userPreferences=f})};V(f8,Y);f8.\u0275dir=Y.\u0275dir;
f8.prototype.save=function(a,b,c){var d=this;Xp(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){Xp(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};f8.\u0275fac=function(a){return new (a||f8)(B(PG),B(cD),B(bH),B(CF))};
f8.\u0275cmp=p({type:f8,selectors:[["b-notification-settings"]],features:[Lf],decls:48,vars:14,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",4,"ngFor","ngForOf"],["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"],[3,"value"]],template:function(a,b){a&1&&(F(0,"div",0)(1,"div",1)(2,"p",2),Q(3,"Notification settings"),H(),F(4,"p",3),Q(5," Select the level of email you want to receive for each issue role. "),F(6,"a",4),Q(7," Learn more "),H()()(),F(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),Q(12," Assignee "),H(),F(13,"mat-select",
7),Cg("ngModelChange",function(c){Bg(b.userPreferences.notificationPreferences.assignedPriority,c)||(b.userPreferences.notificationPreferences.assignedPriority=c);return c}),O("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(14,TJb,3,4,"mat-option",8),H()()(),F(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),Q(18," Reporter "),H(),F(19,"mat-select",7),Cg("ngModelChange",function(c){Bg(b.userPreferences.notificationPreferences.reportedPriority,c)||(b.userPreferences.notificationPreferences.reportedPriority=
c);return c}),O("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(20,UJb,3,4,"mat-option",8),H()()(),F(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),Q(24," Verifier "),H(),F(25,"mat-select",7),Cg("ngModelChange",function(c){Bg(b.userPreferences.notificationPreferences.verifiedPriority,c)||(b.userPreferences.notificationPreferences.verifiedPriority=c);return c}),O("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(26,VJb,3,4,"mat-option",
8),H()()(),F(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),Q(30," Collaborator "),H(),F(31,"mat-select",7),Cg("ngModelChange",function(c){Bg(b.userPreferences.notificationPreferences.collaboratorPriority,c)||(b.userPreferences.notificationPreferences.collaboratorPriority=c);return c}),O("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(32,WJb,3,4,"mat-option",8),H()()(),F(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),Q(36," CC'd "),H(),F(37,"mat-select",7),
Cg("ngModelChange",function(c){Bg(b.userPreferences.notificationPreferences.ccdPriority,c)||(b.userPreferences.notificationPreferences.ccdPriority=c);return c}),O("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(38,XJb,3,4,"mat-option",8),H()()(),F(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),Q(42," Starred "),H(),F(43,"mat-select",7),Cg("ngModelChange",function(c){Bg(b.userPreferences.notificationPreferences.starredPriority,c)||(b.userPreferences.notificationPreferences.starredPriority=
c);return c}),O("selectionChange",function(){return b.save("saveNotificationPreferences")}),C(44,YJb,3,4,"mat-option",8),H()()(),F(45,"div")(46,"mat-slide-toggle",19),O("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),Q(47," Exclude edits made by you "),H()()()());a&2&&(A(6),E("href",b.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",cf),A(7),Ag("ngModel",b.userPreferences.notificationPreferences.assignedPriority),
A(),E("ngForOf",b.priorities),A(5),Ag("ngModel",b.userPreferences.notificationPreferences.reportedPriority),A(),E("ngForOf",b.priorities),A(5),Ag("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),A(),E("ngForOf",b.priorities),A(5),Ag("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),A(),E("ngForOf",b.priorities),A(5),Ag("ngModel",b.userPreferences.notificationPreferences.ccdPriority),A(),E("ngForOf",b.priorities),A(5),Ag("ngModel",b.userPreferences.notificationPreferences.starredPriority),
A(),E("ngForOf",b.priorities),A(2),E("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[sv,dy,ly,mM,Jy,Dy,nM,xx,kM,uO,vO,KI,TI,mI],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 SQc=function(a){this.internalArray_=m(a,0,SQc.messageId)};V(SQc,X);SQc.messageId="f.mt";var TQc=function(a){this.internalArray_=m(a,0,TQc.messageId)};V(TQc,X);TQc.repeatedFields_=[1];TQc.messageId="b.ListSloReportSubscriptionsResponse";var g8=function(a){this.internalArray_=m(a,0,g8.messageId)};V(g8,X);g8.prototype.getSubscription=function(){return Gj(this,bo,1)};g8.prototype.setSubscription=function(a){return Pj(this,bo,1,a)};g8.messageId="b.SloReportSubscriptionRequest";var h8=function(a){this.internalArray_=m(a,0,h8.messageId)};V(h8,X);h8.prototype.getSubscription=function(){return Gj(this,bo,1)};h8.prototype.setSubscription=function(a){return Pj(this,bo,1,a)};h8.messageId="b.SloReportSubscriptionResponse";var i8=function(a){this.executor=a};g=i8.prototype;g.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:h8}).pipe(z(function(b){if(b=b.getSubscription())return IDa(b);throw Error("sf");}))};g.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:TQc}).pipe(z(function(a){return Yj(a,bo,1,Ai()).map(IDa)}))};
g.create=function(a){if(a.id!==0)throw Error("tf");return this.executor.post({url:"action/slo_report_subscriptions",body:(new g8).setSubscription(KDa(a)),responseConstructor:h8}).pipe(z(function(b){if(b=b.getSubscription())return IDa(b);throw Error("uf");}))};
g.update=function(a){if(a.id===0)throw Error("vf");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new g8).setSubscription(KDa(a)),responseConstructor:h8}).pipe(z(function(b){if(b=b.getSubscription())return IDa(b);throw Error("uf");}))};g.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:SQc}).pipe(z(function(){}))};i8.\u0275fac=function(a){return new (a||i8)(n(pA))};
i8.\u0275prov=Fc({token:i8,factory:i8.\u0275fac,providedIn:"root"});var UQc=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new xF;this.timeZoneOptions$=h$b(this.timeZones).pipe(z(function(b){return b.sort($Jb)}))};UQc.\u0275fac=function(a){return new (a||UQc)(B(vH))};
UQc.\u0275cmp=p({type:UQc,selectors:[["b-timezone-picker"]],inputs:{label:"label",timezoneId:"timezoneId",disabled:"disabled",fullWidth:"fullWidth"},outputs:{timezoneIdChange:"timezoneIdChange"},decls:6,vars:8,consts:[["appearance","outline",1,"form-field-wide-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,b){a&1&&(F(0,"mat-form-field",0)(1,"mat-label"),Q(2),H(),F(3,"mat-select",1),O("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),C(4,ZJb,2,2,"mat-option",2),T(5,"async"),H()());a&2&&(Wf("full-width",b.fullWidth),A(2),R(" ",b.label," "),A(),E("disabled",b.disabled)("ngModel",b.timezoneId),A(),E("ngForOf",U(5,6,b.timeZoneOptions$)))},dependencies:[mM,Jy,Dy,nM,xx,kM,sv,dy,ly,yv],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var VQc=["sloSubscriptionDialog"],j8=function(a,b,c,d,e,f,h,k,q,t,w){Y.call(this);var y=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=f;this.principalTypes=h;this.analytics=k;this.butterBar=q;this.activeSession=t;this.constants=w;this.subscriptions$=new rn([]);this.isBasicMode$=this.subscriptions$.pipe(z(function(D){return D.length===0||D.length===1&&D[0].lead.emailAddress===y.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(z(function(D){D=
l(D);for(var G=D.next();!G.done;G=D.next())if(G=G.value,G.lead.emailAddress===y.currentUser.email)return y.inputDaysRemaining=G.daysRemaining,G;return{id:0,lead:y.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:WQc[9].timeOfDay,daysRemaining:0,types:["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],sloIds:[]}}));this.isThinking$=new rn(!1);this.inputHasFocus=!1;this.frequencyOptions=XQc;this.repeatOnOptions=new Map([["daily",[]],["weekly",vKb],["monthly",
YQc]]);this.DAILY="daily";this.repeatAtOptions$=we(WQc.map(function(D){return pe(y.dateFormatter.format("HH:mma",void 0,D.date)).pipe(z(function(G){return{timeOfDay:D.timeOfDay,display:G}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=Ci;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(XQc.map(function(D){return[D.frequency,D.display]}));this.timeZoneDisplayMap$=h$b(this.timeZones).pipe(qf(),z(function(D){return new Map(D.map(function(G){return[G.id,
G.displayName]}))}),zf({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(qf(),z(function(D){return new Map(D.map(function(G){return[G.timeOfDay.hours,G.display]}))}),zf({bufferSize:1,refCount:!0}));this.enableSloReportFiltering=ep(this.activeSession,"enableFilteringForSloReportSubscription");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(D,G){return D.hours===G.hours&&D.minutes===G.minutes&&D.seconds===G.seconds&&
D.nanos===G.nanos}};V(j8,Y);j8.\u0275dir=Y.\u0275dir;j8.prototype.ngOnInit=function(){k8(this)};
var oKb=function(a){a.userSubscription$.pipe(qf(),Cf(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(){k8(a)})},k8=function(a){a.isThinking$.next(!0);a.api.list().pipe(qf()).subscribe(function(b){a.isThinking$.next(!1);for(var c=l(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)})},$r=function(a,b){a.isThinking$.next(!0);a.enableSloReportFiltering||(b.daysRemaining=0,b.types=["BUG","CUSTOMER_ISSUE","VULNERABILITY","PRIVACY_ISSUE"],b.sloIds=[]);b.types.length===a.typeChoices.length&&(b.types=[]);a.api.update(b).subscribe(function(){a.analytics.trackEvent("sloReports","editSubscription");k8(a);a.newSloId=void 0},function(c){c.status===404&&(a.butterBar.showWarning("Subscription does not exist"),k8(a))})},ZQc=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent("sloReports",
"deleteSubscription");k8(a)})},zKb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:Lh("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){ZQc(a,b)}})};j8.prototype.setFrequency=function(a,b){b.frequency=a;RKb(a,b);$r(this,b)};var RKb=function(a,b){a!=="daily"?b.ordinal=a==="weekly"?vKb[0].ordinal:YQc[0].ordinal:delete b.ordinal};
j8.prototype.setTimeZone=function(a,b){$r(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};j8.prototype.setDaysRemaining=function(a){if(this.inputDaysRemaining!==a.daysRemaining){var b;$r(this,Object.assign({},a,{daysRemaining:(b=this.inputDaysRemaining)!=null?b:0}))}};j8.prototype.setIssueType=function(a,b){$r(this,Object.assign({},b,{types:a}))};
var kKb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&$r(a,Object.assign({},b,{sloIds:[].concat(r(b.sloIds),[a.newSloId])}))},iKb=function(a,b,c){if(b.sloIds.includes(c)){var d=b.sloIds.filter(function(e){return e!==c});$r(a,Object.assign({},b,{sloIds:d}))}},OKb=function(a,b){a.newSloId&&!b.sloIds.includes(a.newSloId)&&(b.sloIds.push(a.newSloId),a.newSloId=void 0)},MKb=function(a,b){if(a.sloIds.includes(b)){var c=a.sloIds.filter(function(d){return d!==b});a.sloIds=c}};
j8.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:WQc[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:di(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var SKb=function(a,b){return ge(function(c){if(c.nextAddress==1)return a.dialogRef&&b.lead!==void 0?ie(c,$Qc(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");k8(a)}):$r(a,b);a.dialogRef.close();me(c)})},$Qc=function(a,
b){var c;return ge(function(d){if(d.nextAddress==1)return Ki(b)?ie(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))})};j8.\u0275fac=function(a){return new (a||j8)(B(XP),B(i8),B(ZV),B(jH),B(vH),B(rH),B(jG),B(CF),B(cD),B(as),B(wH))};
j8.\u0275cmp=p({type:j8,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&rg(VQc,7);if(a&2){var c;vg(c=wg())&&(b.sloSubscriptionDialog=c.first)}},features:[Lf],decls:22,vars:14,consts:[["sloSubscriptionDialog",""],["subscriptionMenu","matMenu"],[4,"ngIf"],[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"],["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",4,"ngFor","ngForOf"],
[3,"timezoneIdChange","timezoneId","fullWidth"],["class","muted type-s",4,"ngIf"],[3,"value"],[3,"ngModelChange","ngModel","compareWith"],["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,"subtle-link",3,"href"],
["mat-icon-button","","aria-label","Remove SLO ID",1,"xs",3,"click","matTooltip"],["svgIcon","clear"],[1,"muted","type-s"],["mat-table","","aria-label","SLO reports subscriptions",1,"bordered","full-width",3,"dataSource"],["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"],["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(" "),["matInput","","type","number",3,"ngModelChange","ngModel"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"]],template:function(a,b){if(a&1){var c=u();C(0,qKb,12,3,"ng-container",2);T(1,"async");F(2,"div",3)(3,"div",4)(4,"p",5);Q(5,"Advanced settings");
H();F(6,"p",6);Q(7," Add subscriptions to receive other user's reports. ");F(8,"a",7);Q(9,"Learn more");H()()();F(10,"div",8)(11,"div",9)(12,"button",10);T(13,"async");O("click",function(){v(c);return x(b.openDialog())});Q(14," Create subscription ");H()();C(15,rKb,2,0,"ng-container",2);T(16,"async");C(17,DKb,13,3,"ng-container",2);T(18,"async");T(19,"async");H()();C(20,TKb,34,16,"ng-template",null,0,Mg)}a&2&&(E("ngIf",U(1,4,b.isBasicMode$)),A(12),E("disabled",U(13,6,b.isThinking$)),A(3),E("ngIf",
U(16,8,b.isThinking$)),A(2),E("ngIf",!U(18,10,b.isBasicMode$)&&!U(19,12,b.isThinking$)))},dependencies:[sv,tv,RC,Bh,ny,dy,vy,ly,kC,Ex,Gx,kH,mH,oH,nH,mM,Jy,Dy,Cy,By,nM,xx,kM,yW,Qy,uO,vO,nS,gT,US,$S,WS,TS,bT,XS,ZS,cT,eT,JI,NI,LI,OI,KI,TI,UQc,pQ,iO,yv],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 XQc=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],vKb=[{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"}],YQc=[].concat(r(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:wKb(a+1)}}),WQc=[].concat(r(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 l8=function(a,b,c){this.activeSession=a;this.location=b;this.routeParams=c;this.enableSloReportEmail=this.activeSession.isInternalSession()&&ep(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0};l8.prototype.ngAfterViewInit=function(){this.selectedTabIndex=aRc(this,this.routeParams.settingsTab)};l8.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(wp.settingsTab.makeHref(d)):this.location.setUrl(wp.settings.makeHref())};
var aRc=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return a<0?0:a};l8.\u0275fac=function(a){return new (a||l8)(B(as),B(NM),B($H))};
l8.\u0275cmp=p({type:l8,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&rg(BM,5,Rd);if(a&2){var c;vg(c=wg())&&(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",4,"ngIf"],["label","SLO Reports","id","slo-reports"]],template:function(a,b){a&1&&(F(0,"p",0),Q(1,"Settings"),H(),F(2,"mat-tab-group",1),O("selectedIndexChange",
function(c){return b.tabChange(c)}),F(3,"mat-tab",2)(4,"div",3),J(5,"b-general-settings"),H()(),F(6,"mat-tab",4)(7,"div",3),J(8,"b-notification-settings"),H()(),C(9,UKb,3,0,"mat-tab",5),H());a&2&&(A(2),E("selectedIndex",b.selectedTabIndex),A(7),E("ngIf",b.enableSloReportEmail))},dependencies:[tv,HM,BM,CM,e8,f8,j8],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 bRc=Symbol("wf"),cRc=/^[a-z0-9-_]{6,30}$/,dRc="productID must match the expression: "+cRc;var eRc=function(){this.blockSize=-1};var m8=function(a,b){this.blockSize=-1;this.blockSize=64;this.chunk_=Ba.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.total_=this.inChunk_=0;this.hash_=[];this.numHashBlocks_=a;this.initHashBlocks_=b;this.w_=Ba.Int32Array?new Int32Array(64):Array(64);fRc===void 0&&(Ba.Int32Array?fRc=new Int32Array(gRc):fRc=gRc);this.reset()},fRc;gu(m8,eRc);for(var hRc=[],iRc=0;iRc<63;iRc++)hRc[iRc]=0;var jRc=[].concat(128,hRc);
m8.prototype.reset=function(){this.total_=this.inChunk_=0;this.hash_=Ba.Int32Array?new Int32Array(this.initHashBlocks_):Ta(this.initHashBlocks_)};
var kRc=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 k=a.hash_[2]|0,q=a.hash_[3]|0,t=a.hash_[4]|0,w=a.hash_[5]|0,y=a.hash_[6]|0;f=a.hash_[7]|0;for(b=0;b<64;b++){var D=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&k^e&k)|0;h=t&w^~t&y;
f=f+((t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7))|0;h=h+(fRc[b]|0)|0;h=f+(h+(c[b]|0)|0)|0;f=y;y=w;w=t;t=q+h|0;q=k;k=e;e=d;d=h+D|0}a.hash_[0]=a.hash_[0]+d|0;a.hash_[1]=a.hash_[1]+e|0;a.hash_[2]=a.hash_[2]+k|0;a.hash_[3]=a.hash_[3]+q|0;a.hash_[4]=a.hash_[4]+t|0;a.hash_[5]=a.hash_[5]+w|0;a.hash_[6]=a.hash_[6]+y|0;a.hash_[7]=a.hash_[7]+f|0};
m8.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&&(kRc(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("xf");this.chunk_[d++]=e;d==this.blockSize&&(kRc(this),d=0)}else throw Error("yf");this.inChunk_=d;this.total_+=b};
m8.prototype.digest=function(){var a=[],b=this.total_*8;this.inChunk_<56?this.update(jRc,56-this.inChunk_):this.update(jRc,this.blockSize-(this.inChunk_-56));for(var c=63;c>=56;c--)this.chunk_[c]=b&255,b/=256;kRc(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 gRc=[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 VKb=function(){m8.call(this,8,lRc)};gu(VKb,m8);var lRc=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var XKb=new TextEncoder,YKb=XKb.encode("$@#|").buffer;var mRc=["allow-same-origin","allow-scripts","allow-forms","allow-popups"],nRc=new TextEncoder,oRc={},pRc=function(){var a=this;this.productID="buganizer";this.shimOptions=void 0;this.renderCalled=!1;this.shimIframe=document.createElement("iframe");if(!cRc.test("buganizer"))throw Error(dRc);this.attachedPromise=new Promise(function(b){a.shimIframe.addEventListener("load",function(){b()},{once:!0});a.shimIframe.addEventListener("error",function(){b()},{once:!0})})},qRc=function(a,b,c){if(!a.shimIframe||
!a.shimIframe.contentWindow)throw Error("Af");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);}})},rRc=function(a,b,c,d){var e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma;ge(function(ua){switch(ua.nextAddress){case 1:if(a.renderCalled)throw Error("Bf");a.renderCalled=!0;h=(f=(e=a.shimOptions)==null?void 0:e.sandbox)!=
null?f:mRc;c.toLowerCase()!=="application/pdf"&&(a.shimIframe.sandbox.add.apply(a.shimIframe.sandbox,r(h)),a.shimIframe.sandbox.add("allow-scripts"),a.shimIframe.sandbox.add("allow-same-origin"));q=(k=a.shimOptions)==null?void 0:k.useSubtleCrypto;y=(w=a.shimOptions)==null?void 0:w.enableBrowserCaching;if(!y){t=aLb().buffer;ua.jumpTo(2);break}if(y===!0)return ie(ua,$Kb({useSubtleCrypto:q,parts:[b,location.pathname]}),7);if(typeof y!=="object"||!y[bRc])throw Error("Cf");return ie(ua,WKb(nRc.encode(y[bRc]).buffer,
q),6);case 6:t=ua.yieldResult;ua.jumpTo(2);break;case 7:t=ua.yieldResult;case 2:return D=location.origin,ie(ua,cLb({product:a.productID,salt:t,useSubtleCrypto:q,trustedOrigin:D,version:Number("652878443")}),8);case 8:return G=ua.yieldResult,I=dLb({trustedOrigin:D,fileHash:G,version:"652878443",product:a.productID,cache:!!y}),N=(new URL(I)).origin,oRc.shimBlobUrlFactory!==void 0?(S=oRc.shimBlobUrlFactory(I),W=URL.createObjectURL(S),a.shimIframe.src=W,N=(new URL(W)).origin):a.shimIframe.src=I,d.appendChild(a.shimIframe),
ie(ua,a.attachedPromise,9);case 9:return Z=!1,ma=new Promise(function(Ua){a.shimIframe.addEventListener("load",function(){Z=!0;Ua(fa)},{once:!0})}),fa={sendMessage:function(Ua,ha){if(!a.shimIframe||!a.shimIframe.contentWindow)throw Error("Af");a.shimIframe.contentWindow.postMessage(Ua,N,ha)},origin:N,fullyLoadedPromise:ma,fullyLoadedPromiseWithTimeout:function(Ua){var ha=new Promise(function(xa,sa){setTimeout(function(){Z?xa(fa):sa(Error("Df"))},Ua)});return Promise.race([ma,ha])}},ie(ua,qRc(a,{body:b,
mimeType:c,salt:t},N),10);case 10:return ua.return(fa)}})};var sRc=["attachmentContent"],n8=function(a){Y.call(this);this.attachmentsApi=a};V(n8,Y);n8.\u0275dir=Y.\u0275dir;n8.prototype.ngOnInit=function(){tRc(this)};var tRc=function(a){a.subscriptions.add(x$b(a.attachmentsApi,a.issueId,a.attachmentId).subscribe(function(b){b&&rRc(new pRc,b,a.mimeType,a.container.nativeElement)}))};n8.\u0275fac=function(a){return new (a||n8)(B(EH))};
n8.\u0275cmp=p({type:n8,selectors:[["attachment-preview"]],viewQuery:function(a,b){a&1&&rg(sRc,5);if(a&2){var c;vg(c=wg())&&(b.container=c.first)}},inputs:{issueId:"issueId",attachmentId:"attachmentId",mimeType:"mimeType"},features:[Lf],decls:2,vars:0,consts:[["attachmentContent",""],[1,"full-width","full-height"]],template:function(a){a&1&&J(0,"div",1,0)},styles:["[_nghost-%COMP%]     iframe{border:0;height:100%;width:100%}/*# sourceMappingURL=attachment_preview.css.map */"]});var uRc=function(a,b){this.activatedRoute=a;this.issueId=b.issueId;this.attachmentId=b.attachmentId;this.mimeType=lJa(a.snapshot.queryParamMap).mimeType};uRc.\u0275fac=function(a){return new (a||uRc)(B(qn),B($H))};uRc.\u0275cmp=p({type:uRc,selectors:[["view-attachment-page"]],decls:1,vars:3,consts:[[3,"issueId","attachmentId","mimeType"]],template:function(a,b){a&1&&J(0,"attachment-preview",0);a&2&&E("issueId",b.issueId)("attachmentId",b.attachmentId)("mimeType",b.mimeType)},dependencies:[n8],encapsulation:2});var o8=function(a,b,c,d,e,f,h,k,q){Y.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=f;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=k.getUserEmail()};V(o8,Y);o8.\u0275dir=Y.\u0275dir;g=o8.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 wp.viewHotlist.makeHref(a.hotlistId);default:throw Error("Ef`"+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("Ef`"+a.resourceType);}};o8.\u0275fac=function(a){return new (a||o8)(B(yF,2),B($H),B(NM),B(VU),B(qE),B(HA),B(BP),B(as),B(iD))};
o8.\u0275cmp=p({type:o8,selectors:[["view-bookmark-group-page"]],features:[Dg([yF]),Lf],decls:5,vars:3,consts:[[1,"a11y-only"],[1,"kd-appbar","kd-buttonbar"],[1,"bv2-view"],[4,"ngIf"],[1,"bv2-view-bookmark-group-title"],[1,"bv2-view-bookmark-group-header"],[3,"starMessage","unStarMessage","starred","starClicked",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[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"],[4,"ngFor","ngForOf"],[3,"starClicked","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage","starred","disabled"],[3,"href"]],template:function(a,b){a&1&&(F(0,"h2",0),Q(1),H(),J(2,"div",1),F(3,"div",2),C(4,hLb,12,5,"div",3),H());a&2&&(A(),R("View Bookmark Group ",b.bookmarkGroup==null?null:b.bookmarkGroup.name,""),A(2),Nf("aria-busy",!b.bookmarkGroup),
A(),E("ngIf",b.bookmarkGroup))},dependencies:[sv,tv,DP,KI,TI],encapsulation:2});var p8=function(){};p8.\u0275fac=function(a){return new (a||p8)};p8.\u0275mod=cd({type:p8});p8.\u0275inj=Gc({imports:[RD,xV,bM]});var q8=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma,Aa,wb,Pb,Vb,xb,Uc,Sa){w7.call(this,b,c,d,e,h,k,t,f,w,y,D,I,N,S,W,Z,fa,xa,ma,ua,Aa,wb,Pb,Vb,xb,Sa);this.ngZone=a;this.userApi=q;this.hotlists=G;this.hotkeys=Ua;this.pageTitle=ha;this.userAccess=Ma;this.mcPrefs=Uc;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=sa.hotlistId};V(q8,w7);
q8.\u0275dir=w7.\u0275dir;
q8.prototype.ngOnInit=function(){var a=this;w7.prototype.ngOnInit.call(this);this.subscriptions.add(aJ(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(r(this.BASE_HOTKEYS),[{keys:[Ao("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){vRc(a,1)}},{keys:[Ao("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){vRc(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&Number(b.hotlistId)===
Number(a.hotlistId)&&b.origin!=="view-hotlist"&&wRc(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)};q8.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)}};
q8.prototype.loadUserAccess=function(a){var b=this;KB(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});KB(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
q8.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;yQ(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):wRc(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var wRc=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};
q8.prototype.doSearch=function(a){var b=this,c=GBc.map(bq).filter(Gi),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=di(f);f.query=d;f.returnUrl=b.bLocation.getUrl();f.hotlistId=b.hotlistId;f.trackerIds=b.appSearchState.currentTrackerScope;return ktc(b.issuePagination,f)});a.then(function(f){yPc(b,
f)}).catch(function(f){typeof f==="number"?t0(b.urlPreferences,{page:f}):b.errorHandler.errorHandler(null,f)});return Op({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,xRc(b)?yRc:zRc);b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
var xRc=function(a){return a.sortPreferences.length===0||a.sortPreferences.length===1&&a.sortPreferences[0].fieldId.type==="POSITION"};q8.prototype.getCsvUrl=function(){var a=this.appSearchState.currentTrackerScope,b=this.displayColumns,c=this.showHotlists,d="action/hotlists/"+this.hotlistId+"/issues/csv",e=KMa(this.sortPreferences);(b=LMa(b))&&(b="position,"+b);return MMa(d,"trackerIds",a,"s",e,"c",b,"h",c)};
q8.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 vRc=function(a,b){if(a.searchResults&&!a.repositioning&&xRc(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||Mdb(f)}else if(b===-1){var h;(h=a.resultsGrid)==null||Ndb(h)}a.repositionIssue(e,c,!0)}}};g=q8.prototype;
g.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=MCa(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}});Xp(this.butterBar,"Saving changes to hotlist...");ARc(this,b).then(function(e){Xp(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');t0(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");t0(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?wi(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};g.setSort=function(a,b){var c=this.getSort();a==="position"||c&&c.field==="position"?w7.prototype.setSort.call(this,a,b,!1):w7.prototype.setSort.call(this,a,b)};
var ARc=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;BRc(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},BRc=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
q8.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=yk(this.hotlistId),c=function(){BRc(a,b)};this.isStarred?this.userApi.addUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c):this.userApi.removeUserBookmark({resourceType:"HOTLIST",resourceId:b}).then(c)};q8.prototype.openEditHotlist=function(){this.bLocation.setUrl(wp.editHotlist.makeHref(this.hotlistId))};q8.prototype.addToMissionControl=function(a){a!=null&&(this.mcPrefs.addHotlist(a),this.bLocation.setUrl(this.paths.home()))};
q8.prototype.showAddToMcButton=function(a){var b=this.activeSession.isInternalSession();a=a<=500;var c=!this.mcPrefs.hasHotlist(this.hotlistId);return b&&a&&c};var zRc=[b0,c0,d0,zGc],yRc=[b0,yGc,c0,d0,zGc];q8.\u0275fac=function(a){return new (a||q8)(B(Me),B(yF),B(BF),B($G),B(NM),B(as),B(dD),B(jC),B(qE),B(jE),B(cD),B(CF),B(xQ),B(W0),B(UU),B(PG),B(s0),B(u0),B(BP),B(EB),B(zH),B(jJ),B($I),B(VU),B(eD),B($H),B(IB),B(iD),B(rE),B(EF),B(H1),B(gB),B(zR),B(xE))};
q8.\u0275cmp=p({type:q8,selectors:[["view-hotlist-page"]],features:[Dg([yF]),Lf],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"],["class","bv2-view-hotlist-title",4,"ngIf"],["class","bv2-view-loading",
4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],["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"],[1,"bv2-view-hotlist-title"],[3,"starMessage","unStarMessage","starred","starClicked","keydown.space","keydown.enter",4,"ngIf"],[3,"starMessage","unStarMessage","starred","disabled",4,"ngIf"],[1,"bv2-view-hotlist-title-text"],["tabindex","-1",3,"bFocus",4,"ngIf"],[4,"ngIf"],["class","bv2-view-hotlist-save-form",4,"ngIf"],[3,"starClicked","keydown.space","keydown.enter","starMessage","unStarMessage","starred"],[3,"starMessage","unStarMessage",
"starred","disabled"],["tabindex","-1",3,"bFocus"],["role","heading","aria-level","3"],[3,"matTooltip"],["class","hotlist-archived",4,"ngIf"],[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",4,"ngIf"],[1,"hotlist-archived"],["matTooltip","Display preferences have changed"],[1,"bv2-view-hotlist-save-form"],["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"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop","onNextPage","onPrevPage","searchResults","focusedRowIndex","columns","enableColumnSaving","sort","enableSidebar"]],template:function(a,
b){a&1&&(F(0,"div",0)(1,"b-grid-controls",1),O("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()}),H(),C(2,jLb,1,1),F(3,"div",2)(4,"b-pagination",3),O("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return b.saveResultsPerPage(d.option)}),
H()()(),F(5,"div",4),C(6,tLb,9,7,"div",5)(7,uLb,4,1,"div",6)(8,vLb,2,2,"div",7)(9,wLb,2,6,"div",8),H());if(a&2){var c;A();E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin);A();$f((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);A(2);E("searchResults",b.searchResults);A();Nf("aria-busy",b.isLoading);A();E("ngIf",!b.isInitializing);A();E("ngIf",b.isLoading);A();E("ngIf",!b.isLoading&&
!b.hasResults());A();E("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[g0,X0,DP,Z_,KI,TI,tv,pQ,pZ,kC,Ex],encapsulation:2});var r8=function(){};r8.\u0275fac=function(a){return new (a||r8)};r8.\u0275mod=cd({type:r8});r8.\u0275inj=Gc({imports:[p0,Y0,xV,V0,bM,RD,rQ,qZ,RH,zy,cM,iU,EQ]});var s8=function(a,b,c,d,e,f,h,k,q,t,w,y,D,G,I,N,S,W,Z,fa,ma,ua,Ua,ha,xa,sa,Ma,Aa,wb,Pb,Vb,xb){w7.call(this,a,b,c,d,f,h,q,e,t,w,y,D,G,I,N,S,W,Ua,Z,fa,sa,Ma,Aa,wb,Pb,xb);this.savedSearchApi=k;this.hotkeys=ma;this.pageTitle=ua;this.userAccess=xa;this.mcPrefs=Vb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=ha.savedSearchId};V(s8,w7);s8.\u0275dir=w7.\u0275dir;g=s8.prototype;
g.ngOnInit=function(){var a=this;w7.prototype.ngOnInit.call(this);this.subscriptions.add(aJ(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(coc(this.appSearchState,function(b){a.savedSearch?t0(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;KB(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;yQ(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:tPc(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;yQ(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=di(d);d.returnUrl=b.bLocation.getUrl();d.trackerIds=
b.appSearchState.currentTrackerScope;return ktc(b.issuePagination,d)});c.then(function(d){yPc(b,d)}).catch(function(d){typeof d==="number"?t0(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Op({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 NMa(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;Xp(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){Xp(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;t0(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");t0(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&&(AR(this.mcPrefs,Ip(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};s8.\u0275fac=function(a){return new (a||s8)(B(yF),B(BF),B($G),B(NM),B(as),B(dD),B(jC),B(vE),B(jE),B(cD),B(CF),B(xQ),B(UU),B(PG),B(s0),B(u0),B(BP),B(EB),B(zH),B(jJ),B($I),B(VU),B(eD),B($H),B(IB),B(iD),B(rE),B(EF),B(H1),B(gB),B(zR),B(xE))};
s8.\u0275cmp=p({type:s8,selectors:[["view-saved-search-page"]],features:[Dg([yF]),Lf],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"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],[4,"ngIf"],["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"],[1,"bv2-view-savedsearch-title-text"],["role","heading","aria-level","3",4,"ngIf"],["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",4,"ngIf"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-savedsearch-save-form"],["type","button","mat-flat-button","","class",
"medium","matTooltip","Save changes to display preferences and search query",3,"click",4,"ngIf"],["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"],["class","bv2-view-loading",
4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[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&&(F(0,"div",0)(1,"b-grid-controls",1),O("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()}),H(),C(2,yLb,1,1),F(3,"div",2)(4,"b-pagination",3),O("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return b.saveResultsPerPage(d.option)}),H()()(),F(5,"div",4)(6,"div",5),C(7,DLb,
4,3,"div",6)(8,FLb,7,2,"div",7),H(),C(9,KLb,4,3,"div",8),H());if(a&2){var c;A();E("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices);A();$f((c=b.searchResults==null?null:b.searchResults.numResults)?2:-1,c);A(2);E("searchResults",b.searchResults);A();Nf("aria-busy",b.isLoading);A(2);E("ngIf",!b.isInitializing);A();E("ngIf",b.hasParamChanges());A();E("ngIf",b.savedSearch)}},dependencies:[g0,X0,Z_,tv,KI,TI,pQ,pZ,kC,Ex],encapsulation:2});var t8=function(){};
t8.\u0275fac=function(a){return new (a||t8)};t8.\u0275mod=cd({type:t8});t8.\u0275inj=Gc({imports:[p0,Y0,V0,RD,bM,rQ,qZ,RH,zy,cM,iU,EQ]});var CRc={path:wp.viewIssue.routeDeclarationPath,component:S5,children:[{path:"",pathMatch:"full",component:K6},{path:"dependencies",component:$T},{path:"dupes",component:U5},{path:"blocking",component:V4},{path:"resources",component:qPc}].concat(r(function(a,b){return LLb(function(){return eJa(a)},b)}("enableCodeMentionsUi",{path:"todos",component:u7})))},DRc=[{path:"",component:O3,canActivateGuards:[X3]},{title:fq("Issues"),path:wp.listIssues.routeDeclarationPath,component:x7},{title:fq("New issue"),
path:wp.createIssue.routeDeclarationPath,component:K4,canActivateGuards:[q4]}].concat(r(LLb(function(){var a;if(a=eJa("enableChromeWizard")){var b;a=((b=jm().tracker)==null?void 0:b.trackerId)==="157"}return a},{title:fq("New issue"),path:wp.createIssueChromeWizard.routeDeclarationPath,component:p4})),[CRc,{title:fq("Browse All Components"),path:wp.listComponentsGlobal.routeDeclarationPath,component:m3},{title:fq("Browse Components"),path:wp.listComponents.routeDeclarationPath,component:r4},{title:fq("Create component"),
path:wp.createComponent.routeDeclarationPath,component:t4},{title:fq("Component"),path:wp.editComponent.routeDeclarationPath,component:R7},{path:"components/:componentId/manage",redirectTo:wp.editComponent.routeDeclarationPath},{path:"components/:componentId",redirectTo:wp.editComponent.routeDeclarationPath},{title:fq("Team"),path:wp.editTeam.routeDeclarationPath,component:S7},{path:"teams/:teamId",redirectTo:wp.editTeam.routeDeclarationPath},{title:fq("Create Bookmark Group"),path:wp.createBookmarkGroup.routeDeclarationPath,
component:s4},{title:fq("Bookmark Group"),path:wp.viewBookmarkGroup.routeDeclarationPath,component:o8},{title:fq("Bookmark Group"),path:wp.editBookmarkGroup.routeDeclarationPath,component:Q4},{title:fq("Create Hotlist"),path:wp.createHotlist.routeDeclarationPath,component:u4},{title:fq("Hotlist"),path:wp.viewHotlist.routeDeclarationPath,component:q8},{title:fq("Edit Hotlist"),path:wp.editHotlist.routeDeclarationPath,component:l0},{title:fq("Create SLO"),path:wp.createSlo.routeDeclarationPath,component:M4},
{title:fq("SLO"),path:wp.viewSlo.routeDeclarationPath,component:U4},{title:fq("SLO"),path:wp.editSlo.routeDeclarationPath,component:U4},{title:fq("Saved search"),path:wp.editSavedSearch.routeDeclarationPath,component:R4},{title:fq("All of my hotlists"),path:wp.listHotlists.routeDeclarationPath,component:v7},{title:fq("Manage SLOs"),path:wp.listSlos.routeDeclarationPath,component:z7},{title:fq("Saved search"),path:wp.viewSavedSearch.routeDeclarationPath,component:s8},{title:fq("Dashboard"),path:wp.viewDashboard.routeDeclarationPath,
component:O4},{title:fq("Settings"),path:wp.settingsTab.routeDeclarationPath,component:l8},{title:fq("Settings"),path:wp.settings.routeDeclarationPath,component:l8},{title:fq("Triage"),path:wp.viewTriagePhase.routeDeclarationPath,component:yU},{title:fq("Triage"),path:wp.viewTriage.routeDeclarationPath,component:zQ},{title:fq("Triage"),path:wp.overviewTriage.routeDeclarationPath,component:CU},{title:fq("View Attachment"),path:wp.viewAttachment.routeDeclarationPath,component:uRc,hideAppChrome:!0},
{title:fq("Home"),path:wp.home.routeDeclarationPath,component:c8,canActivateGuards:[U3,V3]},{path:"**",component:O3,canActivateGuards:[X3]}]);var u8=function(){};u8.\u0275fac=function(a){return new (a||u8)};u8.\u0275mod=cd({type:u8});u8.\u0275inj=Gc({imports:[RD,KM]});var v8=function(){};v8.\u0275fac=function(a){return new (a||v8)};v8.\u0275mod=cd({type:v8});v8.\u0275inj=Gc({imports:[RD,VL,cR,BQ]});var w8=function(){};w8.\u0275fac=function(a){return new (a||w8)};w8.\u0275mod=cd({type:w8});w8.\u0275inj=Gc({imports:[L6,RD,rQ,RH,KM,rT,u8,v8,bJ]});var x8=function(){};x8.\u0275fac=function(a){return new (a||x8)};x8.\u0275mod=cd({type:x8});x8.\u0275inj=Gc({imports:[RD,cQ,RH]});var y8=function(){};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275mod=cd({type:y8});y8.\u0275inj=Gc({imports:[RD,KM,VL,cR,x8]});var z8=function(){};z8.\u0275fac=function(a){return new (a||z8)};z8.\u0275mod=cd({type:z8});z8.\u0275inj=Gc({imports:[RD,dJ,RH,VH]});var A8=function(){};A8.\u0275fac=function(a){return new (a||A8)};A8.\u0275mod=cd({type:A8});A8.\u0275inj=Gc({imports:[bR,RD,E5,dJ,E0,RH,cP,aM,bM,m1,U0,U6,z8]});var B8=function(){};B8.\u0275fac=function(a){return new (a||B8)};B8.\u0275mod=cd({type:B8});B8.\u0275inj=Gc({imports:[RD,dJ,RH,bM]});var C8=function(){};C8.\u0275fac=function(a){return new (a||C8)};C8.\u0275mod=cd({type:C8});C8.\u0275inj=Gc({imports:[e7,RD,bM,jM,xO,RH,rQ,LQ,U0,aR]});var D8=function(){};D8.\u0275fac=function(a){return new (a||D8)};D8.\u0275mod=cd({type:D8});D8.\u0275inj=Gc({imports:[RD,pT,VL,mT]});var E8=function(){};E8.\u0275fac=function(a){return new (a||E8)};E8.\u0275mod=cd({type:E8});E8.\u0275inj=Gc({imports:[y8,pT,RD,G0,NW,dJ,VL,kT,S6,x8,RH,cP,bM,xV,mT,D8,B8,A8,C8]});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=cd({type:F8});F8.\u0275inj=Gc({imports:[RD,RH]});var G8=function(){};G8.\u0275fac=function(a){return new (a||G8)};G8.\u0275mod=cd({type:G8});G8.\u0275inj=Gc({imports:[RD,uQ,RH,bM]});var H8=function(){};H8.\u0275fac=function(a){return new (a||H8)};H8.\u0275mod=cd({type:H8});H8.\u0275inj=Gc({imports:[T1,vL,PC,RD,rT,Ww,KM,LQ,zy,w8,E8,P0,RH,VH,qU,JM,bM,Ay,R5,U0,hM,F8,G8]});var I8=function(){};I8.\u0275fac=function(a){return new (a||I8)};I8.\u0275mod=cd({type:I8});I8.\u0275inj=Gc({imports:[RD,o3]});var J8=function(){};J8.\u0275fac=function(a){return new (a||J8)};J8.\u0275mod=cd({type:J8});J8.\u0275inj=Gc({imports:[RD,PC,vL,zy,Ay,RH,JM,hM,bR,H8,s7,eU,W4,V5,I8,t7]});var ERc=DRc.map(function(a){var b=a.redirectTo?void 0:[R3,T3].concat(r(a.canActivateGuards||[])),c;return{title:a.title,path:a.path,redirectTo:a.redirectTo,component:a.component,canDeactivate:[bS],canActivate:b,children:a.children,isRootRoute:!0,hideAppChrome:(c=a.hideAppChrome)!=null?c:!1}});ERc.push({path:"**",canActivate:["dontActivate"],component:O3,isRootRoute:!0,hideAppChrome:!1});
var FRc=jm().appBaseHref,GRc,K8={initialNavigation:"disabled"},HRc={provide:L6b,useFactory:function(){return"guarded"},deps:[[HD,new Lu,new Mu]]},IRc={provide:yD,useValue:K8?K8:{}},JRc=(K8==null?0:K8.useHash)?{provide:Jv,useClass:Lv}:{provide:Jv,useClass:Kv},KRc={provide:E6b,useFactory:function(){var a=Xc(GWb),b=Xc(Me),c=Xc(yD),d=Xc(CD),e=Xc(kD);c.scrollOffset&&a.setOffset(c.scrollOffset);return new MD(e,d,a,b,c)}},LRc=(K8==null?0:K8.preloadingStrategy)?Cn(0,[{provide:K6b,useExisting:LD},{provide:A6b,
useExisting:K8.preloadingStrategy}]).\u0275providers:[],MRc;
(K8==null?0:K8.initialNavigation)?MRc=[K8.initialNavigation==="disabled"?Cn(3,[{provide:vVb,multi:!0,useFactory:function(){var a=Xc(HD);return function(){q6b(a)}}},{provide:J6b,useValue:2}]).\u0275providers:[],K8.initialNavigation==="enabledBlocking"?Cn(2,[{provide:J6b,useValue:0},{provide:vVb,multi:!0,deps:[Ne],useFactory:function(a){var b=a.get(CWb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(HD),e=a.get(I6b);DBa(d,function(){c(!0)});a.get(CD).afterPreactivation=
function(){c(!0);return e.closed?pe(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:MRc=[];var NRc=MRc,ORc=(K8==null?0:K8.bindToComponentInputs)?Cn(8,[uD,{provide:z5b,useExisting:uD}]).\u0275providers:[],PRc;if(K8==null?0:K8.enableViewTransitions){var QRc=[{provide:Z5b,useValue:CBa},{provide:ABa,useValue:Object.assign({},{skipNextTransition:!1},void 0)}];PRc=Cn(9,QRc).\u0275providers}else PRc=[];
GRc={ngModule:ND,providers:[M6b,[],{provide:yBa,multi:!0,useValue:[]},HRc,IRc,JRc,KRc,LRc,NRc,ORc,PRc,[{provide:N6b,useFactory:function(){var a=Xc(Ne);return function(b){var c=a.get(hv);if(b===c.components[0]){b=a.get(HD);var d=a.get(I6b);a.get(J6b)===1&&b.initialNavigation();var e;(e=a.get(K6b,null,8))==null||B6b(e);var f;(f=a.get(E6b,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:CVb,multi:!0,useExisting:N6b}]]};var L8=function(a,b){a.config=ERc.map(GAa);a.navigated=!1;a.initialNavigation();J$b(b)};L8.\u0275fac=function(a){return new (a||L8)(n(HD),n(YH))};L8.\u0275mod=cd({type:L8});L8.\u0275inj=Gc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:DD,useClass:Q3},{provide:FWb,useValue:FRc},T3,R3],imports:[GRc,P3,J8,ND]});var RRc=new ld("Environment");var SRc=new ld("Worktracker API Key");var TRc=new ld("G3C API Keys");var M8=function(){};M8.\u0275fac=function(a){return new (a||M8)};M8.\u0275mod=cd({type:M8});M8.\u0275inj=Gc({providers:[{provide:RRc,useFactory:MLb},{provide:TRc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:SRc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var URc=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};g=URc.prototype;g.getId=function(){return this.lookupId_};g.setDisplayName=function(a){this.displayName_=a;return this};g.getDisplayName=function(){return this.displayName_};g.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
g.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var VRc=function(a){this.internalArray_=m(a)};V(VRc,X);VRc.prototype.setDisabled=function(a,b){mc(this,2,Db,a,b,Jl)};VRc.repeatedFields_=[1,2];var N8=function(a){this.internalArray_=m(a)};V(N8,X);g=N8.prototype;g.getEnableClearcut=function(){return hk(this,1,!1)};g.setEnableClearcut=function(a){return Ll(this,1,a)};g.getClientId=function(){return Kj(this,2,0)};g.setClientId=function(a){return Ol(this,2,a)};g.getSocialApplication=function(){return Kj(this,3,0)};g.getSocialApplicationOrUndefined=function(){return Ot(this,3)};g.getComponentFlow=function(){return Kj(this,4,0)};g.setComponentFlow=function(a){return Ol(this,4,a)};
g.getInterfaceType=function(){return Kj(this,5,0)};g.setInterfaceType=function(a){return Ol(this,5,a)};var O8=function(a){this.internalArray_=m(a)};V(O8,X);O8.prototype.getEnableAutocompleteLegalese=function(){return hk(this,11,!1)};var WRc=[0,Yy,-12];var P8=function(a){this.internalArray_=m(a)};V(P8,X);P8.prototype.getApplication=function(){return Kj(this,1,0)};P8.prototype.setApplication=function(a){return Ol(this,1,a)};P8.prototype.getApplicationOrUndefined=function(){return Ot(this,1)};P8.prototype.getIsEnabled=function(){return hk(this,2,!1)};var XRc=function(a){this.internalArray_=m(a)};V(XRc,X);g=XRc.prototype;g.getClearcut=function(){return Gj(this,N8,1)};g.setClearcut=function(a){Pj(this,N8,1,a)};g.hasClearcut=function(){return Ak(this,N8,1)};g.getExperiments=function(){return Gj(this,P8,2)};g.setExperiments=function(a){return Pj(this,P8,2,a)};g.hasExperiments=function(){return Ak(this,P8,2)};g.getFeatures=function(){return Gj(this,VRc,11)};g.getEnableAutocompleteLegalese=function(){return hk(this,13,!0)};var YRc=Uqa(XRc);var ZRc;var $Rc=function(){this.actionListeners=new Map};$Rc.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};$Rc.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)}};
$Rc.prototype.notify=function(a){var b=jd.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=l(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var aSc=function(){this.actionEventDispatcher=new $Rc};var bSc=function(){var a=Nb(ZRc||(ZRc=YRc("[[true,49,740,4],[7,true],null,null,null,null,null,null,null,null,null,null,false,false]")));this.injectorService=new aSc;a.hasClearcut()||a.setClearcut(new N8);a.hasExperiments()||a.setExperiments(new P8);this.internal=a};var iOb=function(a){var b=As.decoratorTypeOrder,c=As.getCompatibleTypes,d=As,e=As.extractor;this.coreTypeOrder=As.coreTypeOrder;this.decoratorTypeOrder=b;this.getCompatibleTypes=c;this.container=d;this.extractor=e;this.configurationKey=a===void 0?"\ud83c\udf68":a};
iOb.prototype.create=function(a){for(var b=this,c=l(this.coreTypeOrder.filter(function(h){var k=b.configurationKey;return b.container.configurations.hasCoreType(h,k===void 0?"\ud83c\udf68":k)})),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("Ff");};
iOb.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 k=d.configurationKey;return d.container.configurations.hasDecoratorType(h,k===void 0?"\ud83c\udf68":k)&&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,k){return k.create(c,h)},a)};var Q8=function(){this.core=new Set;this.decorators=new Set};Q8.prototype.addCoreType=function(a){this.core.add(a)};Q8.prototype.addDecoratorType=function(a){this.decorators.add(a)};Q8.prototype.hasCoreType=function(a){return this.core.has(a)};Q8.prototype.hasDecoratorType=function(a){return this.decorators.has(a)};var cSc=function(){this.configurations=new Map};g=cSc.prototype;g.addCoreType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new Q8);this.configurations.get(b).addCoreType(a)};
g.addDecoratorType=function(a,b){this.configurations.has(b)||this.configurations.set(b,new Q8);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 dSc=function(){this.core=new Map;this.decorator=new Map};g=dSc.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 R8=function(a){var b=this;var c=a.coreTypeOrder;var d=a.decoratorTypeOrder;var e=a.extractor;a=a.getCompatibleTypes;this.configurations=new cSc;this.factories=new dSc;this.coreTypeOrder=c;this.decoratorTypeOrder=d;this.extractor=e;this.getCompatibleTypes=a;eSc.set(this,function(){b.configurations.clear();b.factories.clear()})};
R8.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)};R8.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)};R8.prototype.getCoreFactory=function(a){return this.factories.getCoreFactory(a)};
R8.prototype.getDecoratorFactory=function(a){return this.factories.getDecoratorFactory(a)};var eSc=new Map;var gMb=new R8({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 SLb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,f=a.pixelRatio;Array.isArray(b);a=vs;var h='<div class="'+ws("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+ws(PN(d))+"px; height: "+ws(PN(d))+'px"><div peoplekit-id="'+ws("YLEF4c")+'" class="'+ws("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+ws(PN(d))+"px; height: "+ws(PN(d))+'px">';Array.isArray(b);b.length===1?(Array.isArray(b),b=vs('<div class="'+ws("peoplekitComponentsAvatarImplContainer")+
'">'+S8(b[0],c,d,e,f)+"</div>")):b.length===2?(Array.isArray(b),b=vs('<div class="'+ws("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ws("peoplekitComponentsAvatarImplColumn")+'">'+S8(b[0],c,d,e,f)+"</div>"+T8()+'<div class="'+ws("peoplekitComponentsAvatarImplColumn")+'">'+S8(b[1],c,d,e,f)+"</div></div>")):b.length===3?(Array.isArray(b),b=vs('<div class="'+ws("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ws("peoplekitComponentsAvatarImplColumn")+'">'+S8(b[0],c,d,e,f)+"</div>"+
T8()+'<div class="'+ws("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ws("peoplekitComponentsAvatarImplRow")+'">'+S8(b[1],c,Math.round(d*.5),e,f)+"</div>"+T8()+'<div class="'+ws("peoplekitComponentsAvatarImplRow")+'">'+S8(b[2],c,Math.round(d*.5),e,f)+"</div></div></div>")):(Array.isArray(b),b=vs('<div class="'+ws("peoplekitComponentsAvatarImplContainer")+'"><div class="'+ws("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ws("peoplekitComponentsAvatarImplRow")+'">'+S8(b[0],c,Math.round(d*
.5),e,f)+"</div>"+T8()+'<div class="'+ws("peoplekitComponentsAvatarImplRow")+'">'+S8(b[2],c,Math.round(d*.5),e,f)+"</div></div>"+T8()+'<div class="'+ws("peoplekitComponentsAvatarImplColumn")+'"><div class="'+ws("peoplekitComponentsAvatarImplRow")+'">'+S8(b[1],c,Math.round(d*.5),e,f)+"</div>"+T8()+'<div class="'+ws("peoplekitComponentsAvatarImplRow")+'">'+S8(b[3],c,Math.round(d*.5),e,f)+"</div></div></div>"));b=vs(b);return a(h+b+'</div><div peoplekit-id="'+ws("Btuy5e")+'" class="'+ws("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+vs('<img class="'+ws("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+ws("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},S8=function(a,b,c,d,e){var f='<div peoplekit-id="'+ws("IHgMKc")+'" class="'+ws("peoplekitComponentsAvatarImplImageRoot")+'">',h=ON(Udc(a,c,c,e));h=Fjc(h);a=ON(Udc(a,d,d,e));a=Fjc(a);b=ON(Udc(b,c,c,e));b=Fjc(b);h='<img peoplekit-id="'+ws("HiaYvf")+'" class="'+ws("peoplekitComponentsAvatarImplImage")+'" style="width: '+ws(PN(c))+"px; height: "+ws(PN(c))+
'px;" data-preload-src="'+ws(a)+'" data-src="'+ws(h)+'" data-backup-src="'+ws(b)+'" draggable="false" alt="">';c=vs('<svg xmlns="http://www.w3.org/2000/svg" height="'+ws(c)+'px" viewBox="0 0 24 24" width="'+ws(c)+'px" class="'+ws("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 vs(f+(h+c+"</div>"))},T8=function(){return vs('<div class="'+ws("peoplekitComponentsAvatarImplDivider")+'"></div>')};var fSc=new Map([[0,"light_theme"],[1,"dark_theme"]]);var gSc=!Es&&!tba(),hSc=function(a,b){if(/-[a-z]/.test(b))return null;if(gSc&&a.dataset){if(uba()&&!(b in a.dataset))return null;a=a.dataset[b];return a===void 0?null:a}return a.getAttribute("data-"+YTb(b))};var iSc=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),jSc=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),ULb=function(a,b){this.appearance=b;this.root=a;kSc(this)};g=ULb.prototype;
g.setBadge=function(a){var b=bs(this.root,"Btuy5e");if(a.badgeType===0)b.classList.remove("visible");else{var c=iSc.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(fSc.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=jSc.get(a.badgeType)||"";d=bs(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 kSc=function(a){a=l(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var b=a.next(),c={};!b.done;c={img$jscomp$10:void 0,src$jscomp$65:void 0,imageRoot:void 0,backupSrc:void 0},b=a.next())c.imageRoot=b.value,c.img$jscomp$10=bs(c.imageRoot,"HiaYvf"),b=hSc(c.img$jscomp$10,"preloadSrc"),c.src$jscomp$65=hSc(c.img$jscomp$10,"src"),c.backupSrc=hSc(c.img$jscomp$10,"backupSrc"),QLb(c.src$jscomp$65)?c.img$jscomp$10.src=c.src$jscomp$65:QLb(b)?(c.img$jscomp$10.src=b,Xq(function(d){return function(){d.img$jscomp$10.src=
d.src$jscomp$65}}(c),0)):(c.imageRoot.classList.add("isLoading"),c.img$jscomp$10.onload=function(d){return function(){d.imageRoot.classList.remove("isLoading")}}(c),c.img$jscomp$10.onerror=function(d){return function(){d.img$jscomp$10.getAttribute("src")===d.backupSrc?(d.img$jscomp$10.onerror=null,d.imageRoot.classList.remove("isLoading"),d.imageRoot.classList.add("isNotLoaded")):d.img$jscomp$10.src=d.backupSrc}}(c),c.img$jscomp$10.src=c.src$jscomp$65)};var RLb=function(){this.style=this.theme=this.density=0};g=RLb.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 hMb=ss.getInstance();var cMb=function(a){a=a.memberCount;return(new rnc("{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)},bMb=function(a){a=a.memberNames;Array.isArray(a);return a.join(", ")};var iMb=ss.getInstance();var kMb=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=bs(this.root,"bxvLg");this.eventHandler=es(this);this.eventHandler.listen(this.deleteButton,"click",function(){d.onDeleteButtonClick()})};g=kMb.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.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};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 lSc=function(a,b,c,d,e,f,h,k,q){d=d?ws(d):e?ws("isWarning"):"";return vs('<div role="option" class="'+ws("peoplekitComponentsChipChip")+" "+d+" "+(f?ws("isDeletionDisabled"):"")+'" id="'+ws(a)+'" peoplekit-id="'+ws("XPtOyb")+'" data-hovercard-id="'+ws(c)+'" data-name="'+ws(b)+'"'+(f?"":' aria-describedby="'+ws(a)+'-db"')+'><div class="'+ws("peoplekitComponentsChipChipRow")+" "+ws("peoplekitComponentsChipChipContainer")+'"><div class="'+ws("peoplekitComponentsChipLeft")+'">'+xs(h)+'</div><div class="'+
ws("peoplekitComponentsChipCenter")+'">'+xs(k)+'</div><div class="'+ws("peoplekitComponentsChipRight")+'">'+xs(q)+'</div></div><div peoplekit-id="'+ws("QL45qe")+'"></div></div>')},mSc=function(a){return vs('<div class="'+ws("peoplekitComponentsChipAvatar")+'"><div class="'+ws("peoplekitComponentsChipAvatarContainer")+'" peoplekit-id="'+ws("d6MZcd")+'"></div>'+(MN(a)?xs(a):"")+"</div>")},nSc=function(a){return vs('<div class="'+ws("peoplekitComponentsChipLabelContainer")+'"><div class="'+ws("peoplekitComponentsChipLabel")+
" "+ws("peoplekitComponentsChipLabelRow")+'"><div class="'+ws("peoplekitComponentsChipDisplayLabel")+'" translate="no">'+xs(ys(a))+'</div><div class="'+ws("peoplekitComponentsChipDisambiguationLabel")+'" peoplekit-id="'+ws("hyPgpe")+'" translate="no"></div></div></div>')},oSc=function(a){a='<div id="'+ws(a)+'-db" peoplekit-id="'+ws("bxvLg")+'" class="'+ws("peoplekitComponentsChipDeleteButton")+'" aria-hidden="true" aria-label="'+ws("Press delete to remove this chip")+'">';var b=vs('<svg xmlns="https://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" class="'+
(ws("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 vs(a+b+"</div>")};var jMb=function(a){var b=a.id,c=a.label,d=a.stateClass,e=vs,f=a.name,h=a.hovercardId,k=a.isWarning;a=a.isDeletionDisabled;var q=vs,t;d?t=vs(mSc(vs('<div class="'+ws("peoplekitComponentsChipAvatarExclamationOverlay")+" "+(d?ws(d):"")+'"><div class="'+ws("peoplekitComponentsChipExclamationIcon")+" "+(d?ws(d):"")+'">'+vs('<svg viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M11 14V5h2v9Zm0 5v-2h2v2Z"/></svg>')+"</div></div>"))):t=mSc();return e(lSc(b,f,h,d,k,a,q(""+t),vs(""+nSc(c)),
vs(""+oSc(b))))};var oMb=function(a,b,c){var d=this;this.root=a;this.selection=b;this.selectionsState=c;this.isDisabledInternal=!1;this.deleteButton=bs(this.root,"bxvLg");this.eventHandler=es(this);this.eventHandler.listen(this.deleteButton,"click",function(){return d.onDeleteButtonClick()})};g=oMb.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.dispose=function(){this.eventHandler.removeAll()};g.getRoot=function(){return this.root};g.getSelection=function(){return this.selection};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 nMb=function(a){var b=a.id,c=a.label,d=a.avatarSize;return vs(lSc(b,a.name,a.hovercardId,"",!1,a.isDeletionDisabled,vs('<div class="'+ws("peoplekitComponentsChipPlaceholderAvatarPlaceholder")+" "+ws("peoplekitComponentsChipPlaceholderShimmer")+'" style="width: '+ws(PN(d))+"px; height: "+ws(PN(d))+'px;"></div>'),vs(""+(c?nSc(c):'<div class="'+ws("peoplekitComponentsChipPlaceholderLabelPlaceholder")+" "+ws("peoplekitComponentsChipPlaceholderShimmer")+'"></div>')),vs(""+oSc(b))))};var U8=function(a){this.delegate=a};g=U8.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.dispose=function(){this.delegate.dispose()};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.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 pSc=Object.freeze(new is(NaN,NaN)),qSc=Object.freeze(new XN(NaN,NaN,NaN,NaN)),ls=function(a,b){this.root=a;this.options=b;this.lastPosition=pSc;this.lastBounds=qSc;this.anchorUpdateTimer=new Wz(15);this.eventHandler=es(this);this.attach()};ls.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return rSc(a)})};ls.prototype.isShown=function(){return this.root.style.display!="none"};ls.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};
ls.prototype.show=function(a){this.anchor=a;this.lastPosition=pSc;this.lastBounds=qSc;aO(this.root,!0);rSc(this);this.anchorUpdateTimer.start()};
var rSc=function(a){var b;if(b=a.anchor){if(!(b=!a.lastPosition.equals($N(a.anchor)))){b=a.lastBounds;var c=gs(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=gs(c),b=(c=hs(c))?b.intersection(rMb(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;ks(b,"","");b.style.height=ZN("",!0);var h=wMb(c,e,b,f,d);c=wMb(c,e^1,b,f^1,d);h.height>=
c.height||!d?zMb(b,h):zMb(b,c);a.lastPosition=$N(a.anchor);a.lastBounds=gs(a.root)}};ls.prototype.hide=function(){this.root.style.cssText="";aO(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=pSc;this.lastBounds=qSc};var ms=function(a,b,c){this.tooltip=a;this.showDelayMs=b;this.hideDelayMs=c;this.displayed=!1;this.eventHandler=es(this)};ms.prototype.showTooltip=function(){sSc(this);if(!this.isDisplayed()&&this.anchor){this.displayed=!0;var a;(a=this.showCallback)==null||a.call(this);V8(this)}};ms.prototype.hideTooltip=function(){V8(this);if(this.isDisplayed()&&this.anchor){this.displayed=!1;var a;(a=this.hideCallback)==null||a.call(this);sSc(this)}else V8(this)};ms.prototype.isDisplayed=function(){return this.displayed};
ms.prototype.getAnchorElement=function(){return this.anchor};
var tSc=function(a,b){a.hideCallback=b.hideTooltipCallback;a.showCallback=b.showTooltipCallback},xSc=function(a,b){if(a.anchor)throw Error("Gf");a.anchor=b;uSc(a);vSc(a);wSc(a)},ySc=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)},zSc=function(a){sSc(a);V8(a);a.showTimeout=setTimeout(function(){a.showTooltip()},a.showDelayMs)},ASc=function(a){sSc(a);V8(a);a.hideTimeout=
setTimeout(function(){a.hideTooltip()},a.hideDelayMs)},uSc=function(a){if(!a.anchor)throw Error("Hf");a.eventHandler.listen(a.anchor,"mouseover",function(){a.isDisplayed()?a.showTooltip():zSc(a)});a.eventHandler.listen(a.anchor,"touchstart",function(){zSc(a)});a.eventHandler.listen(a.anchor,"focusin",function(b){a.tooltip.contains(b.relatedTarget)||zSc(a)});a.eventHandler.listen(a.anchor,"touchend",function(){V8(a)});a.eventHandler.listen(a.anchor,"touchcancel",function(){V8(a)});a.eventHandler.listen(a.anchor,
"mouseout",function(){ASc(a)});a.eventHandler.listen(a.anchor,"focusout",function(){a.hideTooltip()})},vSc=function(a){a.eventHandler.listen(a.tooltip,"mouseover",function(){zSc(a)});a.eventHandler.listen(a.tooltip,"mouseout",function(){ASc(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()})},wSc=function(a){a.eventHandler.listen(window,"touchmove",function(){ASc(a)});a.eventHandler.listen(window,
"focus",function(b){b.target!==a.anchor&&ASc(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()})},V8=function(a){clearTimeout(a.showTimeout);a.showTimeout=void 0},sSc=function(a){clearTimeout(a.hideTimeout);a.hideTimeout=void 0};var CMb=function(a,b){this.tooltip=a;this.tooltipEventTracker=b;this.popupService=AMb(this.tooltip,{anchorCorner:3,popupCorner:2})},nNb=function(a,b){xSc(a.tooltipEventTracker,b);tSc(a.tooltipEventTracker,{showTooltipCallback:function(){a.showTooltipCallback()},hideTooltipCallback:function(){a.hideTooltipCallback()}})};g=CMb.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 BMb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes;return vs('<div id="'+ws(a.id)+'" peoplekit-id="'+ws("suEOdc")+'" class="'+ws("peoplekitComponentsTooltipImplTooltip")+(d?" "+ws(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+ws(c)+'"':"")+(MN(e)?Ojc(LN(e,yjc)?e.getContent():Yjc(e)):"")+">"+xs(b)+"</div>")};var ns=function(a,b,c){this.delegate=a;var d=a.getRoot();/-[a-z]/.test("hovercardId")||(gSc&&d.dataset?(/-[a-z]/.test("hovercardId")?0:gSc&&d.dataset?"hovercardId"in d.dataset:d.hasAttribute?d.hasAttribute("data-"+YTb("hovercardId")):d.getAttribute("data-"+YTb("hovercardId")))&&delete d.dataset.hovercardId:d.removeAttribute("data-"+YTb("hovercardId")));d="tt-"+a.getSelection().id().toString();this.tooltip=DMb(a.getRoot(),d,{label:b,ariaLabel:c});nNb(this.tooltip,a.getRoot())};V(ns,U8);
ns.prototype.dispose=function(){ySc(this.tooltip.tooltipEventTracker);U8.prototype.dispose.call(this)};ns.prototype.spotlight=function(){U8.prototype.spotlight.call(this);this.tooltip.showTooltip()};ns.prototype.unspotlight=function(){U8.prototype.unspotlight.call(this);this.tooltip.hideTooltip()};ns.prototype.drag=function(){U8.prototype.drag.call(this);this.tooltip.hideTooltip()};var UMb=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=UMb.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("If");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("If");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 BSc=function(a,b,c,d){this.loggingToken=d;(new URc(a)).setDisplayName(b).forceDisplayNameOverride_=c};BSc.prototype.getLoggingToken=function(){return this.loggingToken};var CSc=function(){};CSc.prototype.getDisplayNameMatches=function(){return[]};CSc.prototype.getDisplayValueMatches=function(){return[]};CSc.prototype.getGivenNameMatches=function(){return[]};var DSc=new CSc;var GMb=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};g=GMb.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("Kf");};g.getDisplayName=function(){return""};g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};
g.getMatchInfo=function(){return DSc};g.getExtendedData=function(){return null};var ESc=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 it=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};g=it.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 FSc=(new it).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),GSc=new it;var W8=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_=this.canonicalValue_="";this.name_=null;this.photo_=ft(this.id_)?GSc:FSc;this.tags_=[];this.sourceIds_=EPb.includes(this.id_.getType())?[this.id_]:[];this.id_.getType()===8&&this.sourceIds_.push(BPb(this.id_.getOriginalValue()));this.isMe_=this.id_.getType()===17;this.dataSource_=0;this.resultType_=ESc.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=
this.reachabilityInfo_=this.originatingField_=this.emailSecurityInfo_=null};g=W8.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_=os(a);return this};g.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return os(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_=os(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_=os(a);return this};g.getPhoto=function(){return this.photo_};g.setPhoto=function(a){a&&a.getUrl()&&a.getType()!==1?this.photo_=a:this.photo_=ft(this.id_)?GSc:FSc};
g.getTagList=function(){return this.tags_};var JPb=function(a,b){a.tags_=b||[]};g=W8.prototype;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 Bt};
g.getIsMe=function(){return this.isMe_};var HPb=function(a,b){a.isMe_=b;return a};g=W8.prototype;g.getDataSource=function(){return this.dataSource_};g.setDataSource=function(a){this.dataSource_=a;return this};g.getResultType=function(){return this.resultType_};g.getFieldLoggingId=function(){return this.fieldLoggingId_};g.setFieldLoggingId=function(a){this.fieldLoggingId_=os(a)};g.getPersonLoggingId=function(){return this.personLoggingId_};g.setPersonLoggingId=function(a){this.personLoggingId_=os(a)};
g.getOrgState=function(){return this.orgState_};g.getOriginatingField=function(){return this.originatingField_};var AQb=function(a,b){a.originatingField_=b;return a};W8.prototype.getEmailSecurityInfo=function(){return this.emailSecurityInfo_};var LPb=function(a,b){a.emailSecurityInfo_=b};W8.prototype.getReachabilityInfo=function(){return this.reachabilityInfo_};var NPb=function(a,b){a.reachabilityInfo_=b};W8.prototype.getExtendedData=function(){return this.extendedData_};var ht=function(a){return new W8(a)};var HSc=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=ht(this.internalId).setDataSource(3);this.internalResult=new vp(HMb(0,[a]));this.internalSelectionToken=new BSc(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};g=HSc.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.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};g.isPlaceholder=function(){return!0};var MMb=function(a,b){this.root=a;this.options=b};g=MMb.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 new HSc(DPb(this.options.id))};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var LMb=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.ariaLabel,e=a.id,f=a.iconUrl;a=a.label;Array.isArray(b);c='<div role="menuitem" id="'+ws(e)+'" peoplekit-id="'+ws("UhZROb")+'" class="'+ws("peoplekitComponentsContextmenuitemImplMenuItem")+" "+ws(c)+'"'+(d?' aria-label="'+ws(d)+'"':"")+'><div class="'+ws("peoplekitComponentsContextmenuitemImplRow")+'">'+(MN(f)?'<img class="'+ws("peoplekitComponentsContextmenuitemImplIcon")+" "+ws("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
ws(Tjc(f))+'" draggable="false" alt=""/>':"")+'<div class="'+ws("peoplekitComponentsContextmenuitemImplLabel")+" "+ws("peoplekitComponentsContextmenuitemImplCenter")+'">'+xs(a)+"</div>";b.length>0&&(c+='<div class="'+ws("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+ws("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">',c+=xs(b.join("+"))+"</span></div>");return vs(c+"</div></div>")};var mPb=new Map([["pcw-select",3],["pcw-deselect",3],["pcw-click",3],["pcw-input",15]]);var IMb=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 ts=function(a,b){this.ariaParent=a;this.delegate=b};g=ts.prototype;g.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),ZI(this.ariaParent,a)):ZI(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.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 OMb=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(r(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};g=OMb.prototype;
g.remove=function(a,b){var c=-1;a=l(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(r(b)));c?(ISc(this),JSc(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&&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&&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:ISc(this);KSc(this);break;case 3:KSc(this);break;case 1:a=QMb(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=QMb(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);JSc(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};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=l(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();ISc(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(r(this.secondaryEventTargets));b=l(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 KSc=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},ISc=function(a){for(var b=l(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},JSc=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 X8=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};X8.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};X8.prototype.preventDefault=function(){this.event.preventDefault()};var RMb=function(a,b){this.input=this.navigatable=null;this.navigatePastBeginCallback=a.navigatePastBegin||function(){};this.navigatePastEndCallback=a.navigatePastEnd||function(){};this.options=Object.assign({},{shouldReactToHomeEnd:!0},b);this.eventHandler=es(this)};g=RMb.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(new X8(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new X8(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};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 40:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case 38:this.navigatable.prev(0)||this.navigatePastBeginCallback();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 LSc=new uz;LSc.altKey=!0;LSc.keyCode=39;(new uz).keyCode=13;var MSc=function(){sz.call(this)};V(MSc,sz);MSc.prototype.init=function(){};new MSc;var us=function(a,b,c,d,e){this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=AMb(this.root,{});this.navigatable=PMb(c);this.navigationEventHandler=SMb({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=es(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()};
us.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=NMb(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(qs(e))}d.stopPropagation();NSc(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
us.prototype.show=function(){for(var a=l(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)};us.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=l(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
us.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(qs(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);NSc(this,b);this.hide();a.stopPropagation();a.preventDefault()}}};
var OSc=function(a,b){a.itemSelectedCallbacks.add(b)},PSc=function(a,b){a.afterHideCallbacks.add(b)},NSc=function(a,b){a=l(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};us.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 TMb=function(){return vs('<div peoplekit-id="'+ws("xl07Ob")+'" class="'+ws("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var XMb=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=es(this);this.eventHandler.listen(this.root,"click",function(c){var d;(d=b.onClick)==null||d.call(b,c)})};g=XMb.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 WMb=function(a){a=a.label;return vs('<button class="'+ws("peoplekitComponentsButtonLabelLabelButton")+'">'+xs(a)+"</button>")};var jNb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=es(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=bs(this.root,"Sx9Kwc");this.startFocusableElement=bs(this.root,"tYwGbe");this.endFocusableElement=bs(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=jNb.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=l(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(qs(a))}};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=OLb(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=OLb(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=l(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var cNb=function(a){var b=a.content,c=a.header;a=a.confirmAction;return vs('<div peoplekit-id="'+ws("GGAcbc")+'" class="'+ws("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+ws("tYwGbe")+'" tabindex="0" role="application"></div><div peoplekit-id="'+ws("Sx9Kwc")+'" class="'+ws("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog">'+(MN(c)?xs(c):"")+'<div class="'+ws("peoplekitComponentsDialogImplContent")+'">'+xs(b)+'</div><div class="'+
ws("peoplekitComponentsDialogImplActions")+'">'+vs(QSc("IbE0S"))+(a?vs('<div class="'+ws("peoplekitComponentsDialogImplActionDivider")+'"></div>')+vs(QSc("McfNlf")):"")+'</div></div><div peoplekit-id="'+ws("dYgZK")+'" tabindex="0" role="application"></div></div>')},QSc=function(a){return vs('<div peoplekit-id="'+ws(a)+'"></div>')},fNb=function(a){a=a.header;return vs('<div class="'+ws("peoplekitComponentsDialogImplTextHeader")+'">'+xs(a)+"</div>")};var dNb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=es(this);this.dialog=bs(this.root,"Sx9Kwc");this.startFocusableElement=bs(this.root,"tYwGbe");this.endFocusableElement=bs(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=dNb.prototype;g.subscribeToAction=function(a){this.actionListeners.push(a)};g.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&a===2)for(var b=l(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};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=OLb(this.dialog);a.length&&a[0].focus()};g.focusLastFocusableElement=function(){var a=OLb(this.dialog);a.length&&a[a.length-1].focus()};g.onScrimClick=function(){this.dispatchAction(2)};var ZMb=new Map([[0,"peoplekitStyleLegacy"],[1,"peopleKitStyleGm3"]]);var aNb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var zs=function(a){this.dialog=a};zs.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};zs.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};zs.prototype.getRoot=function(){return this.dialog.getRoot()};zs.prototype.dispose=function(){this.dialog.dispose()};var Y8=function(a){this.delegate=a};g=Y8.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 Bs=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=bs(a.getRoot(),"QL45qe");this.eventHandler=es(this);this.eventHandler.listen(document,"click",function(h){f.contextMenuContainer.contains(h.target)||RSc(f)});this.eventHandler.listen(document,"keydown",function(h){if(f.contextMenu)f.contextMenu.onKeyDown(new X8(h))})};
V(Bs,Y8);Bs.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else Y8.prototype.onKeyDown.call(this,a)};
Bs.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&RSc(this);this.contextMenu=VMb(this.contextMenuContainer,this.getRoot(),this.ariaParent,this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(JMb(a));OSc(this.contextMenu,function(d){switch(d.id){case "ENOWEf":c.groupMembers.length<2?SSc(c):TSc(c);break;default:throw Error("Nf`"+d.id);}RSc(c)});PSc(this.contextMenu,function(){RSc(c);b()});this.contextMenu.show();
return function(){RSc(c)}};Bs.prototype.dispose=function(){this.eventHandler.removeAll();Y8.prototype.dispose.call(this)};
var SSc=function(a){USc(a);a.dispatcher.notify(8);a.hideConfirmationDialog=kNb(PLb(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));USc(a)})},USc=function(a){var b;(b=a.hideConfirmationDialog)==null||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},TSc=function(a){VSc(a);a.dispatcher.notify(8);
a.hideGroupErrorDialog=hNb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){VSc(a)})},VSc=function(a){var b;(b=a.hideGroupErrorDialog)==null||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},RSc=function(a){var b;(b=a.contextMenu)==null||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var As=new R8({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 st=function(a){this.internalArray_=m(a)};V(st,X);st.repeatedFields_=[3];var gQb=new Zy(417869137,st);var Cs=function(){};Cs.prototype.filterResult=function(a){var b,c;return((b=a.getExtendedData())==null?void 0:(c=b.getExtension(gQb))==null?void 0:yt(c,1))===1?a:null};Cs.prototype.reset=function(){};var WSc=function(a){return"To unhide this suggestion, press "+a.shortcutKey+" + Enter.  "};var oNb=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=es(this);this.onClick=f;this.eventHandler.listen(this.root,"click",function(k){var q;(q=h.onClick)==null||q.call(h,k)});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=oNb.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&&ySc(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 XSc=0;var mNb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+XSc++:"")?' data-tooltip-id="'+ws(a)+'" aria-labelledby="'+ws(a)+'"':c?' aria-label="'+ws(c)+'"':"";d+='<button class="'+ws("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+vs('<span><img src="'+ws(Tjc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+ws("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return vs(d)};var qNb=function(a,b,c){this.delegate=a;var d=this;this.secondaryActionConfig=c;for(var e=bs(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=pNb(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&&XI(this.buttonRoot,"menuitem");ps({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(qs(d.buttonRoot))};this.eventHandler=es(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};V(qNb,Y8);g=qNb.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(),YI(this.buttonRoot,"hidden","true"),a.stopPropagation(),a.preventDefault()):(this.secondaryActionButton.activate(),YI(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();Y8.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 YSc={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"},ZSc=WSc({shortcutKey:"Ctrl"}),$Sc=WSc({shortcutKey:"\u2318"}),sNb=function(a,b,c,d){var e=b.getTheme()===0?YSc.LIGHT_THEME:YSc.DARK_THEME,f=zba()?$Sc:ZSc;Y8.call(this,rNb(a,b,{icon:e,tooltipLabel:"Unhide suggestion",ariaLabel:f,onClick:function(k){h.onButtonClick(k)},disableDomNavigation:!0},d));var h=
this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};V(sNb,Y8);sNb.prototype.onButtonClick=function(a){aTc(this);a.stopPropagation()};
var aTc=function(a){a.unhideConfirmationDialog&&bTc(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=kNb(PLb(a.getRoot()),a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){b===1&&a.dispatcher.notify(4,a.getAllIds());bTc(a)})},bTc=function(a){var b;(b=a.unhideConfirmationDialog)==null||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var cTc=function(){this.label="";this.type=0};g=cTc.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 dTc=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};g=dTc.prototype;g.getAllowResultDeselection=function(){return!1};g.getWarnForExternalSelections=function(){return!1};g.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};g.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};g.setResultCustomizationCallback=function(a){this.resultCustomizationCallback=a};var eTc=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 cTc;this.result=new dTc;this.appearance=new RLb};g=eTc.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 fTc=function(a){this.environmentConfig=a;this.autocomplete=new eTc(a);this.autocomplete.setClearSelectionsOnSearch(!0)};g=fTc.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 ANb=function(a){this.root=a;this.length=0};g=ANb.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("If");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("If");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
g.clear=function(){f0b(this.root);this.length=0};g.getRoot=function(){return this.root};var yNb=function(a){return vs('<ul id="'+ws(a.id)+'" peoplekit-id="'+ws("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+ws("peoplekitComponentsListImplList")+'"></ul>')};var zNb=ss.getInstance();var gTc=function(a){this.delegate=a};g=gTc.prototype;g.prev=function(a){a=this.delegate.prev(a);hTc(this);return a};g.next=function(a){a=this.delegate.next(a);hTc(this);return a};g.size=function(){return this.delegate.size()};g.goToItem=function(a,b){a=this.delegate.goToItem(a,b);hTc(this);return a};g.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);hTc(this);return a};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 hTc=function(a){(a=a.delegate.getSpotlitItem())&&ENb(a.getRoot())};var iTc=[0,Yy,Xy];var jTc=[0,Yy,-5];var kTc=[0,Yy];var lTc=[0,Yy];var mTc=[0,Yy,VZb];var Js=function(a){this.internalArray_=m(a)};V(Js,X);Js.prototype.getRequestType=function(){return Kj(this,1,0)};Js.prototype.setRequestType=function(a){return Ol(this,1,a)};var nTc=[0,$Zb,99,mTc,[0],[0],jTc,lTc,iTc,WRc,kTc,[0]];var oTc=function(){var a=new Js,b=new O8;this.experimentFlags_=Pj(a,O8,107,b)};oTc.prototype.getExperimentFlags=function(){return this.experimentFlags_};oTc.prototype.getExperimentIds=function(){return[]};var UOb=function(a,b){this.cache=b;this.overriddenExperiments=Gj(a,O8,3)||new O8};UOb.prototype.getExperiments=function(){var a,b=((a=this.cache.getExperimentFlags())==null?void 0:Gj(a,O8,107))||new O8;a=this.overriddenExperiments;tl(a,3)&&(a=hk(a,3,!1),Ll(b,3,a));return b};UOb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var pTc=function(a){this.internalArray_=m(a)};V(pTc,X);g=pTc.prototype;g.getCacheStaleSec=function(){return Lj(this,4,14400)};g.getCacheExpiredSec=function(){return Lj(this,5,1209600)};g.getRpcTimeoutSec=function(){return Lj(this,7,60)};g.getApiKey=function(){return Zh(this,8,"")};g.setApiKey=function(a){return Sj(this,8,a)};g.getEnableClearcut=function(){return hk(this,13,!0)};g.setEnableClearcut=function(a){return Ll(this,13,a)};var SOb=Uqa(pTc);var ROb;var qTc=function(){};qTc.prototype.getExperimentFlags=function(){return new Js};qTc.prototype.getExperimentIds=function(){return[]};var Vs=function(){};Vs.prototype.prefetch=function(){};Vs.prototype.loadExperiments=function(){return new qTc};var Z8=function(a){this.internalArray_=m(a)};V(Z8,X);Z8.prototype.getVersion=function(){return Jj(this,1)};Z8.prototype.setVersion=function(a){return Tl(this,1,a)};Z8.prototype.getVersionOrUndefined=function(){return It(this,1)};var $8=function(a){this.internalArray_=m(a)};V($8,X);g=$8.prototype;g.getApplication=function(){return Kj(this,1,0)};g.setApplication=function(a){return Ol(this,1,a)};g.getApplicationOrUndefined=function(){return Ot(this,1)};g.getVersion=function(){return Jj(this,2)};g.setVersion=function(a){return Tl(this,2,a)};g.getVersionOrUndefined=function(){return It(this,2)};var rTc=function(a){this.internalArray_=m(a)};V(rTc,X);g=rTc.prototype;g.getRequestType=function(){return Kj(this,1,0)};g.setRequestType=function(a){return Ol(this,1,a)};g.getProfileId=function(){return Zh(this,2)};g.getProfileId_legacyNullable=function(){return Tj(this,2)};g.setProfileId=function(a){return Sj(this,2,a)};g.hasProfileId=function(){return vl(this,2)};g.getCaller=function(){return Gj(this,Z8,3)};g.setCaller=function(a){return Pj(this,Z8,3,a)};
g.getInstanceId=function(){return Zh(this,4)};g.setInstanceId=function(a){return Sj(this,4,a)};g.clearInstanceId=function(){ro(this,4)};g.hasInstanceId=function(){return vl(this,4)};g.getInstanceIdOrUndefined=function(){return Jm(this,4)};g.getClient=function(){return Gj(this,$8,5)};g.setClient=function(a){return Pj(this,$8,5,a)};g.hasClient=function(){return Ak(this,$8,5)};var Gs=function(a){this.internalArray_=m(a)};V(Gs,X);Gs.prototype.getErrorType=function(){return Kj(this,2,1)};Gs.prototype.setErrorType=function(a){return Ol(this,2,a)};Gs.prototype.getErrorMessage=function(){return Zh(this,3)};Gs.prototype.setErrorMessage=function(a){Sj(this,3,a)};var Is=function(a){this.internalArray_=m(a)};V(Is,X);g=Is.prototype;g.getExperimentFlags=function(){return Gj(this,Js,1)};g.setExperimentFlags=function(a){return Pj(this,Js,1,a)};g.hasExperimentFlags=function(){return Ak(this,Js,1)};g.getError=function(){return Gj(this,Gs,2)};g.setError=function(a){Pj(this,Gs,2,a)};g.hasError=function(){return Ak(this,Gs,2)};g.getSource=function(){return Kj(this,3,0)};g.setSource=function(a){return Ol(this,3,a)};g.hasSource=function(){return wl(this,3)};
g.getSourceOrUndefined=function(){return Ot(this,3)};g.getInstanceId=function(){return Zh(this,4)};g.setInstanceId=function(a){return Sj(this,4,a)};g.clearInstanceId=function(){ro(this,4)};g.hasInstanceId=function(){return vl(this,4)};g.getInstanceIdOrUndefined=function(){return Jm(this,4)};g.getExperimentIdsList=function(a){return Zk(this,5,Ai(a))};g.setExperimentIdsList=function(a){return hc(this,5,a,Eb)};g.getExperimentIds=function(){return yu(this,5)};
g.setExperimentIds=function(a){Bu(this,5,a)};Is.repeatedFields_=[5];var sTc=function(a,b){this.client_=a;this.runtime_=b;HNb();this.apiKey_=a.getApiKey();this.apiRoot_=Zh(this.client_,10)||tJa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};sTc.prototype.getClient=function(){return this.client_};sTc.prototype.getApiKey=function(){return this.apiKey_};var a9=function(a){this.internalArray_=m(a)};V(a9,X);g=a9.prototype;g.getExperimentFlags=function(){return Gj(this,Js,1)};g.setExperimentFlags=function(a){return Pj(this,Js,1,a)};g.hasExperimentFlags=function(){return Ak(this,Js,1)};g.getObfuscatedGaiaId=function(){return Tj(this,2)};g.getObfuscatedGaiaId_legacyNullable=function(){return Tj(this,2)};g.setObfuscatedGaiaId=function(a){Sj(this,2,a)};g.getExperimentIdsList=function(a){return Zk(this,3,Ai(a))};
g.setExperimentIdsList=function(a){return hc(this,3,a,Eb)};g.getExperimentIds=function(){return yu(this,3)};g.setExperimentIds=function(a){Bu(this,3,a)};var tTc=ai(a9);a9.repeatedFields_=[3];var uTc=[0,nTc,ZZb,WZb];var vTc=function(a){var b=void 0;b=b===void 0?Date.now:b;this.clientConfig_=a;this.now_=b},wTc=function(a,b,c){a=a.now_()-c*1E3;return b>a};vTc.prototype.getCacheState=function(a){var b=Lj(this.clientConfig_.getClient(),3,1800);if(wTc(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(wTc(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return wTc(this,a,b)?3:4};var xTc=function(a){this.internalArray_=m(a)};V(xTc,X);g=xTc.prototype;g.getExperiments=function(){return Gj(this,a9,2)};g.setExperiments=function(a){return Pj(this,a9,2,a)};g.hasExperiments=function(){return Ak(this,a9,2)};g.getInstanceId=function(){return Zh(this,4)};g.setInstanceId=function(a){return Sj(this,4,a)};g.clearInstanceId=function(){ro(this,4)};g.hasInstanceId=function(){return vl(this,4)};g.getInstanceIdOrUndefined=function(){return Jm(this,4)};
var yTc=[0,ZZb,uTc,VZb,ZZb],zTc=Tqa(xTc,yTc),ATc=function(a){return function(b){var c=new TZb;Fqa(b.internalArray_,c,Uh(a));return Xba(UZb(c))}}(yTc);var Hs=function(a,b){b=Error.call(this,b===void 0?"":b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.type=a};V(Hs,Error);var BTc=new Hs(6);var CTc=function(){};var b9=function(){};gu(b9,CTc);b9.prototype.getCount=function(){for(var a=0,b=l(this),c=b.next();!c.done;c=b.next())a++;return a};b9.prototype[Symbol.iterator]=function(){return R6b(this.__iterator__(!0)).toEs6()};b9.prototype.clear=function(){var a=Array.from(this);a=l(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var DTc=function(a){this.storage_=a;this.cachedIsStorageAvailable_=null};gu(DTc,b9);g=DTc.prototype;g.set=function(a,b){c9(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){c9(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){c9(this);this.storage_.removeItem(a)};
g.getCount=function(){c9(this);return this.storage_.length};g.__iterator__=function(a){c9(this);var b=0,c=this.storage_,d=new TD;d.next=function(){if(b>=c.length)return Q6b;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(){c9(this);this.storage_.clear()};g.key=function(a){c9(this);return this.storage_.key(a)};
var c9=function(a){if(a.storage_==null)throw Error("Of");var b;((b=a.cachedIsStorageAvailable_)!=null?b:a.cachedIsStorageAvailable_=SNb(a.storage_))||Ca(Error("Of"))},SNb=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 ONb=function(){var a=null;try{a=Ba.localStorage||null}catch(b){}DTc.call(this,a)};gu(ONb,DTc);var Fs=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};gu(Fs,b9);Fs.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};Fs.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};Fs.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
Fs.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new TD;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 LNb=["PeopleStackExperiments"],Ls=function(a,b){b=b===void 0?new ONb:b;this.clientConfig_=a;this.transformer_=new vTc(this.clientConfig_);this.localStorage_=b;this.storage_=new Fs(this.localStorage_,"pse/591286274")};Ls.prototype.set=function(a,b){var c=KNb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw BTc;var d=new xTc;b=Sj(d,1,c).setExperiments(b);d=Date.now();a=Tl(b,3,d).setInstanceId(a.getInstanceId());this.storage_.set(c,zda(ATc(a)));return c};
Ls.prototype.get=function(a){a=KNb(a);if(!a)return null;a=this.storage_.get(a);if(!a)return null;a=ETc(a);if(a&&this.transformer_.getCacheState(Jj(a,3))!==4){var b=this.transformer_,c;var d={keyPath:Zh(a,1),experiments:(c=a.getExperiments())!=null?c:new a9,lastUpdated:new Date(Jj(a,3)),state:b.getCacheState(Jj(a,3)),instanceId:a.getInstanceId()}}else d=null;return d};var ETc=function(a){if(!a)return null;try{return zTc(a)}catch(b){return null}};
Ls.prototype.delete=function(a){this.storage_.remove(a);return!0};Ls.prototype.clean=function(){var a=[].concat(r(this.storage_));a=l(a);for(var b=a.next();!b.done;b=a.next())b=b.value,FTc(this,b)!==4&&FTc(this,b)!==0||this.delete(b);a=l(MNb(this.localStorage_));for(b=a.next();!b.done;b=a.next())b.value.clear()};var FTc=function(a,b){return b&&(b=ETc(a.storage_.get(b)),b==null?0:El(b,3))?a.transformer_.getCacheState(Jj(b,3)):0};var Ms=function(a){var b=void 0;b=b===void 0?new Map:b;this.clientConfig_=a;this.transformer_=new vTc(this.clientConfig_);this.cache_=b};Ms.prototype.set=function(a,b){var c=KNb(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw BTc;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
Ms.prototype.get=function(a){a=KNb(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};Ms.prototype.delete=function(a){this.cache_.delete(a);return!0};Ms.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){a.transformer_.getCacheState(b.lastUpdated.getTime())===4&&a.cache_.delete(c)})};var GTc=function(){};g=GTc.prototype;g.start=function(){};g.stop=function(){};g.count=function(){};g.latency=function(){};g.error=function(){};g.status=function(){};g.logError=function(){};var HTc=function(a){this.internalArray_=m(a)};V(HTc,X);g=HTc.prototype;g.getCaller=function(){return Gj(this,Z8,1)};g.setCaller=function(a){return Pj(this,Z8,1,a)};g.getClient=function(){return Gj(this,$8,2)};g.setClient=function(a){return Pj(this,$8,2,a)};g.hasClient=function(){return Ak(this,$8,2)};var ITc=function(a){this.internalArray_=m(a)};V(ITc,X);g=ITc.prototype;g.getRequestType=function(){return Kj(this,1,0)};g.setRequestType=function(a){return Ol(this,1,a)};g.setProperties=function(a){return Pj(this,HTc,3,a)};g.getInstanceId=function(){return Zh(this,4)};g.setInstanceId=function(a){return Sj(this,4,a)};g.clearInstanceId=function(){ro(this,4)};g.hasInstanceId=function(){return vl(this,4)};g.getInstanceIdOrUndefined=function(){return Jm(this,4)};var JTc=new EZ("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",ITc,a9,function(a){return a.serialize()},tTc);var KTc=function(a){this.client_=new RCc({format:"jspb"});this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};KTc.prototype.getExperimentFlags=function(a,b){return MZ(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},JTc)};var LTc=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new GTc};LTc.prototype.getMetric=function(){return this.metric_};LTc.prototype.send=function(a){var b=this,c;return ge(function(d){var e=(new HTc).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new ITc).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
LTc.prototype.close=function(){};LTc.prototype.processResponse=function(a){return a};var MTc=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var NTc=function(a,b){this.config_=a;this.request_=b;this.resolver_=new MTc;this.rpcPromise_=null;this.state_=0};g=NTc.prototype;g.resultPromise=function(){return this.resolver_.promise};g.isPending=function(){return this.state_===1};g.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=C0b(new Vz),this.resolver_.reject(1)}};
g.send=function(){var a=this;if(this.state_!==0)return this.resultPromise();var b=sJa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=M0b(F0b([b,V0b(this.config_.timeoutSec*1E3,"TIMEOUT")]),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(a&&a!=="TIMEOUT"){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}this.resolver_.resolve(b);this.request_.close(0)}else this.onError_(a)};
g.onError_=function(a,b){b=b===void 0?0:b;if(a==="TIMEOUT")var c=4;else a instanceof Vz?c=1:a&&typeof a==="object"?(c=a.code||2,c===2&&(c=gp("result.error.code",a)||a.status,c=Number(c),c=Nhc.has(c)?Nhc.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;!this.config_.authErrorHandler||c!==16&&c!==7||this.config_.authErrorHandler();this.resolver_.reject(c);this.request_.close(c,b)};var OTc=Symbol("Pf"),PTc=function(){};PTc.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[OTc]=d)}return c})};var QTc=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};QTc.prototype.getMetric=function(){return this.metric_};QTc.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
QTc.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[OTc]||0}};QTc.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 RTc=function(a){this.config_=a;this.pendingRpcs_=new Set},TTc=function(a,b){b=new QTc(b);b=new NTc(a.config_,b);a.pendingRpcs_.add(b);STc(a,b);return b.resultPromise()},STc=function(a,b){ge(function(c){if(c.nextAddress==1)return he(c,2,3),ie(c,b.send(),3);if(c.nextAddress!=2)return je(c),a.pendingRpcs_.delete(b),ke(c,0);le(c);return c.jumpTo(3)})};var QNb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new RTc(a);this.rpcClient_=new KTc(this.clientConfig_.apiRoot_)},VTc=function(a,b){var c,d,e,f;return ge(function(h){switch(h.nextAddress){case 1:var k=UTc(b);if(c=a.inflightRequests_.get(k)||null)return h.return(c);d=new LTc(b,a.rpcClient_);he(h,2,3);e=TTc(a.dispatcher_,d);k=UTc(b);a.inflightRequests_.set(k,
e);return ie(h,e,5);case 5:return f=h.yieldResult,h.return(f);case 3:je(h);k=UTc(b);a.inflightRequests_.delete(k);ke(h,0);break;case 2:throw le(h),Error("Qf");}})},UTc=function(a){a=JNb(a);if(!a)throw BTc;return a};var WTc=function(a){this.internalArray_=m(a)};V(WTc,X);g=WTc.prototype;g.getInstanceId=function(){return Zh(this,1)};g.setInstanceId=function(a){return Sj(this,1,a)};g.clearInstanceId=function(){ro(this,1)};g.hasInstanceId=function(){return vl(this,1)};g.getInstanceIdOrUndefined=function(){return Jm(this,1)};g.getRequestId=function(){return Zh(this,2)};g.getRequestType=function(){return Kj(this,4,0)};g.setRequestType=function(a){return Ol(this,4,a)};g.getSourceType=function(){return Kj(this,6,0)};
g.setSourceType=function(a){return Ol(this,6,a)};g.getClient=function(){return Kj(this,7,0)};g.setClient=function(a){return Ol(this,7,a)};g.hasClient=function(){return wl(this,7)};g.getErrorType=function(){return Kj(this,8,0)};g.setErrorType=function(a){return Ol(this,8,a)};var RNb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=Kt(new Lt,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(652523468).setEnableClearcut(b.getEnableClearcut())};g=RNb.prototype;g.getLogContext=function(){return this.logContext_};g.createCountMetric=function(){throw Error("pf");};g.createStatusMetric=function(){throw Error("pf");};g.createErrorMetric=function(){throw Error("pf");};
g.createLatencyMetric=function(a,b){a=b.source();b=Math.round(b.duration()*1E3);Tl(a,3,b);return a};var XTc=function(a,b){this.metrics_=a;this.state_=new gN(b);this.label_="total";this.source=b};XTc.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};XTc.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var TNb=function(a,b){this.worker_=a;this.metrics_=Ys(b)},YTc=function(a,b){var c=new WTc,d=HNb();c=Sj(c,2,d).setRequestType(a.getRequestType());return Ol(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
TNb.prototype.updateExperimentsCache=function(a,b){b=b===void 0?2:b;var c=this,d,e,f,h;return ge(function(k){if(k.nextAddress==1)return d=YTc(a,b),e=new XTc(c.metrics_,d),e.start(),ie(k,c.worker_.updateExperimentsCache(a,b),2);f=k.yieldResult;d.setSourceType(f.getSourceOrUndefined());d.setInstanceId(f.getInstanceIdOrUndefined());(h=f.getError())&&d.setErrorType(h.getErrorType());e.stop();return k.return(f)})};
TNb.prototype.getCachedExperiments=function(a,b){b=b===void 0?0:b;var c=YTc(a,b),d=new XTc(this.metrics_,c);d.start();a=this.worker_.getCachedExperiments(a,b);c.setSourceType(a.getSourceOrUndefined());c.setInstanceId(a.getInstanceIdOrUndefined());(b=a.getError())&&c.setErrorType(b.getErrorType());d.stop();return a};var ZTc=function(a){this.timer=a;this.count=0},VNb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=Lj(this.clientConfig_.getClient(),11,14400)*1E3;this.eventHandler_=new ds(this)};VNb.prototype.updateExperimentsCache=function(a,b){try{return $Tc(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(Ks(c))}};VNb.prototype.getCachedExperiments=function(a,b){try{return $Tc(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return Ks(c)}};
var $Tc=function(a,b){var c=JNb(b);if(!c)throw new Hs(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new Wz(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=Lj(a.clientConfig_.getClient(),12,18);e.count>=f&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new ZTc(d))}a.refreshers_.get(c)};var aUc=function(){},UNb=function(a,b){this.cache_=a;this.loader_=b};
UNb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,f,h;return ge(function(k){if(k.nextAddress==1){e=d=null;try{d=bUc(c,a)}catch(y){e=y}if(d&&d.state!==3)return k.return(c.getCachedExperiments(a,b));he(k,3);return ie(k,cUc(c,a),5)}if(k.nextAddress!=3){f=k.yieldResult;var q=k.return,t=f,w=e;w=w===void 0?null:w;t=(new Is).setExperimentFlags(t.getExperimentFlags()).setExperimentIdsList(t.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());w&&t.setError(NNb(w));
return q.call(k,t)}h=le(k);return k.return(Ks(h))})};UNb.prototype.getCachedExperiments=function(a){try{var b=bUc(this,a);if(b){var c=(new Is).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);b.state!==1&&cUc(this,a).catch(aUc);return c}cUc(this,a).catch(aUc);return Ks()}catch(d){return Ks(d)}};
var bUc=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof Hs)throw d;throw new Hs(3);}},cUc=function(a,b){var c,d;return ge(function(e){if(e.nextAddress==1)return he(e,2),b.hasInstanceId()||b.setInstanceId(HNb()),ie(e,VTc(a.loader_,b),4);if(e.nextAddress!=2)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=le(e);if(d instanceof Hs)throw d;throw new Hs(2);})};var PNb;var dUc=function(a){this.clientConfig_=a;this.worker_=WNb(this.clientConfig_)};dUc.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var Ws=function(){this.peopleApiEnv_=4};Ws.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};Ws.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var eUc=function(a,b){this.client_=a;this.request_=b;this.response_=null};eUc.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};eUc.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList(Bi)};var TOb=function(a,b){this.clientConfig_=a;this.requestType_=b};TOb.prototype.prefetch=function(a){var b=new sTc(this.clientConfig_,new Ws);a=fUc(this,a,"");WNb(b).updateExperimentsCache(a,2)};TOb.prototype.loadExperiments=function(a,b,c){var d=new sTc(this.clientConfig_,b),e=fUc(this,a,c);WNb(d).updateExperimentsCache(e,2);b=new dUc(new sTc(this.clientConfig_,b));a=fUc(this,a,c);return new eUc(b,a)};var fUc=function(a,b,c){var d=new Z8;b=(new $8).setApplication(b);return(new rTc).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var ZNb=new UOb(new P8,new oTc);var $Nb=ss.getInstance();var aOb=ss.getInstance();var gUc=new zB(aP.WEEKDAY_MONTH_DAY_MEDIUM),hUc=new zB(7);new zB(aP.WEEKDAY_MONTH_DAY_MEDIUM);var iUc=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var jUc=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return vs('<div class="'+ws("peoplekitComponentsTagTag")+" "+(a?ws(a):"")+'" peoplekit-id="'+ws("mQXP")+'">'+(MN(b)?'<img class="'+ws("peoplekitComponentsTagIcon")+'" src="'+ws(Tjc(b))+'" alt="'+ws(c)+'"><div'+(d?"":' class="'+ws("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+ws("peoplekitComponentsTagText")+'">'+xs(c)+"</div></div>":'<div class="'+ws("peoplekitComponentsTagText")+'">'+xs(c)+"</div>")+
"</div>")};var cOb=function(a,b,c,d,e,f){var h=this;this.root=a;this.avatar=e;this.features=f;this.isIntelligenceInitialized=this.isOutOfOffice=!1;kUc(this,{tags:d});wNb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(k){kUc(h,k)})};g=cOb.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("Sf");};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};
g.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=bs(this.root,"Z306Oe");if(this.isOutOfOffice=a.getCurrentStatus()===4){if(a.getCurrentStatus()!==4)throw Error("Rf");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 "+hUc.format(c):"Out of office - back on "+gUc.format(c);Qz(b,String(c));this.root.classList.add("isOutOfOffice")}else Qz(b,
""),this.root.classList.remove("isOutOfOffice")}};g.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:iUc.get(a.getType()||0)||2})};g.getSupportedIntelligenceFeatures=function(){return this.features};g.addTag=function(a){var b=bs(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=pp(jUc,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
g.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var kUc=function(a,b){for(var c=l(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};cOb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};cOb.prototype.dispose=function(){};var lUc=function(a,b,c,d,e){this.delegate=dOb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new HSc(ot)};V(lUc,Y8);lUc.prototype.getAllIds=function(){return[this.id]};lUc.prototype.getSelection=function(){return this.selection};var mUc=function(a,b,c,d,e,f,h,k){d=d===void 0?"":d;e=e===void 0?!1:e;return vs('<div role="option" class="'+ws("peoplekitComponentsResultlistitemResultListItem")+" "+ws(d)+'" id="'+ws(a)+'" peoplekit-id="'+ws(a)+'" aria-disabled="'+ws(e)+'" aria-selected="false"><div class="'+ws("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+ws("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+ws(b)+'" data-name="'+ws(ys(c))+'">'+xs(f)+'</div><div class="'+ws("peoplekitComponentsResultlistitemCenter")+
'">'+xs(h)+'</div><div class="'+ws("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+ws("QChpEe")+'">'+xs(k)+'</div></div><div peoplekit-id="'+ws("Z306Oe")+'" class="'+ws("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+ws("QL45qe")+'"></div></div>')},nUc=function(a,b,c,d){return vs('<div class="'+ws("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+ws("peoplekitComponentsResultlistitemLabel")+" "+ws("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+ws("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+ws(b)+'" data-name="'+ws(ys(a))+'" translate="no">'+xs(ys(a))+'</div><div peoplekit-id="'+ws("x00ATb")+'" class="'+ws("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+ws("peoplekitComponentsResultlistitemSublabel")+" "+ws("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+ws("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+ws(b)+'" data-name="'+ws(ys(a))+
'"'+(d?"":' translate="no"')+">"+xs(ys(c))+"</div></div>":"")+"</div>")},oUc=function(a){return vs('<div class="'+ws("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+ws("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+ws("d6MZcd")+'"></div>'+(MN(a)?xs(a):"")+"</div>")},pUc=function(){var a=vs,b=vs,c='<div class="'+ws("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+ws("peoplekitComponentsResultlistitemWhiteCheck")+'">';var d=vs('<svg viewBox="0 0 24 24" class="'+
(ws("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(oUc(b(c+d+"</div></div>")))},qUc=function(){return vs('<img class="'+ws("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+ws("SC3Htd")+'" alt="" src=""/>')};var rUc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,f=a.allowSublabelTranslation;return vs(mUc(a.id,b,c,"isDisabled "+a.densityClass,!0,vs(""+oUc()),vs(""+nUc(c,b,d,f)),vs('<div class="'+ws("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+xs(e)+"</div>")))},sUc=function(){var a=vs,b='<div class="'+ws("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+ws(". Already selected")+'">';var c=vs('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+
(ws("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 tUc=function(a){this.delegate=a;var b=this;this.eventHandler=es(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};V(tUc,Y8);tUc.prototype.onClick=function(){this.toggleSelection()};var fOb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("Tf");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new BSc(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};g=fOb.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.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};g.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};g.isPlaceholder=function(){return!1};var uUc=function(a,b,c,d,e,f){this.delegate=dOb(a,b,d,e,f,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new HSc(ot)};V(uUc,Y8);uUc.prototype.getAllIds=function(){return[this.id]};uUc.prototype.toggleSelection=function(){for(var a=l(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=gOb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(eMb("pcw-select",this.root))};uUc.prototype.getSelection=function(){return this.selection};var vUc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return vs(mUc(a.id,b,c,a.densityClass,void 0,vs(""+oUc()),vs(""+nUc(c,b,d,e)),vs(""+qUc())))};var zUc=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&wUc(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){wUc(c,d)};xUc(this.selectionsState,this.onDeselectionCallback);yUc(this.selectionsState,this.onSelectionCallback)};V(zUc,Y8);
zUc.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=eMb("pcw-deselect",a)}else a=this.getRoot(),a=eMb("pcw-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var wUc=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};zUc.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var AUc=function(a,b,c,d,e,f,h){this.delegate=dOb(a,b,d,e,f,[2]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||gOb(b,b.getDisplayName())};V(AUc,Y8);AUc.prototype.onContextMenu=function(a,b){hk(this.clientConfig.internal,7,!1)&&a.preventDefault();return Y8.prototype.onContextMenu.call(this,a,b)};AUc.prototype.getAllIds=function(){return[this.id]};AUc.prototype.getSelection=function(){return this.selection};var BUc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return vs(mUc(a.id,b,c,a.densityClass,void 0,vs(""+pUc()),vs(""+nUc(c,b,d,e)),vs(""+qUc())))};var CUc=function(a,b,c,d,e,f,h){this.delegate=dOb(a,b,d,e,f,[]);this.selectionsState=c;this.clientConfig=h;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||gOb(b)};V(CUc,Y8);CUc.prototype.onContextMenu=function(a,b){hk(this.clientConfig.internal,7,!1)&&a.preventDefault();return Y8.prototype.onContextMenu.call(this,a,b)};CUc.prototype.getAllIds=function(){return[this.id]};CUc.prototype.getSelection=function(){return this.selection};var DUc=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return vs(mUc(a.id,b,c,a.densityClass,void 0,vs(""+pUc()),vs(""+nUc(c,b,d,e)),vs(""+qUc())))};As.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=YNb(a);var k=pp(BUc,a);ps({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[hOb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=bs(k,"d6MZcd"),t=FNb(e.getDensity()),w;d=(w=d.backupAvatarUrl)!=null?w:"";e=cs(q,a.photos,t,t,e,d);b=new AUc(k,b,f,c,a.tags,e,h);return new tUc(new zUc(b,
f))},shouldCreate:function(){return!0}},configurationKey:void 0});
As.addCoreFactory({type:1,factory:{create:function(a){var b=eOb(a),c=a.result,d=a.resultConfig,e=a.appearanceConfig,f=a.resultCustomizationConfig,h=c.getPrimaryTarget().getId();a=ft(h)||rN(h)?bOb(a):YNb(a);h=Object;var k=h.assign;a:switch(b){case 1:b=sUc();break a;case 2:b=f.showSelectedIndicatorForDisabled?sUc():vs("");break a;default:b='<div class="'+ws("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',b=vs(b+"DISABLED</div>")}b=pp(rUc,k.call(h,{},a,{disableReason:b}));h=bs(b,"d6MZcd");
k=FNb(e.getDensity());var q;f=(q=f.backupAvatarUrl)!=null?q:"";e=cs(h,a.photos,k,k,e,f);return new lUc(b,c,d,a.tags,e)},shouldCreate:function(a){return eOb(a)!==0}},configurationKey:void 0});
As.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=bOb(a);var k=pp(DUc,a);ps({element:k,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[hOb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var q=bs(k,"d6MZcd"),t=FNb(d.getDensity()),w;e=(w=e.backupAvatarUrl)!=null?w:"";d=cs(q,a.photos,t,t,d,e);b=new CUc(k,b,h,c,a.tags,d,f);return new tUc(new zUc(b,
h))},shouldCreate:function(a){return ft(a.result.getPrimaryTarget().getId())}},configurationKey:void 0});
As.addCoreFactory({type:3,factory:{create:function(a){var b=a.result,c=a.resultConfig,d=a.resultCustomizationConfig,e=a.appearanceConfig,f=a.selectionsState;a=bOb(a);var h=pp(vUc,a);ps({element:h,veid:25285,actions:["impression","pcw-select","pcw-deselect"],pairs:[hOb(b.getPrimaryTarget().getLoggingToken())],componentId:"peoplekitweb"});var k=bs(h,"d6MZcd"),q=FNb(e.getDensity()),t;d=(t=d.backupAvatarUrl)!=null?t:"";e=cs(k,a.photos,q,q,e,d);return new tUc(new uUc(h,b,f,c,a.tags,e))},shouldCreate:function(a){return rN(a.result.getPrimaryTarget().getId())}},
configurationKey:void 0});var sOb=function(a,b,c,d,e,f,h,k){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.ariaParent=k;this.results=[];this.intelligentCollection=f.create();this.navigatable=new gTc(new OMb(this.results))};g=sOb.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=l(a);for(var c=a.next();!c.done;c=a.next())c=jOb(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,bO(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=l(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 d9=function(a){this.delegate=a};g=d9.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 EUc=function(a){var b=a.id,c=a.groupName;a=a.classes;return vs('<div class="'+ws("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+" "+(a?" "+ws(a):"")+'" peoplekit-id="'+ws("wgPSWd")+'" id="'+ws(b)+'" aria-expanded="false" role="menuitem" aria-label="'+ws("To expand "+c+" group, press enter")+'"><svg class="'+ws("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>')},
FUc=function(a){return"To "+a.action+" "+a.groupName+" group, press enter"};var Os=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.eventHandler=es(this);this.chevron=pp(EUc,{id:fs(ss.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);bs(this.getRoot(),"QChpEe").appendChild(this.chevron);b||(this.chevron.classList.toggle("rotate"),YI(this.chevron,"expanded",!0),fbc(this.chevron,FUc({groupName:this.getHeader(),action:"collapse"})))};V(Os,d9);Os.prototype.getActionItems=function(){return this.groupingHeaderActionItems};Os.prototype.dispose=function(){this.eventHandler.removeAll();d9.prototype.dispose.call(this)};
Os.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed);var a=this.isCollapsed?"expand":"collapse";YI(this.chevron,"expanded",!this.isCollapsed);fbc(this.chevron,FUc({groupName:this.getHeader(),action:a}))};var GUc=function(a){var b=a.learnMoreLinkUrl,c=a.learnMoreLinkText;return vs("<div>"+xs(a.description)+'  <a href="'+ws(ON(b))+'" target="_blank" class="'+ws("peoplekitComponentsGroupingHeaderInfoLearnMoreLink")+'" peoplekit-id="'+ws("lh87ke")+'">'+xs(c)+"</a></div>")},HUc=function(a){var b=a.id,c=a.ariaLabel;a=a.classes;return vs('<div class="'+ws("peoplekitComponentsGroupingHeaderInfoInfoIconContainer")+" "+(a?" "+ws(a):"")+'" peoplekit-id="'+ws("CLghmc")+'" id="'+ws(b)+'" aria-label="'+ws(c)+'"><svg class="'+
ws("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 JUc=function(a,b,c,d){this.delegate=a;var e=this;this.infoGroupConfig=b;this.appearanceConfig=c;this.infoGroupingHeaderVeIds=d;this.infoIcon=pp(HUc,{id:fs(ss.getInstance()),ariaLabel:"For more information about "+this.getHeader()+", press enter.",classes:"TdcT2c"});bs(this.getRoot(),"xiK4Cd").appendChild(this.infoIcon);this.infoGroupingHeaderVeIds.infoIconVeId!==void 0&&ps({element:this.infoIcon,veid:this.infoGroupingHeaderVeIds.infoIconVeId,actions:["impression","pcw-click"],componentId:"peoplekitweb"});
this.eventHandler=es(this);this.eventHandler.listen(this.infoIcon,"click",function(){IUc(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&&(IUc(e),f.stopPropagation(),f.preventDefault())}})};V(JUc,d9);
var IUc=function(a){a.infoIcon.dispatchEvent(qs(a.infoIcon));var b=fNb({header:a.infoGroupConfig.infoDialogHeader}),c=GUc({description:a.infoGroupConfig.learnMoreMessage,learnMoreLinkUrl:a.infoGroupConfig.learnMoreUrl,learnMoreLinkText:a.infoGroupConfig.learnMoreLinkText}),d=a.getRoot().ownerDocument.activeElement,e=PLb(a.getRoot()),f=eNb(e,c,a.appearanceConfig,b),h=bs(f.getRoot(),"lh87ke");a.infoGroupingHeaderVeIds.learnMoreLinkVeId!==void 0&&ps({element:h,veid:a.infoGroupingHeaderVeIds.learnMoreLinkVeId,
actions:["impression","pcw-click"],componentId:"peoplekitweb"});a.eventHandler.listen(h,"click",function(){h.dispatchEvent(qs(h))});f.subscribeToAction(function(k){k===2&&(f.dispose(),d&&d.focus())})};JUc.prototype.getActionItems=function(){return this.groupingHeaderActionItems};JUc.prototype.dispose=function(){this.eventHandler.removeAll();d9.prototype.dispose.call(this)};var lOb=function(a,b){this.root=a;this.header=b};g=lOb.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("Sf");};g.toggleSelection=function(){};g.onKeyDown=function(){};g.onContextMenu=function(){return function(){}};var kOb=function(a){var b=vs;var c=a.id;a=a.header;c=vs('<div class="'+ws("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+ws(c)+'" peoplekit-id="'+ws("XLuqBd")+'" role="menu"><div class="'+ws("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+ws("peoplekitComponentsGroupingHeaderHeader")+'">'+xs(a)+'</div><div class="'+ws("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+ws("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+ws("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+ws("xiK4Cd")+'"></div><div class="'+ws("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+ws("QChpEe")+'"></div></div></div></div></div>');return b(c)};var KUc=function(a){this.delegate=a};V(KUc,d9);KUc.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};KUc.prototype.unspotlight=function(){this.activeActionItemIndex!==void 0&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
KUc.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 e9=function(a){this.delegate=a};g=e9.prototype;g.append=function(a){this.delegate.append(a)};g.isInteractive=function(){return this.delegate.isInteractive()};g.getGroupName=function(){return this.delegate.getGroupName()};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 Rs=function(a,b){this.delegate=a;var c=this;this.listContainer=bs(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("Uf");this.collapsibleHeader=nOb(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});bs(this.collapsibleHeader.getRoot(),"wgPSWd").setAttribute("aria-controls",this.listContainer.id);b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};V(Rs,e9);Rs.prototype.isInteractive=function(){return!0};Rs.prototype.getHeader=function(){return this.collapsibleHeader};
Rs.prototype.dispose=function(){this.collapsibleHeader.dispose();e9.prototype.dispose.call(this)};Rs.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 Qs=function(a,b,c){this.delegate=a;a=a.getHeader();if(!a)throw Error("Vf");var d={};b.infoType===1&&(d={infoIconVeId:185198,learnMoreLinkVeId:185199});this.infoHeader=new JUc(a,b,c,d)};V(Qs,e9);Qs.prototype.isInteractive=function(){return!0};Qs.prototype.getHeader=function(){return this.infoHeader};Qs.prototype.dispose=function(){this.infoHeader.dispose();e9.prototype.dispose.call(this)};var Ps=function(a,b){this.delegate=a;this.groupName=b;this.header=mOb(b);bs(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};V(Ps,e9);Ps.prototype.getGroupName=function(){return this.groupName};Ps.prototype.getHeader=function(){return this.header};Ps.prototype.dispose=function(){this.header.dispose();e9.prototype.dispose.call(this)};var LUc=function(a){this.root=a;this.items=[];this.list=BNb(bs(a,"tjneg"))};g=LUc.prototype;g.append=function(a){this.items.push(a);this.list.append(a.getRoot())};g.isInteractive=function(){return!1};g.getGroupName=function(){return""};g.getHeader=function(){};g.getItems=function(){return this.items};g.getRoot=function(){return this.root};g.dispose=function(){for(var a=l(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var MUc=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=bs(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 KUc(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})};V(MUc,e9);g=MUc.prototype;g.append=function(a){this.isCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);e9.prototype.append.call(this,a)};g.getHeader=function(){return this.header};g.dispose=function(){this.mutationObserver.disconnect();e9.prototype.dispose.call(this)};g.getItems=function(){return this.isCollapsed?[]:e9.prototype.getItems.call(this)};
g.onMutation=function(a){if(this.header){a=l(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),ENb(this.getRoot())))}};var NUc=function(a){var b=a.listId;return vs('<div id="'+ws(a.id)+'" peoplekit-id="'+ws("E9WxSb")+'" role="group"><div peoplekit-id="'+ws("Bm3u4d")+'"></div><div id="'+ws(b)+'" role="region" class="'+ws("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+ws("tjneg")+'"></div></div>')};var xOb=function(a,b,c,d,e,f,h,k,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 gTc(new OMb([]));this.intelligentComponentCollection=k.create();this.list.getRoot().removeAttribute("role")};g=xOb.prototype;
g.append=function(a,b){a=l(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=jOb(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,bO(this.list.getRoot()),this.interactions,this.ariaParent);if(c&&!e){e=this.grouping;var f=c,h=this.navigatable,k=this.appearanceConfig,q=[oOb,pOb,qOb],t=fs(ss.getInstance()),w=fs(ss.getInstance());w=pp(NUc,{id:t,listId:w});t=e.getResultListGroupConfig(f);w=new LUc(w);q=l(q);
for(var y=q.next();!y.done;y=q.next())y=y.value,w=y(w,e,f,k);e=new MUc(w,t,h);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=l(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=l(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,r(c.value.getItems()));return a};var uOb=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};g=uOb.prototype;g.append=function(a,b){a=l(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=this.grouping.getGroupName(d);if(e&&(e=mOb(e),this.list.append(e.getRoot()),e.getActionItems().length)){var 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 vOb=function(a,b){this.delegate=a;this.interactions=b};g=vOb.prototype;g.append=function(a,b){a=l(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};g.clear=function(){this.delegate.clear()};g.reset=function(a){this.delegate.reset(a)};g.getNavigatable=function(){return this.delegate.getNavigatable()};g.getResultListItems=function(){return this.delegate.getResultListItems()};var rOb=function(a){a=a.header;return vs('<div peoplekit-id="'+ws("aittld")+'">'+(a.length>0?'<div class="'+ws("peoplekitUiResultlistHeader")+'">'+xs(a)+"</div>":"")+'<div peoplekit-id="'+ws("tjneg")+'"></div></div>')};var OUc=function(){return"Google makes suggestions based on your interactions."};var PUc=function(a){this.labels=a;this.isSuggest=!1;this.hiddenSuggestionsLabel=vs("Hidden suggestions").toString()};PUc.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(gQb))==null?void 0:yt(c,1))===1?"HIDDEN":"SEARCH"}b=a}return b};
PUc.prototype.getGroupName=function(a){switch(a){case "CUSTOM":return this.labels.custom;case "SUGGEST":return this.labels.suggest;case "SEARCH":return this.labels.search;case "HIDDEN":return this.hiddenSuggestionsLabel;default:return""}};
PUc.prototype.getResultListGroupConfig=function(a){return a==="HIDDEN"?{collapsibleGroupConfig:{isInitiallyCollapsed:!0}}:a==="SUGGEST"||a==="SEARCH"?{infoGroupConfig:{infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:OUc(),learnMoreUrl:zOb(),learnMoreLinkText:"Learn more about suggestions."}}:{}};PUc.prototype.reset=function(a){this.isSuggest=!a.trim()};var AOb=[PUc];var Zs=function(){this.isSuggest=!1};Zs.prototype.getGroupId=function(a){return a.getResultType()===7?"CUSTOM":this.isSuggest?"SUGGEST":"SEARCH"};Zs.prototype.getGroupName=function(a){switch(a){case "SUGGEST":return"Suggestions";case "SEARCH":return"Search Results";default:return""}};
Zs.prototype.getResultListGroupConfig=function(a){switch(a){case "SUGGEST":case "SEARCH":return{infoGroupConfig:{infoType:1,infoDialogHeader:"How suggestions work",learnMoreMessage:OUc(),learnMoreUrl:zOb(),learnMoreLinkText:"Learn more about suggestions."}};default:return{}}};Zs.prototype.reset=function(a){this.isSuggest=!a.trim()};var $s=function(a){this.label=a};$s.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return b.getDataSource()!==2})?"non_directory":"directory"};$s.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};$s.prototype.getResultListGroupConfig=function(){throw Error("Wf");};$s.prototype.reset=function(){};var at=function(a){this.label=a};at.prototype.getGroupId=function(a){return a.getResultType()!==7?"suggestions":"non_suggestions"};at.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};at.prototype.getResultListGroupConfig=function(){throw Error("Wf");};at.prototype.reset=function(){};var QUc=function(a){this.delegate=a};g=QUc.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()};var bt=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(k){return RUc(h,k)};this.unhideListener=function(k){return SUc(h,k)};this.onContextMenuDisposedListener=function(k){if(h.navigationInput!==document.activeElement){var q;(q=h.navigatable.getItem(k))==null||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(k){h.navigationInput===h.previouslyActiveElement&&(k=h.navigatable.getItem(k))&&h.navigatable.goToItem(k,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)};V(bt,QUc);bt.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};QUc.prototype.search.call(this,a,b,c,d)};
bt.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);QUc.prototype.dispose.call(this)};
var RUc=function(a,b){return ge(function(c){switch(c.nextAddress){case 1:return he(c,2),ie(c,a.hide.hideResults(b),4);case 4:return ie(c,a.refreshResults(),5);case 5:Zt(c,0);break;case 2:le(c),TUc(a),me(c)}})},SUc=function(a,b){return ge(function(c){switch(c.nextAddress){case 1:return he(c,2),ie(c,a.hide.unhideResults(b),4);case 4:return ie(c,a.refreshResults(),5);case 5:Zt(c,0);break;case 2:le(c),UUc(a),me(c)}})};
bt.prototype.refreshResults=function(){var a=this;return ge(function(b){if(b.nextAddress==1)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),ie(b,a.peopleStore.warmUpCache(),2);a.currentSearchState?QUc.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");me(b)})};
var TUc=function(a){a.hideErrorDialog=gNb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;(b=a.hideErrorDialog)==null||b.dispose()})},UUc=function(a){a.unhideErrorDialog=iNb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;(b=a.unhideErrorDialog)==null||b.dispose()})};var VUc=function(a,b){ts.call(this,a,b)};V(VUc,ts);VUc.prototype.onKeyDown=function(a){if(a.event.keyCode===9){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=this.ariaParent;var d=ebc(c,"activedescendant");c=Gz(c).getElementById(d);(d=b.querySelector('[id="'+(b.id+'-2ab"]')))?ZI(this.ariaParent,c===d?b:d):COb(b)&&(b=Array.from(b.querySelectorAll('[class~="TdcT2c"]')),c=c?b.indexOf(c):-1,c!==-1&&ZI(this.ariaParent,b[(c+1)%b.length]))}}ts.prototype.onKeyDown.call(this,a)};
VUc.prototype.next=function(a){a=ts.prototype.next.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),COb(b)&&WUc(this,b));return a};VUc.prototype.prev=function(a){a=ts.prototype.prev.call(this,a);var b=this.getSpotlitItem();b&&(b=b.getRoot(),COb(b)&&WUc(this,b));return a};var WUc=function(a,b){(b=b.querySelector('[class~="TdcT2c"]'))&&ZI(a.ariaParent,b)};var hPb=function(a,b,c,d,e,f,h,k){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=f;this.noResultsMessage=h;this.clientConfig=k;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new VUc(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=SMb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
es(this);Ds(this.root,0)};g=hPb.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");Ds(this.root,1);if(a){var f=XUc(this.health);f.start();this.session.search(a,function(k){e.update(k,d,f,!0)})}else if(c){var h=XUc(this.health);h.start();this.session.suggest(function(k){e.update(k,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()}),hk(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(new X8(b),function(){}))}))};
g.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Ds(this.root,0)};g.isShown=function(){return!0};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});hk(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(Ds(this.root,a.getCode()===0?2:3,a.getCode()),b={query:f,resultCount:e.length},d=l(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else Ds(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=l(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 bPb=function(){var a=vs,b='<div class="'+ws("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+ws("yDHfq")+'"><div class="'+ws("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=vs('<div peoplekit-id="'+ws("tjneg")+'"></div>');c=vs('<div tabindex="-1" class="'+ws("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+ws("I8ejUe")+'">'+xs(c)+"</div>");b=b+c+'</div><div class="'+ws("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
ws("peoplekitComponentsCircularprogressCircularProgress")+(" "+ws("isActive"))+'" data-loadingmessage="'+ws("Loading...")+'" data-active="true"'+(MN()?Ojc(LN(void 0,yjc)?(void 0).getContent():Yjc()):"")+'><div class="'+ws("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+ws("vyyg5")+'">'+xs("Loading...")+'</div><div class="'+ws("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+ws("peoplekitComponentsCircularprogressColorOne")+" "+ws("exportColorOne")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+" "+ws("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+
" "+ws("peoplekitComponentsCircularprogressRight")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div></div><div class="'+ws("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ws("peoplekitComponentsCircularprogressColorTwo")+" "+ws("exportColorTwo")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+" "+ws("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+
" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+" "+ws("peoplekitComponentsCircularprogressRight")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div></div><div class="'+ws("peoplekitComponentsCircularprogressCircularProgressLayer")+
" "+ws("peoplekitComponentsCircularprogressColorThree")+" "+ws("exportColorThree")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+" "+ws("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+
" "+ws("peoplekitComponentsCircularprogressRight")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div></div><div class="'+ws("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+ws("peoplekitComponentsCircularprogressColorFour")+" "+ws("exportColorFour")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+" "+ws("peoplekitComponentsCircularprogressLeft")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+
" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div><div class="'+ws("peoplekitComponentsCircularprogressCircleClipper")+" "+ws("peoplekitComponentsCircularprogressRight")+'"><div class="'+ws("peoplekitComponentsCircularprogressCircle")+" "+ws("exportCircle")+'"></div></div></div></div></div>';c=vs(c);return a(b+c+"</div></div>")},cPb=function(){return vs('<div class="'+
ws("peoplekitComponentsAutocompleteInlineNoResultsContainer")+'"></div>')};var ePb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+ws("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+ws(a)+'"':"")+'><p class="'+ws("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+xs(b):a+"No results";a+="</p>";if(c||d)a+='<p class="'+ws("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?xs(c)+(d?" ":""):""),d&&(a+='<a jsname="'+ws("viORvd")+'" class="'+ws("peoplekitComponentsNoResultsMessageLearnMoreLink")+
'" target="_blank" href="'+ws(ON(d))+'">',a=e?a+xs(e):a+"Learn more",a+="</a>"),a+="</p>";return vs(a+"</div>")};var dPb=function(a,b){this.parent=a;this.config=b};dPb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=pp(ePb,a);this.parent.appendChild(this.root);return!0};var gPb=function(){};gPb.prototype.update=function(){return!1};var fPb=function(){};fPb.prototype.update=function(){return!0};var iPb=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=AMb(this.root,{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=es(this);this.onSelectionCallback=function(){f.onSelect()};this.onSelectionAttemptedCallback=function(){f.hide()};this.attach()};
g=iPb.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;yUc(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.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.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("Jf`"+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("Jf`"+c);}}this.root.style.width=ZN(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("Jf`"+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 aPb=function(){return vs('<div class="'+ws("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+ws("noeiCf")+'" style="display: none;"></div>')};var YUc=function(){this.batches=new Map};YUc.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 DOb=function(a,b){this.service=a;this.resolveComponents=b};
DOb.prototype.update=function(a){var b=this;a=l([].concat(r(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=l(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(f){ZUc(b,f.values,function(h,k,q){q.updateWaldo(k,h)})});break;case 2:c=c.withHubAvailabilityDot(function(f){ZUc(b,f.values,function(h,k,q){q.updateHubAvailabilityDot(k,h)})})}c.execute()}}};
var ZUc=function(a,b,c){b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),f=l(a.resolveComponents(e)),h=f.next();!h.done;h=f.next())c(e,d,h.value)}};var $Uc=new Set([1,3,20]),aVc=function(a){var b=this;this.idToComponent=new Map;this.updater=EOb(a,function(c){return b.resolveComponents(c)})};g=aVc.prototype;
g.append=function(a){var b=a.filter(function(f){return f.getAllIds().some(function(h){return $Uc.has(h.getType())})});a=[];b=l(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=l(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=l(a);for(var b=a.next(),c={};!b.done;c={component$jscomp$133:void 0},b=a.next()){c.component$jscomp$133=b.value;b=l(c.component$jscomp$133.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$133}}(c)))}}};g.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};
g.refresh=function(a){var b=new YUc;a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=l(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 bVc=function(){};bVc.prototype.append=function(){};bVc.prototype.remove=function(){};bVc.prototype.refresh=function(){};bVc.prototype.clear=function(){};var $Ob=function(a){this.peopleIntelligence=a};$Ob.prototype.create=function(){return this.peopleIntelligence?new aVc(this.peopleIntelligence):new bVc};var cVc=Object.freeze(new Map([[5,1]]));var dVc=function(){this.entryPoint_=0};dVc.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};dVc.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};dVc.prototype.serialize=function(){return[this.entryPoint_].toString()};var eVc=Object.freeze(new dVc);var fVc=function(){this.originator_=0};fVc.prototype.setOriginator=function(a){this.originator_=a;return this};fVc.prototype.getOriginator=function(){return this.originator_};var WOb=function(a,b,c){var d=this;this.reporter=a.getReporter((new dVc).setPeoplekitEntryPoint(c));yUc(b,function(e,f,h){d.select(e,h)},0);xUc(b,function(e,f,h){d.deselect(e,h)},0);gVc(b,function(e,f,h,k){d.replace(e,k)})};g=WOb.prototype;g.display=function(a){this.reporter.reportDisplay(FOb(a.getTargetList()))};g.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(Ss([a]),(new fVc).setOriginator(cVc.get(b)||0));break;case 6:this.reporter.reportExternalSelect(Ss([a]))}};
g.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(Ss([a]))}};g.dismiss=function(a){this.reporter.reportDismiss(Ss(a))};g.save=function(a){this.reporter.reportSave(Ss(a))};g.send=function(a){this.reporter.reportSend(Ss(a))};g.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var hVc=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};hVc.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=Xq(function(){b.isBatchingInternal=!1;a()},d>100?0:100)}};hVc.prototype.cancel=function(){Yq(this.timerId);this.isBatchingInternal=!1};var nPb=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 hVc;yUc(this.selectionsState,function(){iVc(h,!1)});xUc(this.selectionsState,function(){iVc(h,!0)})};g=nPb.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();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(Ss(b));break;case 2:c.dismiss(b);break;case 3:c.save(b);break;case 4:c.send(b);break;case 5:c.reporter.reportSecondaryAction(Ss(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()};
var omc=function(a,b){a.selectionChangedListeners.push({listener:b,listenToDeselections:!1})},iVc=function(a,b){a.selectionChangedAutoBatcher.call(function(){for(var c=a.selectionsState.asArray(),d=l(a.selectionChangedListeners),e=d.next();!e.done;e=d.next()){var f=e.value;e=f.listener;f=f.listenToDeselections;b&&!f||e(c,b)}})};var VOb=function(a){a=a||{};a=a.classes;return vs('<div peoplekit-id="'+ws("nVhUhf")+'"'+(a?' class="'+ws(a)+'"':"")+"></div>")};var jVc=function(a){this.internalArray_=m(a)};V(jVc,X);g=jVc.prototype;g.getClientId=function(){return Kj(this,1,0)};g.setClientId=function(a){return Ol(this,1,a)};g.getEntryPoint=function(){return Kj(this,5,0)};g.setEntryPoint=function(a){return Ol(this,5,a)};g.getSocialClient=function(){return Gj(this,VM,2)};g.setSocialClient=function(a){return Pj(this,VM,2,a)};g.setVersionName=function(a){return Sj(this,3,a)};g.getBaselineCl=function(){return Jj(this,4)};
g.setBaselineCl=function(a){return Tl(this,4,a)};g.hasBaselineCl=function(){return El(this,4)};g.getBaselineClOrUndefined=function(){return It(this,4)};g.getComponentFlow=function(){return Kj(this,7,0)};g.setComponentFlow=function(a){return Ol(this,7,a)};var kVc=function(a){this.internalArray_=m(a)};V(kVc,X);var lVc=function(a){this.internalArray_=m(a)};V(lVc,X);g=lVc.prototype;g.getLabel=function(){return Kj(this,1,0)};g.setLabel=function(a){return Ol(this,1,a)};g.hasLabel=function(){return wl(this,1)};g.getValue=function(){return Jj(this,2,1)};g.getValue_asLegacyNumberOrString=function(){return Jj(this,2,1)};g.setValue=function(a){return Tl(this,2,a)};g.hasValue=function(){return El(this,2)};var f9=function(a){this.internalArray_=m(a)};V(f9,X);f9.prototype.getLabel=function(){return Zh(this,1)};f9.prototype.setLabel=function(a){return Sj(this,1,a)};f9.prototype.hasLabel=function(){return vl(this,1)};f9.prototype.getCause=function(){return Zh(this,2)};var mVc=function(a){this.internalArray_=m(a)};V(mVc,X);g=mVc.prototype;g.getLabel=function(){return Kj(this,1,0)};g.setLabel=function(a){return Ol(this,1,a)};g.hasLabel=function(){return wl(this,1)};g.setLatencyUsec=function(a){Tl(this,2,a)};g.getCacheStatus=function(){return Kj(this,3,0)};g.setCacheStatus=function(a){return Ol(this,3,a)};var g9=function(a){this.internalArray_=m(a)};V(g9,X);g9.prototype.getInterfaceType=function(){return Kj(this,1,0)};g9.prototype.setInterfaceType=function(a){return Ol(this,1,a)};var nVc=function(a){this.internalArray_=m(a)};V(nVc,X);g=nVc.prototype;g.getCount=function(){return Gj(this,lVc,3)};g.setCount=function(a){Pj(this,lVc,3,a)};g.getLatency=function(){return Gj(this,mVc,4)};g.setLatency=function(a){return Pj(this,mVc,4,a)};g.getError=function(){return Gj(this,f9,5)};g.setError=function(a){Pj(this,f9,5,a)};g.hasError=function(){return Ak(this,f9,5)};var oVc=function(a){this.internalArray_=m(a)};V(oVc,X);oVc.prototype.setElementIndex=function(a){Ml(this,2,a)};oVc.repeatedFields_=[3];var h9=function(a){this.internalArray_=m(a)};V(h9,X);h9.prototype.getClientInterface=function(){return Gj(this,jVc,3)};h9.prototype.setClientInterface=function(a){return Pj(this,jVc,3,a)};h9.prototype.getMetadata=function(){return Gj(this,kVc,4)};h9.prototype.setMetadata=function(a){Pj(this,kVc,4,a)};var XOb=function(a,b){this.entryPoint=b;this.logContext=lRb(Kt(new Lt,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(652523468).setEnableClearcut(a.getEnableClearcut()),ZNb.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};g=XOb.prototype;g.getLogContext=function(){return this.logContext};g.createCountMetric=function(){throw Error("pf");};
g.createStatusMetric=function(){throw Error("pf");};g.createLatencyMetric=function(a,b){b=b.source();a=(new h9).setClientInterface((new jVc).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow).setEntryPoint(this.entryPoint));return Pj(a,nVc,2,b)};g.createErrorMetric=function(){throw Error("pf");};var pVc=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new nVc;a=Ol(a,1,4);var c=new g9;b=Ol(c,2,2).setInterfaceType(b);this.dataEntry=Pj(a,g9,2,b).setLatency((new mVc).setLabel(8));this.state=new gN(this.dataEntry)};pVc.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
pVc.prototype.stop=function(a){a=a===void 0?function(){}:a;this.metrics.stop(this.state,this.label);var b=hN(this.state,this.label),c;(c=this.dataEntry.getLatency())==null||c.setLatencyUsec(b);a(b);var d;(d=Gj(this.dataEntry,g9,2))!=null&&Ml(d,3,this.count);this.metrics.latency(this.state);++this.count};var ZOb=function(a,b){this.metrics=a;this.userInterfaceType=b};var YOb=function(a){this.trackers=a},XUc=function(a){a=a.trackers;return new pVc(a.metrics,a.userInterfaceType)};var i9=function(){this.itemsByPriority=[]};i9.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};i9.prototype.remove=function(a){for(var b=l(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};i9.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(r(a))})};var Xs=function(){this.selectionCallbacks=new i9;this.deselectionCallbacks=new i9;this.selectionReplacedCallbacks=new i9;this.selectionAttemptedCallbacks=new i9;this.selectionsState=[]};
Xs.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 Ts(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;b>=0?(this.selectionsState.splice(b,0,a),Ts(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Ts(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
Xs.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),Ts(a,d,b,this.deselectionCallbacks.asArray()))};Xs.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 yUc=function(a,b,c){a.selectionCallbacks.add(b,c===void 0?2:c)},xUc=function(a,b,c){a.deselectionCallbacks.add(b,c===void 0?2:c)},gVc=function(a,b){a.selectionReplacedCallbacks.add(b,0)};g=Xs.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;GOb(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 Ts(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 qVc={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"}},HOb=LOb(qVc),rVc=new Map,sVc=l(Object.keys(qVc)),tVc=sVc.next();!tVc.done;tVc=sVc.next()){var uVc=tVc.value;rVc.set(qVc[uVc].xid,qVc[uVc].string)}
var JOb=LOb({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 j9=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},k9=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):a.tracks_.size!=0};g=j9.prototype;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 vVc=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};j9.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?IOb(a):a};j9.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?KOb(a):a};j9.prototype.isMutable=j9.prototype.isMutable;var wVc=function(a){j9.call(this,a)};V(wVc,j9);var xVc=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};xVc.prototype.getTag=function(){return this.veTag_};xVc.prototype.getElement=function(){return this.el_};var zVc=function(a){var b=yVc++;a.traversalOrder_=b};xVc.prototype.setParent=function(a){this.parent_=a};xVc.prototype.getParent=function(){return this.parent_};
var AVc=function(a){if(a.impressionEventID){var b=new lz;b.setVeIndex(a.traversalOrder_);p_b(b,a.getTag().visualElementID);Pj(b,kz,13,a.impressionEventID);a=s_b(b);return"0"+mTb(a,4)}};var jPb=function(a){this.internalArray_=m(a)};V(jPb,X);g=jPb.prototype;g.getClientId=function(){return Kj(this,1,0)};g.setClientId=function(a){return Ol(this,1,a)};g.getEntryPoint=function(){return Kj(this,2,0)};g.setEntryPoint=function(a){return Ol(this,2,a)};g.getApplication=function(){return Kj(this,3,0)};g.setApplication=function(a){return Ol(this,3,a)};g.getApplicationOrUndefined=function(){return Ot(this,3)};g.setVersionName=function(a){return Sj(this,4,a)};
g.getBaselineCl=function(){return Jj(this,5)};g.setBaselineCl=function(a){return Tl(this,5,a)};g.hasBaselineCl=function(){return El(this,5)};g.getBaselineClOrUndefined=function(){return It(this,5)};g.getMetadata=function(){return Gj(this,kVc,6)};g.setMetadata=function(a){Pj(this,kVc,6,a)};g.setSharekitEntryPoint=function(a){Ol(this,7,a)};g.getSharekitEntryPointOrUndefined=function(){return Ot(this,7)};var kPb=function(a){this.context_=a};kPb.prototype.createNewTag=function(a){return new wVc(a)};kPb.prototype.addEventMetadata=function(a){G7b(a,this.context_.serialize())};var BVc=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var CVc=function(){};CVc.prototype.impressionEvent=function(){return[]};CVc.prototype.interactionEvent=function(){return[]};CVc.prototype.visibilityEvent=function(){return[]};var FVc=function(){if(!DVc){var a=DVc=new l_b,b=Date.now()*1E3;Tl(a,1,b);ro(DVc,2,Fca());ro(DVc,3,Fca())}a=(new kz).setBase(DVc);b=++EVc;return Tl(a,2,b)},EVc=0,DVc=void 0;var l9=function(a){this.internalArray_=m(a,1)};V(l9,X);var m9=function(a){this.internalArray_=m(a)};V(m9,X);var GVc=function(a){this.internalArray_=m(a,7)};V(GVc,X);g=GVc.prototype;g.getTarget=function(){return Gj(this,mz,1)};g.setTarget=function(a){return Pj(this,mz,1,a)};g.getType=function(){return Kj(this,2,0)};g.setType=function(a){return Ol(this,2,a)};g.hasType=function(){return wl(this,2)};var HVc=function(a){var b=Date.now();b=Number.isFinite(b)?b*1E3:void 0;Tl(a,4,b)};var n9=function(a){this.internalArray_=m(a)};V(n9,X);n9.repeatedFields_=[1];var o9=function(a){this.internalArray_=m(a,17)};V(o9,X);g=o9.prototype;g.setVed=function(a){return Sj(this,11,a)};g.setUiType=function(a){return Ml(this,1,a)};g.setVeIndex=function(a){Ml(this,2,a)};g.getResultIndex=function(){return Lj(this,7,-1)};g.setResultIndex=function(a){Ml(this,7,a)};g.setElementIndex=function(a){Ml(this,8,a)};var IVc=function(a,b){Dk(a,14,b)};o9.repeatedFields_=[14];var p9=function(a){this.internalArray_=m(a)};V(p9,X);p9.prototype.setEventId=function(a){Pj(this,kz,1,a)};p9.prototype.setParentEventId=function(a){Pj(this,kz,3,a)};p9.repeatedFields_=[2];var JVc=function(a){this.userAction=a};var LVc=function(a,b){this.userAction=a;this.visualElementID=b;KVc++},KVc=0;var MVc=function(){};MVc.prototype.createNewTag=function(a){return new j9(a)};MVc.prototype.addEventMetadata=function(){};var q9=function(a){this.internalArray_=m(a)};V(q9,X);var NVc=function(a,b){Dk(a,1,b)};q9.prototype.addPath=function(a,b){return gr(this,1,nz,a,b)};q9.prototype.setPath=function(a,b){return pu(this,1,nz,a,b)};q9.repeatedFields_=[1];var OVc=new Zy(100,q9);var r9=function(a){this.internalArray_=m(a)};V(r9,X);var s9=function(a){this.internalArray_=m(a)};V(s9,X);s9.prototype.getTimestamp=function(){return Gj(this,r9,1)};s9.prototype.setTimestamp=function(a){return Pj(this,r9,1,a)};s9.prototype.hasTimestamp=function(){return Ak(this,r9,1)};var PVc=new Zy(126,s9);var QVc=new Zy(618,s9);var RVc=function(a){this.internalArray_=m(a)};V(RVc,X);var SVc=new Zy(273,RVc);var TVc=function(){this.nextPtr_=0;this.maxSize_=50;this.buff_=[]};g=TVc.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=UVc(this,a);return this.buff_[a]};g.set=function(a,b){a=UVc(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 UVc=function(a,b){if(b>=a.buff_.length)throw Error("ag");return a.buff_.length<a.maxSize_?b:(a.nextPtr_+Number(b))%a.maxSize_};var ct=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 TVc};V(ct,CVc);ct.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=VVc(this,c,b);b=this.enableBatching_?WVc(this,d,b):XVc(this,d,b);return a.concat(b)};
ct.prototype.interactionEvent=function(a,b){var c=new p9,d=FVc();c.setEventId(d);d=new o9;a.serverVed_?d.setVed(a.serverVed_):d.setUiType(a.getTag().visualElementID).setVeIndex(a.traversalOrder_);IVc(Ml(d,3,b.userAction),this.getAncestry_(a));a.getTag();this.setTimestamp(d);var e=new m9;Pj(e,kz,1,a.impressionEventID);c.setParentEventId(a.impressionEventID);Pj(c,o9,4,d);Pj(c,m9,9,e);this.recentInteractions_.add(new LVc(b.userAction,a.getTag().visualElementID));a=new hF;iF(a,c.serialize());return[a]};
ct.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var f=a[e],h=f.getElement(),k=f.rootImpressionEventID,q=d.get(k);q=q?q:[];var t=new q9;this.enableAncestryLoggingForGrafts_&&NVc(t,this.getAncestry_(f));if(f.neverShown||k9(f.getTag(),"vis"))if(h=this.isVisible_(h,b),f.hidden&&h){h=new GVc;h.setType(1);var w=YVc(f);h.setTarget(w);HVc(h);this.enableAncestryLoggingForGrafts_&&rt(h,OVc,t);q.push(h);f.hidden=!1;f.neverShown=!1}else f.hidden||h||(h=new GVc,h.setType(2),
w=YVc(f),h.setTarget(w),HVc(h),this.enableAncestryLoggingForGrafts_&&rt(h,OVc,t),q.push(h),f.hidden=!0);d.set(k,q)}a=l(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,f=d.get(b),f.length&&(e=new n9,Dk(e,1,f),f=new p9,k=FVc(),q=new m9,Pj(q,kz,1,b),f.setEventId(k),f.setParentEventId(b),Pj(f,n9,7,e),Pj(f,m9,9,q),b=new hF,iF(b,f.serialize()),c.push(b));return c};
ct.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=xkc(b,new XN(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};
var VVc=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 p9;e.testCodes$jscomp$1=[];e.impressionEventID=FVc();e.clientVeProto$jscomp$7.setEventId(e.impressionEventID);var h=new m9;Pj(h,kz,1,e.impressionEventID);Pj(e.clientVeProto$jscomp$7,m9,9,h);if(h=vcc(window.location.href,"ved"))h=(new o9).setVed(h),Pj(e.clientVeProto$jscomp$7,o9,4,h);b[f].forEach(function(k){return function(q,
t){t.impressionEventID=k.impressionEventID;t.rootImpressionEventID=k.impressionEventID;var w=this.getVisualElementLiteProto_(t);q.length&&v_b(w,q);q=t.getElement();this.isVisible_(q,c)?(t.neverShown=!1,t.hidden=!1):w.setVisible(1);this.enableAttentionLogging_&&k9(t.getTag(),"hover")&&t.traversalOrder_!==void 0&&(q.setAttribute("data-hveid",Number(t.traversalOrder_)),Yj(k.clientVeProto$jscomp$7,nz,2,Ai()).length===0&&AVc(t)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",AVc(t)+"")));
this.setTimestamp(w);gr(k.clientVeProto$jscomp$7,2,nz,w);k.testCodes$jscomp$1=k.testCodes$jscomp$1.concat(t.getTag().testCodes_)}}(e),a);h=new hF;iF(h,e.clientVeProto$jscomp$7.serialize());hc(h,20,e.testCodes$jscomp$1,Eb);d.push(h)}return d},WVc=function(a,b,c){for(var d=[],e=new Map,f=b.length-1;f>=0;f--){var h=b[f],k=h.keys().next().value.rootImpressionEventID,q=e.get(k)||[];q.push(h);e.set(k,q)}e.forEach(function(t,w){var y=0,D=[],G=new p9,I=[],N=FVc();G.setEventId(N);G.setParentEventId(w);var S=
new m9;Pj(S,kz,1,w);Pj(G,m9,9,S);for(S=0;S<t.length;S++)for(var W=t[S],Z=W.keys(),fa=Z.next().value,ma=W.get(fa),ua={},Ua=0;Ua<ma.length;ua={startingOffset:void 0,cloneTreeRootIndex:void 0},++Ua){var ha=fa;ua.cloneTreeRootIndex=0;ua.startingOffset=ma[Ua];var xa=W.size;Ua!=ma.length-1&&(xa=ma[Ua+1]);for(var sa=ua.startingOffset;sa<xa;++sa){var Ma=Z.next().value;sa==ua.startingOffset&&(ha=Ma,ua.cloneTreeRootIndex=y);Ma.impressionEventID=N;Ma.rootImpressionEventID=w;Ma.traversalOrder_=y;var Aa=W.get(Ma),
wb=this.getVisualElementLiteProto_(Ma);Aa.length&&v_b(wb,Aa.map(function(Pb){return function(Vb){return Vb-Pb.startingOffset+Pb.cloneTreeRootIndex}}(ua)));Aa=Ma.getElement();this.isVisible_(Aa,c)?(Ma.neverShown=!1,Ma.hidden=!1):wb.setVisible(1);this.setTimestamp(wb);gr(G,2,nz,wb);I=I.concat(Ma.getTag().testCodes_);y++}ua=new GVc;ua.setType(3);xa=YVc(fa);ua.setTarget(xa);xa=new mz;sa=new lz;Ma=new q9;sa.setVeIndex(ha.traversalOrder_);p_b(sa,ha.getTag().visualElementID);gk(xa,2,t_b,sa);Pj(ua,mz,3,xa);
this.enableAncestryLoggingForGrafts_&&(NVc(Ma,this.getAncestry_(ha)),rt(ua,OVc,Ma));D.push(ua)}D.length&&(t=new n9,Dk(t,1,D),Pj(G,n9,7,t));D=new hF;iF(D,G.serialize());hc(D,20,I,Eb);d.push(D)},a);return d},XVc=function(a,b,c){for(var d=[],e=b.length-1;e>=0;e--)for(var f=b[e],h=f.keys(),k=h.next().value,q=f.get(k),t={},w=0;w<q.length;t={startingOffset$jscomp$1:void 0},++w){t.startingOffset$jscomp$1=q[w];var y=f.size;w!=q.length-1&&(y=q[w+1]);var D=new p9,G=[],I=FVc(),N=new m9;Pj(N,kz,1,k.impressionEventID);
D.setEventId(I);D.setParentEventId(k.impressionEventID);Ol(D,5,3);Pj(D,m9,9,N);N=new o9;k.serverVed_?N.setVed(k.serverVed_):N.setUiType(k.getTag().visualElementID).setVeIndex(k.traversalOrder_);IVc(N,a.getAncestry_(k));Pj(D,o9,4,N);for(N=t.startingOffset$jscomp$1;N<y;++N){var S=h.next().value;S.impressionEventID=I;S.rootImpressionEventID=k.rootImpressionEventID;S.traversalOrder_!=void 0&&(S.traversalOrder_-=t.startingOffset$jscomp$1);var W=f.get(S),Z=a.getVisualElementLiteProto_(S);W.length&&v_b(Z,
W.map(function(fa){return function(ma){return ma-fa.startingOffset$jscomp$1}}(t)));W=S.getElement();a.isVisible_(W,c)?(S.neverShown=!1,S.hidden=!1):Z.setVisible(1);a.enableAttentionLogging_&&k9(S.getTag(),"hover")&&S.traversalOrder_!==void 0&&(W.setAttribute("data-hveid",Number(S.traversalOrder_)),Yj(D,nz,2,Ai()).length===0&&AVc(S)&&(W.setAttribute("decode-data-ved","1"),W.setAttribute("data-ved",AVc(S)+"")));a.setTimestamp(Z);gr(D,2,nz,Z);G=G.concat(S.getTag().testCodes_)}t=new hF;iF(t,D.serialize());
hc(t,20,G,Eb);d.push(t)}return d};ct.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};
ct.prototype.getVisualElementLiteProto_=function(a){var b=(new nz).setUiType(a.getTag().visualElementID);Number.isFinite(a.getTag().getIndex())&&b.setElementIndex(a.getTag().getIndex());vVc(a.getTag(),b);this.enableAttentionLogging_&&k9(a.getTag(),"hover")&&(a=new RVc,Ll(a,1,!0),rt(b,SVc,a));return b};
var YVc=function(a){var b=new mz;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new lz;gk(b,3,u_b,a.impressionEventID);c.setVeIndex(a.traversalOrder_);p_b(c,a.getTag().visualElementID);gk(b,2,t_b,c)}return b};
ct.prototype.setTimestamp=function(a){var b=Date.now();b=Number.isFinite(b)?b.toString():void 0;if(a instanceof o9&&(!Gj(a,l9,15)||!Gj(a,l9,15).getExtension(PVc))){var c=new s9,d=new r9,e=Gj(a,l9,15);e||(e=new l9);Sl(d,1,b);c.setTimestamp(d);rt(e,PVc,c);Pj(a,l9,15,e)}a instanceof nz&&(c=new s9,d=new r9,Sl(d,1,b),c.setTimestamp(d),rt(a,QVc,c))};var ZVc=1;var $Vc=function(){},aWc=[[],[]],bWc=0,cWc=new Set,dWc=null,eWc=0,fWc=0,gWc=0,hWc=0,iWc=0,jWc=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.window_=window;this.context_=a;this.state_ctor_=$Vc};g=jWc.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 kWc({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,window:this.window_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var kWc=function(a,b){var c=iWc++,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=bWc,!a.runInCurrentFrameIfPossible||hWc==0||a.measure&&hWc!=1||(h=(h+1)%2),aWc[h].push(f));return lWc(a.window)}},mWc=function(a,b){var c={};
hWc=1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(f){c[d]=!0,Ca(f)}}}hWc=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(f){Ca(f)}}eWc>0&&b>1&&(a=b-eWc,a<500&&(ZVc++,a>100&&fWc++,gWc<a&&(gWc=a)));eWc=cWc.size&&b>1?b:0},lWc=function(a){if(!cWc.has(a)){cWc.size||
(dWc=new MTc);cWc.add(a);var b=dWc.resolve;a.requestAnimationFrame(function(c){cWc.clear();var d=aWc[bWc];bWc=(bWc+1)%2;try{mWc(d,c)}finally{hWc=0,d.length=0}b()})}return dWc.promise};var nWc=function(a,b){this.visualElementProvider=a;this.traverseShadowDom=b===void 0?!1:b},pWc=function(a,b){return oWc(a,b).filter(function(c){return t9(this.visualElementProvider,c)!=null},a)},qWc=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=t9(c,b[f]);h.traversalOrder_==void 0&&h.serverVed_==void 0&&(e.parent$jscomp$183=void 0,OOb(b[f],function(k){return function(q){q=t9(c,q);return q!=null?(k.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,[]),yVc=1):(d=new Map,a.unshift(d),yVc=0),zVc(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},rWc=function(a,b){var c=a.visualElementProvider;return b.map(function(d){return t9(c,d)})},oWc=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},yVc=0;var sWc=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},t9=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||dq(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=tWc(a,
d);if(!d||(d.getComponentID()||a.componentID_)&&d.getComponentID()!=a.componentID_)return null;a=new xVc(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=r_b(c);e=Gj(f,kz,13)}catch(h){e=null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},tWc=function(a,b){if(dq(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(!dq(f)){var h=ZTb(f);if(h.length<2)return null;f=h[0].trim();h=h[1].trim();if(dq(f)||dq(h))return null;switch(f){case a.maybeXidPartLabel_("track"):f=h.split(",");for(h=0;h<f.length;++h){var k=d,q=f[h].trim();if(a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("Zf");if(!rVc.has(q))throw Error("$f`"+q);k.tracks_.add(q)}else k.tracks_.add(k.maybeXidEventLabel_(q))}break;
case a.maybeXidPartLabel_("index"):d.index_=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)};sWc.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?KOb(a):a};
sWc.prototype.setComponentID=function(a){this.componentID_=a};sWc.prototype.getComponentID=function(){return this.componentID_};var uWc=function(a,b){tz.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};V(uWc,tz);var vWc=function(a){lp.call(this);this.domHelper_=a||op();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=mp(this.domHelper_.document_,this.eventType_,eu(this.handleChange_,this))};gu(vWc,lp);g=vWc.prototype;g.getBrowserEventType_=jp(function(){var a=!!this.getHiddenPropertyName_(),b=this.getHiddenPropertyName_()!="hidden";if(a){var c;b?c=(((ju?"Webkit":iu?"Moz":Es?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
g.getHiddenPropertyName_=jp(function(){return wkc("hidden",this.domHelper_.document_)});g.getVisibilityStatePropertyName_=jp(function(){return wkc("visibilityState",this.domHelper_.document_)});g.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new uWc(!!this.domHelper_.document_[this.getHiddenPropertyName_()],a);this.dispatchEvent(a)};g.disposeInternal=function(){Az(this.eventKey_);vWc.superClass_.disposeInternal.call(this)};var u9=function(a,b,c,d,e,f,h){var k=d===void 0?{}:d;var q=k.backgroundJobDeferrer===void 0?void 0:k.backgroundJobDeferrer;d=k.expectXidTagComponents===void 0?!1:k.expectXidTagComponents;k=k.traverseShadowDom===void 0?!1:k.traverseShadowDom;ds.call(this);var t=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 MVc;this.visualElementProvider_=
new sWc(this.metadataHandler_,this.expectXidTagComponents_);this.eventToActionMap_={click:3};this.eventToTracksLabelMap_={click:this.maybeXidEventLabel_("generic_click")};this.pageVisibilityMonitor_=new vWc;this.logImpressionsTask_=(new jWc(this)).measure(q?function(){return q().then(t.handleImpressions_.bind(t))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new XDc(this.logImpressionsTask_,500,this);this.traverser_=h||new nWc(this.visualElementProvider_,
k);this.eventBuilder instanceof CVc&&(this.eventHandler_=this.eventBuilder);this.zwiebackId_=e;this.windowProvider_=f};V(u9,ds);u9.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};u9.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var xWc=function(a,b,c,d){var e=wWc(d),f=a.getIndex(c);var h=new oVc;h=Ol(h,4,b);var k=c.getTag().visualElementID;h=Ml(h,1,k);e=hc(h,3,e,Eb);f!=null&&e.setElementIndex(f);f=new BVc;f.ve_metadata=a.getMetadata(c,d);f.global_metadata=a.invariantData_;f.client_info=a.appInfo_;c=G7b(new hF,e.serialize());c=hc(c,20,f.testCodes,Eb);a.transport&&nF(a.transport,c);if(b!=null)for(b=new JVc(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};u9.prototype.log=function(a){this.transport&&nF(this.transport,a)};
var yWc=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};u9.prototype.getIndex=function(a){return a.getTag().getIndex()};var wWc=function(a){return a.map(function(b){return b.getTag().visualElementID})};u9.prototype.getMetadata=function(a,b){var c=new nz;vVc(a.getTag(),c);for(a=0;a<b.length;++a)vVc(b[a].getTag(),c);return c};
var zWc=function(a,b,c){var d,e=a.visualElementProvider_,f=a.eventToTracksLabelMap_[b];OOb(c,function(h){if(!Pz(h))return!1;h=t9(e,h);var k;if(k=h!=null)if(k=h.getTag(),a.expectXidTagComponents_){if(!k.xidTagComponents_)throw Error("Zf");if(!rVc.has(f))throw Error("$f`"+f);k=k.tracks_.has(f)}else k=k9(k,f);return k?(d=h,!0):!1},!0);return d};g=u9.prototype;
g.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;OOb(a,function(d){if(!Pz(d))return!1;d=t9(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=pWc(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();c=new XN(0,0,
c.width,c.height);var d=qWc(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]),Sj(d[e],28,this.zwiebackId_),this.transport&&nF(this.transport,d[e])}b=rWc(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_&&Sj(b[c],28,this.zwiebackId_),this.transport&&nF(this.transport,b[c]);yWc(this)}else{c=[];d=this.windowProvider_?
this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new XN(0,0,d.width,d.height);for(e=0;e<b.length;e++){var f=b[e];this.isVisible_(f,d)&&(f=t9(this.visualElementProvider_,f))&&k9(f.getTag(),"impression")&&c.push(f)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),xWc(this,void 0,d,e),yWc(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=xkc(b,new XN(a.left,a.top,a.width,a.height)))&&b.width>=10&&b.height>=10?!0:!1};g.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?IOb(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)}};var dt=function(a,b,c,d,e,f,h,k,q,t,w,y,D){e=e===void 0?!1:e;q=q===void 0?!1:q;k||(b=new kp(b,c),d&&(b.destinationUrl=d),f&&(b.backgroundJobDeferrer=f),k=b.build());u9.call(this,a,h||null,k,{expectXidTagComponents:e,backgroundJobDeferrer:f,traverseShadowDom:q},t,w,y);this.clearcut_=k;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0;D&&this.clearcut_.setProductID(D)};V(dt,u9);
dt.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};dt.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};dt.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var AWc=function(a){this.tracker=a};var BWc=function(a,b){this.root=a;this.handler=b;this.eventHandler=new ds(this)};
BWc.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=zWc(d,e,c.target)))if(d.eventHandler_)for(f=d.eventHandler_.interactionEvent(e,new JVc(f)),e=0;e<f.length;++e)d.metadataHandler_.addEventMetadata(f[e]),d.zwiebackId_&&Sj(f[e],28,d.zwiebackId_),d.transport&&
nF(d.transport,f[e]);else{var h=d.getAncestry_(e.getElement());xWc(d,f,e,h)}c.stopPropagation()}))};BWc.prototype.dispose=function(){var a;(a=this.observer)==null||a.disconnect();this.eventHandler.removeAll()};BWc.prototype.onMutation=function(a){a=l(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.type==="childList"){b=l(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 lPb=function(a,b){this.root=a;this.tracker=b;this.observer=new BWc(this.root,new AWc(this.tracker))};
lPb.prototype.start=function(a){var b=this.tracker,c=this.root;b.domHelper_=new Fz;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=l(a);for(c=b.next();!c.done;c=
b.next()){var d=l(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(r(a.keys())))};lPb.prototype.stop=function(){this.observer.dispose();this.tracker.dispose()};var Tt=function(a){this.internalArray_=m(a)};V(Tt,X);var v9=function(a,b){return Ll(a,1,b)};g=Tt.prototype;g.getProvenance=function(){return Kj(this,2,0)};g.setProvenance=function(a){return Ol(this,2,a)};g.getCode=function(){return Kj(this,3,0)};g.setCode=function(a){return Ol(this,3,a)};g.getCodeOrUndefined=function(){return Ot(this,3)};var w9=function(a){this.internalArray_=m(a)};V(w9,X);w9.prototype.getSource=function(){return Gj(this,Tt,1)};w9.prototype.setSource=function(a){return Pj(this,Tt,1,a)};w9.prototype.hasSource=function(){return Ak(this,Tt,1)};var x9=function(a,b){return Ol(a,2,b)},y9=function(a,b){return Ol(a,3,b)};var CWc=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};g=CWc.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.clone=function(){var a=(new CWc).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var DWc=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new w9};g=DWc.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 EWc=function(a,b){this.results_=a;this.metadata_=b};EWc.prototype.getResults=function(){return this.results_};EWc.prototype.getMetadata=function(){return this.metadata_};var z9=function(a){this.internalArray_=m(a)};V(z9,X);g=z9.prototype;g.getQuery=function(){return Zh(this,1,"")};g.setQuery=function(a){return Sj(this,1,a)};g.clearQuery=function(){ro(this,1)};g.hasQuery=function(){return vl(this,1)};g.getIsFirstCallback=function(){return hk(this,2,!1)};g.setIsFirstCallback=function(a){return Ll(this,2,a)};g.getIsLastCallback=function(){return hk(this,3,!1)};g.setIsLastCallback=function(a){return Ll(this,3,a)};g.setCallbackNumber=function(a){return Ml(this,4,a)};
g.getNextPageToken=function(){return Zh(this,5,"")};g.getCode=function(){return Kj(this,6,2)};g.setCode=function(a){return Ol(this,6,a)};g.getCodeOrUndefined=function(){return Ot(this,6)};g.getCacheState=function(){return Gj(this,w9,7)};g.setCacheState=function(a){return Pj(this,w9,7,a)};g.hasCacheState=function(){return Ak(this,w9,7)};var A9=function(a,b){this.results_=a;this.metadata_=b};A9.prototype.getResults=function(){return this.results_};A9.prototype.getMetadata=function(){return this.metadata_};var FWc={create:function(a,b,c,d,e){e=e===void 0?new Us:e;return QOb(a,b,c,d,new bSc,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=e===void 0?{}:e;return QOb(a,b,c,d,new bSc,e)},createConfig:function(a){var b;a===void 0?b=new Fhc(tN.apiEnv,new Ghc(tN.userProfileId)):b=a;return new fTc(b)}};var Gt=function(a){this.internalArray_=m(a)};V(Gt,X);g=Gt.prototype;g.getTimestamp=function(){return Jj(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return Jj(this,1)};g.setTimestamp=function(a){return Tl(this,1,a)};g.hasTimestamp=function(){return El(this,1)};g.getAffinityVersion=function(){return Lj(this,2)};g.setAffinityVersion=function(a){Ml(this,2,a)};g.getAffinityVersionOrUndefined=function(){return Au(this,2)};g.getNextPageToken=function(){return Zh(this,4)};
var B9=function(a){return Ll(a,5,!0)};Gt.prototype.getCode=function(){return Kj(this,6,0)};Gt.prototype.setCode=function(a){return Ol(this,6,a)};Gt.prototype.getCodeOrUndefined=function(){return Ot(this,6)};var GWc=function(){this.bits_=[]};g=GWc.prototype;g.and=function(a){for(var b=new GWc,c=l(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 GWc,c=l(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=l(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};GWc.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 rPb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),tPb=/^[<"']|[>"']$/g,qPb=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"),HWc=/[^a-z0-9]+/gi,sPb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var IWc=function(a,b){this.key=a;this.terms=uPb(b)};var C9=function(a,b,c){b=b===void 0?"":b;c=c===void 0?new GWc:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_=b==="\u2026"};C9.prototype.cloneNode=function(a){for(var b=[],c=l(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new C9(b)};
C9.prototype.getMatches=function(a){for(var b=[],c=l(this.prefix_?this.matchIndices_:wPb(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};
C9.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 k=l(h.prefix_?h.matchIndices_:wPb(h.items_.length)),q=k.next();!q.done;q=k.next()){var t=h;q=q.value;for(var w=t.prefix_+"\ufdc7",y=l(t.items_[q].terms),D=y.next();!D.done;D=y.next())D=D.value,D.length<=t.prefix_.length||D<t.prefix_||D>w||(D=D.charAt(t.prefix_.length),t.childNodes_[D]||(t.childNodes_[D]=new C9(t.items_,t.prefix_+D)),t.childNodes_[D].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[f]||D9;if(d===D9)break}return d}).reduce(function(c,d){return c.and(d)}):this};var JWc=function(a){a.isExpanded_=!1;for(var b=l(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&JWc(c)};C9.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new C9(this.items_,"\u2026",a)};C9.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new C9(this.items_,"\u2026",a)};var D9=new C9([]);
D9.isExpanded_=!0;var KWc=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};KWc.prototype.getExpiry=function(){return this.expiry_};KWc.prototype.getValue=function(){return this.value_};KWc.prototype.isExpired=function(){return this.expiry_<Date.now()};KWc.prototype.isStale=function(){return this.stale_<Date.now()};var LWc=function(a){this.shouldEvictItem_=a;this.items_=new Map};g=LWc.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=l(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=l(this.items_),c=b.next();!c.done;c=b.next()){var d=l(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var MWc=function(){var a=new LWc(function(){return a.size()>1E3});return a};var NWc=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new LWc(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};g=NWc.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 E9=function(a,b){return new NWc(a,function(c){var d=Date.now()+b;return new KWc(d,c,d)})};var F9=function(a){this.internalArray_=m(a)};V(F9,X);g=F9.prototype;g.getSuggestMaxResults=function(){return Lj(this,1,10)};g.getSearchMaxResults=function(){return Lj(this,2,10)};g.getCacheSize=function(){return Lj(this,3,500)};g.setCacheSize=function(a){Ml(this,3,a)};g.hasCacheSize=function(){return ul(this,3)};g.getCacheStaleSec=function(){return ak(this,4,86400)};g.getCacheExpiredSec=function(){return ak(this,5,1209600)};g.getRpcTimeoutSec=function(){return ak(this,12,60)};
g.getSuggestFormat=function(){return Kj(this,15,1)};g.getSearchFormat=function(){return Kj(this,16,1)};F9.repeatedFields_=[24,25];var yPb=new Set([10,11]);var OWc=function(a){this.interleaveGroups_=hk(a,33,!1)},PWc=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=zPb(d,e,f,!0);break a;default:d=APb(d,e,f)}}return d}).map(function(d){return String(d.id)})};var QWc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new OWc(e);this.indexes_=E9(Lj(e,8,250),ak(e,9,3600)*1E3);this.maxResults_=e.getSearchMaxResults()};g=QWc.prototype;g.getCacheType=function(){return 3};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d;return ge(function(e){switch(e.nextAddress){case 1:c=v9(new Tt,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(v9(c,!1));he(e,2);return ie(e,b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;Zt(e,3);break;case 2:return le(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Gt),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=PWc(this.ranker_,b,1),d=l(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=RWc(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 SWc=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};SWc.prototype.getStageType=function(){return 2};SWc.prototype.index_=function(a,b){for(var c=l(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
SWc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return ge(function(y){switch(y.nextAddress){case 1:return c=new Map,d=v9(new Tt,!0).setProvenance(7).setCode(0),e=a.queryScope()===3,f=TWc(a),he(y,2),ie(y,b.adapter_.lookup(f),4);case 4:h=y.yieldResult;Zt(y,3);break;case 2:return le(y),d.setCode(13),a.notify(c,[],d),y.return();case 3:b.index_(h,e);k=l(f);for(q=k.next();!q.done;q=k.next())t=q.value,(w=b.indexer_.load(t,a.getFormat(),a.getOptions().useOriginalDisplayValue_))&&c.set(t,w);
a.notify(c,[],d);me(y)}})};var UWc=function(a,b){this.metrics_=a;this.state_=new gN(b);this.source=b;this.label_="total"};UWc.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};UWc.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var VWc=function(a,b){this.metrics_=a;this.state_=new gN(b);this.source=b};VWc.prototype.increment=function(a){this.metrics_.count(this.state_,a===void 0?1:a)};var WWc=function(a,b){this.metrics_=a;this.state_=new gN(b);this.source=b};WWc.prototype.report=function(){this.metrics_.error(this.state_)};var Jt=function(a){this.internalArray_=m(a)};V(Jt,X);Jt.prototype.getSessionState=function(){return Gj(this,jP,1)};Jt.prototype.setSessionState=function(a){return Pj(this,jP,1,a)};Jt.prototype.hasSessionState=function(){return Ak(this,jP,1)};var ut=function(a){this.internalArray_=m(a)};V(ut,X);ut.prototype.hasNoChanges=function(){return tl(this,12)};var tt=function(a){this.internalArray_=m(a)};V(tt,X);tt.prototype.getEventType=function(){return Kj(this,1,0)};tt.prototype.setEventType=function(a){return Ol(this,1,a)};var vt=function(a,b){return Ol(a,2,b)},lQb=function(a,b){return Ol(a,3,b)};g=tt.prototype;g.getErrorType=function(){return Kj(this,6,0)};g.setErrorType=function(a){return Ol(this,6,a)};g.getIdType=function(){return Kj(this,8,0)};g.setIdType=function(a){Ol(this,8,a)};g.getResultIndex=function(){return Lj(this,9,0)};
g.setResultIndex=function(a){Ml(this,9,a)};g.getToken=function(){return Zh(this,10,"")};g.setToken=function(a){return Sj(this,10,a)};g.getCacheState=function(){return Gj(this,w9,11)};g.setCacheState=function(a){return Pj(this,w9,11,a)};g.hasCacheState=function(){return Ak(this,w9,11)};g.getQueryLength=function(){return Lj(this,14)};g.setQueryLength=function(a){return Ml(this,14,a)};g.hasQueryLength=function(){return ul(this,14)};g.getItemCount=function(){return Lj(this,15)};
g.setItemCount=function(a){return Ml(this,15,a)};g.hasItemCount=function(){return ul(this,15)};g.getLookupInfo=function(){return Gj(this,ut,16)};g.setLookupInfo=function(a){return Pj(this,ut,16,a)};g.hasLookupInfo=function(){return Ak(this,ut,16)};g.getQueryScope=function(){return Kj(this,17,0)};g.setQueryScope=function(a){return Ol(this,17,a)};g.hasQueryScope=function(){return wl(this,17)};var XWc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};XWc.prototype.search=function(a){var b=this,c,d;return ge(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),he(e,2,3),ie(e,b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:je(e);c.stop();ke(e,0);break;case 2:throw d=le(e),b.trackers_.error(36,11).report(),d;}})};
XWc.prototype.lookup=function(a){var b=this,c,d;return ge(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),he(e,2,3),ie(e,b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:je(e);c.stop();ke(e,0);break;case 2:throw d=le(e),b.trackers_.error(37,11).report(),d;}})};var YWc=function(a,b){this.delegate_=a;this.trackers_=b;this.name=a.name};YWc.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
YWc.prototype.warmUpCache=function(){var a=this,b,c;return ge(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),he(d,2,3),ie(d,a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:je(d);b.stop();ke(d,0);break;case 2:throw c=le(d),a.trackers_.error(35,11).report(),c;}})};YWc.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var ZWc=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new OWc(e);this.index_=D9};g=ZWc.prototype;g.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};g.flush=function(){this.index_=D9};
g.fetch=function(a){var b=this,c,d;return ge(function(e){switch(e.nextAddress){case 1:c=v9(new Tt,!0).setProvenance(7).setCode(0);if(b.index_!=D9&&!b.adapter_.needsWarmUp())return e.return(v9(c,!1));he(e,2);return ie(e,b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;Zt(e,3);break;case 2:return le(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Gt),e.return(c)}catch(f){return e.return(c.setCode(13))}}})};
g.index=function(a,b){a=PWc(this.ranker_,b,1);for(var c=l(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=RWc(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 $Wc=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};$Wc.prototype.getErrorType=function(){return this.errorType_};var G9=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};g=G9.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 aXc=function(a,b){this.provider_=a;this.itemFactory_=b};aXc.prototype.search=function(a,b){var c=this,d;return ge(function(e){if(e.nextAddress==1)return b<1?e.return([]):ie(e,c.provider_.search((new gmc).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(bXc(d))})};aXc.prototype.lookup=function(a){var b=this,c;return ge(function(d){if(d.nextAddress==1)return a.length?ie(d,b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(bXc(c))})};aXc.prototype.getName=function(){return this.provider_.name};var cXc=function(a,b){this.provider_=a;this.itemFactory_=b};cXc.prototype.getPosition=function(){return this.provider_.getPosition()};cXc.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};cXc.prototype.warmUpCache=function(){var a=this,b;return ge(function(c){if(c.nextAddress==1)return ie(c,a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(bXc(b))})};cXc.prototype.getName=function(){return this.provider_.name};var dXc=new $Wc(68,69,38);var eXc=function(){},fXc=function(a){var b=[];a=l(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],f=l(c.getTargetList()),h=f.next();!h.done;h=f.next())h=FPb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&ft(d.id)&&(e=void 0,d.totalMemberCount=(e=c.getTotalMemberCountOrUndefined())!=null?e:void 0,d.memberKeys=c.getMemberList().map(function(k){var q=l(k.getTargetList());for(q=q.next();!q.done;q=q.next())return k=FPb(k,q.value,8),b.push(k),String(k.id)}))}return b},
bXc=function(a){a=a.getResultList();return fXc(a)};var gXc=function(){};gXc.prototype.processItem=function(){};var hXc=new gXc;var iXc=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};iXc.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var jXc=function(a,b){this.encryptionSupport_=a;this.certificateStatus_=b};jXc.prototype.getEncryptionSupport=function(){return this.encryptionSupport_};var MPb=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 jXc(a===4?c?4:3:c?2:1,a)};var OPb=function(a,b){this.reachabilityStatus=a;this.clientData=b};OPb.prototype.getClientData=function(){return this.clientData};var kXc=function(){this.iconUrl_=this.altText_=""},KPb=function(a){var b=new kXc;b.altText_=a||"";return b};kXc.prototype.getIconUrl=function(){return this.iconUrl_};kXc.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var lXc=function(a){this.delegate_=a};lXc.prototype.processItem=function(a){a.target=PPb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var mXc=function(){};
mXc.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 k=b.runtimeConfig_.customDataConfig_;if(k){var q=b.getClient(),t=new eXc;var w=w===void 0?hXc:w;b=new iXc(b,new lXc(w));w=[];for(var y=l(k.staticDataProviders_.reverse()),D=y.next();!D.done;D=y.next()){D=D.value;var G=c,I=D;I=new YWc(I,G);I=new ZWc(new cXc(I,t),b,f,d,q);G=new G9(I,G,dXc);switch(D.getPosition()){case 1:w.push(G);break;case 2:h.push(G);
break;default:throw Error("bg");}}w.length&&h.splice.apply(h,[0,0].concat(r(w)));k=l(k.dynamicDataProviders_);for(w=k.next();!w.done;w=k.next())w=w.value,y=c,D=w,D=new XWc(D,y),D=new QWc(new aXc(D,t),b,f,d,q),y=new G9(D,y,dXc),h.push(y),w=new XWc(w,c),a.push(new SWc(new aXc(w,t),b,e))}};var H9=function(a){this.internalArray_=m(a)};V(H9,X);g=H9.prototype;g.getEnableClearcut=function(){return hk(this,1,!1)};g.setEnableClearcut=function(a){return Ll(this,1,a)};g.getSocialApplication=function(){return Kj(this,2,0)};g.getSocialApplicationOrUndefined=function(){return Ot(this,2)};g.setEventSources=function(a){pu(this,5,Nt,a)};H9.repeatedFields_=[5,6];var I9=function(a){this.internalArray_=m(a)};V(I9,X);I9.prototype.getApplication=function(){return Kj(this,1,0)};I9.prototype.setApplication=function(a){return Ol(this,1,a)};I9.prototype.getApplicationOrUndefined=function(){return Ot(this,1)};I9.prototype.getIsEnabled=function(){return hk(this,2,!1)};var J9=function(a){this.internalArray_=m(a)};V(J9,X);J9.prototype.getApiKey=function(){return Zh(this,1,"")};J9.prototype.setApiKey=function(a){return Sj(this,1,a)};var K9=function(a){this.internalArray_=m(a)};V(K9,X);g=K9.prototype;g.getClientId=function(){return Zh(this,1,"CLIENT_UNSPECIFIED")};g.setClientId=function(a){return Sj(this,1,a)};g.getAffinityType=function(){return Zh(this,4,"AFFINITY_TYPE_UNKNOWN")};g.setAffinityType=function(a){return Sj(this,4,a)};g.getContainerType=function(){return BTb(this,7)};g.setPhoneCanonicalizationInference=function(a){return Ol(this,19,a)};g.getPhoneCanonicalizationInferenceOrUndefined=function(){return Ot(this,19)};
K9.repeatedFields_=[7,8,18];var nXc=function(a){this.internalArray_=m(a)};V(nXc,X);g=nXc.prototype;g.getClient=function(){return Gj(this,F9,1)};g.setClient=function(a){return Pj(this,F9,1,a)};g.hasClient=function(){return Ak(this,F9,1)};g.getGapi=function(){return Gj(this,J9,2)};g.getPeopleApi=function(){return Gj(this,K9,3)};g.getClearcut=function(){return Gj(this,H9,4)};g.setClearcut=function(a){Pj(this,H9,4,a)};g.hasClearcut=function(){return Ak(this,H9,4)};g.getExperiments=function(){return Gj(this,I9,5)};
g.setExperiments=function(a){return Pj(this,I9,5,a)};g.hasExperiments=function(){return Ak(this,I9,5)};var oXc=Uqa(nXc);var pXc;var L9=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new mmc;a=this.getPeopleApi();Jl(a,7,Ai()).length||Ul(a,7,[2,8,1,7,10,11]);zi(a,8,Ai()).length||tj(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=l(zi(a,8,Ai()));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":lc(a,8,Jb,c+".metadata.verified")}};
L9.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new F9);return this.delegate_.getClient()};L9.prototype.getGapi=function(){if(!Ak(this.delegate_,J9,2)){var a=this.delegate_,b=new J9;Pj(a,J9,2,b)}return this.delegate_.getGapi()};L9.prototype.getPeopleApi=function(){if(!Ak(this.delegate_,K9,3)){var a=this.delegate_,b=new K9;Pj(a,K9,3,b)}return this.delegate_.getPeopleApi()};
L9.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new H9);return this.delegate_.getClearcut()};var qXc=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new I9);return a.delegate_.getExperiments()};L9.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var rXc=function(a){a=a.getClient();return Lj(a,6,500)?Math.min(Math.round(Lj(a,6,500)/4),500):500};var sXc;var Mt=null;var M9=function(a){this.internalArray_=m(a)};V(M9,X);M9.prototype.setPhoneCanonicalizationInference=function(a){return Ol(this,1,a)};M9.prototype.getPhoneCanonicalizationInferenceOrUndefined=function(){return Ot(this,1)};var jt=function(a){this.internalArray_=m(a)};V(jt,X);jt.prototype.setDevice=function(a){return Ol(this,1,a)};var tXc=function(a){this.internalArray_=m(a)};V(tXc,X);var uXc=function(){var a=new tXc;return Ol(a,1,1)},vXc=function(a,b){return Sj(a,2,b)};var wXc=function(a){this.internalArray_=m(a)};V(wXc,X);g=wXc.prototype;g.getAffinityType=function(){return yt(this,1)};g.setAffinityType=function(a){return Ol(this,1,a)};g.getQuery=function(){return Tj(this,2)};g.setQuery=function(a){return Sj(this,2,a)};g.clearQuery=function(){ro(this,2)};g.hasQuery=function(){return vl(this,2)};g.setClientInformation=function(a){Pj(this,jt,3,a)};g.setMaxResults=function(a){return Ml(this,4,a)};g.setFormattingOptions=function(a){Pj(this,M9,5,a)};
g.setDelegation=function(a){Pj(this,tXc,6,a)};var xXc=function(a){this.internalArray_=m(a)};V(xXc,X);g=xXc.prototype;g.getAffinityVersion=function(){return vu(this,1)};g.setAffinityVersion=function(a){Ml(this,1,a)};g.getAffinityVersionOrUndefined=function(){return Au(this,1)};g.getAffinityType=function(){return Tj(this,4)};g.setAffinityType=function(a){return Sj(this,4,a)};xXc.repeatedFields_=[3];var iQb=function(a){this.internalArray_=m(a)};V(iQb,X);var N9=function(a){this.internalArray_=m(a)};V(N9,X);g=N9.prototype;g.getLoggingId=function(){return kr(this,1)};g.setLoggingId=function(a){ro(this,1,kb(a,!1,!0,!1))};g.getValue=function(){return jr(this,2)};g.getValue_legacyNullable=function(){return jr(this,2)};g.setValue=function(a){return ro(this,2,yb(a))};g.hasValue=function(){return jr(this,2)!=null};var yXc=function(a){this.internalArray_=m(a)};V(yXc,X);g=yXc.prototype;g.getValue=function(){return Tj(this,1)};g.getValue_legacyNullable=function(){return Tj(this,1)};g.setValue=function(a){return Sj(this,1,a)};g.hasValue=function(){return vl(this,1)};g.getGivenName=function(){return Tj(this,2)};g.setGivenName=function(a){return Sj(this,2,a)};g.hasGivenName=function(){return vl(this,2)};g.getFamilyName=function(){return Tj(this,3)};g.setFamilyName=function(a){return Sj(this,3,a)};
g.hasFamilyName=function(){return vl(this,3)};g.getSourceType=function(){return yt(this,4)};g.setSourceType=function(a){return Ol(this,4,a)};var zXc=function(a){this.internalArray_=m(a)};V(zXc,X);g=zXc.prototype;g.getUrl=function(){return Tj(this,1)};g.setUrl=function(a){return Sj(this,1,a)};g.hasUrl=function(){return vl(this,1)};g.getType=function(){return yt(this,2)};g.setType=function(a){return Ol(this,2,a)};g.hasType=function(){return wl(this,2)};g.getGlyph=function(){return Tj(this,3)};g.setGlyph=function(a){return Sj(this,3,a)};var O9=function(a){this.internalArray_=m(a)};V(O9,X);g=O9.prototype;g.getPhoto=function(){return Gj(this,zXc,1)};g.setPhoto=function(a){Pj(this,zXc,1,a)};g.hasPhoto=function(){return Ak(this,zXc,1)};g.getName=function(){return Gj(this,yXc,2)};g.setName=function(a){return Pj(this,yXc,2,a)};g.hasName=function(){return Ak(this,yXc,2)};g.getAffinity=function(){return Gj(this,N9,3)};g.hasAffinity=function(){return Ak(this,N9,3)};g.getPrimary=function(){return qt(this,4)};var P9=function(a){this.internalArray_=m(a)};V(P9,X);P9.prototype.getStatus=function(){return yt(this,2)};P9.prototype.setStatus=function(a){return Ol(this,2,a)};P9.prototype.hasStatus=function(){return wl(this,2)};var AXc=function(a){this.internalArray_=m(a)};V(AXc,X);var uQb=function(a){this.internalArray_=m(a)};V(uQb,X);uQb.prototype.getState=function(){return yt(this,2)};uQb.prototype.setState=function(a){return Ol(this,2,a)};var Q9=function(a){this.internalArray_=m(a)};V(Q9,X);Q9.prototype.getApplication=function(){return Kj(this,1,0)};Q9.prototype.setApplication=function(a){return Ol(this,1,a)};Q9.prototype.getApplicationOrUndefined=function(){return Ot(this,1)};Q9.repeatedFields_=[2];var R9=function(a){this.internalArray_=m(a)};V(R9,X);R9.prototype.getValue=function(){return Tj(this,1)};R9.prototype.getValue_legacyNullable=function(){return Tj(this,1)};R9.prototype.setValue=function(a){return Sj(this,1,a)};R9.prototype.hasValue=function(){return vl(this,1)};R9.repeatedFields_=[2];var UPb=function(a){this.internalArray_=m(a)};V(UPb,X);g=UPb.prototype;g.getProfileId=function(){return Tj(this,1)};g.getProfileId_legacyNullable=function(){return Tj(this,1)};g.setProfileId=function(a){return Sj(this,1,a)};g.hasProfileId=function(){return vl(this,1)};g.getEmail=function(){return Yn(this,2,nt)};g.getEmail_legacyNullable=function(){return Yn(this,2,nt)};g.setEmail=function(a){return Cj(this,2,nt,a)};g.hasEmail=function(){return Yn(this,2,nt)!=null};
g.getPhone=function(){return Yn(this,3,nt)};g.getPhone_legacyNullable=function(){return Yn(this,3,nt)};g.setPhone=function(a){return Cj(this,3,nt,a)};g.hasPhone=function(){return Yn(this,3,nt)!=null};g.getClientData=function(){return Tj(this,4)};g.hasClientData=function(){return vl(this,4)};var nt=[2,3];var S9=function(a){this.internalArray_=m(a)};V(S9,X);S9.prototype.getDisplayValue=function(){return Tj(this,1)};S9.prototype.getCanonicalValue=function(){return Tj(this,2)};S9.prototype.setCanonicalValue=function(a){return Sj(this,2,a)};S9.prototype.getOriginalValue=function(){return Tj(this,3)};var BXc=function(a){this.internalArray_=m(a)};V(BXc,X);g=BXc.prototype;g.getStatus=function(){return yt(this,1)};g.setStatus=function(a){return Ol(this,1,a)};g.hasStatus=function(){return wl(this,1)};g.getClientData=function(){return Tj(this,2)};g.hasClientData=function(){return vl(this,2)};var XPb=function(a){this.internalArray_=m(a)};V(XPb,X);g=XPb.prototype;g.getIdCase=function(){return xj(this,T9)};g.getProfileId=function(){return Yn(this,1,T9)};g.getProfileId_legacyNullable=function(){return Yn(this,1,T9)};g.setProfileId=function(a){return Cj(this,1,T9,a)};g.hasProfileId=function(){return Yn(this,1,T9)!=null};g.getContactId=function(){return Yn(this,2,T9)};g.setContactId=function(a){return Cj(this,2,T9,a)};var T9=[1,2];var CXc=function(a){this.internalArray_=m(a)};V(CXc,X);g=CXc.prototype;g.getValueCase=function(){return xj(this,lt)};g.getDisplayInfo=function(){return Gj(this,O9,1)};g.hasDisplayInfo=function(){return Ak(this,O9,1)};g.getEmail=function(){return bk(this,R9,2,lt)};g.setEmail=function(a){return gk(this,2,lt,a)};g.hasEmail=function(){return ok(this,R9,2,lt)};g.getPhone=function(){return bk(this,S9,3,lt)};g.setPhone=function(a){return gk(this,3,lt,a)};g.hasPhone=function(){return ok(this,S9,3,lt)};
g.getIsSelf=function(){return qt(this,6)};g.getTypeLabel=function(){return Tj(this,10)};CXc.repeatedFields_=[5];var lt=[2,3,4];var DXc=function(a){this.internalArray_=m(a)};V(DXc,X);g=DXc.prototype;g.getDisplayInfo=function(){return Gj(this,O9,1)};g.hasDisplayInfo=function(){return Ak(this,O9,1)};g.getMembersList=function(){return Yj(this,CXc,2,Ai())};g.setMembersList=function(a){return Dk(this,2,a)};g.getLabelId=function(){return Tj(this,3)};DXc.repeatedFields_=[2];var pt=function(a){this.internalArray_=m(a,5)};V(pt,X);pt.prototype.getIsPlaceholder=function(){return hk(this,2)};pt.prototype.setIsPlaceholder=function(a){Ll(this,2,a)};pt.prototype.getContactId=function(){return Jj(this,4)};pt.prototype.setContactId=function(a){return Tl(this,4,a)};var U9=function(a){this.internalArray_=m(a)};V(U9,X);U9.prototype.getAffinity=function(){return Gj(this,N9,2)};U9.prototype.hasAffinity=function(){return Ak(this,N9,2)};U9.repeatedFields_=[1];var CQb=function(a){this.internalArray_=m(a)};V(CQb,X);CQb.prototype.getIdCase=function(){return xj(this,DQb)};var DQb=[1,2];var V9=function(a){this.internalArray_=m(a)};V(V9,X);g=V9.prototype;g.getDisplayInfo=function(){return Gj(this,O9,1)};g.hasDisplayInfo=function(){return Ak(this,O9,1)};g.getMembersList=function(){return Yj(this,U9,2,Ai())};g.setMembersList=function(a){return Dk(this,2,a)};g.getGroupId=function(){return Tj(this,4)};g.setGroupId=function(a){Sj(this,4,a)};g.hasGroupId=function(){return vl(this,4)};V9.repeatedFields_=[2,10,13,6,11,14];var W9=function(a){this.internalArray_=m(a)};V(W9,X);W9.prototype.getDataCase=function(){return xj(this,EXc)};W9.prototype.getGroup=function(){return bk(this,V9,2,EXc)};W9.prototype.setGroup=function(a){gk(this,2,EXc,a)};var EXc=[1,2,3];var X9=function(a){this.internalArray_=m(a)};V(X9,X);X9.prototype.getResultsList=function(){return Yj(this,W9,1,Ai())};var FXc=ai(X9);X9.repeatedFields_=[1];var GXc=new EZ("/peoplestack.PeopleStackAutocompleteService/Autocomplete",wXc,X9,function(a){return a.serialize()},FXc);var HXc=function(a){this.internalArray_=m(a)};V(HXc,X);g=HXc.prototype;g.getAffinityType=function(){return yt(this,1)};g.setAffinityType=function(a){return Ol(this,1,a)};g.setClientInformation=function(a){Pj(this,jt,2,a)};g.getName=function(){return Tj(this,3)};g.setName=function(a){return Sj(this,3,a)};g.hasName=function(){return vl(this,3)};g.getNameOrUndefined=function(){return Jm(this,3)};HXc.repeatedFields_=[7];var IXc=function(a){this.internalArray_=m(a)};V(IXc,X);IXc.prototype.getGroup=function(){return Gj(this,V9,1)};IXc.prototype.setGroup=function(a){Pj(this,V9,1,a)};var JXc=new EZ("/peoplestack.PeopleStackAutocompleteService/CreateGroup",HXc,IXc,function(a){return a.serialize()},ai(IXc));var wt=function(a){this.internalArray_=m(a)};V(wt,X);g=wt.prototype;g.getIdCase=function(){return xj(this,xt)};g.getEmail=function(){return Yn(this,1,xt)};g.getEmail_legacyNullable=function(){return Yn(this,1,xt)};g.setEmail=function(a){return Cj(this,1,xt,a)};g.hasEmail=function(){return Yn(this,1,xt)!=null};g.getPhone=function(){return Yn(this,2,xt)};g.getPhone_legacyNullable=function(){return Yn(this,2,xt)};g.setPhone=function(a){return Cj(this,2,xt,a)};
g.hasPhone=function(){return Yn(this,2,xt)!=null};g.getProfileId=function(){return Yn(this,3,xt)};g.getProfileId_legacyNullable=function(){return Yn(this,3,xt)};g.setProfileId=function(a){return Cj(this,3,xt,a)};g.hasProfileId=function(){return Yn(this,3,xt)!=null};g.getContactId=function(){return Yn(this,5,xt)};g.setContactId=function(a){return Cj(this,5,xt,a)};var xt=[1,2,3,4,5];var Y9=function(a){this.internalArray_=m(a)};V(Y9,X);Y9.prototype.getAffinityType=function(){return yt(this,1)};Y9.prototype.setAffinityType=function(a){return Ol(this,1,a)};Y9.prototype.setClientInformation=function(a){Pj(this,jt,2,a)};var KXc=function(a,b){Dk(a,3,b)};Y9.prototype.setIds=function(a){return pu(this,3,wt,a)};Y9.prototype.setFormattingOptions=function(a){Pj(this,M9,4,a)};Y9.prototype.setDelegation=function(a){Pj(this,tXc,5,a)};Y9.repeatedFields_=[3];var LXc=function(a){this.internalArray_=m(a)};V(LXc,X);LXc.prototype.getId=function(){return Gj(this,wt,1)};LXc.prototype.setId=function(a){return Pj(this,wt,1,a)};var MXc=[2,3];var NXc=function(a){this.internalArray_=m(a)};V(NXc,X);var OXc=ai(NXc);NXc.repeatedFields_=[1];var PXc=new EZ("/peoplestack.PeopleStackAutocompleteService/Lookup",Y9,NXc,function(a){return a.serialize()},OXc);var Z9=function(a){this.internalArray_=m(a)};V(Z9,X);Z9.prototype.getAffinityType=function(){return yt(this,1)};Z9.prototype.setAffinityType=function(a){return Ol(this,1,a)};Z9.prototype.setClientInformation=function(a){Pj(this,jt,2,a)};Z9.prototype.setDelegation=function(a){Pj(this,tXc,3,a)};var QXc=function(a){this.internalArray_=m(a)};V(QXc,X);var RXc=new EZ("/peoplestack.PeopleStackAutocompleteService/Warmup",Z9,QXc,function(a){return a.serialize()},ai(QXc));var SXc=function(a){var b={unaryInterceptors:[new PTc]};b=b||{};b.format="jspb";this.client_=new RCc(b);this.hostname_=a==void 0?a:a.replace(/\/+$/,"")};SXc.prototype.autocomplete=function(a,b){return MZ(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},GXc)};SXc.prototype.lookup=function(a,b){return MZ(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},PXc)};
SXc.prototype.createGroup=function(a,b){return MZ(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},JXc)};var fQb=new Zy(417869898,pt);var jQb=new Zy(417866180,iQb);var TXc=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},cQb=function(a){if(!a)return 0;a=Array.from(a).map(TXc);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var RPb=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 UXc=function(a){this.leanResponseProcessorConfig_=a},VXc=function(a,b,c,d){d=d===void 0?!1:d;for(var e=[],f=hQb(b),h=[],k=l(Yj(b,CXc,1,Ai())),q=k.next();!q.done;q=k.next()){q=q.value;var t=WPb(q);if(t.equals(ot)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var w=dQb(q);if(!w)continue;t=DPb(w)}h.push(String(t));var y=w=void 0;t={id:t,containerIds:YPb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:ZPb(b,q),provenance:c,isPrimary:bQb((w=q.getDisplayInfo())!=null?w:null),
itemAffinity:aQb(b),fieldAffinity:$Pb((y=q.getDisplayInfo())!=null?y:null),contactMethod:q,person:b};f&&(t.resultExtendedData=f);if(q=kQb(q))t.targetExtendedData=q;e.push(t)}e.length&&e.every(function(D){return!D.isPrimary})&&(e[0].isPrimary=!0);return e},WXc=function(a,b,c){var d=gt(SPb(Tj(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return VXc(a,q,8,!0)}),f=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,k;d=[{id:d,containerIds:[d],memberKeys:f,
totalMemberCount:(h=Au(b,3))!=null?h:void 0,provenance:c,isPrimary:!0,itemAffinity:$Pb((k=b.getDisplayInfo())!=null?k:null),fieldAffinity:-Infinity,group:b}];b=l(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,r(c.value));return d},XXc=function(a,b){var c=Chc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var k,q;var t={id:kt(h.getEmail().getValue()),containerIds:YPb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:bQb((k=h.getDisplayInfo())!=
null?k:null),itemAffinity:-Infinity,fieldAffinity:$Pb((q=h.getDisplayInfo())!=null?q:null)};if(h=kQb(h))t.targetExtendedData=h}else t=null;return t}).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:$Pb((f=a.getDisplayInfo())!=null?f:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(r(d))},YXc=function(a,b,c){switch(b.getDataCase()){case 1:return VXc(a,bk(b,
U9,1,EXc),c);case 2:return WXc(a,b.getGroup(),c);case 3:return XXc(bk(b,DXc,3,EXc),c);default:return[]}},ZXc=function(a,b,c){return b.getResultsList().flatMap(function(d){return YXc(a,d,c)})};var nQb=new Map([[0,1],[1,2],[2,3],[3,4]]);var $Xc=function(a){this.internalArray_=m(a)};V($Xc,X);g=$Xc.prototype;g.getLabel=function(){return yt(this,1)};g.setLabel=function(a){return Ol(this,1,a)};g.hasLabel=function(){return wl(this,1)};g.getItemCount=function(){return vu(this,2)};g.setItemCount=function(a){return Ml(this,2,a)};g.hasItemCount=function(){return ul(this,2)};g.getLookupInfo=function(){return Gj(this,ut,3)};g.setLookupInfo=function(a){return Pj(this,ut,3,a)};g.hasLookupInfo=function(){return Ak(this,ut,3)};
g.getQueryLength=function(){return vu(this,4)};g.setQueryLength=function(a){return Ml(this,4,a)};g.hasQueryLength=function(){return ul(this,4)};g.getQueryScope=function(){return Kj(this,5,0)};g.setQueryScope=function(a){return Ol(this,5,a)};g.hasQueryScope=function(){return wl(this,5)};var aYc=function(a){this.internalArray_=m(a)};V(aYc,X);g=aYc.prototype;g.getLabel=function(){return yt(this,1)};g.setLabel=function(a){return Ol(this,1,a)};g.hasLabel=function(){return wl(this,1)};g.getStatus=function(){return yt(this,2)};g.setStatus=function(a){return Ol(this,2,a)};g.hasStatus=function(){return wl(this,2)};g.setLatencyUsec=function(a){Tl(this,3,a)};g.getResultIndex=function(){return vu(this,4)};g.setResultIndex=function(a){Ml(this,4,a)};
g.getDataSource=function(){return yt(this,7)};g.setDataSource=function(a){return Ol(this,7,a)};g.hasDataSource=function(){return wl(this,7)};g.getItemCount=function(){return vu(this,8)};g.setItemCount=function(a){return Ml(this,8,a)};g.hasItemCount=function(){return ul(this,8)};g.getLookupInfo=function(){return Gj(this,ut,10)};g.setLookupInfo=function(a){return Pj(this,ut,10,a)};g.hasLookupInfo=function(){return Ak(this,ut,10)};g.setStatusCode=function(a){Ol(this,11,a)};
g.getQueryLength=function(){return vu(this,13)};g.setQueryLength=function(a){return Ml(this,13,a)};g.hasQueryLength=function(){return ul(this,13)};g.getQueryScope=function(){return Kj(this,14,0)};g.setQueryScope=function(a){return Ol(this,14,a)};g.hasQueryScope=function(){return wl(this,14)};var bYc=function(a){this.internalArray_=m(a)};V(bYc,X);var cYc=function(a){this.internalArray_=m(a)};V(cYc,X);g=cYc.prototype;g.getDataSource=function(){return yt(this,3)};g.setDataSource=function(a){return Ol(this,3,a)};g.hasDataSource=function(){return wl(this,3)};g.getType=function(){return yt(this,4)};g.setType=function(a){return Ol(this,4,a)};g.hasType=function(){return wl(this,4)};g.getValue=function(){return Jj(this,2,1)};g.getValue_asLegacyNumberOrString=function(){return Jj(this,2,1)};g.setValue=function(a){return Tl(this,2,a)};
g.hasValue=function(){return El(this,2)};g.getLabel=function(){return Tj(this,1)};g.setLabel=function(a){return Sj(this,1,a)};g.hasLabel=function(){return vl(this,1)};var $9=function(a){this.internalArray_=m(a)};V($9,X);g=$9.prototype;g.setStatusCode=function(a){Ol(this,5,a)};g.getLabel=function(){return Tj(this,1)};g.setLabel=function(a){return Sj(this,1,a)};g.hasLabel=function(){return vl(this,1)};g.getCause=function(){return Tj(this,2)};g.getType=function(){return yt(this,3)};g.setType=function(a){return Ol(this,3,a)};g.hasType=function(){return wl(this,3)};var a$=function(a){this.internalArray_=m(a)};V(a$,X);g=a$.prototype;g.getType=function(){return yt(this,3)};g.setType=function(a){return Ol(this,3,a)};g.hasType=function(){return wl(this,3)};g.setLatencyUsec=function(a){Tl(this,2,a)};g.getLabel=function(){return Tj(this,1)};g.setLabel=function(a){return Sj(this,1,a)};g.hasLabel=function(){return vl(this,1)};var b$=function(a){this.internalArray_=m(a)};V(b$,X);b$.prototype.getLabel=function(){return yt(this,1)};b$.prototype.setLabel=function(a){return Ol(this,1,a)};b$.prototype.hasLabel=function(){return wl(this,1)};var dYc=function(a){this.internalArray_=m(a)};V(dYc,X);g=dYc.prototype;g.getLabel=function(){return yt(this,1)};g.setLabel=function(a){return Ol(this,1,a)};g.hasLabel=function(){return wl(this,1)};g.getStatus=function(){return yt(this,2)};g.setStatus=function(a){return Ol(this,2,a)};g.hasStatus=function(){return wl(this,2)};g.setLatencyUsec=function(a){Tl(this,3,a)};g.getErrorCode=function(){return tu(this,4)};g.hasErrorCode=function(){return El(this,4)};g.setStatusCode=function(a){Ol(this,7,a)};
g.setBlockedUsec=function(a){return Tl(this,8,a)};var hRb=function(a){this.internalArray_=m(a)};V(hRb,X);g=hRb.prototype;g.getClientInterface=function(){return Gj(this,WM,1)};g.setClientInterface=function(a){return Pj(this,WM,1,a)};g.getEventType=function(){return yt(this,3)};g.getEventType_legacyNullable=function(){return yt(this,3)};g.setEventType=function(a){return Ol(this,3,a)};g.getCacheStatus=function(){return Gj(this,bYc,12)};g.setCacheStatus=function(a){return Pj(this,bYc,12,a)};g.getCount=function(){return Gj(this,cYc,4)};
g.setCount=function(a){Pj(this,cYc,4,a)};g.getLatency=function(){return Gj(this,a$,5)};g.setLatency=function(a){return Pj(this,a$,5,a)};g.getError=function(){return Gj(this,$9,6)};g.setError=function(a){Pj(this,$9,6,a)};g.hasError=function(){return Ak(this,$9,6)};g.setRpcRequest=function(a){return Pj(this,b$,7,a)};g.setRpcResponse=function(a){return Pj(this,dYc,8,a)};g.setApiCall=function(a){return Pj(this,$Xc,9,a)};g.setApiResult=function(a){return Pj(this,aYc,10,a)};var c$=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=mQb(e):(a=new tt,lQb(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:""};c$.prototype.getMetric=function(){return eYc(this.trackers_,this.sourceInfo_)};
c$.prototype.send=function(a){var b=new wXc;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation(QPb({requestCorpHeaders:this.requestCorpHeaders_}));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);this.phoneCanonicalizationInference_!=null&&b.setFormattingOptions((new M9).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&b.setDelegation(vXc(uXc(),this.delegatorId_));return this.grpcClient_.autocomplete(b,
a)};c$.prototype.processResponse=function(a){var b=ZXc(this.leanResponseProcessor_,a,this.provenance_),c=new Gt;Ak(a,xXc,2)&&c.setAffinityVersion(Gj(a,xXc,2).getAffinityVersion());return{data:b,metadata:c}};c$.prototype.close=function(){};var fYc=function(a,b,c,d,e,f){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new tt;lQb(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:""};
fYc.prototype.getMetric=function(){return eYc(this.trackers_,this.sourceInfo_)};
fYc.prototype.send=function(a){var b=this,c=new Y9;c.setAffinityType(this.affinity_).setClientInformation(QPb({requestCorpHeaders:this.requestCorpHeaders_}));KXc(c,this.keys_.map(function(d){return tQb(b.type_,d)}).filter(function(d){return!!d}));this.phoneCanonicalizationInference_!=null&&c.setFormattingOptions((new M9).setPhoneCanonicalizationInference(this.phoneCanonicalizationInference_));this.delegatorId_&&c.setDelegation(vXc(uXc(),this.delegatorId_));return this.grpcClient_.lookup(c,a)};
fYc.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=l(Yj(a,LXc,1,Ai()));for(var e=a.next();!e.done;e=a.next())if(e=e.value,ok(e,W9,2,MXc)){var f=YXc(b,bk(e,W9,2,MXc),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(Yn(e.getId(),4,xt),f)}}return{data:d,metadata:new Gt}};
fYc.prototype.close=function(){};var gYc=function(a){this.internalArray_=m(a)};V(gYc,X);var hYc=new Zy(342338249,gYc);var iYc=function(){};iYc.prototype.write=function(a,b){var c=new gYc;b=Pj(c,X9,1,b);rt(a,hYc,b)};iYc.prototype.read=function(a){return(a=a.getExtension(hYc))?Gj(a,X9,1):null};var jYc=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=mQb("");this.trackers_=c;this.affinity_=Kj(b.getPeopleApi(),5,0);var d;this.delegatorId_=(d=b.runtimeConfig_.getDelegatorId())!=null?d:""};jYc.prototype.getMetric=function(){return eYc(this.trackers_,this.sourceInfo_)};
jYc.prototype.send=function(a){var b=new Z9;b.setAffinityType(this.affinity_).setClientInformation(QPb());this.delegatorId_&&b.setDelegation(vXc(uXc(),this.delegatorId_));var c=this.grpcClient_;return MZ(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},RXc)};jYc.prototype.processResponse=function(){return{data:[],metadata:new Gt}};jYc.prototype.close=function(){};var kYc=new nCc;var d$=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};d$.prototype.send=function(a){var b=this;return ge(function(c){return b.runtimeConfig_.isOffline_()?c.return(kYc):c.return(b.delegate_.send(a))})};d$.prototype.getMetric=function(){return this.delegate_.getMetric()};d$.prototype.processResponse=function(a){return a===kYc?this.offlineResponse_:this.delegate_.processResponse(a)};d$.prototype.close=function(a){this.delegate_.close(a)};
var lYc={data:[],metadata:B9(new Gt).setCode(14)},mYc={data:new Map,metadata:B9(new Gt).setCode(14)};B9(new Gt).setCode(14);B9(new Gt).setCode(14);B9(new Gt).setCode(14);B9(new Gt).setCode(14);var nYc=function(a){this.internalArray_=m(a)};V(nYc,X);g=nYc.prototype;g.getTimestamp=function(){return Jj(this,1)};g.getTimestamp_asLegacyNumberOrString=function(){return Jj(this,1)};g.setTimestamp=function(a){return Tl(this,1,a)};g.hasTimestamp=function(){return El(this,1)};g.getOwner=function(){return Zh(this,2)};g.setOwner=function(a){return Sj(this,2,a)};var oYc=new Zy(342656659,nYc);var e$=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};e$.prototype.store_=function(a,b){var c=new imc;rt(c,oYc,(new nYc).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var pYc=function(a){var b,c;return ge(function(d){if(d.nextAddress==1)return he(d,2),ie(d,a.offlineStorage_.fetch(),4);if(d.nextAddress!=2){b=d.yieldResult;if(!b)return d.return(null);a.offlineMetadata_=b.getExtension(oYc);c=a.offlineMetadata_?sN(a.offlineMetadata_.getOwner()):ot;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}le(d);return d.return(null)})};
e$.prototype.send=function(a){var b=this,c,d,e,f,h;return ge(function(k){switch(k.nextAddress){case 1:return he(k,2),ie(k,b.delegate_.send(a),4);case 4:c=k.yieldResult;d=Date.now();if(c!==kYc){k.jumpTo(5);break}return ie(k,pYc(b),6);case 6:return e=k.yieldResult,k.return(e||kYc);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),k.return(c);case 2:return f=le(k),ie(k,pYc(b),7);case 7:return(h=k.yieldResult)?k.return(h):k.return(Promise.reject(f))}})};
e$.prototype.getMetric=function(){return this.delegate_.getMetric()};e$.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};e$.prototype.close=function(a){this.delegate_.close(a)};var qYc=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(b.runtimeConfig_.getPeopleApiEnv()===7?Zh(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new RTc(b);b=tJa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new SXc(b);this.offlineDataTransformer_=
new iYc;a=hk(a.getClient(),22,!1);this.leanResponseProcessor_=new UXc({allowEmptyTargets:a})};qYc.prototype.loadRankedItems=function(){var a=new c$(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new d$(a,this.config_.runtimeConfig_,lYc);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=kt(e),b=Lj(b.getPeopleApi(),14,5E3),a=new e$(a,d,c,e,b))}return TTc(this.dispatcher_,a)};
qYc.prototype.warmUpServer=function(){var a=new jYc(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new d$(a,this.config_.runtimeConfig_,lYc);return TTc(this.dispatcher_,a)};qYc.prototype.loadAutocompleteItems=function(a){var b=this.leanResponseProcessor_;var c=this.grpcPeopleStackClient_,d=this.config_,e=this.trackers_;a=a.getPrefix();b=new c$(b,c,d,e,a);b=new d$(b,this.config_.runtimeConfig_,lYc);return TTc(this.dispatcher_,b)};
qYc.prototype.loadLookupItems=function(a,b){a=new fYc(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new d$(a,this.config_.runtimeConfig_,mYc);return TTc(this.dispatcher_,a)};var vQb=new Map([[1,1],[2,2]]);var yQb=new Map([[3,3],[1,2],[2,1]]),rYc=new Map([[2,1],[4,2],[3,3],[1,4]]),sYc=function(a){this.delegate_=a};
sYc.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=zt(b.getValue()),d=a.id.normalizedValue_;c=ht(a.id).setValue(c).setCanonicalValue(d);if(Yj(b,P9,2,Ai()).length||Ak(b,AXc,3)){d=1;var e=0;if(Yj(b,P9,2,Ai()).length){var f=Yj(b,P9,2,Ai())[0];e=tu(f,1)||e;d=rYc.get(f.getStatus())||d}f=Ak(b,AXc,3)&&!!qt(Gj(b,AXc,3),1);d=MPb(d,e,f)}else d=null;d&&(c.emailSecurityInfo_=d);Ak(b,Q9,4)&&(b=wQb(Gj(b,Q9,4)),
c.orgState_=b);qt(a.contactMethod,7)&&(c.resultType_=2);b=c;break;case 3:c=a.contactMethod.getPhone();b=zt(c.getCanonicalValue());c=zt(c.getOriginalValue())||zt(c.getDisplayValue())||b;b=ht(a.id).setValue(c).setCanonicalValue(b);break;case 4:b=bk(a.contactMethod,UPb,4,lt);b=BQb(a,b);break;default:b=ht(a.id||ot)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);HPb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(xQb(Qqa(kr(a.person.getAffinity(),
1))||""));a.contactMethod.hasDisplayInfo()&&zQb(b,a.contactMethod.getDisplayInfo());vl(a.contactMethod,10)&&JPb(b,[KPb(a.contactMethod.getTypeLabel())]);if(Ak(a.contactMethod,BXc,13)){d=Gj(a.contactMethod,BXc,13);switch(d.getStatus()){case 1:c=1;break;default:c=0}d=d.hasClientData()?d.getClientData():void 0;b.reachabilityInfo_=new OPb(c,d)}a.targetExtendedData&&(b.extendedData_=a.targetExtendedData);a.target=b}else a.group?EQb(a,a.group.getDisplayInfo()):a.contactLabel&&EQb(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 tYc=function(a,b){this.metrics_=a;this.state_=new gN(b)};g=tYc.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();Ol(d,13,b)}c&&(b=this.state_.source(),Ml(b,12,c));this.metrics_.status(this.state_,a)};g.logError=function(a,b){this.metrics_.logError(a,b)};var uYc=function(a){this.getSessionState=a};uYc.prototype.attach=function(a){var b=(new Jt).setSessionState(this.getSessionState().clone());Pj(a,Jt,18,b);return a};var vYc=function(){};vYc.prototype.attach=function(a){return a};var wYc=new vYc;var f$=function(a,b){b=b===void 0?wYc:b;this.metrics_=a;this.sessioninfo_=b};f$.prototype.error=function(a,b){var c=this.metrics_,d=this.sessioninfo_,e=d.attach,f=new tt;a=f.setEventType(3).setErrorType(a);Ol(a,7,b);return new WWc(c,e.call(d,f))};f$.prototype.latency=function(a){var b=this.metrics_,c=this.sessioninfo_,d=c.attach,e=new tt,f=e.setEventType(2);Ol(f,5,a);return new XTc(b,d.call(c,e))};
f$.prototype.count=function(a){var b=this.metrics_,c=this.sessioninfo_,d=c.attach,e=new tt,f=e.setEventType(1);Ol(f,4,a);return new VWc(b,d.call(c,e))};f$.prototype.api=function(a){return new UWc(this.metrics_,this.sessioninfo_.attach(a))};var eYc=function(a,b){return new tYc(a.metrics_,a.sessioninfo_.attach(b))},xYc=function(a,b){return new f$(a.metrics_,b)};var yYc=function(a,b){this.ranker_=new OWc(a.getClient());this.loader_=new qYc(a,b);b=hXc;b=b===void 0?hXc:b;this.targetFactory_=new iXc(a,new sYc(b))};var zYc=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var FQb=function(a){this.delegate_=a};V(FQb,kP);var AYc=function(a){this.keys_=new Set(a)};AYc.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};AYc.prototype.isDone=function(){return!this.keys_.size};var BYc=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new AYc(a)};BYc.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};BYc.prototype.isDone=function(){return this.delegate_.isDone()};var CYc=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var DYc=new Tt,EYc=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=E9(Lj(c,31,5),ak(c,32,3600)*1E3)};g=EYc.prototype;g.getCacheType=function(){return 2};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return ge(function(h){if(h.nextAddress==1){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(DYc);d=c.ids.map(function(k){if(Bhc.includes(sN(k).getType()))return k;var q=g$(b.itemResolver_,k);return q?String(q.id):k});e=new BYc(d);return ie(h,FYc(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}f=h.yieldResult;b.indexes_.set(c.cacheKey,f);return h.return(DYc)})};
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)||D9).search(a.getTerms()).getMatches(a.getCollector()).map(GQb)};g.index=function(){};g.getName=function(){};var GYc=new $Wc(60,61,34);var HYc=function(){};HYc.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();hk(a,30,!1)&&(b=new EYc(b,d,a),c=new G9(b,c,GYc),e.unshift(c))};var IYc=function(){return Date.now()},JYc=function(a,b,c){this.staleMillis_=a*1E3;this.expiredMillis_=b*1E3;this.nowFn_=c;this.timestamp_=0};g=JYc.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 IQb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),HQb=new Map([[1,7],[2,5]]);var KYc=function(a,b){this.delegate_=a;this.extendedData_=b};V(KYc,kP);KYc.prototype.getExtendedData=function(){return this.extendedData_};var LYc=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=rN(this.group_.getId())?this.members_.length:c;this.resultType_=ESc.get(this.group_.getTargetType())||0};g=LYc.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("Kf");};g.getDisplayName=function(){return""};
g.getDisplayValue=function(){return""};g.getDescription=function(){return""};g.getPhotoUrl=function(){return""};g.getMatchInfo=function(){return DSc};g.getExtendedData=function(){return null};var KQb=function(a,b){this.delegate_=a;this.loggingToken_=b};V(KQb,bmc);KQb.prototype.getLoggingToken=function(){return this.loggingToken_};var MYc=function(a){this.itemResolver_=a};MYc.prototype.create=function(a,b){var c=this,d=sN(a);a=g$(this.itemResolver_,a);if(!a)return null;if(ft(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 g$(c.itemResolver_,h)}).filter(Boolean):[a];return NYc(f,d,b)};
var NYc=function(a,b,c){var d=[],e=0,f=null,h=null;a=l(a);for(var k=a.next();!k.done;k=a.next()){k=k.value;var q=k.target,t=q.getId().equals(b);if(!e||t)e=q.getResultType();q=LQb(q,k.provenance,c);t?(h=void 0,f=(h=k.totalMemberCount)!=null?h:null,d.unshift(q),h=k.resultExtendedData):d.push(q)}b=HMb(e,d,f);return h?new KYc(b,h):b};
MYc.prototype.createGroup=function(a,b,c){c=LQb(a.target,a.provenance,c);var d,e=(d=a.totalMemberCount)!=null?d:null;b=new vp(new LYc(c,b!=null?b:[],e!=null?e:null));return(a=a.resultExtendedData)?new KYc(b,a):b};var MQb=[1,2,3,4,5,6,9,7,8],OYc=function(a,b){this.targetFactory_=a;this.resultFactory_=new MYc(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=d===void 0?IYc:d;this.expiry_=new JYc(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=E9(Lj(b,6,500),Lj(b,7,43200)*1E3);d=Set;b=Jl(b,25,Ai());this.idTypes_=new d(b)};OYc.prototype.load=function(a,b){var c;return(c=this.resultFactory_.create(a,b))!=null?c:null};
var g$=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};g=OYc.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=l(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||!Bhc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,f=String(b.id),h=(b.containerIds||[]).map(String),k=PYc(this,a,f);QYc(this,a,f,b,c)&&(k(f,b),e=!0);h=l(h);for(var q=h.next();!q.done;q=h.next())q=q.value,QYc(this,a,q,b,c)&&(k(q,b),e=!0);b.isMe&&(h=String(Dhc),QYc(this,a,h,b,c)&&(k(h,b),e=!0));d&&f!==d&&QYc(this,a,d,b,c)&&(k(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var QYc=function(a,b,c,d,e){var f=g$(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)?OQb(d)&&!OQb(f)||RYc(a,f)<RYc(a,d)||NQb(d)<NQb(f)||d.id.getType()===18&&f.id.getType()===18||PQb(d)>PQb(f)?!0:!1:String(d.id)===c},RYc=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},PYc=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 QQb=function(a,b){this.delegate_=a;this.displayValue_=b};V(QQb,bmc);QQb.prototype.getDisplayValue=function(){return this.displayValue_};var SQb=function(){};SQb.prototype.createFromLookupId=function(a){if(a.getType()!==1||!qN(a.getOriginalValue()))return null;a=ht(a).setValue(a.getOriginalValue()).setDataSource(3);return HMb(a.getResultType(),[a],null)};var SYc=function(){};SYc.prototype.createFromLookupId=function(){return null};var TQb=new SYc;var TYc=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=UQb(e.getClient())};g=TYc.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 TWc=function(a){return Array.from(a.remainingIds.values())};TYc.prototype.hasError=function(){return this.hasErrorCode};
TYc.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||VQb(c.getCode())){var d=new Map,e=this.getResultFilter();a=l(a);for(var f=a.next();!f.done;f=a.next()){var h=l(f.value);f=h.next().value;h=h.next().value;this.notNotifiedIds.delete(String(f));if(h=e?e.filterResult(h):h)d.set(f,h),this.remainingIds.delete(String(f))}a=[];b=l(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?d.set(f,h):a.push(f);d=RQb(d,this.options);VQb(c.getCode())&&(this.hasErrorCode=!0);e=(new DWc).setCallbackNumber(this.callbackNumber).setIsFirstCallback(this.callbackNumber===0).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=a;d=new EWc(d,e);this.callbackNumber++;this.listener(d,c)}};var UYc=function(a,b,c){this.stages=a;this.indexer=b;this.clientConfig=c};UYc.prototype.flush=function(){this.indexer.flush()};
UYc.prototype.lookup=function(a,b,c,d){var e=this,f,h,k,q,t,w;return ge(function(y){switch(y.nextAddress){case 1:(f=d.getFilter())==null||f.reset(""),h=new TYc(a,b,c,d,e.clientConfig),k=new Set,h.queryScope()!==1&&h.queryScope()!==2||k.add(2),h.queryScope()===3&&k.add(1),q=l(e.stages),t=q.next();case 2:if(t.done){y.jumpTo(4);break}w=t.value;if(h.isDone()||h.isCancelled()){y.jumpTo(4);break}if(k.has(w.getStageType())){y.jumpTo(3);break}return ie(y,w.lookup(h),3);case 3:t=q.next();y.jumpTo(2);break;
case 4:if(!h.isDone()){if(h.queryScope()===0&&!h.hasError()){var D=e.indexer,G=Array.from(h.notNotifiedIds.values());G=l(G);for(var I=G.next();!I.done;I=G.next())I=String(I.value),D.notFoundIds.set(I,I)}h.notify(new Map,TWc(h),v9((new Tt).setProvenance(10),!1).setCode(0))}e.indexer.compact();return y.return()}})};var VYc=function(a,b){this.storage=a;a=b.getClient();this.notFoundIds=E9(Lj(a,10,500),ak(a,11,600)*1E3)};g=VYc.prototype;g.compact=function(){this.notFoundIds.compact()};g.flush=function(){this.notFoundIds.clear()};g.store=function(a,b,c,d){if(!hk(c,5))for(B9(c),b=l(b),c=b.next();!c.done;c=b.next()){var e=l(c.value);c=e.next().value;e=e.next().value;c=String(gt(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=sMa(a).filterResult(b));return b};var WYc={ids:[],cacheKey:"",primingTimeoutMillis:0};var XYc=function(){};XYc.prototype.loadOrSkip=function(){return null};XYc.prototype.resultCount=function(){return 0};XYc.prototype.isDone=function(){return!0};var YYc=new XYc;var ZYc=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=YYc;this.boostKey_=WYc;this.listener_=function(){}};g=ZYc.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 $Yc=new ZYc;var aZc=function(){this.fetchDone_=Promise.resolve((new Tt).setCode(0))};g=aZc.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 bZc=new aZc;var cZc=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return b.getCacheType()===1})||bZc;this.prefetched_=a.filter(function(b){return b.getCacheType()===2||b.getCacheType()===1});this.lazyLoaded_=a.filter(function(b){return b.getCacheType()===3})};
cZc.prototype.prefetch=function(a){var b=this,c,d,e,f,h;return ge(function(k){if(k.nextAddress==1)return ie(k,b.primary_.fetch(a),2);if(k.nextAddress!=3){c=k.yieldResult;if(c.getCode()!==0)return k.return(c);d=l(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?ie(k,Promise.all(h),3):k.jumpTo(3)}return k.return(c)})};
cZc.prototype.warmUpSession=function(a){var b=this;if(a.queryScope()===1)return Promise.resolve([(new Tt).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});a.queryScope()!==2&&c.push.apply(c,r(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var dZc=function(a){var b=[a.primary_].concat(r(a.prefetched_.filter(function(d){return d!==a.primary_})),r(a.lazyLoaded_)).reverse();b=l(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},eZc=function(a,b){var c=[];a=l(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,r(d.search(b)))}return c},gZc=function(a,b,c){var d,e,f,h,k;return ge(function(q){if(q.nextAddress==1){if(b.queryScope()===2)return q.return();
d=a.lazyLoaded_.filter(function(t){return!b.shouldSkipCache(t.getName())});e=d[d.length-1];f=l(d);h=f.next()}if(q.nextAddress!=3){if(h.done)return q.jumpTo(0);k=h.value;return b.isDone()||b.isCancelled()?q.return():ie(q,fZc(k,b,c,e===k),3)}h=f.next();return q.jumpTo(2)})},fZc=function(a,b,c,d){var e,f;return ge(function(h){if(h.nextAddress==1)return b.queryScope()===1?(e=v9((new Tt).setProvenance(6).setCode(0),!1),h.jumpTo(2)):ie(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);me(h)})};var hZc=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=hZc.prototype;g.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};g.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
g.warmUpCache=function(){iZc(this,$Yc);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(y9(x9((new w9).setSource(v9(new Tt,!1).setProvenance(1).setCode(0)),h$(this)),h$(this)))};g.flushCache=function(a){switch(a){case 2:return jZc(this),Promise.resolve(new w9);case 1:return this.storage_.markAsStale(),Promise.resolve(new w9);default:return this.warmUpCache()}};
g.warmUpSession=function(a){var b=this,c,d,e,f,h;return ge(function(k){switch(k.nextAddress){case 1:c=x9(new w9,h$(b));iZc(b,a);if(!b.cacheWarming_){k.jumpTo(2);break}return ie(k,b.cacheWarming_,2);case 2:return he(k,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),ie(k,b.sessionWarming_,7);case 7:return d=k.yieldResult,e=d.find(function(q){return q.getProvenance()===2})||(new Tt).setProvenance(2).setCode(0),k.return(y9(c.setSource(e),h$(b)));case 5:je(k);b.sessionWarming_=
null;ke(k,0);break;case 4:return f=le(k),h=f instanceof Tt?f:(new Tt).setProvenance(2).setCode(13),k.return(Promise.reject(y9(c.setSource(h),h$(b))))}})};
g.search=function(a){var b=this,c,d,e,f,h;return ge(function(k){switch(k.nextAddress){case 1:kZc(b);he(k,2);d=h$(b);iZc(b,a);if(!a.isSuggestQuery()){k.jumpTo(4);break}if(!b.cacheWarming_){k.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){k.jumpTo(5);break}return ie(k,b.cacheWarming_,7);case 7:c=k.yieldResult;case 5:if(!b.sessionWarming_){k.jumpTo(4);break}return ie(k,b.sessionWarming_,4);case 4:return c||(c=y9(x9((new w9).setSource(v9(new Tt,!1).setProvenance(1).setCode(0)),d),h$(b)),
iZc(b,a)),ie(k,lZc(b,a,c),10);case 10:Zt(k,0);break;case 2:f=le(k);if(a.isCancelled())return k.return();f instanceof w9?c=f:(h=f instanceof Tt?f:(new Tt).setCode(13),y9(c.setSource(h),h$(b)));a.getListener()(new A9([],(new z9).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));me(k)}})};
var lZc=function(a,b,c){var d,e,f,h;return ge(function(k){if(k.nextAddress==1){if(b.isCancelled())return k.return();d=eZc(a.prefixSearch_,b);e=(new z9).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new A9(d,e));if(e.getIsLastCallback())return k.return();f=!1;return ie(k,gZc(a.prefixSearch_,b,function(q,t,w){t=(new z9).setIsLastCallback(w).setQuery(b.getPrefix()).setCode(t.getCode()).setCacheState(y9(x9((new w9).setSource(t),
Ot(c,2)),h$(a)));b.getListener()(new A9(q,t));t.getIsLastCallback()&&(f=!0)}),2)}f||b.isCancelled()||(h=(new z9).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(y9(x9((new w9).setSource((new Tt).setProvenance(10).setCode(0)),Ot(c,2)),h$(a))),b.getListener()(new A9([],h)));me(k)})};
hZc.prototype.lookup=function(a,b,c){var d=this;kZc(this);iZc(this,$Yc);var e=x9(new w9,h$(this));this.lookupCache_.lookup(a,Kj(this.clientInfo_,17,1),function(f,h){e.setSource(h);y9(e,h$(d));f.getMetadata().setCacheState(e);b(f)},c)};
var iZc=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&jZc(a),!a.cacheWarming_)){var c=h$(a);a.cacheWarming_=new Promise(function(d,e){var f,h,k,q;return ge(function(t){switch(t.nextAddress){case 1:return f=x9(new w9,c),he(t,2,3),ie(t,a.prefixSearch_.prefetch(b),5);case 5:h=t.yieldResult,y9(f,h$(a)).setSource(h),d(f);case 3:je(t);a.cacheWarming_=null;ke(t,0);break;case 2:k=le(t),q=k instanceof Tt?k:(new Tt).setCode(13),
y9(f,h$(a)).setSource(q),e(f),t.jumpTo(3)}})})}},h$=function(a){return a.storage_.getExpiry().getStatus()},jZc=function(a){dZc(a.prefixSearch_);a.lookupCache_.flush();a.storage_.flush()},kZc=function(a){var b=h$(a)===1?1:2;a.trackers_.count(b).increment()};var mZc=function(a){this.itemResolver_=a},nZc=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,k=e.split(HWc).filter(Boolean),q=k.length-1;if(q>0){var t=k.join(".");k.push(k.join("-"));for(k.push(t);q>0;q--)k[q-1]+=k[q]}k.push(e);k.push(e.replace(rPb,""));e[0]==="+"&&k.push("+"+k[0]);h.call(f,c,r(k));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&d.getTargetType()!==10)for(b=l(b.memberKeys),d=b.next();!d.done;d=b.next())(d=g$(a.itemResolver_,d.value))&&nZc(a,d,c);return c};var oZc=new CWc,pZc=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new mZc(a);this.trieRoots_=new Map},FYc=function(a,b,c,d){var e=(a.trieRoots_.get(c)||D9).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(k){var q=CYc(b).map(sN);a.lookupCache_.lookup(q,c,function(t){var w=Array.from(t.getResults().keys(),String);w=qZc(a,w);Array.prototype.push.apply(e.items_,
w);JWc(e);t.getMetadata().getIsLastCallback()&&(f.stop(),k(e))},oZc)});return XQb(h,e,d)},RWc=function(a,b){a=qZc(a,b);return new C9(a)},qZc=function(a,b){var c=[];b=l(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=g$(a.itemResolver_,d);e&&(e=nZc(a.indexer_,e),c.push(new IWc(d,e)))}return c};var rZc=function(){this.queryId_=0};rZc.prototype.getQueryId=function(){return this.queryId_};var sZc=function(a){this.delegate=a};g=sZc.prototype;g.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};g.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};g.warmUpCache=function(){return this.delegate.warmUpCache()};g.flushCache=function(a){return this.delegate.flushCache(a)};g.warmUpSession=function(a){var b=this;return ge(function(c){return c.return(b.delegate.warmUpSession(a))})};g.search=function(a){var b=this;return ge(function(c){return c.return(b.delegate.search(a))})};
g.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};var tZc=function(){this.delegate=dmc};tZc.prototype.filterResult=function(a){return this.delegate.filterResult(a)};tZc.prototype.reset=function(a){this.delegate.reset(a)};var uZc=function(a,b){a.delegate=b!=null?b:dmc};var vZc=function(a){this.delegate=a};g=vZc.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 wZc=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};wZc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};wZc.prototype.resultCount=function(){return this.count_};wZc.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var xZc=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();c.limit>0&&(d=new wZc(d,c.limit));this.collector=d;this.listener=function(h){var k=h.getMetadata();k.getIsLastCallback()&&k.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?uMa.apply(null,r(d)):null;var f;this.scope=(f=c.scope)!=null?f:a.queryScope()};V(xZc,vZc);g=xZc.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 yZc=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};V(yZc,sZc);
yZc.prototype.search=function(a){var b=this,c,d,e,f,h,k;return ge(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(t){return!c.has(t.visibility)}),e=d.map(function(t,w){return new xZc(a,b.originalFilter,t,w===d.length-1)}),f=l(e),h=f.next();case 2:if(h.done){q.jumpTo(4);break}k=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}uZc(b.filterInterceptor,k.getResultFilter());return ie(q,b.delegate.search(k),
3);case 3:h=f.next();q.jumpTo(2);break;case 4:return q.return()}})};var zZc=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=uPb([b]);this.id_=kt(b);this.listener_=function(e){var f=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var k=(new IPb).setDisplayName(c),q=h.getPrimaryTarget();h=oMa(h,new cmc(q,k))}return h});e=new A9(f,e.getMetadata());a.getListener()(e)}};V(zZc,vZc);zZc.prototype.getPrefix=function(){return this.query_};zZc.prototype.getTerms=function(){return this.terms_};
zZc.prototype.getListener=function(){return this.listener_};var AZc=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new rZc;this.clientInfo_=c};g=AZc.prototype;g.warmUpSession=function(a){a=BZc(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};g.suggest=function(a,b){a=BZc(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
g.search=function(a,b,c){a=BZc(this.queryFactory_,a,this.querySession_,c,b);hk(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=thc(b),c.isValid()||(c=thc(b+">")),a=c.isValid()&&c.getName()?new zZc(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("pf");};g.getSessionState=function(){throw Error("pf");};g.getHide=function(){throw Error("pf");};var CZc=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=hk(c,34,!1)?function(e){var f=d.cache_,h=e.slots_;if(h.length){var k=e.getFilter(),q=new tZc;e.setFilter(q);e=new yZc(f,h,q,k)}else e=f;return e}:function(){return d.cache_}};CZc.prototype.warmUpCache=function(){return this.cache_.warmUpCache()};CZc.prototype.flushCache=function(a){this.cache_.flushCache(a)};CZc.prototype.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
CZc.prototype.beginSession=function(a){a=this.getSessionCache_(a);return new AZc(a,this.queryFactory_,this.clientInfo_)};var DZc=function(){};g=DZc.prototype;g.getCacheType=function(){return 3};g.flush=function(){};g.fetch=function(){return ge(function(a){return a.return(v9(new Tt,!1).setProvenance(12).setCode(0))})};g.index=function(){};g.search=function(a){return a.isEmailAddress()?(a=a.getCollector().loadOrSkip(String(kt(a.getPrefix()))))?[a]:[]:[]};g.getName=function(){};var EZc=function(){};EZc.prototype.configure=function(a){var b=a.prefixCaches;hk(a.clientConfig.getClient(),21,!1)&&b.push(new DZc)};var FZc=function(a,b,c,d,e,f,h,k){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=YQb(this,f);this.isEmailAddress_=null;this.selectedCustomProviderNames_=k?new Set(k):null};g=FZc.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_=qN(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 GZc=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};GZc.prototype.getFormat=function(){return this.format_};GZc.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};GZc.prototype.queryScope=function(){return this.queryScope_};var i$=function(){this.foundKeys_=new Set};V(i$,lP);i$.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};i$.prototype.has=function(a){return this.foundKeys_.has(a)};i$.prototype.add=function(a){this.foundKeys_.add(a)};i$.prototype.reset=function(){this.foundKeys_.clear()};var HZc=function(a){this.delegate_=a;this.filter_=new i$};HZc.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=l(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};HZc.prototype.resultCount=function(){return this.delegate_.resultCount()};HZc.prototype.isDone=function(){return this.delegate_.isDone()};var IZc=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};IZc.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};IZc.prototype.resultCount=function(){return this.delegate_.resultCount()};IZc.prototype.isDone=function(){return this.delegate_.isDone()};var JZc=function(a,b){this.storage_=a;this.format_=b};JZc.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};JZc.prototype.resultCount=function(){return 0};JZc.prototype.isDone=function(){return!1};var KZc=[198,230,306,307,338,339],LZc=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)"+vo(b),"g")})},ZQb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=et(sPb(b)).replace(tPb,"").toUpperCase().toLowerCase(),e=d.indexOf("@"),f=e<0?-1:d.indexOf(".",e);a=l(a.matchers_);for(var h=a.next();!h.done;h=a.next()){h=
h.value;h.lastIndex=0;for(var k=h.exec(d);k;k=h.exec(d)){k=k.index;if((e>0||e===0&&f>e)&&k>e)break;c.push([k,h.lastIndex])}}c.sort(function(q,t){return q[0]-t[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++):KZc.includes(a)&&e.push(f);b=l(c);for(f=b.next();!f.done;f=b.next()){f=f.value;a=l(d);for(h=a.next();!h.done;h=a.next())h=h.value,h<
f[0]&&f[0]++,h<f[1]&&f[1]++;a=l(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 Ft=function(a,b){this.start_=a;this.end_=b};Ft.prototype.getStart=function(){return this.start_};Ft.prototype.getEnd=function(){return this.end_};var $Qb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};$Qb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};$Qb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};$Qb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var MZc=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new MZc(c,b)});this.matchInfo_=null};V(MZc,kP);MZc.prototype.getMemberList=function(){return this.memberList_};MZc.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=((a=this.getDelegate().getPrimaryTarget().getName())==null?void 0:a.getGivenName())||"";this.matchInfo_=aRb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var NZc=function(a,b){this.delegate_=a;this.matcher_=new LZc(b)};NZc.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new MZc(a,this.matcher_):null};NZc.prototype.resultCount=function(){return this.delegate_.resultCount()};NZc.prototype.isDone=function(){return this.delegate_.isDone()};var OZc=function(a){var b=new SQb;this.delegate=a;this.placeholderFactory=b};OZc.prototype.loadOrSkip=function(a){var b;return(b=this.delegate.loadOrSkip(a))!=null?b:this.placeholderFactory.createFromLookupId(sN(a))};OZc.prototype.resultCount=function(){return this.delegate.resultCount()};OZc.prototype.isDone=function(){return this.delegate.isDone()};var PZc=/\s+/g,QZc=function(a,b){this.clientInfo_=a;this.storage_=b},BZc=function(a,b,c,d,e){var f=uPb([b]);b=(b||"").replace(PZc," ").trim();var h=!f.length;var k=a.clientInfo_;k=h?d.getSuggestFormat()||k.getSuggestFormat():d.getSearchFormat()||k.getSearchFormat();var q=a.clientInfo_;h=h?d.getSuggestMaxResults()||q.getSuggestMaxResults():d.getSearchMaxResults()||q.getSearchMaxResults();var t=d.boostIds_;q=d.primingTimeoutMillis_;if(t.length){t=t.map(String);var w=cQb(t)+":"+t.length;q={ids:t,cacheKey:w,
primingTimeoutMillis:q}}else q=WYc;t=d.getFilter();w=b;var y=new JZc(a.storage_,k);hk(a.clientInfo_,21,!1)&&qN(w)&&(y=new OZc(y));t&&(y=new IZc(y,t,w));y=new HZc(y);y=new wZc(y,h);a=f.length?new NZc(y,f):y;h=d.getQueryScope();c=new GZc(k,c,h);return new FZc(c,b,f,a,q,e,t,d.selectedCustomProviderNames_)};var RZc=function(a){this.fetcher=a};RZc.prototype.getStageType=function(){return 2};RZc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k,q,t,w;return ge(function(y){switch(y.nextAddress){case 1:c=cRb(TWc(a)),d=l(c),e=d.next();case 2:if(e.done){y.jumpTo(4);break}f=e.value;h=l(f);k=h.next().value;q=h.next().value;t=k;w=q;if(!t){y.jumpTo(3);break}return ie(y,b.fetcher.fetch(w,t,a.getFormat(),function(D,G){a.notify(D,[],G)},a.getOptions()),3);case 3:e=d.next();y.jumpTo(2);break;case 4:return y.return()}})};var SZc=function(a,b){this.delegate=a;this.maxLookupChunkSize=rXc(b)};SZc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q;return ge(function(t){switch(t.nextAddress){case 1:var w=f.maxLookupChunkSize;if(a.length)if(a.length<=w)w=[a];else{for(var y=[],D=0;D<a.length;D+=w){var G=a.slice(D,D+w);G.length&&y.push(G)}w=y}else w=[];h=l(w);k=h.next();case 2:if(k.done){t.jumpTo(4);break}q=k.value;return ie(t,f.delegate.fetch(q,b,c,d,e),3);case 3:k=h.next();t.jumpTo(2);break;case 4:return t.return()}})};var TZc=function(a){this.qos=a};TZc.prototype.getIndex=function(){return String(this.qos)};var UZc=new TZc(1),VZc=new TZc(2);var WZc=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
WZc.prototype.fetch=function(a,b,c,d,e){var f=this,h,k,q,t,w,y,D,G,I,N,S;return ge(function(W){switch(W.nextAddress){case 1:return h=b===3?4:3,k=v9((new Tt).setProvenance(h),!0).setCode(0),he(W,2),ie(W,f.loader.loadLookupItems(b,a.map(function(Z){return Z.getOriginalValue()}),VZc),4);case 4:q=W.yieldResult;q.metadata.getCode()&&k.setCode(q.metadata.getCode());t=e.getQueryScope()===3;try{f.indexer.store(b,q.data,q.metadata,t)}catch(Z){f.trackers.error(21,10).report(),k.setCode(13)}Zt(W,3);break;case 2:w=
le(W),y=Number(w),k.setCode(isFinite(y)&&y?y:13);case 3:D=new Map;G=l(a);for(I=G.next();!I.done;I=G.next())N=I.value,(S=f.indexer.load(N,c,e.useOriginalDisplayValue_))&&D.set(N,S);d(D,k);return W.return()}})};var XZc=function(a){this.indexer=a};XZc.prototype.getStageType=function(){return 1};XZc.prototype.lookup=function(a){var b=this,c,d,e,f,h,k;return ge(function(q){c=new Map;d=[];e=l(TWc(a));for(f=e.next();!f.done;f=e.next())if(h=f.value,k=b.indexer.load(h,a.getFormat(),a.getOptions().useOriginalDisplayValue_))c.set(h,k);else{var t=b.indexer;(Ehc(h)?t.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,v9((new Tt).setProvenance(6),!1).setCode(0));return q.return()})};var YZc=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"),ZZc=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.indexes_=E9(Lj(e,8,250),ak(e,9,3600)*1E3);this.notFound_=E9(Lj(e,10,500),ak(e,11,600)*1E3)};g=ZZc.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 ge(function(f){switch(f.nextAddress){case 1:c=v9(new Tt,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(UZc).catch(function(){}),f.return(c);if(b.canSkipFetch_(a))return f.return(v9(c,!1));he(f,2);return ie(f,b.loader_.loadAutocompleteItems(a,VZc),4);case 4:d=f.yieldResult;Zt(f,3);break;case 2:return e=le(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(!hk(c,5))if(B9(c),b.length){c=PWc(this.ranker_,b,1);var d=a.queryScope()===3;this.storage_.storeItems(1,b,d);b=RWc(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(YZc))break;if(this.notFound_.has(c))return!0}return!1};g.getName=function(){};var $Zc=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=$Zc.prototype;g.getCacheType=function(){return 1};g.flush=function(){this.indexes_.clear()};
g.fetch=function(a){var b=this,c,d,e,f;return ge(function(h){switch(h.nextAddress){case 1:return c=v9(new Tt,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?VZc:UZc,he(h,2),ie(h,b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;Zt(h,3);break;case 2:return f=le(h),h.return(c.setCode(isFinite(f)?f:13));case 3:try{b.index(a,e.data,e.metadata)}catch(k){c.setCode(13)}return h.return(c)}})};
g.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||D9).search(a.getTerms()).getMatches(a.getCollector()):[]};g.index=function(a,b,c){if(!hk(c,5)){B9(c);a=this.coalescedSortOrder_!==1?PWc(this.ranker_,b,this.coalescedSortOrder_):null;var d=PWc(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=RWc(this.trieFactory_,d);c=a?RWc(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};
g.getName=function(){};var a_c=new $Wc(27,32,33),b_c=new $Wc(24,23,20);var c_c=function(){};c_c.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,f=a.trieFactory,h=a.prefixCaches,k=a.lookupStages,q=a.loaderFactory.ranker_,t=a.clientConfig.getClient();if(t.getCacheSize()>0){var w=Kj(t,19,1);w=new $Zc(e,q,f,c,w);w=new G9(w,b,b_c);h.push(w);k.push(new XZc(d))}t.getSearchMaxResults()>0&&(c=new ZZc(e,q,f,c,t),b=new G9(c,b,a_c),h.push(b));h=new WZc(a.trackers,a.loader,a.indexer);h=new SZc(h,a.clientConfig);k.push(new RZc(h))};var d_c=function(a){this.delegate=a};g=d_c.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 j$=function(a){this.delegate=a};j$.prototype.warmUpCache=function(){return this.delegate.warmUpCache()};j$.prototype.flushCache=function(a){this.delegate.flushCache(a)};j$.prototype.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};j$.prototype.beginSession=function(a){return this.delegate.beginSession(a)};var e_c=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};e_c.prototype.getId=function(){return this.id_};e_c.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var f_c=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};g=f_c.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 e_c(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 f_c(a,b,c)};var g_c=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new MTc;this.isSent_=!1};g_c.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)}};g_c.prototype.promise=function(){return this.resolver_.promise};
g_c.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=l(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var h_c=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=rXc(c);this.lastRequestCreationTime_=0};
h_c.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 g_c(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;Xq(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},d>30?0:30)}return this.batchedRequest_.promise()};var i_c=function(a,b){this.delegate_=a;this.inflightRequests_=MWc();this.tracker_=b};
i_c.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=l(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 k=a.clone().setIds(d);var q=new g_c(this.delegate_,k);q.send();c.add(q);a=l(k.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 t=l(k.getKeys()),w=t.next();!w.done;w=t.next())b.inflightRequests_.delete(w.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(t){return t.promise()})).then(function(t){return q?q.promise().then(function(w){return dRb(t,w.metadata)}):dRb(t)})};var j_c=function(a){this.peopleLoader_=a};j_c.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var k_c=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};k_c.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new j_c(this.peopleLoader_);b=new h_c(b,this.tracker_,this.clientConfig_);b=new i_c(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var l_c=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new k_c(this.delegate_,this.trackers_,c)},m_c=function(a,b,c,d){var e,f;return ge(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 ie(h,f,4)}if(h.nextAddress!=2)return h.return(h.yieldResult);je(h);a.searchRequests_.delete(e);
return ke(h,0)})};l_c.prototype.loadRankedItems=function(a){var b=this;return m_c(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};l_c.prototype.warmUpServer=function(a){var b=this;return m_c(this,82,"",function(){return b.delegate_.warmUpServer(a)})};l_c.prototype.loadAutocompleteItems=function(a,b){var c=this;return m_c(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};
l_c.prototype.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new f_c(a,b,c))};var n_c=function(){return Date.now()},o_c=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=ak(b.getClient(),14,300)*1E3;this.serverWarmupRateMillis_=ak(b.getClient(),13,60)*1E3;this.lastServerWarmup_=this.lastCacheFlush_=0};o_c.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)};
o_c.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)};o_c.prototype.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};o_c.prototype.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};var p_c=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};g=p_c.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?eVc:a;return this.delegate_.getReporter(a)};g.getHide=function(){return this.delegate_.getHide()};var q_c=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=rN(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};V(q_c,kP);q_c.prototype.getMemberList=function(){return this.members_};q_c.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var r_c=function(a,b){this.filter_=a;this.filterEmptyExplodingGroups_=b};r_c.prototype.filterResult=function(a){var b=this;if(!rN(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 vp(new q_c(a,c))};r_c.prototype.reset=function(a){this.filter_.reset(a)};
var eRb=function(a,b){this.filter_=uMa(a,new r_c(a,b))};eRb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};eRb.prototype.reset=function(a){this.filter_.reset(a)};var s_c=function(a){this.delegate_=a};s_c.prototype.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof w9&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};s_c.prototype.flushCache=function(a){this.delegate_.flushCache(a)};s_c.prototype.lookup=function(a,b,c){c=c===void 0?new CWc:c;c.setFilter(fRb(c.getFilter(),!0));this.delegate_.lookup(a,b,c);return this};
s_c.prototype.beginSession=function(a,b){b=b===void 0?new Us:b;b=b.clone();b.setFilter(fRb(b.getFilter(),b.filterEmptyExplodingGroups_));var c=this.delegate_.beginSession(b);return new p_c(c,a,b)};var t_c=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]]),u_c=new Map([[2,13],[3,6]]),v_c=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 jRb=new Map([[1,1],[2,3],[3,5]]),w_c=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[12,21],[10,20]]),x_c=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[12,21],[10,20]]),y_c=function(a,b){this.logContext_=mRb(a,b)};g=y_c.prototype;g.getLogContext=function(){return this.logContext_};
g.createCountMetric=function(a,b,c){var d=b.source(),e=iRb(d);switch(d.getEventType()){case 1:d=e.setCount;b=Kj(b.source(),4,0);var f=new cYc;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 b$;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 $Xc;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(),e=iRb(d);switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var f=b.source(),h=Kj(f,3,0);var k=Kj(f,13,0)||0;k=u_c.get(k)||t_c.get(c)||0;var q=hN(b,"blocked"),t=hN(b,"network"),w=hN(b,"processed");b=new dYc;b.setLabel(h);b.setStatus(k);b.setBlockedUsec(q);b.setLatencyUsec(t);Tl(b,9,w);b.setStatusCode(c);Lj(f,12,0)&&(c=Lj(f,12,0),Tl(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();k=Kj(h,2,0);f=new aYc;
f.setLabel(k);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=hN(b,"total"),f.setLatencyUsec(b));c=v_c.get(c)||0;f.setStatus(c);c=h.getResultIndex();f.setResultIndex(c);if(b=h.getCacheState())c=kRb(yt(b,2)),Ol(f,5,c),c=kRb(yt(b,3)),Ol(f,6,c),c=f.setDataSource,h=b.getSource(),b=!hk(h,1),h=h.getProvenance(),
b=(b?x_c.get(h):w_c.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();if(c.getEventType()!==2)return null;var d=iRb(c);d.setClientInterface(a);a=d.setLatency;var e=Kj(b.source(),5,0);if(e===37||e===38||e===40){e=Kj(b.source(),5,0);var f=hN(b,"LATENCY_A");b=hN(b,"LATENCY_B");b=f!=null&&b!=null?f-b:NaN;f=new a$;f.setType(e);isFinite(b)&&f.setLatencyUsec(b);e=f}else b=hN(b,"total"),f=new a$,f.setType(e),f.setLatencyUsec(b),e=f;a.call(d,e);d.setEventType(c.getEventType());return d};
g.createErrorMetric=function(a,b){var c=b.source();if(c.getEventType()!==3)return null;var d=iRb(c);d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Kj(e,7,0);var f=new $9;f.setType(b);Ol(f,4,e);a.call(d,f);d.setEventType(c.getEventType());return d};var z_c=function(a,b){this.delegate_=a;this.trackers_=b};g=z_c.prototype;g.reportDisplay=function(a){this.delegate_.reportDisplay(a)};g.reportSelect=function(a,b){b=b===void 0?new fVc: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();A_c(this)};
g.reportSave=function(a){this.delegate_.reportSave(a);A_c(this)};g.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);A_c(this)};g.reportSend=function(a){this.delegate_.reportSend(a);A_c(this)};var A_c=function(a){a=a.trackers_;var b=a.api,c=new tt;vt(c.setEventType(6),3);b.call(a,c).call()};var Pt=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};V(Pt,d_c);
Pt.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,f=this.trackers_.api(sQb(b.getQueryScope()));f.call();this.delegate_.suggest(function(h){var k=h.getMetadata(),q=k.getCacheState();f.source.setCacheState(q);f.source.setItemCount(h.getResults().length);f.result(q.getSource().getCode());k.getIsFirstCallback()&&(d&&k.getCode()===0&&c.trackers_.error(22,19).report(),d=!0);k.getIsLastCallback()&&(e&&k.getCode()===0&&c.trackers_.error(22,20).report(),e=!0);k=c.trackers_.latency(90);k.start();
try{a(h)}catch(t){throw c.trackers_.error(22,11).report(),t;}finally{k.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
Pt.prototype.search=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(rQb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.getResults().length);h.result(t.getSource().getCode());q.getIsFirstCallback()&&(e&&q.getCode()===0&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(f&&q.getCode()===0&&d.trackers_.error(23,20).report(),f=!0);q=d.trackers_.latency(91);q.start();
try{b(k)}catch(w){throw d.trackers_.error(23,11).report(),w;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(23,1).report(),k;}};Pt.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new z_c(a,this.trackers_)};var k$=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new tt;vt(c.setEventType(6),1);b.call(a,c).call()};V(k$,j$);
k$.prototype.warmUpCache=function(){var a=this,b=this.trackers_.api(pQb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof w9?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new w9).setSource((new Tt).setCode(2)));return Promise.reject(c)})};
k$.prototype.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 2:var d=12;break;case 1:d=4;break;default:d=10}var e=new tt;vt(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(17,1).report(),f;}};
k$.prototype.lookup=function(a,b,c){var d=this;try{var e=!1,f=!1,h=this.trackers_.api(oQb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(k){var q=k.getMetadata(),t=q.getCacheState();h.source.setCacheState(t);h.source.setItemCount(k.getResults().size);for(var w=0,y=0,D=0,G=l(k.getResults().keys()),I=G.next();!I.done;I=G.next())I=I.value,yhc.includes(I.getType())?w++:zhc.includes(I.getType())?y++:Ahc.includes(I.getType())&&D++;var N=0;G=I=0;for(var S=l(q.notFoundIdList_),W=S.next();!W.done;W=
S.next())W=W.value,yhc.includes(W.getType())?N++:zhc.includes(W.getType())?I++:Ahc.includes(W.getType())&&G++;S=h.source.getLookupInfo();w=Ml(S,2,w);y=Ml(w,1,y);D=Ml(y,3,D);D=Ml(D,5,N);D=Ml(D,4,I);Ml(D,6,G);h.result(t.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(k)}catch(Z){throw d.trackers_.error(8,11).report(),
Z;}finally{q.stop()}},c)}catch(k){throw this.trackers_.error(8,1).report(),k;}};k$.prototype.beginSession=function(a){this.trackers_.api(qQb()).call();var b=this.delegate_.beginSession(a);return nRb(b,xYc(this.trackers_,new uYc(function(){return b.getSessionState()})))};var B_c=function(a,b){this.clearcut_=a;this.logEventFactory_=b};B_c.prototype.report=function(a){var b=uN(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=l(a);for(b=a.next();!b.done;b=a.next())vN(this.clearcut_,b.value)};var C_c=function(a){this.clearcut_=a};C_c.prototype.report=function(a){this.clearcut_.report(a)};var D_c=function(a){this.writer_=a};var E_c=function(){};
E_c.prototype.create=function(a,b,c){var d=gRb(b),e=new ehc;Pj(e,Ht,3,d);c!==7&&b.hasQuery()&&(d=b.getQuery(),c===2&&e.setQuery(d),e.setQueryLength(d.length));var f=new fhc;d=yJa(ak(b,9,0)-ak(b,8,0));Ml(f,2,d);d=new oN;Pj(d,ehc,1,e);Pj(d,fhc,6,f);e=new dhc;if(f=Jj(b,6,0)){Tl(e,3,f*1E3);var h=(Date.now()-f)*1E3;Tl(e,2,h)}Ll(e,1,!!f);Pj(d,dhc,3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new ghc;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var F_c=function(){};F_c.prototype.extractPersonEventSource=function(a){return yt(oRb(a),4)};F_c.prototype.extractFieldEventSource=function(a){return yt(oRb(a),3)};var G_c=function(){};G_c.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new Nt;return(a.getQuery()||"").length?yt(b,2):yt(b,4)};G_c.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new Nt;return(a.getQuery()||"").length?yt(b,1):yt(b,3)};var H_c=function(){};H_c.prototype.extractPersonEventSource=function(a){return yt(pRb(a),4)};H_c.prototype.extractFieldEventSource=function(a){return yt(pRb(a),3)};var rRb=new Set([8]);var I_c=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var J_c=new Map([[1,11],[2,12],[0,0]]),K_c=function(){};K_c.prototype.write=function(a,b,c){var d=new iN;Ml(d,1,c);c=new jN;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());Pj(a,jN,8,c);b=J_c.get(b.getContext());Ul(a,3,[b])};var L_c=new Map([[1,5],[2,4],[3,6],[7,13]]),M_c=function(){};M_c.prototype.write=function(a,b,c,d){var e=new iN;Ml(e,1,c);a.setPosition(e);c=L_c.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);Ul(a,3,[c])};var N_c=new Set([9,1,2]),O_c=function(){};O_c.prototype.write=function(a,b,c,d,e){if(e===3||c===8||c===10||c===9||c===2&&N_c.has(d))c=new kN,yt(b,7)!==1&&yt(b,7)!==7||c.setEmail(Jm(b,3)),yt(b,7)!==2&&yt(b,7)!==5||c.setPhone(Jm(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),Pj(a,kN,4,c),c=new lN,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new mN,Pj(b,lN,2,c),a.setMetadata(b)};var P_c=function(a){var b=new O_c;this.metadataStateWriter_=a;this.contactInfoWriter_=b},Q_c=function(a){var b;return((b=Gj(a,Dt,1))==null?0:b.getIsPlaceholder())?!0:!1};var Rt=function(a){this.internalArray_=m(a)};V(Rt,X);g=Rt.prototype;g.getEventType=function(){return Kj(this,1,0)};g.getEventType_legacyNullable=function(){return yt(this,1)};g.setEventType=function(a){return Ol(this,1,a)};g.getSessionState=function(){return Gj(this,jP,2)};g.setSessionState=function(a){return Pj(this,jP,2,a)};g.hasSessionState=function(){return Ak(this,jP,2)};g.setEventSources=function(a){Pj(this,Nt,4,a)};Rt.repeatedFields_=[3];var R_c=function(){this.defaultEntityFactory_=new D_c(new P_c(new M_c));this.contextualEntityFactory_=new D_c(new P_c(new K_c));this.extensionFactory_=new E_c;this.defaultEventSourceExtractor_=new G_c;this.additionEventSourceExtractor_=new F_c;this.replacementEventSourceExtractor_=new H_c};
R_c.prototype.create=function(a,b){var c=b.getSessionState()||new jP,d=b.getEventType_legacyNullable();b=Yj(b,Bt,3,Ai(Bi));var e=tRb(b,vRb);var f=e.get(0);b=e.get(1);e=e.get(2);f=f?[].concat(r(tRb(f,uRb).values())):[];b=b?[].concat(r(tRb(b,uRb).values())):[];e=e?[].concat(r(tRb(e,uRb).values())):[];e=new I_c(f,b,e);b=[];f=l(e.defaultTokenGroups_);for(var h=f.next();!h.done;h=f.next())b.push.apply(b,r(S_c(this,a,d,h.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));f=l(e.additionTokenGroups_);
for(h=f.next();!h.done;h=f.next())b.push.apply(b,r(S_c(this,a,d,h.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));e=l(e.replacementTokenGroups_);for(f=e.next();!f.done;f=e.next())b.push.apply(b,r(S_c(this,a,d,f.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var S_c=function(a,b,c,d,e,f,h){var k=[];e=d[0].getSessionState()||e;var q=qRb(d).map(function(t){var w=new nN,y=h.writer_,D=w.getMetadata()||new mN;w.setMetadata(D);var G=Ns(t)||new Ct,I=Gj(t,Dt,1)||new Dt;y.metadataStateWriter_.write(D,G,Lj(G,2,0)||0,Q_c(t));y.contactInfoWriter_.write(w,I,c,G.getProvenance()||0,Kj(G,4,0)||0);w.setLoggingId(Jm(I,1));t=Gj(w,kN,4)||new kN;Pj(w,kN,4,t);t.setType(Ot(I,8));return w});q.length&&k.push(T_c(a,b,c,f.extractPersonEventSource(e),q,e));d=sRb(d).map(function(t){var w=
new nN,y=h.writer_,D=w.getMetadata()||new mN;w.setMetadata(D);var G=Ns(t)||new Ct,I=Gj(t,Dt,1)||new Dt;y.metadataStateWriter_.write(D,G,(hk(I,9,!0)?Lj(G,2,0):Lj(G,1,0))||0,Q_c(t));y.contactInfoWriter_.write(w,I,c,G.getProvenance()||0,Kj(G,4,0)||0);t=Gj(w,kN,4)||new kN;Pj(w,kN,4,t);Gj(w,kN,4).setType(Ot(I,7));w.setLoggingId(Jm(I,2));return w});d.length&&k.push(T_c(a,b,c,f.extractFieldEventSource(e),d,e));return k},T_c=function(a,b,c,d,e,f){a=a.extensionFactory_.create(b,f,c);a.getClientInterface().setEventSource(d);
a.getClientInterface().setEventSourceId(d);Dk(a,2,e);return a};var U_c=function(a,b){this.logContext_=lRb(Kt(new Lt,"PeopleStore.BigBug").setLogSource(Kj(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(652523468).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(r(a.runtimeConfig_.getExperiments().getExperimentIdsList()),r(Mt?Mt.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new R_c};U_c.prototype.getLogContext=function(){return this.logContext_};var V_c=function(a){this.clientConfig_=a;this.reportingCache_=new Map};V_c.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new U_c(this.clientConfig_,a),a=new C_c(new B_c(Lhc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var W_c=function(a,b,c){this.reporting_=a;this.sharedSessionState_=b;this.peopleStore_=c};g=W_c.prototype;g.reportDisplay=function(a){l$(this,St(a,1))};g.reportSelect=function(a,b){b=b===void 0?new fVc:b;if(b.getOriginator()!==0)for(var c=l(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!Ak(d,Ct,2)){var e=d,f=new Ct;Pj(e,Ct,2,f)}d=Ns(d);Ol(d,4,b.getOriginator())}b=this.sharedSessionState_;c=Jj(this.sharedSessionState_,4,0)+1;Tl(b,4,c);l$(this,St(a,2,this.sharedSessionState_))};
g.reportExternalSelect=function(a){for(var b=l(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!Ak(c,Ct,2)){var d=c,e=new Ct;Pj(d,Ct,2,e)}c=Ns(c);Ol(c,4,2)}b=this.sharedSessionState_;c=Jj(this.sharedSessionState_,4,0)+1;Tl(b,4,c);l$(this,St(a,15,this.sharedSessionState_))};g.reportDeselect=function(a){l$(this,St(a,17,this.sharedSessionState_))};g.reportProceed=function(a){l$(this,St(a,10,this.sharedSessionState_))};
g.reportDismiss=function(){var a=this.sharedSessionState_,b=new Rt;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());l$(this,[b])};g.reportSave=function(a){l$(this,St(a,9,this.sharedSessionState_))};g.reportSecondaryAction=function(a){l$(this,St(a,19,this.sharedSessionState_))};g.reportSend=function(a){l$(this,St(a,8,this.sharedSessionState_,!0))};var l$=function(a,b){b=l(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var m$=function(a,b,c,d){this.delegate_=this.delegate=a;this.sharedSessionState_=c;Tl(this.sharedSessionState_,5,Math.floor(Math.random()*9007199254740991));this.reportingFactory_=b;this.peopleStore_=d};V(m$,d_c);m$.prototype.suggest=function(a,b){var c=this;$lc(this.sharedSessionState_,Jj(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");amc(d);var e=0;this.delegate_.suggest(function(f){e=X_c(c,f.getResults(),xRb(f),d,e);a(f)},b)};
m$.prototype.search=function(a,b,c){var d=this;$lc(this.sharedSessionState_,Jj(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);amc(e);var f=0;this.delegate_.search(a,function(h){f=X_c(d,h.getResults(),xRb(h),e,f);b(h)},c)};m$.prototype.getReporter=function(a){return new W_c(this.reportingFactory_.create(a),this.sharedSessionState_,this.peopleStore_)};m$.prototype.getSessionState=function(){return this.sharedSessionState_};
var X_c=function(a,b,c,d,e){var f=ahc();ro(d,9,yb(f));f=a.delegate_.getLastUpdatedTimestamp();Tl(d,6,f);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=l(b);for(f=a.next();!f.done;f=a.next()){b=0;f=l(f.value.getTargetList());for(var h=f.next();!h.done;h=f.next()){h=h.value.getLoggingToken();var k=Ns(h)||new Ct;k.getProvenance()!==7&&k.setProvenance(c.getProvenance());Ml(k,2,e);Ml(k,1,b);Pj(h,Ct,2,k);h.setSessionState(d);b++}e++}return e};var Y_c=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=HNb();this.clearcutConfig_=c};V(Y_c,j$);
Y_c.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 Tt;h=c.getOriginator();e=l(e);for(var k=e.next();!k.done;k=e.next()){k=l(k.value.getTargetList());for(var q=k.next();!q.done;q=k.next()){q=q.value.getLoggingToken();var t=Ns(q)||new Ct;t.getProvenance()!==7&&t.setProvenance(f.getProvenance());Ol(t,4,h);Pj(q,Ct,2,t)}}b(d)},c)};
Y_c.prototype.beginSession=function(a){var b=new jP,c=Z_c(this,a);Pj(b,Nt,10,c);c=$_c(this,a);Pj(b,Qt,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new m$(a,this.reportingFactory_,b,this)};
var Z_c=function(a,b){a=Yj(a.clearcutConfig_,Nt,5,Ai());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new Nt},$_c=function(a,b){a=Yj(a.clearcutConfig_,Qt,6,Ai());return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return c.getEntryPoint()===0})||new Qt};var a0c={create:function(a){var b=Nb(pXc||(pXc=oXc('[[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 L9(b,a);a.runtimeConfig_.getExperiments().getProfileId()?qXc(a).getIsEnabled()?(b=Nb(sXc||(sXc=SOb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new TOb(b,1)):b=new Vs:b=new Vs;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;Mt=b.loadExperiments(qXc(a).getApplication(),(new Ws).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new zYc;b.cacheConfigurators_.push(new mXc);c=b;c=c===void 0?new zYc:c;b=a.getClearcut();b=new y_c(b,a.runtimeConfig_);b=Ys(b);b=new f$(b);d=new yYc(a,b);var e=c;c=d.targetFactory_;var f=a.getClient();c=new OYc(c,f);var h=h===void 0?n_c:h;h=new o_c(d.loader_,a,h);f=new l_c(h,b,a);var k=
[new c_c,new HYc].concat(r(e.cacheConfigurators_),[new EZc]);e=[];var q=[],t=new VYc(c,a);h=new UYc(q,t,a);d={clientConfig:a,trackers:b,storage:c,indexer:t,loader:f,loaderFactory:d,trieFactory:new pZc(c,h,b),prefixCaches:e,lookupStages:q};f=l(k);for(k=f.next();!k.done;k=f.next())k.value.configure(d);d=new cZc(e);h=new hZc(a,b,d,h,c);d=a.getClient();c=new QZc(d,c);d=a.getClient();h=new CZc(h,c,d);c=new V_c(a);a=a.getClearcut();h=new Y_c(h,c,a);h=new k$(h,b);return new s_c(h)}};var b0c=function(){};b0c.prototype.send=function(a,b){sGa(a);return this.makeRequest(a).then(function(c){return b?CGa(b,c):c})};var n$=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.customGapiPromise=null;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};V(n$,b0c);n$.prototype.getGapi=function(){var a=this;return(this.customGapiPromise||OGa()).then(function(b){b=b||window.gapi;a.setGapiConfig(b);return VGa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
n$.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return ge(function(d){if(d.nextAddress==1)return b.gapiAuthParams.minAuthTokenTimeRemaining===void 0?d.jumpTo(2):ie(d,UGa(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})))})})};
n$.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)})})};n$.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&SGa(a,b,this.gapiConfigUpdates[b])};n$.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var o$=function(){};o$.\u0275fac=function(a){return new (a||o$)};o$.\u0275mod=cd({type:o$});
o$.\u0275inj=Gc({providers:[{provide:Lcc,useFactory:function(){var a=new n$("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}),b=fJa();a.customGapiPromise=b;return new pdc(a)}}],imports:[{ngModule:eQ,providers:[mP,{provide:emc,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:a0c,autocompleteFactory:FWc}}}]}]});var ARb={os:1223084,version:1223033},zRb={os:201569,version:201543};var GRb={unconfirmed:5437934},FRb={unconfirmed:void 0};var p$={},c0c=(p$.NETWORK_DOWNLOADING=[{type:"INPUT",question:"What specific URL can reproduce the problem?",answerPrefix:"Example URL: "}],p$.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"}],p$.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?"}}]}],p$.APPS=[{type:"INPUT",question:Nh([Lh("What is the link to that software in "),
yRb("the Chrome Webstore","https://chrome.google.com/webstore"),Lh("?")]),answerPrefix:"Webstore page: "}],p$.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:Nh([Lh("What is the link to that software in "),yRb("the Chrome Webstore","https://chrome.google.com/webstore"),
Lh("?")]),answerPrefix:"WebStore page: "}],p$.WEBSTORE=[{type:"INPUT",question:"What is the URL of the Chrome WebStore page that had the problem?",answerPrefix:"Webstore page: "}],p$.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"]}],p$.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"]}],p$.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"}}]}],p$.SECURITY=[{type:"INPUT",question:"For crashes, what type of crash [tab, browser, etc.]:",answerPrefix:"Type of crash: "},{type:"TEXT",question:Nh([Lh("For crashes, what was the crash state? [See "),
yRb("Reporting Crash Bugs","https://www.chromium.org/Home/chromium-security/reporting-security-bugs/#reporting-crash-bugs"),Lh(", 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: "}],p$);var q$=function(){};q$.\u0275fac=function(a){return new (a||q$)};q$.\u0275mod=cd({type:q$});q$.\u0275inj=Gc({imports:[lx,Gv,lx]});var r$=function(){};r$.\u0275fac=function(a){return new (a||r$)};r$.\u0275mod=cd({type:r$});r$.\u0275inj=Gc({imports:[q$]});var s$=function(){};s$.\u0275fac=function(a){return new (a||s$)};s$.\u0275mod=cd({type:s$});s$.\u0275inj=Gc({providers:[ALc,rx],imports:[lx,Gv,Gw,g4,QD,yx,o4,m4,lx]});var t$=function(){};t$.\u0275fac=function(a){return new (a||t$)};t$.\u0275mod=cd({type:t$});t$.\u0275inj=Gc({providers:[{provide:lLc,useValue:c0c},{provide:nLc,useFactory:BRb},{provide:mLc,useFactory:ERb},{provide:oLc,useFactory:HRb}],imports:[MY,RD,A1,zy,RH,r$,jM,zW,sQ,qM,s$,QY]});var u$=function(){};u$.\u0275fac=function(a){return new (a||u$)};u$.\u0275mod=cd({type:u$});u$.\u0275inj=Gc({imports:[RD,RH,bM,sM,zy,Ay,n0]});var v$=function(){};v$.\u0275fac=function(a){return new (a||v$)};v$.\u0275mod=cd({type:v$});v$.\u0275inj=Gc({imports:[tO,RD,n0,qZ,zy,QO,bM,jM,q1,XV]});var w$=function(){};w$.\u0275fac=function(a){return new (a||w$)};w$.\u0275mod=cd({type:w$});w$.\u0275inj=Gc({imports:[RD,RH,bM,sM,zy,Ay,n0]});var x$=function(){};x$.\u0275fac=function(a){return new (a||x$)};x$.\u0275mod=cd({type:x$});x$.\u0275inj=Gc({imports:[RD,RH,bM,jT]});var y$=function(){};y$.\u0275fac=function(a){return new (a||y$)};y$.\u0275mod=cd({type:y$});y$.\u0275inj=Gc({imports:[RD,RH,bM,rQ,x$,aM]});var z$=function(){};z$.\u0275fac=function(a){return new (a||z$)};z$.\u0275mod=cd({type:z$});z$.\u0275inj=Gc({imports:[RD,rQ,cQ,cR,bR,cU,bM,VL,RH]});var A$=function(){};A$.\u0275fac=function(a){return new (a||A$)};A$.\u0275mod=cd({type:A$});A$.\u0275inj=Gc({imports:[Gv,zy,Py,dQ,Ay]});var B$=function(){};B$.\u0275fac=function(a){return new (a||B$)};B$.\u0275mod=cd({type:B$});B$.\u0275inj=Gc({imports:[tO,OY,KM,jO,DW,I0,lM,qZ,zy,bQ,PY,QO,$Y,FX,RH,jM,qM,VH,J4,aM,xO,bM,I0,AI,Ay,A$,XV,RD,Xw,QY,aZ,y$,z$]});var C$=function(){};C$.\u0275fac=function(a){return new (a||C$)};C$.\u0275mod=cd({type:C$});C$.\u0275inj=Gc({imports:[tO,RD,n0,qZ,zy,QO,bM,B1]});var D$=function(){};D$.\u0275fac=function(a){return new (a||D$)};D$.\u0275mod=cd({type:D$});D$.\u0275inj=Gc({imports:[RD,bM,RH,JM,n0,bQ,PY,BV,sM,zy,Ay,aM,$Q]});var E$=function(){};E$.\u0275fac=function(a){return new (a||E$)};E$.\u0275mod=cd({type:E$});E$.\u0275inj=Gc({imports:[VH,jM,RD,kx,RH,KM,$P,QY]});var F$=function(){};F$.\u0275fac=function(a){return new (a||F$)};F$.\u0275mod=cd({type:F$});F$.\u0275inj=Gc({imports:[RD,bM,RH,JM,n0,sM,VH,zy,Ay,aM,$Q]});var G$=function(){};G$.\u0275fac=function(a){return new (a||G$)};G$.\u0275mod=cd({type:G$});G$.\u0275inj=Gc({imports:[tO,RD,n0,zy,QO,JM,bM,$Q,jM,B1,rQ]});var H$=function(){};H$.\u0275fac=function(a){return new (a||H$)};H$.\u0275mod=cd({type:H$});H$.\u0275inj=Gc({imports:[RD,r0,rQ,RH]});var I$=function(){};I$.\u0275fac=function(a){return new (a||I$)};I$.\u0275mod=cd({type:I$});I$.\u0275inj=Gc({imports:[RD,RH,D1,rQ]});var J$=function(){};J$.\u0275fac=function(a){return new (a||J$)};J$.\u0275mod=cd({type:J$});J$.\u0275inj=Gc({imports:[RD,dX,e1]});var K$=function(){};K$.\u0275fac=function(a){return new (a||K$)};K$.\u0275mod=cd({type:K$});K$.\u0275inj=Gc({imports:[RD,LQ,zy,JM,RO,$Q,QO,J4,RH,jM,bM,VH,rQ]});var L$=function(){};L$.\u0275fac=function(a){return new (a||L$)};L$.\u0275mod=cd({type:L$});L$.\u0275inj=Gc({imports:[tO,RD,LQ,dX,QW,T2,a3,c3,bZ,n0,j3,zy,QO,RH,jM,VH,qM,xO,JM,bM,$Q,q1,K$,Xw,J$,o1,rQ,XV,oT,G8]});var M$=function(){};M$.\u0275fac=function(a){return new (a||M$)};M$.\u0275mod=cd({type:M$});M$.\u0275inj=Gc({imports:[RD,n0,zy,RH,jM,JM,bM,xO,$Q,Xw,o1,e1]});var N$=function(){};N$.\u0275fac=function(a){return new (a||N$)};N$.\u0275mod=cd({type:N$});N$.\u0275inj=Gc({imports:[RD,uQ,RO]});var O$=function(){};O$.\u0275fac=function(a){return new (a||O$)};O$.\u0275mod=cd({type:O$});O$.\u0275inj=Gc({imports:[RD,RO,uQ,KM]});var P$=function(){};P$.\u0275fac=function(a){return new (a||P$)};P$.\u0275mod=cd({type:P$});P$.\u0275inj=Gc({imports:[RD,bM,VL,O$,N$]});var Q$=function(){};Q$.\u0275fac=function(a){return new (a||Q$)};Q$.\u0275mod=cd({type:Q$});Q$.\u0275inj=Gc({imports:[RD,tT,bM]});var R$=function(){};R$.\u0275fac=function(a){return new (a||R$)};R$.\u0275mod=cd({type:R$});R$.\u0275inj=Gc({imports:[RD,tT,aM]});var S$=function(){};S$.\u0275fac=function(a){return new (a||S$)};S$.\u0275mod=cd({type:S$});S$.\u0275inj=Gc({imports:[Gv,JJ,iQ]});var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=cd({type:T$});T$.\u0275inj=Gc({imports:[RD,uQ,vT,JM,jM,bM,RH,Q$,R$,rQ,cQ,LQ,S$,aR,P$]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=cd({type:U$});U$.\u0275inj=Gc({imports:[RD,RH,T$,bM]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=cd({type:V$});V$.\u0275inj=Gc({imports:[RD,cQ,rQ,Q$,R$,uQ,LQ,S$,aR,cU,RH,JM,vT,bM]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=cd({type:W$});W$.\u0275inj=Gc({imports:[RD,zy,RH,bM,Ay,iU,U$,V$,dJ]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=cd({type:X$});X$.\u0275inj=Gc({imports:[qM,RD,zy]});var Y$=function(){};Y$.\u0275fac=function(a){return new (a||Y$)};Y$.\u0275mod=cd({type:Y$});Y$.\u0275inj=Gc({imports:[rT,RD,zy,jM,RH,VH,qM,zW,xO,vT,aM,JM,bM,zO,AI,U6,X$,rQ,jO,QD]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=cd({type:Z$});Z$.\u0275inj=Gc({imports:[RD,sM,RH]});var d0c={disableCheatSheet:!0};d0c=d0c===void 0?{}:d0c;
var e0c=[RD,jW,BO,PC,vL,xW,$Y,dP,NU,QO,CV,zO,PU,q1,xV,JV,kT,tO,y0,JX,JU,G2,z3,t3,gP,FX,HX,aX,bR,C$,G$,I$,H$,P4,y7,r8,t8,v$,L$,M$,p8,r0,D1,bZ,l3,o3,S0,DO,p0,TY,B3,H2,f3,I2,p3,e3,d3,a1,c1,UZ,Y0,RY,OV,rT,KM,$P,E$,DT,IU,j1,BV,xX,m1,F1,T0,U0,n3,p2,rQ,pW,aU,mT,n2,c3,Z$,j3,T1,RO,LQ,uQ,Y$,BQ,WL,z0,C0,B1,o1,A0,n0,K2,u$,w$,Z2,t1,mX,dX,gX,QW,B0,V0,LX,YQ,J0,PY,z1,K0,L0,a3,AW,EW,$Q,o0,OY,T2,D$,YU,F$,B$,GW,H8,O1,M8,W$,EU,LC,{ngModule:PK,providers:[NK,{provide:Zcc,useFactory:function(a){return new pdc(new ldc("https://appswaldo-pa.clients6.google.com",
a.waldoApiKey,a.globalApiKey,Object.assign({},rdc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[qdc]},{provide:qdc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:WI,providers:[VI,{provide:bbc,useValue:d0c}]},o$];eJa("enableChromeWizard")&&e0c.push(t$);
var f0c=[QKc,d7b,KIc,LIc,MIc,atc,d8b,{provide:Mfc,useValue:{animationDuration:"0ms",stretchTabs:!1}},{provide:luc,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:Xac,useValue:{disableTooltipInteractivity:!0}},{provide:Wqc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:Zqc,useValue:"92912"},RKc,bLc,cLc,dLc],ov=function(){};ov.prototype.ngDoBootstrap=function(){gj("bootstrapping AppModule")};ov.\u0275fac=function(a){return new (a||ov)};
ov.\u0275mod=cd({type:ov,bootstrap:[iW,x3]});ov.\u0275inj=Gc({providers:[].concat(r(f0c)),imports:[e0c,L8]});xz(document,"DOMContentLoaded",function(){YVb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/dSirkf/n90YA/ZGAB2e/sLGWFe/M79aPc/nJ4XF',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
